@@ -215,6 +215,142 @@ to accept an incorrect (and potentially broken) dependency resolution.
215215See \${REPORT} for a full report.
216216`
217217
218+ exports [ `test/lib/utils/explain-eresolve.js TAP eslint-plugin case > explain with color, depth of 2 1` ] = `
219+ While resolving: [1meslint-plugin-react[22m@[1m7.24.0[22m
220+ Found: [1meslint[22m@[1m6.8.0[22m[2m[22m
221+ [2mnode_modules/eslint[22m
222+ [33mdev[39m [1meslint[22m@"[1m^3 || ^4 || ^5 || ^6 || ^7[22m" from the root project
223+ 3 more (@typescript-eslint/parser, ...)
224+
225+ Could not resolve dependency:
226+ [33mdev[39m [1meslint-plugin-eslint-plugin[22m@"[1m^3.1.0[22m" from the root project
227+
228+ Conflicting peer dependency: [1meslint[22m@[1m7.31.0[22m[2m[22m
229+ [2mnode_modules/eslint[22m
230+ [35mpeer[39m [1meslint[22m@"[1m^7.0.0[22m" from [1meslint-plugin-eslint-plugin[22m@[1m3.5.1[22m[2m[22m
231+ [2mnode_modules/eslint-plugin-eslint-plugin[22m
232+ [33mdev[39m [1meslint-plugin-eslint-plugin[22m@"[1m^3.1.0[22m" from the root project
233+ `
234+
235+ exports [ `test/lib/utils/explain-eresolve.js TAP eslint-plugin case > explain with no color, depth of 6 1` ] = `
236+ While resolving: [email protected] 237+ 238+ node_modules/eslint
239+ dev eslint@"^3 || ^4 || ^5 || ^6 || ^7" from the root project
240+ peer eslint@"^5.0.0 || ^6.0.0" from @typescript-eslint/[email protected] 241+ node_modules/@typescript-eslint/parser
242+ dev @typescript-eslint/parser@"^2.34.0" from the root project
243+ peer eslint@"^5.16.0 || ^6.8.0 || ^7.2.0" from [email protected] 244+ node_modules/eslint-config-airbnb-base
245+ dev eslint-config-airbnb-base@"^14.2.1" from the root project
246+ 1 more (eslint-plugin-import)
247+
248+ Could not resolve dependency:
249+ dev eslint-plugin-eslint-plugin@"^3.1.0" from the root project
250+
251+ Conflicting peer dependency: [email protected] 252+ node_modules/eslint
253+ peer eslint@"^7.0.0" from [email protected] 254+ node_modules/eslint-plugin-eslint-plugin
255+ dev eslint-plugin-eslint-plugin@"^3.1.0" from the root project
256+ `
257+
258+ exports [ `test/lib/utils/explain-eresolve.js TAP eslint-plugin case > report 1` ] = `
259+ # npm resolution error report
260+
261+ \${TIME}
262+
263+ While resolving: [email protected] 264+ 265+ node_modules/eslint
266+ dev eslint@"^3 || ^4 || ^5 || ^6 || ^7" from the root project
267+ peer eslint@"^5.0.0 || ^6.0.0" from @typescript-eslint/[email protected] 268+ node_modules/@typescript-eslint/parser
269+ dev @typescript-eslint/parser@"^2.34.0" from the root project
270+ peer eslint@"^5.16.0 || ^6.8.0 || ^7.2.0" from [email protected] 271+ node_modules/eslint-config-airbnb-base
272+ dev eslint-config-airbnb-base@"^14.2.1" from the root project
273+ peer eslint@"^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0" from [email protected] 274+ node_modules/eslint-plugin-import
275+ dev eslint-plugin-import@"^2.23.4" from the root project
276+ peer eslint-plugin-import@"^2.22.1" from [email protected] 277+ node_modules/eslint-config-airbnb-base
278+ dev eslint-config-airbnb-base@"^14.2.1" from the root project
279+
280+ Could not resolve dependency:
281+ dev eslint-plugin-eslint-plugin@"^3.1.0" from the root project
282+
283+ Conflicting peer dependency: [email protected] 284+ node_modules/eslint
285+ peer eslint@"^7.0.0" from [email protected] 286+ node_modules/eslint-plugin-eslint-plugin
287+ dev eslint-plugin-eslint-plugin@"^3.1.0" from the root project
288+
289+ Fix the upstream dependency conflict, or retry
290+ this command with --force, or --legacy-peer-deps
291+ to accept an incorrect (and potentially broken) dependency resolution.
292+
293+ Raw JSON explanation object:
294+
295+ {
296+ "name": "eslint-plugin case",
297+ "json": true
298+ }
299+
300+ `
301+
302+ exports [ `test/lib/utils/explain-eresolve.js TAP eslint-plugin case > report with color 1` ] = `
303+ While resolving: [1meslint-plugin-react[22m@[1m7.24.0[22m
304+ Found: [1meslint[22m@[1m6.8.0[22m[2m[22m
305+ [2mnode_modules/eslint[22m
306+ [33mdev[39m [1meslint[22m@"[1m^3 || ^4 || ^5 || ^6 || ^7[22m" from the root project
307+ [35mpeer[39m [1meslint[22m@"[1m^5.0.0 || ^6.0.0[22m" from [1m@typescript-eslint/parser[22m@[1m2.34.0[22m[2m[22m
308+ [2mnode_modules/@typescript-eslint/parser[22m
309+ [33mdev[39m [1m@typescript-eslint/parser[22m@"[1m^2.34.0[22m" from the root project
310+ 2 more (eslint-config-airbnb-base, eslint-plugin-import)
311+
312+ Could not resolve dependency:
313+ [33mdev[39m [1meslint-plugin-eslint-plugin[22m@"[1m^3.1.0[22m" from the root project
314+
315+ Conflicting peer dependency: [1meslint[22m@[1m7.31.0[22m[2m[22m
316+ [2mnode_modules/eslint[22m
317+ [35mpeer[39m [1meslint[22m@"[1m^7.0.0[22m" from [1meslint-plugin-eslint-plugin[22m@[1m3.5.1[22m[2m[22m
318+ [2mnode_modules/eslint-plugin-eslint-plugin[22m
319+ [33mdev[39m [1meslint-plugin-eslint-plugin[22m@"[1m^3.1.0[22m" from the root project
320+
321+ Fix the upstream dependency conflict, or retry
322+ this command with --force, or --legacy-peer-deps
323+ to accept an incorrect (and potentially broken) dependency resolution.
324+
325+ See \${REPORT} for a full report.
326+ `
327+
328+ exports [ `test/lib/utils/explain-eresolve.js TAP eslint-plugin case > report with no color 1` ] = `
329+ While resolving: [email protected] 330+ 331+ node_modules/eslint
332+ dev eslint@"^3 || ^4 || ^5 || ^6 || ^7" from the root project
333+ peer eslint@"^5.0.0 || ^6.0.0" from @typescript-eslint/[email protected] 334+ node_modules/@typescript-eslint/parser
335+ dev @typescript-eslint/parser@"^2.34.0" from the root project
336+ 2 more (eslint-config-airbnb-base, eslint-plugin-import)
337+
338+ Could not resolve dependency:
339+ dev eslint-plugin-eslint-plugin@"^3.1.0" from the root project
340+
341+ Conflicting peer dependency: [email protected] 342+ node_modules/eslint
343+ peer eslint@"^7.0.0" from [email protected] 344+ node_modules/eslint-plugin-eslint-plugin
345+ dev eslint-plugin-eslint-plugin@"^3.1.0" from the root project
346+
347+ Fix the upstream dependency conflict, or retry
348+ this command with --force, or --legacy-peer-deps
349+ to accept an incorrect (and potentially broken) dependency resolution.
350+
351+ See \${REPORT} for a full report.
352+ `
353+
218354exports [ `test/lib/utils/explain-eresolve.js TAP gatsby > explain with color, depth of 2 1` ] = `
219355While resolving: [1mgatsby-recipes[22m@[1m0.2.31[22m
220356Found: [1mink[22m@[1m3.0.0-7[22m[2m[22m
@@ -433,6 +569,9 @@ See \${REPORT} for a full report.
433569
434570exports [ `test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > explain with color, depth of 2 1` ] = `
435571While resolving: [1meslint[22m@[1m7.22.0[22m
572+ Found: [35mpeer[39m [1meslint[22m@"[1m^6.0.0[22m" from [1meslint-plugin-jsdoc[22m@[1m22.2.0[22m[2m[22m
573+ [2mnode_modules/eslint-plugin-jsdoc[22m
574+ [33mdev[39m [1meslint-plugin-jsdoc[22m@"[1m^22.1.0[22m" from the root project
436575
437576Could not resolve dependency:
438577[35mpeer[39m [1meslint[22m@"[1m^6.0.0[22m" from [1meslint-plugin-jsdoc[22m@[1m22.2.0[22m[2m[22m
@@ -442,6 +581,9 @@ Could not resolve dependency:
442581
443582exports [ `test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > explain with no color, depth of 6 1` ] = `
444583While resolving: [email protected] 584+ Found: peer eslint@"^6.0.0" from [email protected] 585+ node_modules/eslint-plugin-jsdoc
586+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
445587
446588Could not resolve dependency:
447589peer eslint@"^6.0.0" from [email protected] @@ -455,6 +597,9 @@ exports[`test/lib/utils/explain-eresolve.js TAP no current node, no current edge
455597\${TIME}
456598
457599While resolving: [email protected] 600+ Found: peer eslint@"^6.0.0" from [email protected] 601+ node_modules/eslint-plugin-jsdoc
602+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
458603
459604Could not resolve dependency:
460605peer eslint@"^6.0.0" from [email protected] @@ -476,6 +621,9 @@ Raw JSON explanation object:
476621
477622exports [ `test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > report with color 1` ] = `
478623While resolving: [1meslint[22m@[1m7.22.0[22m
624+ Found: [35mpeer[39m [1meslint[22m@"[1m^6.0.0[22m" from [1meslint-plugin-jsdoc[22m@[1m22.2.0[22m[2m[22m
625+ [2mnode_modules/eslint-plugin-jsdoc[22m
626+ [33mdev[39m [1meslint-plugin-jsdoc[22m@"[1m^22.1.0[22m" from the root project
479627
480628Could not resolve dependency:
481629[35mpeer[39m [1meslint[22m@"[1m^6.0.0[22m" from [1meslint-plugin-jsdoc[22m@[1m22.2.0[22m[2m[22m
@@ -491,6 +639,9 @@ See \${REPORT} for a full report.
491639
492640exports [ `test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > report with no color 1` ] = `
493641While resolving: [email protected] 642+ Found: peer eslint@"^6.0.0" from [email protected] 643+ node_modules/eslint-plugin-jsdoc
644+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
494645
495646Could not resolve dependency:
496647peer eslint@"^6.0.0" from [email protected]
0 commit comments