@@ -16375,6 +16375,92 @@ ArboristNode {
16375
16375
}
16376
16376
`
16377
16377
16378
+ exports[`test/arborist/load-virtual.js TAP workspaces load installed workspace with dependency overrides > virtual tree with overrides 1`] = `
16379
+ ArboristNode {
16380
+ "children": Map {
16381
+ "arg" => ArboristNode {
16382
+ "edgesIn": Set {
16383
+ EdgeIn {
16384
+ "error": "INVALID",
16385
+ "from": "ws",
16386
+ "name": "arg",
16387
+ "spec": "4.1.2",
16388
+ "type": "prod",
16389
+ },
16390
+ },
16391
+ "location": "node_modules/arg",
16392
+ "name": "arg",
16393
+ "overrides": Map {
16394
+ "arg" => "4.1.3",
16395
+ },
16396
+ "path": "{CWD}/test/fixtures/workspaces-with-overrides/node_modules/arg",
16397
+ "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz",
16398
+ "version": "4.1.3",
16399
+ },
16400
+ "ws" => ArboristLink {
16401
+ "edgesIn": Set {
16402
+ EdgeIn {
16403
+ "from": "",
16404
+ "name": "ws",
16405
+ "spec": "file:{CWD}/test/fixtures/workspaces-with-overrides/ws",
16406
+ "type": "workspace",
16407
+ },
16408
+ },
16409
+ "isWorkspace": true,
16410
+ "location": "node_modules/ws",
16411
+ "name": "ws",
16412
+ "overrides": Map {
16413
+ "arg" => "4.1.3",
16414
+ },
16415
+ "path": "{CWD}/test/fixtures/workspaces-with-overrides/node_modules/ws",
16416
+ "realpath": "{CWD}/test/fixtures/workspaces-with-overrides/ws",
16417
+ "resolved": "file:../ws",
16418
+ "target": ArboristNode {
16419
+ "location": "ws",
16420
+ },
16421
+ "version": "1.0.0",
16422
+ },
16423
+ },
16424
+ "edgesOut": Map {
16425
+ "ws" => EdgeOut {
16426
+ "name": "ws",
16427
+ "spec": "file:{CWD}/test/fixtures/workspaces-with-overrides/ws",
16428
+ "to": "node_modules/ws",
16429
+ "type": "workspace",
16430
+ },
16431
+ },
16432
+ "fsChildren": Set {
16433
+ ArboristNode {
16434
+ "edgesOut": Map {
16435
+ "arg" => EdgeOut {
16436
+ "error": "INVALID",
16437
+ "name": "arg",
16438
+ "spec": "4.1.2",
16439
+ "to": "node_modules/arg",
16440
+ "type": "prod",
16441
+ },
16442
+ },
16443
+ "isWorkspace": true,
16444
+ "location": "ws",
16445
+ "name": "ws",
16446
+ "path": "{CWD}/test/fixtures/workspaces-with-overrides/ws",
16447
+ "version": "1.0.0",
16448
+ },
16449
+ },
16450
+ "isProjectRoot": true,
16451
+ "location": "",
16452
+ "name": "workspaces-with-overrides",
16453
+ "overrides": Map {
16454
+ "arg" => "4.1.3",
16455
+ },
16456
+ "packageName": "workspace-with-overrides",
16457
+ "path": "{CWD}/test/fixtures/workspaces-with-overrides",
16458
+ "workspaces": Map {
16459
+ "ws" => "ws",
16460
+ },
16461
+ }
16462
+ `
16463
+
16378
16464
exports[`test/arborist/load-virtual.js TAP workspaces load installed workspace with transitive dependencies > virtual tree with transitive deps 1`] = `
16379
16465
ArboristNode {
16380
16466
"children": Map {
0 commit comments