@@ -418,6 +418,188 @@ to accept an incorrect (and potentially broken) dependency resolution.
418418See \${REPORT} for a full report.
419419`
420420
421+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > explain with color 1` ] = `
422+ While resolving: [1meslint[22m@[1m7.22.0[22m
423+ Found: [33mdev[39m [1meslint[22m@"[1mfile:.[22m" from the root project
424+
425+ Could not resolve dependency:
426+ [35mpeer[39m [1meslint[22m@"[1m^6.0.0[22m" from [1meslint-plugin-jsdoc[22m@[1m22.2.0[22m[2m[22m
427+ [2mnode_modules/eslint-plugin-jsdoc[22m
428+ [33mdev[39m [1meslint-plugin-jsdoc[22m@"[1m^22.1.0[22m" from the root project
429+ `
430+
431+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > explain with no color, depth of 6 1` ] = `
432+ While resolving: eslint@7.22.0
433+ Found: dev eslint@"file:." from the root project
434+
435+ Could not resolve dependency:
436+ peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
437+ node_modules/eslint-plugin-jsdoc
438+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
439+ `
440+
441+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > report 1` ] = `
442+ # npm resolution error report
443+
444+ \${TIME}
445+
446+ While resolving: eslint@7.22.0
447+ Found: dev eslint@"file:." from the root project
448+
449+ Could not resolve dependency:
450+ peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
451+ node_modules/eslint-plugin-jsdoc
452+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
453+
454+ Fix the upstream dependency conflict, or retry
455+ this command with --force, or --legacy-peer-deps
456+ to accept an incorrect (and potentially broken) dependency resolution.
457+
458+ Raw JSON explanation object:
459+
460+ {
461+ "name": "no current node, but has current edge",
462+ "json": true
463+ }
464+
465+ `
466+
467+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > report with color 1` ] = `
468+ While resolving: [1meslint[22m@[1m7.22.0[22m
469+ Found: [33mdev[39m [1meslint[22m@"[1mfile:.[22m" from the root project
470+
471+ Could not resolve dependency:
472+ [35mpeer[39m [1meslint[22m@"[1m^6.0.0[22m" from [1meslint-plugin-jsdoc[22m@[1m22.2.0[22m[2m[22m
473+ [2mnode_modules/eslint-plugin-jsdoc[22m
474+ [33mdev[39m [1meslint-plugin-jsdoc[22m@"[1m^22.1.0[22m" from the root project
475+
476+ Fix the upstream dependency conflict, or retry
477+ this command with --force, or --legacy-peer-deps
478+ to accept an incorrect (and potentially broken) dependency resolution.
479+
480+ See \${REPORT} for a full report.
481+ `
482+
483+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > report with color, depth only 2 1` ] = `
484+ While resolving: [1meslint[22m@[1m7.22.0[22m
485+ Found: [33mdev[39m [1meslint[22m@"[1mfile:.[22m" from the root project
486+
487+ Could not resolve dependency:
488+ [35mpeer[39m [1meslint[22m@"[1m^6.0.0[22m" from [1meslint-plugin-jsdoc[22m@[1m22.2.0[22m[2m[22m
489+ [2mnode_modules/eslint-plugin-jsdoc[22m
490+ [33mdev[39m [1meslint-plugin-jsdoc[22m@"[1m^22.1.0[22m" from the root project
491+
492+ Fix the upstream dependency conflict, or retry
493+ this command with --force, or --legacy-peer-deps
494+ to accept an incorrect (and potentially broken) dependency resolution.
495+
496+ See \${REPORT} for a full report.
497+ `
498+
499+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, but has current edge > report with no color, depth of 6 1` ] = `
500+ While resolving: eslint@7.22.0
501+ Found: dev eslint@"file:." from the root project
502+
503+ Could not resolve dependency:
504+ peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
505+ node_modules/eslint-plugin-jsdoc
506+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
507+
508+ Fix the upstream dependency conflict, or retry
509+ this command with --force, or --legacy-peer-deps
510+ to accept an incorrect (and potentially broken) dependency resolution.
511+
512+ See \${REPORT} for a full report.
513+ `
514+
515+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > explain with color 1` ] = `
516+ While resolving: [1meslint[22m@[1m7.22.0[22m
517+
518+ Could not resolve dependency:
519+ [35mpeer[39m [1meslint[22m@"[1m^6.0.0[22m" from [1meslint-plugin-jsdoc[22m@[1m22.2.0[22m[2m[22m
520+ [2mnode_modules/eslint-plugin-jsdoc[22m
521+ [33mdev[39m [1meslint-plugin-jsdoc[22m@"[1m^22.1.0[22m" from the root project
522+ `
523+
524+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > explain with no color, depth of 6 1` ] = `
525+ While resolving: eslint@7.22.0
526+
527+ Could not resolve dependency:
528+ peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
529+ node_modules/eslint-plugin-jsdoc
530+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
531+ `
532+
533+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > report 1` ] = `
534+ # npm resolution error report
535+
536+ \${TIME}
537+
538+ While resolving: eslint@7.22.0
539+
540+ Could not resolve dependency:
541+ peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
542+ node_modules/eslint-plugin-jsdoc
543+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
544+
545+ Fix the upstream dependency conflict, or retry
546+ this command with --force, or --legacy-peer-deps
547+ to accept an incorrect (and potentially broken) dependency resolution.
548+
549+ Raw JSON explanation object:
550+
551+ {
552+ "name": "no current node, no current edge, idk",
553+ "json": true
554+ }
555+
556+ `
557+
558+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > report with color 1` ] = `
559+ While resolving: [1meslint[22m@[1m7.22.0[22m
560+
561+ Could not resolve dependency:
562+ [35mpeer[39m [1meslint[22m@"[1m^6.0.0[22m" from [1meslint-plugin-jsdoc[22m@[1m22.2.0[22m[2m[22m
563+ [2mnode_modules/eslint-plugin-jsdoc[22m
564+ [33mdev[39m [1meslint-plugin-jsdoc[22m@"[1m^22.1.0[22m" from the root project
565+
566+ Fix the upstream dependency conflict, or retry
567+ this command with --force, or --legacy-peer-deps
568+ to accept an incorrect (and potentially broken) dependency resolution.
569+
570+ See \${REPORT} for a full report.
571+ `
572+
573+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > report with color, depth only 2 1` ] = `
574+ While resolving: [1meslint[22m@[1m7.22.0[22m
575+
576+ Could not resolve dependency:
577+ [35mpeer[39m [1meslint[22m@"[1m^6.0.0[22m" from [1meslint-plugin-jsdoc[22m@[1m22.2.0[22m[2m[22m
578+ [2mnode_modules/eslint-plugin-jsdoc[22m
579+ [33mdev[39m [1meslint-plugin-jsdoc[22m@"[1m^22.1.0[22m" from the root project
580+
581+ Fix the upstream dependency conflict, or retry
582+ this command with --force, or --legacy-peer-deps
583+ to accept an incorrect (and potentially broken) dependency resolution.
584+
585+ See \${REPORT} for a full report.
586+ `
587+
588+ exports [ `test/lib/utils/explain-eresolve.js TAP no current node, no current edge, idk > report with no color, depth of 6 1` ] = `
589+ While resolving: eslint@7.22.0
590+
591+ Could not resolve dependency:
592+ peer eslint@"^6.0.0" from eslint-plugin-jsdoc@22.2.0
593+ node_modules/eslint-plugin-jsdoc
594+ dev eslint-plugin-jsdoc@"^22.1.0" from the root project
595+
596+ Fix the upstream dependency conflict, or retry
597+ this command with --force, or --legacy-peer-deps
598+ to accept an incorrect (and potentially broken) dependency resolution.
599+
600+ See \${REPORT} for a full report.
601+ `
602+
421603exports [ `test/lib/utils/explain-eresolve.js TAP withShrinkwrap > explain with color 1` ] = `
422604While resolving: [1m@isaacs/peer-dep-cycle-b[22m@[1m1.0.0[22m
423605Found: [1m@isaacs/peer-dep-cycle-c[22m@[1m2.0.0[22m[2m[22m
0 commit comments