Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-04-13 20:07:46 +0300
committerGar <gar+gh@danger.computer>2021-04-14 19:35:29 +0300
commitdfcd0c1e2331c1f4b6573466b50505772eddaf22 (patch)
tree9c0f72e605e26d279ad9f2b92d01ef000f550122 /tap-snapshots
parentf1e6743a6e8e32ddad6d1964eb05d17e6c50a456 (diff)
tap@15.0.2
PR-URL: https://github.com/npm/cli/pull/3069 Credit: @isaacs Close: #3069 Reviewed-by: @ruyadorno, @nlf
Diffstat (limited to 'tap-snapshots')
-rw-r--r--tap-snapshots/smoke-tests/index.js.test.cjs (renamed from tap-snapshots/smoke-tests-index.js-TAP.test.js)8
-rw-r--r--tap-snapshots/test-lib-link.js-TAP.test.js30
-rw-r--r--tap-snapshots/test-lib-outdated.js-TAP.test.js154
-rw-r--r--tap-snapshots/test-tap-repo.js-TAP.test.js21
-rw-r--r--tap-snapshots/test/lib/config.js.test.cjs (renamed from tap-snapshots/test-lib-config.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/dist-tag.js.test.cjs (renamed from tap-snapshots/test-lib-dist-tag.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/fund.js.test.cjs (renamed from tap-snapshots/test-lib-fund.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/init.js.test.cjs (renamed from tap-snapshots/test-lib-init.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/link.js.test.cjs30
-rw-r--r--tap-snapshots/test/lib/ls.js.test.cjs (renamed from tap-snapshots/test-lib-ls.js-TAP.test.js)346
-rw-r--r--tap-snapshots/test/lib/outdated.js.test.cjs154
-rw-r--r--tap-snapshots/test/lib/owner.js.test.cjs (renamed from tap-snapshots/test-lib-owner.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/profile.js.test.cjs (renamed from tap-snapshots/test-lib-profile.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/publish.js.test.cjs (renamed from tap-snapshots/test-lib-publish.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/search.js.test.cjs (renamed from tap-snapshots/test-lib-search.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/stars.js.test.cjs (renamed from tap-snapshots/test-lib-stars.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/team.js.test.cjs (renamed from tap-snapshots/test-lib-team.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/cmd-list.js.test.cjs (renamed from tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/config/definition.js.test.cjs (renamed from tap-snapshots/test-lib-utils-config-definition.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/config/definitions.js.test.cjs (renamed from tap-snapshots/test-lib-utils-config-definitions.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs (renamed from tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/config/index.js.test.cjs (renamed from tap-snapshots/test-lib-utils-config-index.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/error-handler.js.test.cjs (renamed from tap-snapshots/test-lib-utils-error-handler.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/error-message.js.test.cjs (renamed from tap-snapshots/test-lib-utils-error-message.js-TAP.test.js)349
-rw-r--r--tap-snapshots/test/lib/utils/explain-dep.js.test.cjs (renamed from tap-snapshots/test-lib-utils-explain-dep.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/explain-eresolve.js.test.cjs (renamed from tap-snapshots/test-lib-utils-explain-eresolve.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/npm-usage.js.test.cjs (renamed from tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/open-url.js.test.cjs (renamed from tap-snapshots/test-lib-utils-open-url.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/reify-finish.js.test.cjs (renamed from tap-snapshots/test-lib-utils-reify-finish.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/reify-output.js.test.cjs (renamed from tap-snapshots/test-lib-utils-reify-output.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/tar.js.test.cjs (renamed from tap-snapshots/test-lib-utils-tar.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/utils/update-notifier.js.test.cjs (renamed from tap-snapshots/test-lib-utils-update-notifier.js-TAP.test.js)0
-rw-r--r--tap-snapshots/test/lib/view.js.test.cjs (renamed from tap-snapshots/test-lib-view.js-TAP.test.js)0
33 files changed, 664 insertions, 428 deletions
diff --git a/tap-snapshots/smoke-tests-index.js-TAP.test.js b/tap-snapshots/smoke-tests/index.js.test.cjs
index 6fabc5cc3..89c0cb20b 100644
--- a/tap-snapshots/smoke-tests-index.js-TAP.test.js
+++ b/tap-snapshots/smoke-tests/index.js.test.cjs
@@ -32,7 +32,7 @@ All commands:
unstar, update, version, view, whoami
Specify configs in the ini-formatted file:
- {CWD}/smoke-tests/index/.npmrc
+ {CWD}/smoke-tests/tap-testdir-index/.npmrc
or on the command line via: npm <command> --key=value
More configuration info: npm help config
@@ -313,7 +313,7 @@ project@1.0.0
`
exports[`smoke-tests/index.js TAP npm init > should have successful npm init result 1`] = `
-Wrote to {CWD}/smoke-tests/index/project/package.json:
+Wrote to {CWD}/smoke-tests/tap-testdir-index/project/package.json:
{
"name": "project",
@@ -469,7 +469,7 @@ exports[`smoke-tests/index.js TAP npm install prodDep@version > should have expe
`
exports[`smoke-tests/index.js TAP npm ls > should have expected ls output 1`] = `
-project@1.0.0 {CWD}/smoke-tests/index/project
+project@1.0.0 {CWD}/smoke-tests/tap-testdir-index/project
+-- abbrev@1.0.4
\`-- promise-all-reject-late@1.0.1
@@ -483,7 +483,7 @@ abbrev 1.0.4 1.1.1 1.1.1 node_modules/abbrev project
`
exports[`smoke-tests/index.js TAP npm prefix > should have expected prefix output 1`] = `
-{CWD}/smoke-tests/index/project
+{CWD}/smoke-tests/tap-testdir-index/project
`
diff --git a/tap-snapshots/test-lib-link.js-TAP.test.js b/tap-snapshots/test-lib-link.js-TAP.test.js
deleted file mode 100644
index ab1d5c6b8..000000000
--- a/tap-snapshots/test-lib-link.js-TAP.test.js
+++ /dev/null
@@ -1,30 +0,0 @@
-/* IMPORTANT
- * This snapshot file is auto-generated, but designed for humans.
- * It should be checked into source control and tracked carefully.
- * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
- * Make sure to inspect the output below. Do not ignore changes!
- */
-'use strict'
-exports[`test/lib/link.js TAP link global linked pkg to local nm when using args > should create a local symlink to global pkg 1`] = `
-{CWD}/test/lib/link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/@myscope/bar -> {CWD}/test/lib/link-link-global-linked-pkg-to-local-nm-when-using-args/global-prefix/lib/node_modules/@myscope/bar
-{CWD}/test/lib/link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/@myscope/linked -> {CWD}/test/lib/link-link-global-linked-pkg-to-local-nm-when-using-args/scoped-linked
-{CWD}/test/lib/link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/a -> {CWD}/test/lib/link-link-global-linked-pkg-to-local-nm-when-using-args/global-prefix/lib/node_modules/a
-{CWD}/test/lib/link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/link-me-too -> {CWD}/test/lib/link-link-global-linked-pkg-to-local-nm-when-using-args/link-me-too
-{CWD}/test/lib/link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/test-pkg-link -> {CWD}/test/lib/link-link-global-linked-pkg-to-local-nm-when-using-args/test-pkg-link
-
-`
-
-exports[`test/lib/link.js TAP link pkg already in global space > should create a local symlink to global pkg 1`] = `
-{CWD}/test/lib/link-link-pkg-already-in-global-space/my-project/node_modules/@myscope/linked -> {CWD}/test/lib/link-link-pkg-already-in-global-space/scoped-linked
-
-`
-
-exports[`test/lib/link.js TAP link pkg already in global space when prefix is a symlink > should create a local symlink to global pkg 1`] = `
-{CWD}/test/lib/link-link-pkg-already-in-global-space-when-prefix-is-a-symlink/my-project/node_modules/@myscope/linked -> {CWD}/test/lib/link-link-pkg-already-in-global-space-when-prefix-is-a-symlink/scoped-linked
-
-`
-
-exports[`test/lib/link.js TAP link to globalDir when in current working dir of pkg and no args > should create a global link to current pkg 1`] = `
-{CWD}/test/lib/link-link-to-globalDir-when-in-current-working-dir-of-pkg-and-no-args/global-prefix/lib/node_modules/test-pkg-link -> {CWD}/test/lib/link-link-to-globalDir-when-in-current-working-dir-of-pkg-and-no-args/test-pkg-link
-
-`
diff --git a/tap-snapshots/test-lib-outdated.js-TAP.test.js b/tap-snapshots/test-lib-outdated.js-TAP.test.js
deleted file mode 100644
index 7f245b09e..000000000
--- a/tap-snapshots/test-lib-outdated.js-TAP.test.js
+++ /dev/null
@@ -1,154 +0,0 @@
-/* IMPORTANT
- * This snapshot file is auto-generated, but designed for humans.
- * It should be checked into source control and tracked carefully.
- * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
- * Make sure to inspect the output below. Do not ignore changes!
- */
-'use strict'
-exports[`test/lib/outdated.js TAP should display outdated deps outdated --all > must match snapshot 1`] = `
-
-Package Current Wanted Latest Location Depended by
-alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha outdated-should-display-outdated-deps
-beta 1.0.0 1.0.1 1.0.1 node_modules/beta outdated-should-display-outdated-deps
-gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma outdated-should-display-outdated-deps
-theta MISSING 1.0.1 1.0.1 - outdated-should-display-outdated-deps
-`
-
-exports[`test/lib/outdated.js TAP should display outdated deps outdated --json --long > must match snapshot 1`] = `
-
-{
- "alpha": {
- "current": "1.0.0",
- "wanted": "1.0.1",
- "latest": "1.0.1",
- "dependent": "outdated-should-display-outdated-deps",
- "location": "{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/alpha",
- "type": "dependencies"
- },
- "beta": {
- "current": "1.0.0",
- "wanted": "1.0.1",
- "latest": "1.0.1",
- "dependent": "outdated-should-display-outdated-deps",
- "location": "{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/beta",
- "type": "peerDependencies"
- },
- "gamma": {
- "current": "1.0.1",
- "wanted": "1.0.1",
- "latest": "2.0.0",
- "dependent": "outdated-should-display-outdated-deps",
- "location": "{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/gamma",
- "type": "dependencies"
- },
- "theta": {
- "wanted": "1.0.1",
- "latest": "1.0.1",
- "dependent": "outdated-should-display-outdated-deps",
- "type": "dependencies"
- }
-}
-`
-
-exports[`test/lib/outdated.js TAP should display outdated deps outdated --json > must match snapshot 1`] = `
-
-{
- "alpha": {
- "current": "1.0.0",
- "wanted": "1.0.1",
- "latest": "1.0.1",
- "dependent": "outdated-should-display-outdated-deps",
- "location": "{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/alpha"
- },
- "beta": {
- "current": "1.0.0",
- "wanted": "1.0.1",
- "latest": "1.0.1",
- "dependent": "outdated-should-display-outdated-deps",
- "location": "{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/beta"
- },
- "gamma": {
- "current": "1.0.1",
- "wanted": "1.0.1",
- "latest": "2.0.0",
- "dependent": "outdated-should-display-outdated-deps",
- "location": "{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/gamma"
- },
- "theta": {
- "wanted": "1.0.1",
- "latest": "1.0.1",
- "dependent": "outdated-should-display-outdated-deps"
- }
-}
-`
-
-exports[`test/lib/outdated.js TAP should display outdated deps outdated --long > must match snapshot 1`] = `
-
-Package Current Wanted Latest Location Depended by Package Type Homepage
-alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha outdated-should-display-outdated-deps dependencies
-beta 1.0.0 1.0.1 1.0.1 node_modules/beta outdated-should-display-outdated-deps peerDependencies
-gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma outdated-should-display-outdated-deps dependencies
-theta MISSING 1.0.1 1.0.1 - outdated-should-display-outdated-deps dependencies
-`
-
-exports[`test/lib/outdated.js TAP should display outdated deps outdated --omit=dev --omit=peer > must match snapshot 1`] = `
-
-Package Current Wanted Latest Location Depended by
-alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha outdated-should-display-outdated-deps
-gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma outdated-should-display-outdated-deps
-theta MISSING 1.0.1 1.0.1 - outdated-should-display-outdated-deps
-`
-
-exports[`test/lib/outdated.js TAP should display outdated deps outdated --omit=dev > must match snapshot 1`] = `
-
-Package Current Wanted Latest Location Depended by
-alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha outdated-should-display-outdated-deps
-beta 1.0.0 1.0.1 1.0.1 node_modules/beta outdated-should-display-outdated-deps
-gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma outdated-should-display-outdated-deps
-theta MISSING 1.0.1 1.0.1 - outdated-should-display-outdated-deps
-`
-
-exports[`test/lib/outdated.js TAP should display outdated deps outdated --omit=prod > must match snapshot 1`] = `
-
-Package Current Wanted Latest Location Depended by
-alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha outdated-should-display-outdated-deps
-beta 1.0.0 1.0.1 1.0.1 node_modules/beta outdated-should-display-outdated-deps
-gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma outdated-should-display-outdated-deps
-`
-
-exports[`test/lib/outdated.js TAP should display outdated deps outdated --parseable --long > must match snapshot 1`] = `
-
-{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/alpha:alpha@1.0.1:alpha@1.0.0:alpha@1.0.1:outdated-should-display-outdated-deps:dependencies:
-{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/beta:beta@1.0.1:beta@1.0.0:beta@1.0.1:outdated-should-display-outdated-deps:peerDependencies:
-{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/gamma:gamma@1.0.1:gamma@1.0.1:gamma@2.0.0:outdated-should-display-outdated-deps:dependencies:
-:theta@1.0.1:MISSING:theta@1.0.1:outdated-should-display-outdated-deps:dependencies:
-`
-
-exports[`test/lib/outdated.js TAP should display outdated deps outdated --parseable > must match snapshot 1`] = `
-
-{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/alpha:alpha@1.0.1:alpha@1.0.0:alpha@1.0.1:outdated-should-display-outdated-deps
-{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/beta:beta@1.0.1:beta@1.0.0:beta@1.0.1:outdated-should-display-outdated-deps
-{CWD}/test/lib/outdated-should-display-outdated-deps/node_modules/gamma:gamma@1.0.1:gamma@1.0.1:gamma@2.0.0:outdated-should-display-outdated-deps
-:theta@1.0.1:MISSING:theta@1.0.1:outdated-should-display-outdated-deps
-`
-
-exports[`test/lib/outdated.js TAP should display outdated deps outdated > must match snapshot 1`] = `
-
-Package Current Wanted Latest Location Depended by
-alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha outdated-should-display-outdated-deps
-beta 1.0.0 1.0.1 1.0.1 node_modules/beta outdated-should-display-outdated-deps
-gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma outdated-should-display-outdated-deps
-theta MISSING 1.0.1 1.0.1 - outdated-should-display-outdated-deps
-`
-
-exports[`test/lib/outdated.js TAP should display outdated deps outdated global > must match snapshot 1`] = `
-
-Package Current Wanted Latest Location Depended by
-alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha global
-`
-
-exports[`test/lib/outdated.js TAP should display outdated deps outdated specific dep > must match snapshot 1`] = `
-
-Package Current Wanted Latest Location Depended by
-alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha outdated-should-display-outdated-deps
-`
diff --git a/tap-snapshots/test-tap-repo.js-TAP.test.js b/tap-snapshots/test-tap-repo.js-TAP.test.js
deleted file mode 100644
index 3fba79edb..000000000
--- a/tap-snapshots/test-tap-repo.js-TAP.test.js
+++ /dev/null
@@ -1,21 +0,0 @@
-/* IMPORTANT
- * This snapshot file is auto-generated, but designed for humans.
- * It should be checked into source control and tracked carefully.
- * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
- * Make sure to inspect the output below. Do not ignore changes!
- */
-'use strict'
-exports[`test/tap/repo.js TAP npm repo underscore --json > should print json result 1`] = `
-{
- "title": "repository available at the following URL",
- "url": "https://github.com/jashkenas/underscore"
-}
-
-`
-
-exports[`test/tap/repo.js TAP npm repo underscore --no-browser > should print alternative msg 1`] = `
-repository available at the following URL:
-
-https://github.com/jashkenas/underscore
-
-`
diff --git a/tap-snapshots/test-lib-config.js-TAP.test.js b/tap-snapshots/test/lib/config.js.test.cjs
index d62969145..d62969145 100644
--- a/tap-snapshots/test-lib-config.js-TAP.test.js
+++ b/tap-snapshots/test/lib/config.js.test.cjs
diff --git a/tap-snapshots/test-lib-dist-tag.js-TAP.test.js b/tap-snapshots/test/lib/dist-tag.js.test.cjs
index ea25b568b..ea25b568b 100644
--- a/tap-snapshots/test-lib-dist-tag.js-TAP.test.js
+++ b/tap-snapshots/test/lib/dist-tag.js.test.cjs
diff --git a/tap-snapshots/test-lib-fund.js-TAP.test.js b/tap-snapshots/test/lib/fund.js.test.cjs
index 7ad86ebee..7ad86ebee 100644
--- a/tap-snapshots/test-lib-fund.js-TAP.test.js
+++ b/tap-snapshots/test/lib/fund.js.test.cjs
diff --git a/tap-snapshots/test-lib-init.js-TAP.test.js b/tap-snapshots/test/lib/init.js.test.cjs
index 25015aab6..25015aab6 100644
--- a/tap-snapshots/test-lib-init.js-TAP.test.js
+++ b/tap-snapshots/test/lib/init.js.test.cjs
diff --git a/tap-snapshots/test/lib/link.js.test.cjs b/tap-snapshots/test/lib/link.js.test.cjs
new file mode 100644
index 000000000..d6dd37659
--- /dev/null
+++ b/tap-snapshots/test/lib/link.js.test.cjs
@@ -0,0 +1,30 @@
+/* IMPORTANT
+ * This snapshot file is auto-generated, but designed for humans.
+ * It should be checked into source control and tracked carefully.
+ * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
+ * Make sure to inspect the output below. Do not ignore changes!
+ */
+'use strict'
+exports[`test/lib/link.js TAP link global linked pkg to local nm when using args > should create a local symlink to global pkg 1`] = `
+{CWD}/test/lib/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/@myscope/bar -> {CWD}/test/lib/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/global-prefix/lib/node_modules/@myscope/bar
+{CWD}/test/lib/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/@myscope/linked -> {CWD}/test/lib/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/scoped-linked
+{CWD}/test/lib/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/a -> {CWD}/test/lib/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/global-prefix/lib/node_modules/a
+{CWD}/test/lib/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/link-me-too -> {CWD}/test/lib/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/link-me-too
+{CWD}/test/lib/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/my-project/node_modules/test-pkg-link -> {CWD}/test/lib/tap-testdir-link-link-global-linked-pkg-to-local-nm-when-using-args/test-pkg-link
+
+`
+
+exports[`test/lib/link.js TAP link pkg already in global space > should create a local symlink to global pkg 1`] = `
+{CWD}/test/lib/tap-testdir-link-link-pkg-already-in-global-space/my-project/node_modules/@myscope/linked -> {CWD}/test/lib/tap-testdir-link-link-pkg-already-in-global-space/scoped-linked
+
+`
+
+exports[`test/lib/link.js TAP link pkg already in global space when prefix is a symlink > should create a local symlink to global pkg 1`] = `
+{CWD}/test/lib/tap-testdir-link-link-pkg-already-in-global-space-when-prefix-is-a-symlink/my-project/node_modules/@myscope/linked -> {CWD}/test/lib/tap-testdir-link-link-pkg-already-in-global-space-when-prefix-is-a-symlink/scoped-linked
+
+`
+
+exports[`test/lib/link.js TAP link to globalDir when in current working dir of pkg and no args > should create a global link to current pkg 1`] = `
+{CWD}/test/lib/tap-testdir-link-link-to-globalDir-when-in-current-working-dir-of-pkg-and-no-args/global-prefix/lib/node_modules/test-pkg-link -> {CWD}/test/lib/tap-testdir-link-link-to-globalDir-when-in-current-working-dir-of-pkg-and-no-args/test-pkg-link
+
+`
diff --git a/tap-snapshots/test-lib-ls.js-TAP.test.js b/tap-snapshots/test/lib/ls.js.test.cjs
index 120a65baf..c210ce928 100644
--- a/tap-snapshots/test-lib-ls.js-TAP.test.js
+++ b/tap-snapshots/test/lib/ls.js.test.cjs
@@ -6,14 +6,14 @@
*/
'use strict'
exports[`test/lib/ls.js TAP ls --depth=0 > should output tree containing only top-level dependencies 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls--depth-0
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls---depth-0
+-- foo@1.0.0
\`-- lorem@1.0.0
`
exports[`test/lib/ls.js TAP ls --depth=1 > should output tree containing top-level deps and their deps only 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls--depth-1
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls---depth-1
+-- a@1.0.0
| \`-- b@1.0.0
\`-- e@1.0.0
@@ -21,7 +21,7 @@ test-npm-ls@1.0.0 {CWD}/ls-ls--depth-1
`
exports[`test/lib/ls.js TAP ls --dev > should output tree containing dev deps 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls--dev
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls---dev
\`-- dev-dep@1.0.0
\`-- foo@1.0.0
\`-- bar@1.0.0
@@ -29,14 +29,14 @@ test-npm-ls@1.0.0 {CWD}/ls-ls--dev
`
exports[`test/lib/ls.js TAP ls --link > should output tree containing linked deps 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls--link
-\`-- linked-dep@1.0.0 -> {CWD}/ls-ls--link/linked-dep
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls---link
+\`-- linked-dep@1.0.0 -> {CWD}/tap-testdir-ls-ls---link/linked-dep
`
exports[`test/lib/ls.js TAP ls --long --depth=0 > should output tree containing top-level deps with descriptions 1`] = `
test-npm-ls@1.0.0
-| {CWD}/ls-ls--long-depth-0
+| {CWD}/tap-testdir-ls-ls---long---depth-0
|
+-- dev-dep@1.0.0
| A DEV dep kind of dep
@@ -53,7 +53,7 @@ test-npm-ls@1.0.0
exports[`test/lib/ls.js TAP ls --long > should output tree info with descriptions 1`] = `
test-npm-ls@1.0.0
-| {CWD}/ls-ls--long
+| {CWD}/tap-testdir-ls-ls---long
|
+-- dev-dep@1.0.0
| | A DEV dep kind of dep
@@ -75,7 +75,7 @@ test-npm-ls@1.0.0
`
exports[`test/lib/ls.js TAP ls --only=development > should output tree containing only development deps 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls--only-development
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls---only-development
\`-- dev-dep@1.0.0
\`-- foo@1.0.0
\`-- bar@1.0.0
@@ -83,7 +83,7 @@ test-npm-ls@1.0.0 {CWD}/ls-ls--only-development
`
exports[`test/lib/ls.js TAP ls --only=prod > should output tree containing only prod deps 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls--only-prod
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls---only-prod
+-- lorem@1.0.0
+-- optional-dep@1.0.0
\`-- prod-dep@1.0.0
@@ -92,207 +92,207 @@ test-npm-ls@1.0.0 {CWD}/ls-ls--only-prod
`
exports[`test/lib/ls.js TAP ls --parseable --depth=0 > should output tree containing only top-level dependencies 1`] = `
-{CWD}/ls-ls-parseable--depth-0
-{CWD}/ls-ls-parseable--depth-0/node_modules/foo
-{CWD}/ls-ls-parseable--depth-0/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable---depth-0
+{CWD}/tap-testdir-ls-ls---parseable---depth-0/node_modules/foo
+{CWD}/tap-testdir-ls-ls---parseable---depth-0/node_modules/lorem
`
exports[`test/lib/ls.js TAP ls --parseable --depth=1 > should output parseable containing top-level deps and their deps only 1`] = `
-{CWD}/ls-ls-parseable--depth-1
-{CWD}/ls-ls-parseable--depth-1/node_modules/foo
-{CWD}/ls-ls-parseable--depth-1/node_modules/lorem
-{CWD}/ls-ls-parseable--depth-1/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable---depth-1
+{CWD}/tap-testdir-ls-ls---parseable---depth-1/node_modules/foo
+{CWD}/tap-testdir-ls-ls---parseable---depth-1/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable---depth-1/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --parseable --dev > should output tree containing dev deps 1`] = `
-{CWD}/ls-ls-parseable--dev
-{CWD}/ls-ls-parseable--dev/node_modules/dev-dep
-{CWD}/ls-ls-parseable--dev/node_modules/foo
-{CWD}/ls-ls-parseable--dev/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable---dev
+{CWD}/tap-testdir-ls-ls---parseable---dev/node_modules/dev-dep
+{CWD}/tap-testdir-ls-ls---parseable---dev/node_modules/foo
+{CWD}/tap-testdir-ls-ls---parseable---dev/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --parseable --link > should output tree containing linked deps 1`] = `
-{CWD}/ls-ls-parseable--link
-{CWD}/ls-ls-parseable--link/node_modules/linked-dep
+{CWD}/tap-testdir-ls-ls---parseable---link
+{CWD}/tap-testdir-ls-ls---parseable---link/node_modules/linked-dep
`
exports[`test/lib/ls.js TAP ls --parseable --long --depth=0 > should output tree containing top-level deps with descriptions 1`] = `
-{CWD}/ls-ls-parseable--long-depth-0:test-npm-ls@1.0.0
-{CWD}/ls-ls-parseable--long-depth-0/node_modules/dev-dep:dev-dep@1.0.0
-{CWD}/ls-ls-parseable--long-depth-0/node_modules/lorem:lorem@1.0.0
-{CWD}/ls-ls-parseable--long-depth-0/node_modules/optional-dep:optional-dep@1.0.0
-{CWD}/ls-ls-parseable--long-depth-0/node_modules/peer-dep:peer-dep@1.0.0
-{CWD}/ls-ls-parseable--long-depth-0/node_modules/prod-dep:prod-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long---depth-0:test-npm-ls@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long---depth-0/node_modules/dev-dep:dev-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long---depth-0/node_modules/lorem:lorem@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long---depth-0/node_modules/optional-dep:optional-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long---depth-0/node_modules/peer-dep:peer-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long---depth-0/node_modules/prod-dep:prod-dep@1.0.0
`
exports[`test/lib/ls.js TAP ls --parseable --long > should output tree info with descriptions 1`] = `
-{CWD}/ls-ls-parseable--long:test-npm-ls@1.0.0
-{CWD}/ls-ls-parseable--long/node_modules/dev-dep:dev-dep@1.0.0
-{CWD}/ls-ls-parseable--long/node_modules/lorem:lorem@1.0.0
-{CWD}/ls-ls-parseable--long/node_modules/optional-dep:optional-dep@1.0.0
-{CWD}/ls-ls-parseable--long/node_modules/peer-dep:peer-dep@1.0.0
-{CWD}/ls-ls-parseable--long/node_modules/prod-dep:prod-dep@1.0.0
-{CWD}/ls-ls-parseable--long/node_modules/foo:foo@1.0.0
-{CWD}/ls-ls-parseable--long/node_modules/prod-dep/node_modules/bar:bar@2.0.0
-{CWD}/ls-ls-parseable--long/node_modules/bar:bar@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long:test-npm-ls@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long/node_modules/dev-dep:dev-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long/node_modules/lorem:lorem@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long/node_modules/optional-dep:optional-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long/node_modules/peer-dep:peer-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long/node_modules/prod-dep:prod-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long/node_modules/foo:foo@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long/node_modules/prod-dep/node_modules/bar:bar@2.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long/node_modules/bar:bar@1.0.0
`
exports[`test/lib/ls.js TAP ls --parseable --long missing/invalid/extraneous > should output parseable result containing EXTRANEOUS/INVALID labels 1`] = `
-{CWD}/ls-ls-parseable--long-missing-invalid-extraneous:test-npm-ls@1.0.0
-{CWD}/ls-ls-parseable--long-missing-invalid-extraneous/node_modules/foo:foo@1.0.0:INVALID
-{CWD}/ls-ls-parseable--long-missing-invalid-extraneous/node_modules/lorem:lorem@1.0.0:EXTRANEOUS
-{CWD}/ls-ls-parseable--long-missing-invalid-extraneous/node_modules/bar:bar@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-missing-invalid-extraneous:test-npm-ls@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-missing-invalid-extraneous/node_modules/foo:foo@1.0.0:INVALID
+{CWD}/tap-testdir-ls-ls---parseable---long-missing-invalid-extraneous/node_modules/lorem:lorem@1.0.0:EXTRANEOUS
+{CWD}/tap-testdir-ls-ls---parseable---long-missing-invalid-extraneous/node_modules/bar:bar@1.0.0
`
exports[`test/lib/ls.js TAP ls --parseable --long print symlink target location > should output parseable results with symlink targets 1`] = `
-{CWD}/ls-ls-parseable--long-print-symlink-target-location:test-npm-ls@1.0.0
-{CWD}/ls-ls-parseable--long-print-symlink-target-location/node_modules/dev-dep:dev-dep@1.0.0
-{CWD}/ls-ls-parseable--long-print-symlink-target-location/node_modules/linked-dep:linked-dep@1.0.0:{CWD}/ls-ls-parseable--long-print-symlink-target-location/linked-dep
-{CWD}/ls-ls-parseable--long-print-symlink-target-location/node_modules/lorem:lorem@1.0.0
-{CWD}/ls-ls-parseable--long-print-symlink-target-location/node_modules/optional-dep:optional-dep@1.0.0
-{CWD}/ls-ls-parseable--long-print-symlink-target-location/node_modules/peer-dep:peer-dep@1.0.0
-{CWD}/ls-ls-parseable--long-print-symlink-target-location/node_modules/prod-dep:prod-dep@1.0.0
-{CWD}/ls-ls-parseable--long-print-symlink-target-location/node_modules/foo:foo@1.0.0
-{CWD}/ls-ls-parseable--long-print-symlink-target-location/node_modules/prod-dep/node_modules/bar:bar@2.0.0
-{CWD}/ls-ls-parseable--long-print-symlink-target-location/node_modules/bar:bar@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-print-symlink-target-location:test-npm-ls@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-print-symlink-target-location/node_modules/dev-dep:dev-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-print-symlink-target-location/node_modules/linked-dep:linked-dep@1.0.0:{CWD}/tap-testdir-ls-ls---parseable---long-print-symlink-target-location/linked-dep
+{CWD}/tap-testdir-ls-ls---parseable---long-print-symlink-target-location/node_modules/lorem:lorem@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-print-symlink-target-location/node_modules/optional-dep:optional-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-print-symlink-target-location/node_modules/peer-dep:peer-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-print-symlink-target-location/node_modules/prod-dep:prod-dep@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-print-symlink-target-location/node_modules/foo:foo@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-print-symlink-target-location/node_modules/prod-dep/node_modules/bar:bar@2.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-print-symlink-target-location/node_modules/bar:bar@1.0.0
`
exports[`test/lib/ls.js TAP ls --parseable --long with extraneous deps > should output long parseable output with extraneous info 1`] = `
-{CWD}/ls-ls-parseable--long-with-extraneous-deps:test-npm-ls@1.0.0
-{CWD}/ls-ls-parseable--long-with-extraneous-deps/node_modules/foo:foo@1.0.0
-{CWD}/ls-ls-parseable--long-with-extraneous-deps/node_modules/lorem:lorem@1.0.0:EXTRANEOUS
-{CWD}/ls-ls-parseable--long-with-extraneous-deps/node_modules/bar:bar@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-with-extraneous-deps:test-npm-ls@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-with-extraneous-deps/node_modules/foo:foo@1.0.0
+{CWD}/tap-testdir-ls-ls---parseable---long-with-extraneous-deps/node_modules/lorem:lorem@1.0.0:EXTRANEOUS
+{CWD}/tap-testdir-ls-ls---parseable---long-with-extraneous-deps/node_modules/bar:bar@1.0.0
`
exports[`test/lib/ls.js TAP ls --parseable --only=development > should output tree containing only development deps 1`] = `
-{CWD}/ls-ls-parseable--only-development
-{CWD}/ls-ls-parseable--only-development/node_modules/dev-dep
-{CWD}/ls-ls-parseable--only-development/node_modules/foo
-{CWD}/ls-ls-parseable--only-development/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable---only-development
+{CWD}/tap-testdir-ls-ls---parseable---only-development/node_modules/dev-dep
+{CWD}/tap-testdir-ls-ls---parseable---only-development/node_modules/foo
+{CWD}/tap-testdir-ls-ls---parseable---only-development/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --parseable --only=prod > should output tree containing only prod deps 1`] = `
-{CWD}/ls-ls-parseable--only-prod
-{CWD}/ls-ls-parseable--only-prod/node_modules/lorem
-{CWD}/ls-ls-parseable--only-prod/node_modules/optional-dep
-{CWD}/ls-ls-parseable--only-prod/node_modules/prod-dep
-{CWD}/ls-ls-parseable--only-prod/node_modules/prod-dep/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable---only-prod
+{CWD}/tap-testdir-ls-ls---parseable---only-prod/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable---only-prod/node_modules/optional-dep
+{CWD}/tap-testdir-ls-ls---parseable---only-prod/node_modules/prod-dep
+{CWD}/tap-testdir-ls-ls---parseable---only-prod/node_modules/prod-dep/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --parseable --production > should output tree containing production deps 1`] = `
-{CWD}/ls-ls-parseable--production
-{CWD}/ls-ls-parseable--production/node_modules/lorem
-{CWD}/ls-ls-parseable--production/node_modules/optional-dep
-{CWD}/ls-ls-parseable--production/node_modules/prod-dep
-{CWD}/ls-ls-parseable--production/node_modules/prod-dep/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable---production
+{CWD}/tap-testdir-ls-ls---parseable---production/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable---production/node_modules/optional-dep
+{CWD}/tap-testdir-ls-ls---parseable---production/node_modules/prod-dep
+{CWD}/tap-testdir-ls-ls---parseable---production/node_modules/prod-dep/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --parseable cycle deps > should print tree output omitting deduped ref 1`] = `
-{CWD}/ls-ls-parseable-cycle-deps
-{CWD}/ls-ls-parseable-cycle-deps/node_modules/a
-{CWD}/ls-ls-parseable-cycle-deps/node_modules/b
+{CWD}/tap-testdir-ls-ls---parseable-cycle-deps
+{CWD}/tap-testdir-ls-ls---parseable-cycle-deps/node_modules/a
+{CWD}/tap-testdir-ls-ls---parseable-cycle-deps/node_modules/b
`
exports[`test/lib/ls.js TAP ls --parseable default --depth value should be 0 > should output parseable output containing only top-level dependencies 1`] = `
-{CWD}/ls-ls-parseable-default-depth-value-should-be-0
-{CWD}/ls-ls-parseable-default-depth-value-should-be-0/node_modules/foo
-{CWD}/ls-ls-parseable-default-depth-value-should-be-0/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable-default---depth-value-should-be-0
+{CWD}/tap-testdir-ls-ls---parseable-default---depth-value-should-be-0/node_modules/foo
+{CWD}/tap-testdir-ls-ls---parseable-default---depth-value-should-be-0/node_modules/lorem
`
exports[`test/lib/ls.js TAP ls --parseable empty location > should print empty result 1`] = `
-{CWD}/ls-ls-parseable-empty-location
+{CWD}/tap-testdir-ls-ls---parseable-empty-location
`
exports[`test/lib/ls.js TAP ls --parseable extraneous deps > should output containing problems info 1`] = `
-{CWD}/ls-ls-parseable-extraneous-deps
-{CWD}/ls-ls-parseable-extraneous-deps/node_modules/foo
-{CWD}/ls-ls-parseable-extraneous-deps/node_modules/lorem
-{CWD}/ls-ls-parseable-extraneous-deps/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable-extraneous-deps
+{CWD}/tap-testdir-ls-ls---parseable-extraneous-deps/node_modules/foo
+{CWD}/tap-testdir-ls-ls---parseable-extraneous-deps/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable-extraneous-deps/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --parseable from and resolved properties > should not be printed in tree output 1`] = `
-{CWD}/ls-ls-parseable-from-and-resolved-properties
-{CWD}/ls-ls-parseable-from-and-resolved-properties/node_modules/simple-output
+{CWD}/tap-testdir-ls-ls---parseable-from-and-resolved-properties
+{CWD}/tap-testdir-ls-ls---parseable-from-and-resolved-properties/node_modules/simple-output
`
exports[`test/lib/ls.js TAP ls --parseable global > should print parseable output for global deps 1`] = `
-{CWD}/ls-ls-parseable-global
-{CWD}/ls-ls-parseable-global/node_modules/a
-{CWD}/ls-ls-parseable-global/node_modules/b
-{CWD}/ls-ls-parseable-global/node_modules/b/node_modules/c
+{CWD}/tap-testdir-ls-ls---parseable-global
+{CWD}/tap-testdir-ls-ls---parseable-global/node_modules/a
+{CWD}/tap-testdir-ls-ls---parseable-global/node_modules/b
+{CWD}/tap-testdir-ls-ls---parseable-global/node_modules/b/node_modules/c
`
exports[`test/lib/ls.js TAP ls --parseable json read problems > should print empty result 1`] = `
-{CWD}/ls-ls-parseable-json-read-problems
+{CWD}/tap-testdir-ls-ls---parseable-json-read-problems
`
exports[`test/lib/ls.js TAP ls --parseable missing package.json > should log all extraneous deps on error msg 1`] = `
-extraneous: bar@1.0.0 {CWD}/ls-ls-parseable-missing-package-json/node_modules/bar
-extraneous: foo@1.0.0 {CWD}/ls-ls-parseable-missing-package-json/node_modules/foo
-extraneous: lorem@1.0.0 {CWD}/ls-ls-parseable-missing-package-json/node_modules/lorem
+extraneous: bar@1.0.0 {CWD}/tap-testdir-ls-ls---parseable-missing-package.json/node_modules/bar
+extraneous: foo@1.0.0 {CWD}/tap-testdir-ls-ls---parseable-missing-package.json/node_modules/foo
+extraneous: lorem@1.0.0 {CWD}/tap-testdir-ls-ls---parseable-missing-package.json/node_modules/lorem
`
exports[`test/lib/ls.js TAP ls --parseable missing package.json > should output parseable missing name/version of top-level package 1`] = `
-{CWD}/ls-ls-parseable-missing-package-json
-{CWD}/ls-ls-parseable-missing-package-json/node_modules/bar
-{CWD}/ls-ls-parseable-missing-package-json/node_modules/foo
-{CWD}/ls-ls-parseable-missing-package-json/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable-missing-package.json
+{CWD}/tap-testdir-ls-ls---parseable-missing-package.json/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable-missing-package.json/node_modules/foo
+{CWD}/tap-testdir-ls-ls---parseable-missing-package.json/node_modules/lorem
`
exports[`test/lib/ls.js TAP ls --parseable missing/invalid/extraneous > should output parseable containing top-level deps and their deps only 1`] = `
-{CWD}/ls-ls-parseable-missing-invalid-extraneous
-{CWD}/ls-ls-parseable-missing-invalid-extraneous/node_modules/foo
-{CWD}/ls-ls-parseable-missing-invalid-extraneous/node_modules/lorem
-{CWD}/ls-ls-parseable-missing-invalid-extraneous/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable-missing-invalid-extraneous
+{CWD}/tap-testdir-ls-ls---parseable-missing-invalid-extraneous/node_modules/foo
+{CWD}/tap-testdir-ls-ls---parseable-missing-invalid-extraneous/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable-missing-invalid-extraneous/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --parseable no args > should output parseable representation of dependencies structure 1`] = `
-{CWD}/ls-ls-parseable-no-args
-{CWD}/ls-ls-parseable-no-args/node_modules/foo
-{CWD}/ls-ls-parseable-no-args/node_modules/lorem
-{CWD}/ls-ls-parseable-no-args/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable-no-args
+{CWD}/tap-testdir-ls-ls---parseable-no-args/node_modules/foo
+{CWD}/tap-testdir-ls-ls---parseable-no-args/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable-no-args/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --parseable resolved points to git ref > should output tree containing git refs 1`] = `
-{CWD}/ls-ls-parseable-resolved-points-to-git-ref
-{CWD}/ls-ls-parseable-resolved-points-to-git-ref/node_modules/abbrev
+{CWD}/tap-testdir-ls-ls---parseable-resolved-points-to-git-ref
+{CWD}/tap-testdir-ls-ls---parseable-resolved-points-to-git-ref/node_modules/abbrev
`
exports[`test/lib/ls.js TAP ls --parseable unmet optional dep > should output parseable with empty entry for missing optional deps 1`] = `
-{CWD}/ls-ls-parseable-unmet-optional-dep
-{CWD}/ls-ls-parseable-unmet-optional-dep/node_modules/dev-dep
-{CWD}/ls-ls-parseable-unmet-optional-dep/node_modules/lorem
-{CWD}/ls-ls-parseable-unmet-optional-dep/node_modules/optional-dep
-{CWD}/ls-ls-parseable-unmet-optional-dep/node_modules/peer-dep
-{CWD}/ls-ls-parseable-unmet-optional-dep/node_modules/prod-dep
-{CWD}/ls-ls-parseable-unmet-optional-dep/node_modules/foo
-{CWD}/ls-ls-parseable-unmet-optional-dep/node_modules/prod-dep/node_modules/bar
-{CWD}/ls-ls-parseable-unmet-optional-dep/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable-unmet-optional-dep
+{CWD}/tap-testdir-ls-ls---parseable-unmet-optional-dep/node_modules/dev-dep
+{CWD}/tap-testdir-ls-ls---parseable-unmet-optional-dep/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable-unmet-optional-dep/node_modules/optional-dep
+{CWD}/tap-testdir-ls-ls---parseable-unmet-optional-dep/node_modules/peer-dep
+{CWD}/tap-testdir-ls-ls---parseable-unmet-optional-dep/node_modules/prod-dep
+{CWD}/tap-testdir-ls-ls---parseable-unmet-optional-dep/node_modules/foo
+{CWD}/tap-testdir-ls-ls---parseable-unmet-optional-dep/node_modules/prod-dep/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable-unmet-optional-dep/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --parseable unmet peer dep > should output parseable signaling missing peer dep in problems 1`] = `
-{CWD}/ls-ls-parseable-unmet-peer-dep
-{CWD}/ls-ls-parseable-unmet-peer-dep/node_modules/dev-dep
-{CWD}/ls-ls-parseable-unmet-peer-dep/node_modules/lorem
-{CWD}/ls-ls-parseable-unmet-peer-dep/node_modules/optional-dep
-{CWD}/ls-ls-parseable-unmet-peer-dep/node_modules/peer-dep
-{CWD}/ls-ls-parseable-unmet-peer-dep/node_modules/prod-dep
-{CWD}/ls-ls-parseable-unmet-peer-dep/node_modules/foo
-{CWD}/ls-ls-parseable-unmet-peer-dep/node_modules/prod-dep/node_modules/bar
-{CWD}/ls-ls-parseable-unmet-peer-dep/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable-unmet-peer-dep
+{CWD}/tap-testdir-ls-ls---parseable-unmet-peer-dep/node_modules/dev-dep
+{CWD}/tap-testdir-ls-ls---parseable-unmet-peer-dep/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable-unmet-peer-dep/node_modules/optional-dep
+{CWD}/tap-testdir-ls-ls---parseable-unmet-peer-dep/node_modules/peer-dep
+{CWD}/tap-testdir-ls-ls---parseable-unmet-peer-dep/node_modules/prod-dep
+{CWD}/tap-testdir-ls-ls---parseable-unmet-peer-dep/node_modules/foo
+{CWD}/tap-testdir-ls-ls---parseable-unmet-peer-dep/node_modules/prod-dep/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable-unmet-peer-dep/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --parseable using aliases > should output tree containing aliases 1`] = `
-{CWD}/ls-ls-parseable-using-aliases
-{CWD}/ls-ls-parseable-using-aliases/node_modules/a
+{CWD}/tap-testdir-ls-ls---parseable-using-aliases
+{CWD}/tap-testdir-ls-ls---parseable-using-aliases/node_modules/a
`
exports[`test/lib/ls.js TAP ls --parseable with filter arg > should output parseable contaning only occurrences of filtered by package 1`] = `
-{CWD}/ls-ls-parseable-with-filter-arg/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable-with-filter-arg/node_modules/lorem
`
exports[`test/lib/ls.js TAP ls --parseable with filter arg nested dep > should output parseable contaning only occurrences of filtered package 1`] = `
-{CWD}/ls-ls-parseable-with-filter-arg-nested-dep/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable-with-filter-arg-nested-dep/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --parseable with missing filter arg > should output parseable output containing no dependencies info 1`] = `
@@ -300,12 +300,12 @@ exports[`test/lib/ls.js TAP ls --parseable with missing filter arg > should outp
`
exports[`test/lib/ls.js TAP ls --parseable with multiple filter args > should output parseable contaning only occurrences of multiple filtered packages and their ancestors 1`] = `
-{CWD}/ls-ls-parseable-with-multiple-filter-args/node_modules/lorem
-{CWD}/ls-ls-parseable-with-multiple-filter-args/node_modules/bar
+{CWD}/tap-testdir-ls-ls---parseable-with-multiple-filter-args/node_modules/lorem
+{CWD}/tap-testdir-ls-ls---parseable-with-multiple-filter-args/node_modules/bar
`
exports[`test/lib/ls.js TAP ls --production > should output tree containing production deps 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls--production
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls---production
+-- lorem@1.0.0
+-- optional-dep@1.0.0
\`-- prod-dep@1.0.0
@@ -314,13 +314,13 @@ test-npm-ls@1.0.0 {CWD}/ls-ls--production
`
exports[`test/lib/ls.js TAP ls broken resolved field > should NOT print git refs in output tree 1`] = `
-npm-broken-resolved-field-test@1.0.0 {CWD}/ls-ls-broken-resolved-field
+npm-broken-resolved-field-test@1.0.0 {CWD}/tap-testdir-ls-ls-broken-resolved-field
\`-- a@1.0.1
`
exports[`test/lib/ls.js TAP ls colored output > should output tree containing color info 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-colored-output
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-colored-output
+-- foo@1.0.0 invalid
| \`-- bar@1.0.0
+-- UNMET DEPENDENCY ipsum@^1.0.0
@@ -329,7 +329,7 @@ exports[`test/lib/ls.js TAP ls colored output > should output tree containing co
`
exports[`test/lib/ls.js TAP ls cycle deps > should print tree output containing deduped ref 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-cycle-deps
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-cycle-deps
\`-- a@1.0.0
\`-- b@1.0.0
\`-- a@1.0.0 deduped
@@ -337,7 +337,7 @@ test-npm-ls@1.0.0 {CWD}/ls-ls-cycle-deps
`
exports[`test/lib/ls.js TAP ls cycle deps with filter args > should print tree output containing deduped ref 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-cycle-deps-with-filter-args
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-cycle-deps-with-filter-args
\`-- a@1.0.0
 \`-- b@1.0.0
 \`-- a@1.0.0 deduped
@@ -345,7 +345,7 @@ exports[`test/lib/ls.js TAP ls cycle deps with filter args > should print tree o
`
exports[`test/lib/ls.js TAP ls deduped missing dep > should output parseable signaling missing peer dep in problems 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-deduped-missing-dep
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-deduped-missing-dep
+-- a@1.0.0
| \`-- UNMET DEPENDENCY b@^1.0.0 deduped
\`-- UNMET DEPENDENCY b@^1.0.0
@@ -353,20 +353,20 @@ test-npm-ls@1.0.0 {CWD}/ls-ls-deduped-missing-dep
`
exports[`test/lib/ls.js TAP ls default --depth value should be 0 > should output tree containing only top-level dependencies 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-default-depth-value-should-be-0
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-default---depth-value-should-be-0
+-- foo@1.0.0
\`-- lorem@1.0.0
`
exports[`test/lib/ls.js TAP ls empty location > should print empty result 1`] = `
-{CWD}/ls-ls-empty-location
+{CWD}/tap-testdir-ls-ls-empty-location
\`-- (empty)
`
exports[`test/lib/ls.js TAP ls extraneous deps > should output containing problems info 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-extraneous-deps
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-extraneous-deps
+-- foo@1.0.0
| \`-- bar@1.0.0
\`-- lorem@1.0.0 extraneous
@@ -374,19 +374,19 @@ test-npm-ls@1.0.0 {CWD}/ls-ls-extraneous-deps
`
exports[`test/lib/ls.js TAP ls filter pkg arg using depth option > should list a in top-level only 1`] = `
-test-pkg-arg-filter-with-depth-opt@1.0.0 {CWD}/ls-ls-filter-pkg-arg-using-depth-option
+test-pkg-arg-filter-with-depth-opt@1.0.0 {CWD}/tap-testdir-ls-ls-filter-pkg-arg-using-depth-option
\`-- a@1.0.0
`
exports[`test/lib/ls.js TAP ls filter pkg arg using depth option > should print empty results msg 1`] = `
-test-pkg-arg-filter-with-depth-opt@1.0.0 {CWD}/ls-ls-filter-pkg-arg-using-depth-option
+test-pkg-arg-filter-with-depth-opt@1.0.0 {CWD}/tap-testdir-ls-ls-filter-pkg-arg-using-depth-option
\`-- (empty)
`
exports[`test/lib/ls.js TAP ls filter pkg arg using depth option > should print expected result 1`] = `
-test-pkg-arg-filter-with-depth-opt@1.0.0 {CWD}/ls-ls-filter-pkg-arg-using-depth-option
+test-pkg-arg-filter-with-depth-opt@1.0.0 {CWD}/tap-testdir-ls-ls-filter-pkg-arg-using-depth-option
\`-- b@1.0.0
\`-- c@1.0.0
\`-- d@1.0.0
@@ -394,7 +394,7 @@ test-pkg-arg-filter-with-depth-opt@1.0.0 {CWD}/ls-ls-filter-pkg-arg-using-depth-
`
exports[`test/lib/ls.js TAP ls filtering by child of missing dep > should print tree and not duplicate child of missing items 1`] = `
-filter-by-child-of-missing-dep@1.0.0 {CWD}/ls-ls-filtering-by-child-of-missing-dep
+filter-by-child-of-missing-dep@1.0.0 {CWD}/tap-testdir-ls-ls-filtering-by-child-of-missing-dep
+-- b@1.0.0 extraneous
| \`-- c@1.0.0 deduped
+-- c@1.0.0 extraneous
@@ -404,13 +404,13 @@ filter-by-child-of-missing-dep@1.0.0 {CWD}/ls-ls-filtering-by-child-of-missing-d
`
exports[`test/lib/ls.js TAP ls from and resolved properties > should not be printed in tree output 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-from-and-resolved-properties
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-from-and-resolved-properties
\`-- simple-output@2.1.1
`
exports[`test/lib/ls.js TAP ls global > should print tree and not mark top-level items extraneous 1`] = `
-{CWD}/ls-ls-global
+{CWD}/tap-testdir-ls-ls-global
+-- a@1.0.0
\`-- b@1.0.0
\`-- c@1.0.0
@@ -418,7 +418,7 @@ exports[`test/lib/ls.js TAP ls global > should print tree and not mark top-level
`
exports[`test/lib/ls.js TAP ls invalid deduped dep > should output tree signaling mismatching peer dep in problems 1`] = `
-invalid-deduped-dep@1.0.0 {CWD}/ls-ls-invalid-deduped-dep
+invalid-deduped-dep@1.0.0 {CWD}/tap-testdir-ls-ls-invalid-deduped-dep
+-- a@1.0.0
| \`-- b@1.0.0 deduped invalid
\`-- b@1.0.0 invalid
@@ -426,7 +426,7 @@ exports[`test/lib/ls.js TAP ls invalid deduped dep > should output tree signalin
`
exports[`test/lib/ls.js TAP ls invalid peer dep > should output tree signaling mismatching peer dep in problems 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-invalid-peer-dep
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-invalid-peer-dep
+-- dev-dep@1.0.0
| \`-- foo@1.0.0
| \`-- bar@1.0.0
@@ -439,33 +439,33 @@ test-npm-ls@1.0.0 {CWD}/ls-ls-invalid-peer-dep
`
exports[`test/lib/ls.js TAP ls json read problems > should print empty result 1`] = `
-{CWD}/ls-ls-json-read-problems
+{CWD}/tap-testdir-ls-ls-json-read-problems
\`-- (empty)
`
exports[`test/lib/ls.js TAP ls loading a tree containing workspaces > should filter single workspace 1`] = `
-filter-by-child-of-missing-dep@1.0.0 {CWD}/ls-ls-loading-a-tree-containing-workspaces
-\`-- a@1.0.0 -> {CWD}/ls-ls-loading-a-tree-containing-workspaces/a
+filter-by-child-of-missing-dep@1.0.0 {CWD}/tap-testdir-ls-ls-loading-a-tree-containing-workspaces
+\`-- a@1.0.0 -> {CWD}/tap-testdir-ls-ls-loading-a-tree-containing-workspaces/a
`
exports[`test/lib/ls.js TAP ls loading a tree containing workspaces > should list workspaces properly 1`] = `
-filter-by-child-of-missing-dep@1.0.0 {CWD}/ls-ls-loading-a-tree-containing-workspaces
-+-- a@1.0.0 -> {CWD}/ls-ls-loading-a-tree-containing-workspaces/a
+filter-by-child-of-missing-dep@1.0.0 {CWD}/tap-testdir-ls-ls-loading-a-tree-containing-workspaces
++-- a@1.0.0 -> {CWD}/tap-testdir-ls-ls-loading-a-tree-containing-workspaces/a
| \`-- c@1.0.0
-\`-- b@1.0.0 -> {CWD}/ls-ls-loading-a-tree-containing-workspaces/b
+\`-- b@1.0.0 -> {CWD}/tap-testdir-ls-ls-loading-a-tree-containing-workspaces/b
`
exports[`test/lib/ls.js TAP ls missing package.json > should log all extraneous deps on error msg 1`] = `
-extraneous: bar@1.0.0 {CWD}/ls-ls-missing-package-json/node_modules/bar
-extraneous: foo@1.0.0 {CWD}/ls-ls-missing-package-json/node_modules/foo
-extraneous: lorem@1.0.0 {CWD}/ls-ls-missing-package-json/node_modules/lorem
+extraneous: bar@1.0.0 {CWD}/tap-testdir-ls-ls-missing-package.json/node_modules/bar
+extraneous: foo@1.0.0 {CWD}/tap-testdir-ls-ls-missing-package.json/node_modules/foo
+extraneous: lorem@1.0.0 {CWD}/tap-testdir-ls-ls-missing-package.json/node_modules/lorem
`
exports[`test/lib/ls.js TAP ls missing package.json > should output tree missing name/version of top-level package 1`] = `
-{CWD}/ls-ls-missing-package-json
+{CWD}/tap-testdir-ls-ls-missing-package.json
+-- bar@1.0.0 extraneous
+-- foo@1.0.0 extraneous
| \`-- bar@1.0.0 deduped
@@ -474,7 +474,7 @@ exports[`test/lib/ls.js TAP ls missing package.json > should output tree missing
`
exports[`test/lib/ls.js TAP ls missing/invalid/extraneous > should output tree containing missing, invalid, extraneous labels 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-missing-invalid-extraneous
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-missing-invalid-extraneous
+-- foo@1.0.0 invalid
| \`-- bar@1.0.0
+-- UNMET DEPENDENCY ipsum@^1.0.0
@@ -483,7 +483,7 @@ test-npm-ls@1.0.0 {CWD}/ls-ls-missing-invalid-extraneous
`
exports[`test/lib/ls.js TAP ls no args > should output tree representation of dependencies structure 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-no-args
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-no-args
+-- foo@1.0.0
| \`-- bar@1.0.0
\`-- lorem@1.0.0
@@ -491,21 +491,21 @@ test-npm-ls@1.0.0 {CWD}/ls-ls-no-args
`
exports[`test/lib/ls.js TAP ls print deduped symlinks > should output tree containing linked deps 1`] = `
-print-deduped-symlinks@1.0.0 {CWD}/ls-ls-print-deduped-symlinks
+print-deduped-symlinks@1.0.0 {CWD}/tap-testdir-ls-ls-print-deduped-symlinks
+-- a@1.0.0
-| \`-- b@1.0.0 deduped -> {CWD}/ls-ls-print-deduped-symlinks/b
-\`-- b@1.0.0 -> {CWD}/ls-ls-print-deduped-symlinks/b
+| \`-- b@1.0.0 deduped -> {CWD}/tap-testdir-ls-ls-print-deduped-symlinks/b
+\`-- b@1.0.0 -> {CWD}/tap-testdir-ls-ls-print-deduped-symlinks/b
`
exports[`test/lib/ls.js TAP ls resolved points to git ref > should output tree containing git refs 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-resolved-points-to-git-ref
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-resolved-points-to-git-ref
\`-- abbrev@1.1.1 (git+ssh://git@github.com/isaacs/abbrev-js.git#b8f3a2fc0c3bb8ffd8b0d0072cc6b5a3667e963c)
`
exports[`test/lib/ls.js TAP ls unmet optional dep > should output tree with empty entry for missing optional deps 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-unmet-optional-dep
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-unmet-optional-dep
+-- dev-dep@1.0.0
| \`-- foo@1.0.0
| \`-- bar@1.0.0
@@ -519,19 +519,19 @@ exports[`test/lib/ls.js TAP ls unmet optional dep > should output tree with empt
`
exports[`test/lib/ls.js TAP ls unmet peer dep > should output tree signaling missing peer dep in problems 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-unmet-peer-dep
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-unmet-peer-dep
\`-- UNMET DEPENDENCY peer-dep@*
`
exports[`test/lib/ls.js TAP ls using aliases > should output tree containing aliases 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-using-aliases
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-using-aliases
\`-- a@npm:b@1.0.0
`
exports[`test/lib/ls.js TAP ls with args and dedupe entries > should print tree output containing deduped ref 1`] = `
-dedupe-entries@1.0.0 {CWD}/ls-ls-with-args-and-dedupe-entries
+dedupe-entries@1.0.0 {CWD}/tap-testdir-ls-ls-with-args-and-dedupe-entries
+-- @npmcli/a@1.0.0
| \`-- @npmcli/b@1.1.2 deduped
+-- @npmcli/b@1.1.2
@@ -541,7 +541,7 @@ exports[`test/lib/ls.js TAP ls with args and dedupe entries > should print tree
`
exports[`test/lib/ls.js TAP ls with args and different order of items > should print tree output containing deduped ref 1`] = `
-dedupe-entries@1.0.0 {CWD}/ls-ls-with-args-and-different-order-of-items
+dedupe-entries@1.0.0 {CWD}/tap-testdir-ls-ls-with-args-and-different-order-of-items
+-- @npmcli/a@1.0.0
| \`-- @npmcli/c@1.0.0 deduped
+-- @npmcli/b@1.1.2
@@ -551,32 +551,32 @@ dedupe-entries@1.0.0 {CWD}/ls-ls-with-args-and-different-order-of-items
`
exports[`test/lib/ls.js TAP ls with dot filter arg > should output tree contaning only occurrences of filtered by package and colored output 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-with-dot-filter-arg
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-with-dot-filter-arg
\`-- (empty)
`
exports[`test/lib/ls.js TAP ls with filter arg > should output tree contaning only occurrences of filtered by package and colored output 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-with-filter-arg
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-with-filter-arg
\`-- lorem@1.0.0

`
exports[`test/lib/ls.js TAP ls with filter arg nested dep > should output tree contaning only occurrences of filtered package and its ancestors 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-with-filter-arg-nested-dep
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-with-filter-arg-nested-dep
\`-- foo@1.0.0
\`-- bar@1.0.0
`
exports[`test/lib/ls.js TAP ls with missing filter arg > should output tree containing no dependencies info 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-with-missing-filter-arg
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-with-missing-filter-arg
\`-- (empty)
`
exports[`test/lib/ls.js TAP ls with multiple filter args > should output tree contaning only occurrences of multiple filtered packages and their ancestors 1`] = `
-test-npm-ls@1.0.0 {CWD}/ls-ls-with-multiple-filter-args
+test-npm-ls@1.0.0 {CWD}/tap-testdir-ls-ls-with-multiple-filter-args
+-- foo@1.0.0
| \`-- bar@1.0.0
\`-- lorem@1.0.0
@@ -584,7 +584,7 @@ test-npm-ls@1.0.0 {CWD}/ls-ls-with-multiple-filter-args
`
exports[`test/lib/ls.js TAP ls with no args dedupe entries > should print tree output containing deduped ref 1`] = `
-dedupe-entries@1.0.0 {CWD}/ls-ls-with-no-args-dedupe-entries
+dedupe-entries@1.0.0 {CWD}/tap-testdir-ls-ls-with-no-args-dedupe-entries
+-- @npmcli/a@1.0.0
| \`-- @npmcli/b@1.1.2 deduped
+-- @npmcli/b@1.1.2
@@ -594,7 +594,7 @@ dedupe-entries@1.0.0 {CWD}/ls-ls-with-no-args-dedupe-entries
`
exports[`test/lib/ls.js TAP ls with no args dedupe entries and not displaying all > should print tree output containing deduped ref 1`] = `
-dedupe-entries@1.0.0 {CWD}/ls-ls-with-no-args-dedupe-entries-and-not-displaying-all
+dedupe-entries@1.0.0 {CWD}/tap-testdir-ls-ls-with-no-args-dedupe-entries-and-not-displaying-all
+-- @npmcli/a@1.0.0
+-- @npmcli/b@1.1.2
\`-- @npmcli/c@1.0.0
diff --git a/tap-snapshots/test/lib/outdated.js.test.cjs b/tap-snapshots/test/lib/outdated.js.test.cjs
new file mode 100644
index 000000000..e57d7110b
--- /dev/null
+++ b/tap-snapshots/test/lib/outdated.js.test.cjs
@@ -0,0 +1,154 @@
+/* IMPORTANT
+ * This snapshot file is auto-generated, but designed for humans.
+ * It should be checked into source control and tracked carefully.
+ * Re-generate by setting TAP_SNAPSHOT=1 and running tests.
+ * Make sure to inspect the output below. Do not ignore changes!
+ */
+'use strict'
+exports[`test/lib/outdated.js TAP should display outdated deps outdated --all > must match snapshot 1`] = `
+
+Package Current Wanted Latest Location Depended by
+alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha tap-testdir-outdated-should-display-outdated-deps
+beta 1.0.0 1.0.1 1.0.1 node_modules/beta tap-testdir-outdated-should-display-outdated-deps
+gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma tap-testdir-outdated-should-display-outdated-deps
+theta MISSING 1.0.1 1.0.1 - tap-testdir-outdated-should-display-outdated-deps
+`
+
+exports[`test/lib/outdated.js TAP should display outdated deps outdated --json --long > must match snapshot 1`] = `
+
+{
+ "alpha": {
+ "current": "1.0.0",
+ "wanted": "1.0.1",
+ "latest": "1.0.1",
+ "dependent": "tap-testdir-outdated-should-display-outdated-deps",
+ "location": "{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/alpha",
+ "type": "dependencies"
+ },
+ "beta": {
+ "current": "1.0.0",
+ "wanted": "1.0.1",
+ "latest": "1.0.1",
+ "dependent": "tap-testdir-outdated-should-display-outdated-deps",
+ "location": "{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/beta",
+ "type": "peerDependencies"
+ },
+ "gamma": {
+ "current": "1.0.1",
+ "wanted": "1.0.1",
+ "latest": "2.0.0",
+ "dependent": "tap-testdir-outdated-should-display-outdated-deps",
+ "location": "{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/gamma",
+ "type": "dependencies"
+ },
+ "theta": {
+ "wanted": "1.0.1",
+ "latest": "1.0.1",
+ "dependent": "tap-testdir-outdated-should-display-outdated-deps",
+ "type": "dependencies"
+ }
+}
+`
+
+exports[`test/lib/outdated.js TAP should display outdated deps outdated --json > must match snapshot 1`] = `
+
+{
+ "alpha": {
+ "current": "1.0.0",
+ "wanted": "1.0.1",
+ "latest": "1.0.1",
+ "dependent": "tap-testdir-outdated-should-display-outdated-deps",
+ "location": "{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/alpha"
+ },
+ "beta": {
+ "current": "1.0.0",
+ "wanted": "1.0.1",
+ "latest": "1.0.1",
+ "dependent": "tap-testdir-outdated-should-display-outdated-deps",
+ "location": "{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/beta"
+ },
+ "gamma": {
+ "current": "1.0.1",
+ "wanted": "1.0.1",
+ "latest": "2.0.0",
+ "dependent": "tap-testdir-outdated-should-display-outdated-deps",
+ "location": "{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/gamma"
+ },
+ "theta": {
+ "wanted": "1.0.1",
+ "latest": "1.0.1",
+ "dependent": "tap-testdir-outdated-should-display-outdated-deps"
+ }
+}
+`
+
+exports[`test/lib/outdated.js TAP should display outdated deps outdated --long > must match snapshot 1`] = `
+
+Package Current Wanted Latest Location Depended by Package Type Homepage
+alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha tap-testdir-outdated-should-display-outdated-deps dependencies
+beta 1.0.0 1.0.1 1.0.1 node_modules/beta tap-testdir-outdated-should-display-outdated-deps peerDependencies
+gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma tap-testdir-outdated-should-display-outdated-deps dependencies
+theta MISSING 1.0.1 1.0.1 - tap-testdir-outdated-should-display-outdated-deps dependencies
+`
+
+exports[`test/lib/outdated.js TAP should display outdated deps outdated --omit=dev --omit=peer > must match snapshot 1`] = `
+
+Package Current Wanted Latest Location Depended by
+alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha tap-testdir-outdated-should-display-outdated-deps
+gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma tap-testdir-outdated-should-display-outdated-deps
+theta MISSING 1.0.1 1.0.1 - tap-testdir-outdated-should-display-outdated-deps
+`
+
+exports[`test/lib/outdated.js TAP should display outdated deps outdated --omit=dev > must match snapshot 1`] = `
+
+Package Current Wanted Latest Location Depended by
+alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha tap-testdir-outdated-should-display-outdated-deps
+beta 1.0.0 1.0.1 1.0.1 node_modules/beta tap-testdir-outdated-should-display-outdated-deps
+gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma tap-testdir-outdated-should-display-outdated-deps
+theta MISSING 1.0.1 1.0.1 - tap-testdir-outdated-should-display-outdated-deps
+`
+
+exports[`test/lib/outdated.js TAP should display outdated deps outdated --omit=prod > must match snapshot 1`] = `
+
+Package Current Wanted Latest Location Depended by
+alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha tap-testdir-outdated-should-display-outdated-deps
+beta 1.0.0 1.0.1 1.0.1 node_modules/beta tap-testdir-outdated-should-display-outdated-deps
+gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma tap-testdir-outdated-should-display-outdated-deps
+`
+
+exports[`test/lib/outdated.js TAP should display outdated deps outdated --parseable --long > must match snapshot 1`] = `
+
+{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/alpha:alpha@1.0.1:alpha@1.0.0:alpha@1.0.1:tap-testdir-outdated-should-display-outdated-deps:dependencies:
+{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/beta:beta@1.0.1:beta@1.0.0:beta@1.0.1:tap-testdir-outdated-should-display-outdated-deps:peerDependencies:
+{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/gamma:gamma@1.0.1:gamma@1.0.1:gamma@2.0.0:tap-testdir-outdated-should-display-outdated-deps:dependencies:
+:theta@1.0.1:MISSING:theta@1.0.1:tap-testdir-outdated-should-display-outdated-deps:dependencies:
+`
+
+exports[`test/lib/outdated.js TAP should display outdated deps outdated --parseable > must match snapshot 1`] = `
+
+{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/alpha:alpha@1.0.1:alpha@1.0.0:alpha@1.0.1:tap-testdir-outdated-should-display-outdated-deps
+{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/beta:beta@1.0.1:beta@1.0.0:beta@1.0.1:tap-testdir-outdated-should-display-outdated-deps
+{CWD}/test/lib/tap-testdir-outdated-should-display-outdated-deps/node_modules/gamma:gamma@1.0.1:gamma@1.0.1:gamma@2.0.0:tap-testdir-outdated-should-display-outdated-deps
+:theta@1.0.1:MISSING:theta@1.0.1:tap-testdir-outdated-should-display-outdated-deps
+`
+
+exports[`test/lib/outdated.js TAP should display outdated deps outdated > must match snapshot 1`] = `
+
+Package Current Wanted Latest Location Depended by
+alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha tap-testdir-outdated-should-display-outdated-deps
+beta 1.0.0 1.0.1 1.0.1 node_modules/beta tap-testdir-outdated-should-display-outdated-deps
+gamma 1.0.1 1.0.1 2.0.0 node_modules/gamma tap-testdir-outdated-should-display-outdated-deps
+theta MISSING 1.0.1 1.0.1 - tap-testdir-outdated-should-display-outdated-deps
+`
+
+exports[`test/lib/outdated.js TAP should display outdated deps outdated global > must match snapshot 1`] = `
+
+Package Current Wanted Latest Location Depended by
+alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha global
+`
+
+exports[`test/lib/outdated.js TAP should display outdated deps outdated specific dep > must match snapshot 1`] = `
+
+Package Current Wanted Latest Location Depended by
+alpha 1.0.0 1.0.1 1.0.1 node_modules/alpha tap-testdir-outdated-should-display-outdated-deps
+`
diff --git a/tap-snapshots/test-lib-owner.js-TAP.test.js b/tap-snapshots/test/lib/owner.js.test.cjs
index 2d92b0ae5..2d92b0ae5 100644
--- a/tap-snapshots/test-lib-owner.js-TAP.test.js
+++ b/tap-snapshots/test/lib/owner.js.test.cjs
diff --git a/tap-snapshots/test-lib-profile.js-TAP.test.js b/tap-snapshots/test/lib/profile.js.test.cjs
index 589755151..589755151 100644
--- a/tap-snapshots/test-lib-profile.js-TAP.test.js
+++ b/tap-snapshots/test/lib/profile.js.test.cjs
diff --git a/tap-snapshots/test-lib-publish.js-TAP.test.js b/tap-snapshots/test/lib/publish.js.test.cjs
index 172ed5b29..172ed5b29 100644
--- a/tap-snapshots/test-lib-publish.js-TAP.test.js
+++ b/tap-snapshots/test/lib/publish.js.test.cjs
diff --git a/tap-snapshots/test-lib-search.js-TAP.test.js b/tap-snapshots/test/lib/search.js.test.cjs
index 4b4dc75ea..4b4dc75ea 100644
--- a/tap-snapshots/test-lib-search.js-TAP.test.js
+++ b/tap-snapshots/test/lib/search.js.test.cjs
diff --git a/tap-snapshots/test-lib-stars.js-TAP.test.js b/tap-snapshots/test/lib/stars.js.test.cjs
index ac628148f..ac628148f 100644
--- a/tap-snapshots/test-lib-stars.js-TAP.test.js
+++ b/tap-snapshots/test/lib/stars.js.test.cjs
diff --git a/tap-snapshots/test-lib-team.js-TAP.test.js b/tap-snapshots/test/lib/team.js.test.cjs
index 73123ee1a..73123ee1a 100644
--- a/tap-snapshots/test-lib-team.js-TAP.test.js
+++ b/tap-snapshots/test/lib/team.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js b/tap-snapshots/test/lib/utils/cmd-list.js.test.cjs
index 832f85601..832f85601 100644
--- a/tap-snapshots/test-lib-utils-cmd-list.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/cmd-list.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-config-definition.js-TAP.test.js b/tap-snapshots/test/lib/utils/config/definition.js.test.cjs
index ad506ae8e..ad506ae8e 100644
--- a/tap-snapshots/test-lib-utils-config-definition.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/config/definition.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-config-definitions.js-TAP.test.js b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
index b3d920a0c..b3d920a0c 100644
--- a/tap-snapshots/test-lib-utils-config-definitions.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/config/definitions.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
index 6c2659062..6c2659062 100644
--- a/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/config/describe-all.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-config-index.js-TAP.test.js b/tap-snapshots/test/lib/utils/config/index.js.test.cjs
index 1e5ca2324..1e5ca2324 100644
--- a/tap-snapshots/test-lib-utils-config-index.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/config/index.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-error-handler.js-TAP.test.js b/tap-snapshots/test/lib/utils/error-handler.js.test.cjs
index 909051cda..909051cda 100644
--- a/tap-snapshots/test-lib-utils-error-handler.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/error-handler.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-error-message.js-TAP.test.js b/tap-snapshots/test/lib/utils/error-message.js.test.cjs
index bcf514449..7b02dbd9a 100644
--- a/tap-snapshots/test-lib-utils-error-message.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/error-message.js.test.cjs
@@ -28,7 +28,10 @@ Object {
],
Array [
"404",
- "\\nNote that you can also install from a",
+ String(
+
+ Note that you can also install from a
+ ),
],
Array [
"404",
@@ -67,7 +70,10 @@ Object {
],
Array [
"404",
- "\\nNote that you can also install from a",
+ String(
+
+ Note that you can also install from a
+ ),
],
Array [
"404",
@@ -113,7 +119,10 @@ Object {
],
Array [
"404",
- "\\nNote that you can also install from a",
+ String(
+
+ Note that you can also install from a
+ ),
],
Array [
"404",
@@ -134,7 +143,11 @@ Object {
"detail": Array [
Array [
"notsup",
- "Not compatible with your version of node/npm: some@package\\nRequired: undefined\\nActual: {\\"npm\\":\\"123.69.420-npm\\",\\"node\\":\\"99.99.99\\"}",
+ String(
+ Not compatible with your version of node/npm: some@package
+ Required: undefined
+ Actual: {"npm":"123.69.420-npm","node":"99.99.99"}
+ ),
],
],
"summary": Array [
@@ -155,7 +168,12 @@ Object {
"detail": Array [
Array [
"notsup",
- "Valid OS: !yours,mine\\nValid Arch: x420,x69\\nActual OS: posix\\nActual Arch: x64",
+ String(
+ Valid OS: !yours,mine
+ Valid Arch: x420,x69
+ Actual OS: posix
+ Actual Arch: x64
+ ),
],
],
"summary": Array [
@@ -172,7 +190,12 @@ Object {
"detail": Array [
Array [
"notsup",
- "Valid OS: !yours\\nValid Arch: x420\\nActual OS: posix\\nActual Arch: x64",
+ String(
+ Valid OS: !yours
+ Valid Arch: x420
+ Actual OS: posix
+ Actual Arch: x64
+ ),
],
],
"summary": Array [
@@ -246,7 +269,15 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt is likely you do not have the permissions to access this file as the current user\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It is likely you do not have the permissions to access this file as the current user
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -271,7 +302,15 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt is likely you do not have the permissions to access this file as the current user\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It is likely you do not have the permissions to access this file as the current user
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -296,7 +335,15 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt is likely you do not have the permissions to access this file as the current user\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It is likely you do not have the permissions to access this file as the current user
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -321,7 +368,15 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt is likely you do not have the permissions to access this file as the current user\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It is likely you do not have the permissions to access this file as the current user
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -346,7 +401,15 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt is likely you do not have the permissions to access this file as the current user\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It is likely you do not have the permissions to access this file as the current user
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -372,7 +435,14 @@ Object {
"summary": Array [
Array [
"",
- "\\nYour cache folder contains root-owned files, due to a bug in\\nprevious versions of npm which has since been addressed.\\n\\nTo permanently fix this problem, please run:\\n sudo chown -R 69:420 \\"/some/cache/dir\\"",
+ String(
+
+ Your cache folder contains root-owned files, due to a bug in
+ previous versions of npm which has since been addressed.
+
+ To permanently fix this problem, please run:
+ sudo chown -R 69:420 "/some/cache/dir"
+ ),
],
],
}
@@ -392,7 +462,14 @@ Object {
"summary": Array [
Array [
"",
- "\\nYour cache folder contains root-owned files, due to a bug in\\nprevious versions of npm which has since been addressed.\\n\\nTo permanently fix this problem, please run:\\n sudo chown -R 69:420 \\"/some/cache/dir\\"",
+ String(
+
+ Your cache folder contains root-owned files, due to a bug in
+ previous versions of npm which has since been addressed.
+
+ To permanently fix this problem, please run:
+ sudo chown -R 69:420 "/some/cache/dir"
+ ),
],
],
}
@@ -412,7 +489,14 @@ Object {
"summary": Array [
Array [
"",
- "\\nYour cache folder contains root-owned files, due to a bug in\\nprevious versions of npm which has since been addressed.\\n\\nTo permanently fix this problem, please run:\\n sudo chown -R 69:420 \\"/some/cache/dir\\"",
+ String(
+
+ Your cache folder contains root-owned files, due to a bug in
+ previous versions of npm which has since been addressed.
+
+ To permanently fix this problem, please run:
+ sudo chown -R 69:420 "/some/cache/dir"
+ ),
],
],
}
@@ -431,7 +515,16 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt's possible that the file was already in use (by a text editor or antivirus),\\nor that you lack permissions to access it.\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It's possible that the file was already in use (by a text editor or antivirus),
+ or that you lack permissions to access it.
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -456,7 +549,16 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt's possible that the file was already in use (by a text editor or antivirus),\\nor that you lack permissions to access it.\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It's possible that the file was already in use (by a text editor or antivirus),
+ or that you lack permissions to access it.
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -481,7 +583,16 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt's possible that the file was already in use (by a text editor or antivirus),\\nor that you lack permissions to access it.\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It's possible that the file was already in use (by a text editor or antivirus),
+ or that you lack permissions to access it.
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -506,7 +617,16 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt's possible that the file was already in use (by a text editor or antivirus),\\nor that you lack permissions to access it.\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It's possible that the file was already in use (by a text editor or antivirus),
+ or that you lack permissions to access it.
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -531,7 +651,16 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt's possible that the file was already in use (by a text editor or antivirus),\\nor that you lack permissions to access it.\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It's possible that the file was already in use (by a text editor or antivirus),
+ or that you lack permissions to access it.
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -556,7 +685,16 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt's possible that the file was already in use (by a text editor or antivirus),\\nor that you lack permissions to access it.\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It's possible that the file was already in use (by a text editor or antivirus),
+ or that you lack permissions to access it.
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -581,7 +719,16 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt's possible that the file was already in use (by a text editor or antivirus),\\nor that you lack permissions to access it.\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It's possible that the file was already in use (by a text editor or antivirus),
+ or that you lack permissions to access it.
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -606,7 +753,16 @@ Object {
"detail": Array [
Array [
"",
- "\\nThe operation was rejected by your operating system.\\nIt's possible that the file was already in use (by a text editor or antivirus),\\nor that you lack permissions to access it.\\n\\nIf you believe this might be a permissions issue, please double-check the\\npermissions of the file and its containing directories, or try running\\nthe command again as root/Administrator.",
+ String(
+
+ The operation was rejected by your operating system.
+ It's possible that the file was already in use (by a text editor or antivirus),
+ or that you lack permissions to access it.
+
+ If you believe this might be a permissions issue, please double-check the
+ permissions of the file and its containing directories, or try running
+ the command again as root/Administrator.
+ ),
],
],
"summary": Array [
@@ -695,7 +851,11 @@ Object {
"detail": Array [
Array [
"",
- "You can provide a one-time password by passing --otp=<code> to the command you ran.\\nIf you already provided a one-time password then it is likely that you either typoed\\nit, or it timed out. Please try again.",
+ String(
+ You can provide a one-time password by passing --otp=<code> to the command you ran.
+ If you already provided a one-time password then it is likely that you either typoed
+ it, or it timed out. Please try again.
+ ),
],
],
"summary": Array [
@@ -712,7 +872,11 @@ Object {
"detail": Array [
Array [
"",
- "You can provide a one-time password by passing --otp=<code> to the command you ran.\\nIf you already provided a one-time password then it is likely that you either typoed\\nit, or it timed out. Please try again.",
+ String(
+ You can provide a one-time password by passing --otp=<code> to the command you ran.
+ If you already provided a one-time password then it is likely that you either typoed
+ it, or it timed out. Please try again.
+ ),
],
],
"summary": Array [
@@ -729,7 +893,17 @@ Object {
"detail": Array [
Array [
"",
- "If you were trying to login, change your password, create an\\nauthentication token or enable two-factor authentication then\\nthat means you likely typed your password in incorrectly.\\nPlease try again, or recover your password at:\\n https://www.npmjs.com/forgot\\n\\nIf you were doing some other operation then your saved credentials are\\nprobably out of date. To correct this please try logging in again with:\\n npm login",
+ String(
+ If you were trying to login, change your password, create an
+ authentication token or enable two-factor authentication then
+ that means you likely typed your password in incorrectly.
+ Please try again, or recover your password at:
+ https://www.npmjs.com/forgot
+
+ If you were doing some other operation then your saved credentials are
+ probably out of date. To correct this please try logging in again with:
+ npm login
+ ),
],
],
"summary": Array [
@@ -746,7 +920,10 @@ Object {
"detail": Array [
Array [
"",
- "To correct this please trying logging in again with:\\n npm login",
+ String(
+ To correct this please trying logging in again with:
+ npm login
+ ),
],
],
"summary": Array [
@@ -820,7 +997,13 @@ Object {
"detail": Array [
Array [
"network",
- "This is a problem related to network connectivity.\\nIn most cases you are behind a proxy or have bad network settings.\\n\\nIf you are behind a proxy, please make sure that the\\n'proxy' config is set properly. See: 'npm help config'",
+ String(
+ This is a problem related to network connectivity.
+ In most cases you are behind a proxy or have bad network settings.
+
+ If you are behind a proxy, please make sure that the
+ 'proxy' config is set properly. See: 'npm help config'
+ ),
],
],
"summary": Array [
@@ -837,7 +1020,13 @@ Object {
"detail": Array [
Array [
"network",
- "This is a problem related to network connectivity.\\nIn most cases you are behind a proxy or have bad network settings.\\n\\nIf you are behind a proxy, please make sure that the\\n'proxy' config is set properly. See: 'npm help config'",
+ String(
+ This is a problem related to network connectivity.
+ In most cases you are behind a proxy or have bad network settings.
+
+ If you are behind a proxy, please make sure that the
+ 'proxy' config is set properly. See: 'npm help config'
+ ),
],
],
"summary": Array [
@@ -854,7 +1043,13 @@ Object {
"detail": Array [
Array [
"network",
- "This is a problem related to network connectivity.\\nIn most cases you are behind a proxy or have bad network settings.\\n\\nIf you are behind a proxy, please make sure that the\\n'proxy' config is set properly. See: 'npm help config'",
+ String(
+ This is a problem related to network connectivity.
+ In most cases you are behind a proxy or have bad network settings.
+
+ If you are behind a proxy, please make sure that the
+ 'proxy' config is set properly. See: 'npm help config'
+ ),
],
],
"summary": Array [
@@ -871,7 +1066,11 @@ Object {
"detail": Array [
Array [
"notsup",
- "Not compatible with your version of node/npm: some@package\\nRequired: undefined\\nActual: {\\"npm\\":\\"123.69.420-npm\\",\\"node\\":\\"123.69.420-node\\"}",
+ String(
+ Not compatible with your version of node/npm: some@package
+ Required: undefined
+ Actual: {"npm":"123.69.420-npm","node":"123.69.420-node"}
+ ),
],
],
"summary": Array [
@@ -892,7 +1091,10 @@ Object {
"detail": Array [
Array [
"nospc",
- "There appears to be insufficient space on your system to finish.\\nClear up some disk space and try again.",
+ String(
+ There appears to be insufficient space on your system to finish.
+ Clear up some disk space and try again.
+ ),
],
],
"summary": Array [
@@ -909,7 +1111,10 @@ Object {
"detail": Array [
Array [
"rofs",
- "Often virtualized file systems, or other file systems\\nthat don't support symlinks, give this error.",
+ String(
+ Often virtualized file systems, or other file systems
+ that don't support symlinks, give this error.
+ ),
],
],
"summary": Array [
@@ -926,7 +1131,11 @@ Object {
"detail": Array [
Array [
"enoent",
- "This is related to npm not being able to find a file.\\n\\nCheck if the file '/some/file' is present.",
+ String(
+ This is related to npm not being able to find a file.
+
+ Check if the file '/some/file' is present.
+ ),
],
],
"summary": Array [
@@ -943,7 +1152,10 @@ Object {
"detail": Array [
Array [
"typeerror",
- "This is an error with npm itself. Please report this error at:\\n https://github.com/npm/cli/issues",
+ String(
+ This is an error with npm itself. Please report this error at:
+ https://github.com/npm/cli/issues
+ ),
],
],
"summary": Array [
@@ -960,7 +1172,10 @@ Object {
"detail": Array [
Array [
"typeerror",
- "This is an error with npm itself. Please report this error at:\\n https://github.com/npm/cli/issues",
+ String(
+ This is an error with npm itself. Please report this error at:
+ https://github.com/npm/cli/issues
+ ),
],
],
"summary": Array [
@@ -977,7 +1192,10 @@ Object {
"detail": Array [
Array [
"typeerror",
- "This is an error with npm itself. Please report this error at:\\n https://github.com/npm/cli/issues",
+ String(
+ This is an error with npm itself. Please report this error at:
+ https://github.com/npm/cli/issues
+ ),
],
],
"summary": Array [
@@ -1015,7 +1233,10 @@ Object {
"detail": Array [
Array [
"typeerror",
- "This is an error with npm itself. Please report this error at:\\n https://github.com/npm/cli/issues",
+ String(
+ This is an error with npm itself. Please report this error at:
+ https://github.com/npm/cli/issues
+ ),
],
],
"summary": Array [
@@ -1032,7 +1253,10 @@ Object {
"detail": Array [
Array [
"notarget",
- "In most cases you or one of your dependencies are requesting\\na package version that doesn't exist.",
+ String(
+ In most cases you or one of your dependencies are requesting
+ a package version that doesn't exist.
+ ),
],
],
"summary": Array [
@@ -1049,7 +1273,11 @@ Object {
"detail": Array [
Array [
"403",
- "In most cases, you or one of your dependencies are requesting\\na package version that is forbidden by your security policy, or\\non a server you do not have access to.",
+ String(
+ In most cases, you or one of your dependencies are requesting
+ a package version that is forbidden by your security policy, or
+ on a server you do not have access to.
+ ),
],
],
"summary": Array [
@@ -1066,7 +1294,11 @@ Object {
"detail": Array [
Array [
"",
- "\\nIf you are behind a proxy, please make sure that the\\n'proxy' config is set properly. See: 'npm help config'",
+ String(
+
+ If you are behind a proxy, please make sure that the
+ 'proxy' config is set properly. See: 'npm help config'
+ ),
],
],
"summary": Array [
@@ -1088,7 +1320,11 @@ Object {
"detail": Array [
Array [
"",
- "\\nFailed using git.\\nPlease check if you have git installed and in your PATH.",
+ String(
+
+ Failed using git.
+ Please check if you have git installed and in your PATH.
+ ),
],
],
"summary": Array [
@@ -1134,7 +1370,10 @@ Object {
"detail": Array [
Array [
"git",
- "Refusing to remove it. Update manually,\\nor move it out of the way first.",
+ String(
+ Refusing to remove it. Update manually,
+ or move it out of the way first.
+ ),
],
],
"summary": Array [
@@ -1197,7 +1436,13 @@ Object {
"detail": Array [
Array [
"network",
- "This is a problem related to network connectivity.\\nIn most cases you are behind a proxy or have bad network settings.\\n\\nIf you are behind a proxy, please make sure that the\\n'proxy' config is set properly. See: 'npm help config'",
+ String(
+ This is a problem related to network connectivity.
+ In most cases you are behind a proxy or have bad network settings.
+
+ If you are behind a proxy, please make sure that the
+ 'proxy' config is set properly. See: 'npm help config'
+ ),
],
],
"summary": Array [
@@ -1226,7 +1471,10 @@ Object {
"detail": Array [
Array [
"JSON.parse",
- "Failed to parse JSON data.\\nNote: package.json must be actual JSON, not just JavaScript.",
+ String(
+ Failed to parse JSON data.
+ Note: package.json must be actual JSON, not just JavaScript.
+ ),
],
],
"summary": Array [
@@ -1243,7 +1491,10 @@ Object {
"detail": Array [
Array [
"JSON.parse",
- "Failed to parse JSON data.\\nNote: package.json must be actual JSON, not just JavaScript.",
+ String(
+ Failed to parse JSON data.
+ Note: package.json must be actual JSON, not just JavaScript.
+ ),
],
],
"summary": Array [
@@ -1260,7 +1511,13 @@ Object {
"detail": Array [
Array [
"",
- "Merge conflict detected in your package.json.\\n\\nPlease resolve the package.json conflict and retry the command:\\n\\n$ arg v",
+ String(
+ Merge conflict detected in your package.json.
+
+ Please resolve the package.json conflict and retry the command:
+
+ $ arg v
+ ),
],
],
"summary": Array [],
diff --git a/tap-snapshots/test-lib-utils-explain-dep.js-TAP.test.js b/tap-snapshots/test/lib/utils/explain-dep.js.test.cjs
index 7e77081f9..7e77081f9 100644
--- a/tap-snapshots/test-lib-utils-explain-dep.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/explain-dep.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-explain-eresolve.js-TAP.test.js b/tap-snapshots/test/lib/utils/explain-eresolve.js.test.cjs
index e06668015..e06668015 100644
--- a/tap-snapshots/test-lib-utils-explain-eresolve.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/explain-eresolve.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
index 6bd38772e..6bd38772e 100644
--- a/tap-snapshots/test-lib-utils-npm-usage.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/npm-usage.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-open-url.js-TAP.test.js b/tap-snapshots/test/lib/utils/open-url.js.test.cjs
index 8c8159ebc..8c8159ebc 100644
--- a/tap-snapshots/test-lib-utils-open-url.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/open-url.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-reify-finish.js-TAP.test.js b/tap-snapshots/test/lib/utils/reify-finish.js.test.cjs
index a82905a39..a82905a39 100644
--- a/tap-snapshots/test-lib-utils-reify-finish.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/reify-finish.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-reify-output.js-TAP.test.js b/tap-snapshots/test/lib/utils/reify-output.js.test.cjs
index 755b23642..755b23642 100644
--- a/tap-snapshots/test-lib-utils-reify-output.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/reify-output.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-tar.js-TAP.test.js b/tap-snapshots/test/lib/utils/tar.js.test.cjs
index 5c3813dd8..5c3813dd8 100644
--- a/tap-snapshots/test-lib-utils-tar.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/tar.js.test.cjs
diff --git a/tap-snapshots/test-lib-utils-update-notifier.js-TAP.test.js b/tap-snapshots/test/lib/utils/update-notifier.js.test.cjs
index 91228650d..91228650d 100644
--- a/tap-snapshots/test-lib-utils-update-notifier.js-TAP.test.js
+++ b/tap-snapshots/test/lib/utils/update-notifier.js.test.cjs
diff --git a/tap-snapshots/test-lib-view.js-TAP.test.js b/tap-snapshots/test/lib/view.js.test.cjs
index 1cdf35635..1cdf35635 100644
--- a/tap-snapshots/test-lib-view.js-TAP.test.js
+++ b/tap-snapshots/test/lib/view.js.test.cjs