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:
Diffstat (limited to 'tap-snapshots/test/lib/utils/explain-eresolve.js.test.cjs')
-rw-r--r--tap-snapshots/test/lib/utils/explain-eresolve.js.test.cjs717
1 files changed, 717 insertions, 0 deletions
diff --git a/tap-snapshots/test/lib/utils/explain-eresolve.js.test.cjs b/tap-snapshots/test/lib/utils/explain-eresolve.js.test.cjs
new file mode 100644
index 000000000..e06668015
--- /dev/null
+++ b/tap-snapshots/test/lib/utils/explain-eresolve.js.test.cjs
@@ -0,0 +1,717 @@
+/* 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/utils/explain-eresolve.js TAP chain-conflict > explain with color 1`] = `
+While resolving: project@1.2.3
+Found: @isaacs/testing-peer-dep-conflict-chain-d@2.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-d
+ @isaacs/testing-peer-dep-conflict-chain-d@"2" from the root project
+
+Could not resolve dependency:
+peer @isaacs/testing-peer-dep-conflict-chain-d@"1" from @isaacs/testing-peer-dep-conflict-chain-c@1.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-c
+ @isaacs/testing-peer-dep-conflict-chain-c@"1" from the root project
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP chain-conflict > explain with no color, depth of 6 1`] = `
+While resolving: project@1.2.3
+Found: @isaacs/testing-peer-dep-conflict-chain-d@2.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-d
+ @isaacs/testing-peer-dep-conflict-chain-d@"2" from the root project
+
+Could not resolve dependency:
+peer @isaacs/testing-peer-dep-conflict-chain-d@"1" from @isaacs/testing-peer-dep-conflict-chain-c@1.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-c
+ @isaacs/testing-peer-dep-conflict-chain-c@"1" from the root project
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP chain-conflict > report 1`] = `
+# npm resolution error report
+
+\${TIME}
+
+While resolving: project@1.2.3
+Found: @isaacs/testing-peer-dep-conflict-chain-d@2.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-d
+ @isaacs/testing-peer-dep-conflict-chain-d@"2" from the root project
+
+Could not resolve dependency:
+peer @isaacs/testing-peer-dep-conflict-chain-d@"1" from @isaacs/testing-peer-dep-conflict-chain-c@1.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-c
+ @isaacs/testing-peer-dep-conflict-chain-c@"1" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+Raw JSON explanation object:
+
+{
+ "name": "chain-conflict",
+ "json": true
+}
+
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP chain-conflict > report with color 1`] = `
+While resolving: project@1.2.3
+Found: @isaacs/testing-peer-dep-conflict-chain-d@2.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-d
+ @isaacs/testing-peer-dep-conflict-chain-d@"2" from the root project
+
+Could not resolve dependency:
+peer @isaacs/testing-peer-dep-conflict-chain-d@"1" from @isaacs/testing-peer-dep-conflict-chain-c@1.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-c
+ @isaacs/testing-peer-dep-conflict-chain-c@"1" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP chain-conflict > report with color, depth only 2 1`] = `
+While resolving: project@1.2.3
+Found: @isaacs/testing-peer-dep-conflict-chain-d@2.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-d
+ @isaacs/testing-peer-dep-conflict-chain-d@"2" from the root project
+
+Could not resolve dependency:
+peer @isaacs/testing-peer-dep-conflict-chain-d@"1" from @isaacs/testing-peer-dep-conflict-chain-c@1.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-c
+ @isaacs/testing-peer-dep-conflict-chain-c@"1" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP chain-conflict > report with no color, depth of 6 1`] = `
+While resolving: project@1.2.3
+Found: @isaacs/testing-peer-dep-conflict-chain-d@2.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-d
+ @isaacs/testing-peer-dep-conflict-chain-d@"2" from the root project
+
+Could not resolve dependency:
+peer @isaacs/testing-peer-dep-conflict-chain-d@"1" from @isaacs/testing-peer-dep-conflict-chain-c@1.0.0
+node_modules/@isaacs/testing-peer-dep-conflict-chain-c
+ @isaacs/testing-peer-dep-conflict-chain-c@"1" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP cycleNested > explain with color 1`] = `
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Conflicting peer dependency: @isaacs/peer-dep-cycle-c@1.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP cycleNested > explain with no color, depth of 6 1`] = `
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Conflicting peer dependency: @isaacs/peer-dep-cycle-c@1.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP cycleNested > report 1`] = `
+# npm resolution error report
+
+\${TIME}
+
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Conflicting peer dependency: @isaacs/peer-dep-cycle-c@1.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+Raw JSON explanation object:
+
+{
+ "name": "cycleNested",
+ "json": true
+}
+
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP cycleNested > report with color 1`] = `
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Conflicting peer dependency: @isaacs/peer-dep-cycle-c@1.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP cycleNested > report with color, depth only 2 1`] = `
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Conflicting peer dependency: @isaacs/peer-dep-cycle-c@1.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP cycleNested > report with no color, depth of 6 1`] = `
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Conflicting peer dependency: @isaacs/peer-dep-cycle-c@1.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP gatsby > explain with color 1`] = `
+While resolving: gatsby-recipes@0.2.31
+Found: ink@3.0.0-7
+node_modules/ink
+ dev ink@"next" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+ gatsby-recipes@"^0.2.31" from gatsby-cli@2.12.107
+ node_modules/gatsby-cli
+
+Could not resolve dependency:
+peer ink@">=2.0.0" from ink-box@1.0.0
+node_modules/ink-box
+ ink-box@"^1.0.0" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP gatsby > explain with no color, depth of 6 1`] = `
+While resolving: gatsby-recipes@0.2.31
+Found: ink@3.0.0-7
+node_modules/ink
+ dev ink@"next" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+ gatsby-recipes@"^0.2.31" from gatsby-cli@2.12.107
+ node_modules/gatsby-cli
+ gatsby-cli@"^2.12.107" from gatsby@2.24.74
+ node_modules/gatsby
+ gatsby@"" from the root project
+
+Could not resolve dependency:
+peer ink@">=2.0.0" from ink-box@1.0.0
+node_modules/ink-box
+ ink-box@"^1.0.0" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+ gatsby-recipes@"^0.2.31" from gatsby-cli@2.12.107
+ node_modules/gatsby-cli
+ gatsby-cli@"^2.12.107" from gatsby@2.24.74
+ node_modules/gatsby
+ gatsby@"" from the root project
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP gatsby > report 1`] = `
+# npm resolution error report
+
+\${TIME}
+
+While resolving: gatsby-recipes@0.2.31
+Found: ink@3.0.0-7
+node_modules/ink
+ dev ink@"next" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+ gatsby-recipes@"^0.2.31" from gatsby-cli@2.12.107
+ node_modules/gatsby-cli
+ gatsby-cli@"^2.12.107" from gatsby@2.24.74
+ node_modules/gatsby
+ gatsby@"" from the root project
+
+Could not resolve dependency:
+peer ink@">=2.0.0" from ink-box@1.0.0
+node_modules/ink-box
+ ink-box@"^1.0.0" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+ gatsby-recipes@"^0.2.31" from gatsby-cli@2.12.107
+ node_modules/gatsby-cli
+ gatsby-cli@"^2.12.107" from gatsby@2.24.74
+ node_modules/gatsby
+ gatsby@"" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+Raw JSON explanation object:
+
+{
+ "name": "gatsby",
+ "json": true
+}
+
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP gatsby > report with color 1`] = `
+While resolving: gatsby-recipes@0.2.31
+Found: ink@3.0.0-7
+node_modules/ink
+ dev ink@"next" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+ gatsby-recipes@"^0.2.31" from gatsby-cli@2.12.107
+ node_modules/gatsby-cli
+ gatsby-cli@"^2.12.107" from gatsby@2.24.74
+ node_modules/gatsby
+ gatsby@"" from the root project
+
+Could not resolve dependency:
+peer ink@">=2.0.0" from ink-box@1.0.0
+node_modules/ink-box
+ ink-box@"^1.0.0" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+ gatsby-recipes@"^0.2.31" from gatsby-cli@2.12.107
+ node_modules/gatsby-cli
+ gatsby-cli@"^2.12.107" from gatsby@2.24.74
+ node_modules/gatsby
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP gatsby > report with color, depth only 2 1`] = `
+While resolving: gatsby-recipes@0.2.31
+Found: ink@3.0.0-7
+node_modules/ink
+ dev ink@"next" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+ gatsby-recipes@"^0.2.31" from gatsby-cli@2.12.107
+ node_modules/gatsby-cli
+
+Could not resolve dependency:
+peer ink@">=2.0.0" from ink-box@1.0.0
+node_modules/ink-box
+ ink-box@"^1.0.0" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP gatsby > report with no color, depth of 6 1`] = `
+While resolving: gatsby-recipes@0.2.31
+Found: ink@3.0.0-7
+node_modules/ink
+ dev ink@"next" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+ gatsby-recipes@"^0.2.31" from gatsby-cli@2.12.107
+ node_modules/gatsby-cli
+ gatsby-cli@"^2.12.107" from gatsby@2.24.74
+ node_modules/gatsby
+ gatsby@"" from the root project
+
+Could not resolve dependency:
+peer ink@">=2.0.0" from ink-box@1.0.0
+node_modules/ink-box
+ ink-box@"^1.0.0" from gatsby-recipes@0.2.31
+ node_modules/gatsby-recipes
+ gatsby-recipes@"^0.2.31" from gatsby-cli@2.12.107
+ node_modules/gatsby-cli
+ gatsby-cli@"^2.12.107" from gatsby@2.24.74
+ node_modules/gatsby
+ gatsby@"" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > explain with color 1`] = `
+While resolving: eslint@7.22.0
+Found: dev eslint@"file:." from the root project
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > explain with no color, depth of 6 1`] = `
+While resolving: eslint@7.22.0
+Found: dev eslint@"file:." from the root project
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > report 1`] = `
+# npm resolution error report
+
+\${TIME}
+
+While resolving: eslint@7.22.0
+Found: dev eslint@"file:." from the root project
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+Raw JSON explanation object:
+
+{
+ "name": "no current node, but has current edge",
+ "json": true
+}
+
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > report with color 1`] = `
+While resolving: eslint@7.22.0
+Found: dev eslint@"file:." from the root project
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > report with color, depth only 2 1`] = `
+While resolving: eslint@7.22.0
+Found: dev eslint@"file:." from the root project
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > report with no color, depth of 6 1`] = `
+While resolving: eslint@7.22.0
+Found: dev eslint@"file:." from the root project
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > explain with color 1`] = `
+While resolving: eslint@7.22.0
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > explain with no color, depth of 6 1`] = `
+While resolving: eslint@7.22.0
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > report 1`] = `
+# npm resolution error report
+
+\${TIME}
+
+While resolving: eslint@7.22.0
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+Raw JSON explanation object:
+
+{
+ "name": "no current node, no current edge, idk",
+ "json": true
+}
+
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > report with color 1`] = `
+While resolving: eslint@7.22.0
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > report with color, depth only 2 1`] = `
+While resolving: eslint@7.22.0
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > report with no color, depth of 6 1`] = `
+While resolving: eslint@7.22.0
+
+Could not resolve dependency:
+peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
+node_modules/eslint-plugin-jsdoc
+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP withShrinkwrap > explain with color 1`] = `
+While resolving: @isaacs/peer-dep-cycle-b@1.0.0
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP withShrinkwrap > explain with no color, depth of 6 1`] = `
+While resolving: @isaacs/peer-dep-cycle-b@1.0.0
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP withShrinkwrap > report 1`] = `
+# npm resolution error report
+
+\${TIME}
+
+While resolving: @isaacs/peer-dep-cycle-b@1.0.0
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+Raw JSON explanation object:
+
+{
+ "name": "withShrinkwrap",
+ "json": true
+}
+
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP withShrinkwrap > report with color 1`] = `
+While resolving: @isaacs/peer-dep-cycle-b@1.0.0
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP withShrinkwrap > report with color, depth only 2 1`] = `
+While resolving: @isaacs/peer-dep-cycle-b@1.0.0
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`
+
+exports[`test/lib/utils/explain-eresolve.js TAP withShrinkwrap > report with no color, depth of 6 1`] = `
+While resolving: @isaacs/peer-dep-cycle-b@1.0.0
+Found: @isaacs/peer-dep-cycle-c@2.0.0
+node_modules/@isaacs/peer-dep-cycle-c
+ @isaacs/peer-dep-cycle-c@"2.x" from the root project
+
+Could not resolve dependency:
+peer @isaacs/peer-dep-cycle-c@"1" from @isaacs/peer-dep-cycle-b@1.0.0
+node_modules/@isaacs/peer-dep-cycle-b
+ peer @isaacs/peer-dep-cycle-b@"1" from @isaacs/peer-dep-cycle-a@1.0.0
+ node_modules/@isaacs/peer-dep-cycle-a
+ @isaacs/peer-dep-cycle-a@"1.x" from the root project
+
+Fix the upstream dependency conflict, or retry
+this command with --no-strict-peer-deps, --force, or --legacy-peer-deps
+to accept an incorrect (and potentially broken) dependency resolution.
+
+See \${REPORT} for a full report.
+`