diff --git a/package-lock.json b/package-lock.json index 75c73d55e4079..0e8b29b365fe8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -5249,6 +5249,21 @@ "dev": true, "license": "ISC" }, + "node_modules/fsevents": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", + "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": "^8.16.0 || ^10.6.0 || >=11.0.0" + } + }, "node_modules/function-bind": { "version": "1.1.2", "dev": true, diff --git a/workspaces/arborist/lib/arborist/build-ideal-tree.js b/workspaces/arborist/lib/arborist/build-ideal-tree.js index 9eff905ffa39c..a5b8e7fae34a7 100644 --- a/workspaces/arborist/lib/arborist/build-ideal-tree.js +++ b/workspaces/arborist/lib/arborist/build-ideal-tree.js @@ -192,7 +192,7 @@ module.exports = cls => class IdealTreeBuilder extends cls { } async #checkEngineAndPlatform () { - const { engineStrict, npmVersion, nodeVersion, omit = [] } = this.options + const { engineStrict, npmVersion, nodeVersion, omit = [], cpu, os, libc } = this.options const omitSet = new Set(omit) for (const node of this.idealTree.inventory.values()) { @@ -214,6 +214,19 @@ module.exports = cls => class IdealTreeBuilder extends cls { } checkPlatform(node.package, this.options.force) } + if (node.optional && !node.inert) { + // Mark any optional packages we can't install as inert. + // We ignore the --force and --engine-strict flags. + try { + checkEngine(node.package, npmVersion, nodeVersion, false) + checkPlatform(node.package, false, { cpu, os, libc }) + } catch (error) { + const set = optionalSet(node) + for (const node of set) { + node.inert = true + } + } + } } } @@ -324,7 +337,7 @@ module.exports = cls => class IdealTreeBuilder extends cls { }) .then(tree => { - // search the virtual tree for invalid edges, if any are found add their source to + // search the virtual tree for missing/invalid edges, if any are found add their source to // the depsQueue so that we'll fix it later depth({ tree, @@ -338,7 +351,7 @@ module.exports = cls => class IdealTreeBuilder extends cls { filter: node => node, visit: node => { for (const edge of node.edgesOut.values()) { - if (!edge.valid) { + if (!edge.to || !edge.valid) { this.#depsQueue.push(node) break // no need to continue the loop after the first hit } @@ -811,7 +824,7 @@ This is a one-time fix-up, please be patient... node !== this.idealTree && node.resolved && (hasBundle || hasShrinkwrap) && - !node.ideallyInert + !node.inert if (crackOpen) { const Arborist = this.constructor const opt = { ...this.options } @@ -1561,7 +1574,7 @@ This is a one-time fix-up, please be patient... const set = optionalSet(node) for (const node of set) { - node.ideallyInert = true + node.inert = true } } } @@ -1582,7 +1595,7 @@ This is a one-time fix-up, please be patient... node.parent !== null && !node.isProjectRoot && !excludeNodes.has(node) - && !node.ideallyInert + && !node.inert ) { this[_addNodeToTrashList](node) } diff --git a/workspaces/arborist/lib/arborist/isolated-reifier.js b/workspaces/arborist/lib/arborist/isolated-reifier.js index a9a31dbf2e00a..5c9000e4526a3 100644 --- a/workspaces/arborist/lib/arborist/isolated-reifier.js +++ b/workspaces/arborist/lib/arborist/isolated-reifier.js @@ -81,7 +81,7 @@ module.exports = cls => class IsolatedReifier extends cls { } queue.push(e.to) }) - if (!next.isProjectRoot && !next.isWorkspace && !next.ideallyInert) { + if (!next.isProjectRoot && !next.isWorkspace && !next.inert) { root.external.push(await this.externalProxyMemo(next)) } } @@ -147,8 +147,8 @@ module.exports = cls => class IsolatedReifier extends cls { const nonOptionalDeps = edges.filter(e => !e.optional).map(e => e.to.target) result.localDependencies = await Promise.all(nonOptionalDeps.filter(n => n.isWorkspace).map(this.workspaceProxyMemo)) - result.externalDependencies = await Promise.all(nonOptionalDeps.filter(n => !n.isWorkspace && !n.ideallyInert).map(this.externalProxyMemo)) - result.externalOptionalDependencies = await Promise.all(optionalDeps.filter(n => !n.ideallyInert).map(this.externalProxyMemo)) + result.externalDependencies = await Promise.all(nonOptionalDeps.filter(n => !n.isWorkspace && !n.inert).map(this.externalProxyMemo)) + result.externalOptionalDependencies = await Promise.all(optionalDeps.filter(n => !n.inert).map(this.externalProxyMemo)) result.dependencies = [ ...result.externalDependencies, ...result.localDependencies, diff --git a/workspaces/arborist/lib/arborist/load-virtual.js b/workspaces/arborist/lib/arborist/load-virtual.js index fb0e5e8c60c6f..b0e3fbd83af3e 100644 --- a/workspaces/arborist/lib/arborist/load-virtual.js +++ b/workspaces/arborist/lib/arborist/load-virtual.js @@ -269,7 +269,6 @@ To fix: integrity: sw.integrity, resolved: consistentResolve(sw.resolved, this.path, path), pkg: sw, - ideallyInert: sw.ideallyInert, hasShrinkwrap: sw.hasShrinkwrap, dev, optional, diff --git a/workspaces/arborist/lib/arborist/reify.js b/workspaces/arborist/lib/arborist/reify.js index 8591e0b0db96e..bd23bc3f55fc6 100644 --- a/workspaces/arborist/lib/arborist/reify.js +++ b/workspaces/arborist/lib/arborist/reify.js @@ -7,7 +7,6 @@ const pacote = require('pacote') const promiseAllRejectLate = require('promise-all-reject-late') const runScript = require('@npmcli/run-script') const { callLimit: promiseCallLimit } = require('promise-call-limit') -const { checkEngine, checkPlatform } = require('npm-install-checks') const { depth: dfwalk } = require('treeverse') const { dirname, resolve, relative, join } = require('node:path') const { log, time } = require('proc-log') @@ -74,7 +73,6 @@ module.exports = cls => class Reifier extends cls { #dryRun #nmValidated = new Set() #omit - #omitted #retiredPaths = {} #retiredUnchanged = {} #savePrefix @@ -99,7 +97,6 @@ module.exports = cls => class Reifier extends cls { } this.#omit = new Set(options.omit) - this.#omitted = new Set() // start tracker block this.addTracker('reify') @@ -132,15 +129,17 @@ module.exports = cls => class Reifier extends cls { this.idealTree = oldTree } await this[_saveIdealTree](options) - // clean omitted - for (const node of this.#omitted) { - node.parent = null + // clean inert + for (const node of this.idealTree.inventory.values()) { + if (node.inert) { + node.parent = null + } } // clean up any trash that is still in the tree for (const path of this[_trashList]) { const loc = relpath(this.idealTree.realpath, path) const node = this.idealTree.inventory.get(loc) - if (node && node.root === this.idealTree && !node.ideallyInert) { + if (node && node.root === this.idealTree) { node.parent = null } } @@ -228,18 +227,6 @@ module.exports = cls => class Reifier extends cls { this.idealTree.meta.hiddenLockfile = true this.idealTree.meta.lockfileVersion = defaultLockfileVersion - // Preserve inertness for failed stuff. - if (this.actualTree) { - for (const [loc, actual] of this.actualTree.inventory.entries()) { - if (actual.ideallyInert) { - const ideal = this.idealTree.inventory.get(loc) - if (ideal) { - ideal.ideallyInert = true - } - } - } - } - this.actualTree = this.idealTree this.idealTree = null @@ -465,7 +452,6 @@ module.exports = cls => class Reifier extends cls { // and ideal trees. this.diff = Diff.calculate({ omit: this.#omit, - omitted: this.#omitted, shrinkwrapInflated: this.#shrinkwrapInflated, filterNodes, actual: this.actualTree, @@ -566,9 +552,6 @@ module.exports = cls => class Reifier extends cls { // retire the same path at the same time. const dirsChecked = new Set() return promiseAllRejectLate(leaves.map(async node => { - if (node.ideallyInert) { - return - } for (const d of walkUp(node.path)) { if (d === node.top.path) { break @@ -662,18 +645,7 @@ module.exports = cls => class Reifier extends cls { const timeEnd = time.start(`reifyNode:${node.location}`) this.addTracker('reify', node.name, node.location) - const { npmVersion, nodeVersion, cpu, os, libc } = this.options const p = Promise.resolve().then(async () => { - // when we reify an optional node, check the engine and platform - // first. be sure to ignore the --force and --engine-strict flags, - // since we always want to skip any optional packages we can't install. - // these checks throwing will result in a rollback and removal - // of the mismatches - // eslint-disable-next-line promise/always-return - if (node.optional) { - checkEngine(node.package, npmVersion, nodeVersion, false) - checkPlatform(node.package, false, { cpu, os, libc }) - } await this[_checkBins](node) await this.#extractOrLink(node) const { _id, deprecated } = node.package @@ -707,10 +679,6 @@ module.exports = cls => class Reifier extends cls { } async #extractOrLink (node) { - if (node.ideallyInert) { - return - } - const nm = resolve(node.parent.path, 'node_modules') await this.#validateNodeModules(nm) @@ -791,9 +759,9 @@ module.exports = cls => class Reifier extends cls { [_handleOptionalFailure] (node, p) { return (node.optional ? p.catch(() => { const set = optionalSet(node) - for (node of set) { + for (const node of set) { log.verbose('reify', 'failed optional dependency', node.path) - node.ideallyInert = true + node.inert = true this[_addNodeToTrashList](node) } }) : p).then(() => node) @@ -1165,9 +1133,6 @@ module.exports = cls => class Reifier extends cls { this.#retiredUnchanged[retireFolder] = [] return promiseAllRejectLate(diff.unchanged.map(node => { - if (node.ideallyInert) { - return - } // no need to roll back links, since we'll just delete them anyway if (node.isLink) { return mkdir(dirname(node.path), { recursive: true, force: true }) @@ -1247,7 +1212,7 @@ module.exports = cls => class Reifier extends cls { // skip links that only live within node_modules as they are most // likely managed by packages we installed, we only want to rebuild // unchanged links we directly manage - const linkedFromRoot = (node.parent === tree && !node.ideallyInert) || node.target.fsTop === tree + const linkedFromRoot = (node.parent === tree && !node.inert) || node.target.fsTop === tree if (node.isLink && linkedFromRoot) { nodes.push(node) } diff --git a/workspaces/arborist/lib/diff.js b/workspaces/arborist/lib/diff.js index 9f2d5aed47d07..465657cc62422 100644 --- a/workspaces/arborist/lib/diff.js +++ b/workspaces/arborist/lib/diff.js @@ -11,9 +11,8 @@ const { existsSync } = require('node:fs') const ssri = require('ssri') class Diff { - constructor ({ actual, ideal, filterSet, shrinkwrapInflated, omit, omitted }) { + constructor ({ actual, ideal, filterSet, shrinkwrapInflated, omit }) { this.omit = omit - this.omitted = omitted this.filterSet = filterSet this.shrinkwrapInflated = shrinkwrapInflated this.children = [] @@ -39,7 +38,6 @@ class Diff { filterNodes = [], shrinkwrapInflated = new Set(), omit = new Set(), - omitted = new Set(), }) { // if there's a filterNode, then: // - get the path from the root to the filterNode. The root or @@ -98,28 +96,18 @@ class Diff { } return depth({ - tree: new Diff({ actual, ideal, filterSet, shrinkwrapInflated, omit, omitted }), + tree: new Diff({ actual, ideal, filterSet, shrinkwrapInflated, omit }), getChildren, leave, }) } } -const getAction = ({ actual, ideal, omit, omitted }) => { +const getAction = ({ actual, ideal }) => { if (!ideal) { return 'REMOVE' } - if (ideal.shouldOmit?.(omit)) { - omitted.add(ideal) - - if (actual) { - return 'REMOVE' - } - - return null - } - // bundled meta-deps are copied over to the ideal tree when we visit it, // so they'll appear to be missing here. There's no need to handle them // in the diff, though, because they'll be replaced at reify time anyway @@ -199,7 +187,6 @@ const getChildren = diff => { filterSet, shrinkwrapInflated, omit, - omitted, } = diff // Note: we DON'T diff fsChildren themselves, because they are either @@ -231,7 +218,6 @@ const getChildren = diff => { filterSet, shrinkwrapInflated, omit, - omitted, }) } @@ -251,13 +237,24 @@ const diffNode = ({ filterSet, shrinkwrapInflated, omit, - omitted, }) => { if (filterSet.size && !(filterSet.has(ideal) || filterSet.has(actual))) { return } - const action = getAction({ actual, ideal, omit, omitted }) + if (ideal?.shouldOmit?.(omit)) { + ideal.inert = true + } + + // Treat inert nodes as undefined for the purposes of diffing. + if (ideal?.inert) { + ideal = undefined + } + if (!actual && !ideal) { + return + } + + const action = getAction({ actual, ideal }) // if it's a match, then get its children // otherwise, this is the child diff node @@ -265,7 +262,7 @@ const diffNode = ({ if (action === 'REMOVE') { removed.push(actual) } - children.push(new Diff({ actual, ideal, filterSet, shrinkwrapInflated, omit, omitted })) + children.push(new Diff({ actual, ideal, filterSet, shrinkwrapInflated, omit })) } else { unchanged.push(ideal) // !*! Weird dirty hack warning !*! @@ -306,7 +303,6 @@ const diffNode = ({ filterSet, shrinkwrapInflated, omit, - omitted, })) } } diff --git a/workspaces/arborist/lib/node.js b/workspaces/arborist/lib/node.js index 1b75e60660927..15e5fcbb188cf 100644 --- a/workspaces/arborist/lib/node.js +++ b/workspaces/arborist/lib/node.js @@ -101,7 +101,7 @@ class Node { global = false, dummy = false, sourceReference = null, - ideallyInert = false, + inert = false, } = options // this object gives querySelectorAll somewhere to stash context about a node // while processing a query @@ -207,7 +207,7 @@ class Node { this.extraneous = false } - this.ideallyInert = ideallyInert + this.inert = inert this.edgesIn = new Set() this.edgesOut = new CaseInsensitiveMap() diff --git a/workspaces/arborist/lib/shrinkwrap.js b/workspaces/arborist/lib/shrinkwrap.js index e4b159c568250..11703fad4b925 100644 --- a/workspaces/arborist/lib/shrinkwrap.js +++ b/workspaces/arborist/lib/shrinkwrap.js @@ -109,7 +109,6 @@ const nodeMetaKeys = [ 'inBundle', 'hasShrinkwrap', 'hasInstallScript', - 'ideallyInert', ] const metaFieldFromPkg = (pkg, key) => { @@ -136,10 +135,6 @@ const assertNoNewer = async (path, data, lockTime, dir, seen) => { const parent = isParent ? dir : resolve(dir, 'node_modules') const rel = relpath(path, dir) - const inert = data.packages[rel]?.ideallyInert - if (inert) { - return - } seen.add(rel) let entries if (dir === path) { @@ -178,7 +173,7 @@ const assertNoNewer = async (path, data, lockTime, dir, seen) => { // assert that all the entries in the lockfile were seen for (const loc in data.packages) { - if (!seen.has(loc) && !data.packages[loc].ideallyInert) { + if (!seen.has(loc)) { throw new Error(`missing from node_modules: ${loc}`) } } @@ -788,10 +783,6 @@ class Shrinkwrap { // ok, I did my best! good luck! } - if (lock.ideallyInert) { - meta.ideallyInert = true - } - if (lock.bundled) { meta.inBundle = true } @@ -962,12 +953,6 @@ class Shrinkwrap { this.#buildLegacyLockfile(this.tree, this.data) } - if (!this.hiddenLockfile) { - for (const node of Object.values(this.data.packages)) { - delete node.ideallyInert - } - } - // lf version 1 = dependencies only // lf version 2 = dependencies and packages // lf version 3 = packages only diff --git a/workspaces/arborist/tap-snapshots/test/arborist/load-virtual.js.test.cjs b/workspaces/arborist/tap-snapshots/test/arborist/load-virtual.js.test.cjs index cd12c313fa931..72a33e6a58632 100644 --- a/workspaces/arborist/tap-snapshots/test/arborist/load-virtual.js.test.cjs +++ b/workspaces/arborist/tap-snapshots/test/arborist/load-virtual.js.test.cjs @@ -13344,12 +13344,6 @@ ArboristNode { "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "version": "1.1.1", }, - "acorn-jsx" => ArboristNode { - "location": "node_modules/acorn-jsx", - "name": "acorn-jsx", - "path": "{CWD}/test/fixtures/install-types/node_modules/acorn-jsx", - "version": "5.3.1", - }, "balanced-match" => ArboristNode { "edgesIn": Set { EdgeIn { @@ -14039,12 +14033,6 @@ ArboristNode { "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "version": "1.1.1", }, - "acorn-jsx" => ArboristNode { - "location": "node_modules/acorn-jsx", - "name": "acorn-jsx", - "path": "{CWD}/test/fixtures/install-types/node_modules/acorn-jsx", - "version": "5.3.1", - }, "balanced-match" => ArboristNode { "edgesIn": Set { EdgeIn { @@ -14734,12 +14722,6 @@ ArboristNode { "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", "version": "1.1.1", }, - "acorn-jsx" => ArboristNode { - "location": "node_modules/acorn-jsx", - "name": "acorn-jsx", - "path": "{CWD}/test/arborist/tap-testdir-load-virtual-load-from-npm-shrinkwrap.json/node_modules/acorn-jsx", - "version": "5.3.1", - }, "balanced-match" => ArboristNode { "edgesIn": Set { EdgeIn { diff --git a/workspaces/arborist/tap-snapshots/test/arborist/reify.js.test.cjs b/workspaces/arborist/tap-snapshots/test/arborist/reify.js.test.cjs index 210ec999e6dff..bb472a570eb1c 100644 --- a/workspaces/arborist/tap-snapshots/test/arborist/reify.js.test.cjs +++ b/workspaces/arborist/tap-snapshots/test/arborist/reify.js.test.cjs @@ -1857,107 +1857,6 @@ exports[`test/arborist/reify.js TAP add spec * with semver prefix range gets upd ` -exports[`test/arborist/reify.js TAP adding an unresolvable optional dep is OK - maintains inertness > must match snapshot 1`] = ` -ArboristNode { - "children": Map { - "abbrev" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "error": "INVALID", - "from": "", - "name": "abbrev", - "spec": "npm:null@999999", - "type": "optional", - }, - }, - "errors": Array [ - Object { - "code": "E404", - }, - ], - "location": "node_modules/abbrev", - "name": "abbrev", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-adding-an-unresolvable-optional-dep-is-OK---maintains-inertness/node_modules/abbrev", - }, - "wrappy" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "wrappy", - "spec": "1.0.2", - "type": "prod", - }, - }, - "location": "node_modules/wrappy", - "name": "wrappy", - "path": "{CWD}/test/arborist/tap-testdir-reify-adding-an-unresolvable-optional-dep-is-OK---maintains-inertness/node_modules/wrappy", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "version": "1.0.2", - }, - }, - "edgesOut": Map { - "abbrev" => EdgeOut { - "error": "INVALID", - "name": "abbrev", - "spec": "npm:null@999999", - "to": "node_modules/abbrev", - "type": "optional", - }, - "wrappy" => EdgeOut { - "name": "wrappy", - "spec": "1.0.2", - "to": "node_modules/wrappy", - "type": "prod", - }, - }, - "isProjectRoot": true, - "location": "", - "name": "tap-testdir-reify-adding-an-unresolvable-optional-dep-is-OK---maintains-inertness", - "path": "{CWD}/test/arborist/tap-testdir-reify-adding-an-unresolvable-optional-dep-is-OK---maintains-inertness", -} -` - -exports[`test/arborist/reify.js TAP adding an unresolvable optional dep is OK > must match snapshot 1`] = ` -ArboristNode { - "children": Map { - "abbrev" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "error": "INVALID", - "from": "", - "name": "abbrev", - "spec": "npm:null@999999", - "type": "optional", - }, - }, - "errors": Array [ - Object { - "code": "ETARGET", - }, - ], - "location": "node_modules/abbrev", - "name": "abbrev", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-adding-an-unresolvable-optional-dep-is-OK/node_modules/abbrev", - }, - }, - "edgesOut": Map { - "abbrev" => EdgeOut { - "error": "INVALID", - "name": "abbrev", - "spec": "npm:null@999999", - "to": "node_modules/abbrev", - "type": "optional", - }, - }, - "isProjectRoot": true, - "location": "", - "name": "tap-testdir-reify-adding-an-unresolvable-optional-dep-is-OK", - "path": "{CWD}/test/arborist/tap-testdir-reify-adding-an-unresolvable-optional-dep-is-OK", -} -` - exports[`test/arborist/reify.js TAP bad shrinkwrap file > expect resolving Promise 1`] = ` ArboristNode { "children": Map { @@ -2924,43 +2823,6 @@ ArboristNode { } ` -exports[`test/arborist/reify.js TAP do not install optional deps with mismatched platform specifications > expect resolving Promise 1`] = ` -ArboristNode { - "children": Map { - "platform-specifying-test-package" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/platform-specifying-test-package", - "name": "platform-specifying-test-package", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-do-not-install-optional-deps-with-mismatched-platform-specifications/node_modules/platform-specifying-test-package", - "resolved": "https://registry.npmjs.org/platform-specifying-test-package/-/platform-specifying-test-package-1.0.0.tgz", - "version": "1.0.0", - }, - }, - "edgesOut": Map { - "platform-specifying-test-package" => EdgeOut { - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "to": "node_modules/platform-specifying-test-package", - "type": "optional", - }, - }, - "isProjectRoot": true, - "location": "", - "name": "tap-testdir-reify-do-not-install-optional-deps-with-mismatched-platform-specifications", - "packageName": "platform-test", - "path": "{CWD}/test/arborist/tap-testdir-reify-do-not-install-optional-deps-with-mismatched-platform-specifications", - "version": "1.0.0", -} -` - exports[`test/arborist/reify.js TAP do not update shrinkwrapped deps > expect resolving Promise 1`] = ` ArboristNode { "children": Map { @@ -3420,117 +3282,6 @@ ArboristNode { } ` -exports[`test/arborist/reify.js TAP fail to install optional deps with matched os and matched cpu and mismatched libc with os and cpu and libc options > expect resolving Promise 1`] = ` -ArboristNode { - "children": Map { - "platform-specifying-test-package" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/platform-specifying-test-package", - "name": "platform-specifying-test-package", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-fail-to-install-optional-deps-with-matched-os-and-matched-cpu-and-mismatched-libc-with-os-and-cpu-and-libc-options/node_modules/platform-specifying-test-package", - "resolved": "https://registry.npmjs.org/platform-specifying-test-package/-/platform-specifying-test-package-1.0.0.tgz", - "version": "1.0.0", - }, - }, - "edgesOut": Map { - "platform-specifying-test-package" => EdgeOut { - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "to": "node_modules/platform-specifying-test-package", - "type": "optional", - }, - }, - "isProjectRoot": true, - "location": "", - "name": "tap-testdir-reify-fail-to-install-optional-deps-with-matched-os-and-matched-cpu-and-mismatched-libc-with-os-and-cpu-and-libc-options", - "packageName": "platform-test", - "path": "{CWD}/test/arborist/tap-testdir-reify-fail-to-install-optional-deps-with-matched-os-and-matched-cpu-and-mismatched-libc-with-os-and-cpu-and-libc-options", - "version": "1.0.0", -} -` - -exports[`test/arborist/reify.js TAP fail to install optional deps with matched os and mismatched cpu with os and cpu and libc options > expect resolving Promise 1`] = ` -ArboristNode { - "children": Map { - "platform-specifying-test-package" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/platform-specifying-test-package", - "name": "platform-specifying-test-package", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-fail-to-install-optional-deps-with-matched-os-and-mismatched-cpu-with-os-and-cpu-and-libc-options/node_modules/platform-specifying-test-package", - "resolved": "https://registry.npmjs.org/platform-specifying-test-package/-/platform-specifying-test-package-1.0.0.tgz", - "version": "1.0.0", - }, - }, - "edgesOut": Map { - "platform-specifying-test-package" => EdgeOut { - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "to": "node_modules/platform-specifying-test-package", - "type": "optional", - }, - }, - "isProjectRoot": true, - "location": "", - "name": "tap-testdir-reify-fail-to-install-optional-deps-with-matched-os-and-mismatched-cpu-with-os-and-cpu-and-libc-options", - "packageName": "platform-test", - "path": "{CWD}/test/arborist/tap-testdir-reify-fail-to-install-optional-deps-with-matched-os-and-mismatched-cpu-with-os-and-cpu-and-libc-options", - "version": "1.0.0", -} -` - -exports[`test/arborist/reify.js TAP fail to install optional deps with mismatched os and matched cpu with os and cpu and libc options > expect resolving Promise 1`] = ` -ArboristNode { - "children": Map { - "platform-specifying-test-package" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/platform-specifying-test-package", - "name": "platform-specifying-test-package", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-fail-to-install-optional-deps-with-mismatched-os-and-matched-cpu-with-os-and-cpu-and-libc-options/node_modules/platform-specifying-test-package", - "resolved": "https://registry.npmjs.org/platform-specifying-test-package/-/platform-specifying-test-package-1.0.0.tgz", - "version": "1.0.0", - }, - }, - "edgesOut": Map { - "platform-specifying-test-package" => EdgeOut { - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "to": "node_modules/platform-specifying-test-package", - "type": "optional", - }, - }, - "isProjectRoot": true, - "location": "", - "name": "tap-testdir-reify-fail-to-install-optional-deps-with-mismatched-os-and-matched-cpu-with-os-and-cpu-and-libc-options", - "packageName": "platform-test", - "path": "{CWD}/test/arborist/tap-testdir-reify-fail-to-install-optional-deps-with-mismatched-os-and-matched-cpu-with-os-and-cpu-and-libc-options", - "version": "1.0.0", -} -` - exports[`test/arborist/reify.js TAP failing script means install failure, unless ignoreScripts prod-dep-allinstall-fail --ignore-scripts > expect resolving Promise 1`] = ` ArboristNode { "children": Map { @@ -17446,29 +17197,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-dep-allinstall-fail save=false > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-allinstall" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-fail-allinstall", - "spec": "^1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/@isaacs/testing-fail-allinstall", - "name": "@isaacs/testing-fail-allinstall", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-dep-allinstall-fail-save-false/node_modules/@isaacs/testing-fail-allinstall", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-allinstall/-/testing-fail-allinstall-1.0.0.tgz", - "version": "1.0.0", - }, - }, "edgesOut": Map { "@isaacs/testing-fail-allinstall" => EdgeOut { "name": "@isaacs/testing-fail-allinstall", "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-allinstall", + "to": null, "type": "optional", }, }, @@ -17483,29 +17216,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-dep-allinstall-fail save=true > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-allinstall" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-fail-allinstall", - "spec": "^1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/@isaacs/testing-fail-allinstall", - "name": "@isaacs/testing-fail-allinstall", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-dep-allinstall-fail-save-true/node_modules/@isaacs/testing-fail-allinstall", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-allinstall/-/testing-fail-allinstall-1.0.0.tgz", - "version": "1.0.0", - }, - }, "edgesOut": Map { "@isaacs/testing-fail-allinstall" => EdgeOut { "name": "@isaacs/testing-fail-allinstall", "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-allinstall", + "to": null, "type": "optional", }, }, @@ -17520,29 +17235,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-dep-install-fail save=false > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-install" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-fail-install", - "spec": "^1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/@isaacs/testing-fail-install", - "name": "@isaacs/testing-fail-install", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-dep-install-fail-save-false/node_modules/@isaacs/testing-fail-install", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-install/-/testing-fail-install-1.0.0.tgz", - "version": "1.0.0", - }, - }, "edgesOut": Map { "@isaacs/testing-fail-install" => EdgeOut { "name": "@isaacs/testing-fail-install", "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-install", + "to": null, "type": "optional", }, }, @@ -17557,29 +17254,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-dep-install-fail save=true > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-install" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-fail-install", - "spec": "^1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/@isaacs/testing-fail-install", - "name": "@isaacs/testing-fail-install", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-dep-install-fail-save-true/node_modules/@isaacs/testing-fail-install", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-install/-/testing-fail-install-1.0.0.tgz", - "version": "1.0.0", - }, - }, "edgesOut": Map { "@isaacs/testing-fail-install" => EdgeOut { "name": "@isaacs/testing-fail-install", "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-install", + "to": null, "type": "optional", }, }, @@ -17668,29 +17347,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-dep-preinstall-fail save=false > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-preinstall" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-fail-preinstall", - "spec": "^1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/@isaacs/testing-fail-preinstall", - "name": "@isaacs/testing-fail-preinstall", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-dep-preinstall-fail-save-false/node_modules/@isaacs/testing-fail-preinstall", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-preinstall/-/testing-fail-preinstall-1.0.0.tgz", - "version": "1.0.0", - }, - }, "edgesOut": Map { "@isaacs/testing-fail-preinstall" => EdgeOut { "name": "@isaacs/testing-fail-preinstall", "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-preinstall", + "to": null, "type": "optional", }, }, @@ -17705,29 +17366,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-dep-preinstall-fail save=true > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-preinstall" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-fail-preinstall", - "spec": "^1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/@isaacs/testing-fail-preinstall", - "name": "@isaacs/testing-fail-preinstall", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-dep-preinstall-fail-save-true/node_modules/@isaacs/testing-fail-preinstall", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-preinstall/-/testing-fail-preinstall-1.0.0.tgz", - "version": "1.0.0", - }, - }, "edgesOut": Map { "@isaacs/testing-fail-preinstall" => EdgeOut { "name": "@isaacs/testing-fail-preinstall", "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-preinstall", + "to": null, "type": "optional", }, }, @@ -17742,29 +17385,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-dep-tgz-missing save=false > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-missing-tgz" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-missing-tgz", - "spec": "*", - "type": "optional", - }, - }, - "location": "node_modules/@isaacs/testing-missing-tgz", - "name": "@isaacs/testing-missing-tgz", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-dep-tgz-missing-save-false/node_modules/@isaacs/testing-missing-tgz", - "resolved": "https://registry.npmjs.org/@isaacs/testing-missing-tgz/-/testing-missing-tgz-1.0.1.tgz", - "version": "1.0.1", - }, - }, "edgesOut": Map { "@isaacs/testing-missing-tgz" => EdgeOut { "name": "@isaacs/testing-missing-tgz", "spec": "*", - "to": "node_modules/@isaacs/testing-missing-tgz", + "to": null, "type": "optional", }, }, @@ -17779,29 +17404,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-dep-tgz-missing save=true > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-missing-tgz" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-missing-tgz", - "spec": "^1.0.1", - "type": "optional", - }, - }, - "location": "node_modules/@isaacs/testing-missing-tgz", - "name": "@isaacs/testing-missing-tgz", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-dep-tgz-missing-save-true/node_modules/@isaacs/testing-missing-tgz", - "resolved": "https://registry.npmjs.org/@isaacs/testing-missing-tgz/-/testing-missing-tgz-1.0.1.tgz", - "version": "1.0.1", - }, - }, "edgesOut": Map { "@isaacs/testing-missing-tgz" => EdgeOut { "name": "@isaacs/testing-missing-tgz", "spec": "^1.0.1", - "to": "node_modules/@isaacs/testing-missing-tgz", + "to": null, "type": "optional", }, }, @@ -17816,53 +17423,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-metadep-allinstall-fail save=false > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-allinstall" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "node_modules/@isaacs/testing-prod-dep-allinstall-fail", - "name": "@isaacs/testing-fail-allinstall", - "spec": "^1.0.0", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-fail-allinstall", - "name": "@isaacs/testing-fail-allinstall", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-allinstall-fail-save-false/node_modules/@isaacs/testing-fail-allinstall", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-allinstall/-/testing-fail-allinstall-1.0.0.tgz", - "version": "1.0.0", - }, - "@isaacs/testing-prod-dep-allinstall-fail" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-prod-dep-allinstall-fail", - "spec": "*", - "type": "optional", - }, - }, - "edgesOut": Map { - "@isaacs/testing-fail-allinstall" => EdgeOut { - "name": "@isaacs/testing-fail-allinstall", - "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-allinstall", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-prod-dep-allinstall-fail", - "name": "@isaacs/testing-prod-dep-allinstall-fail", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-allinstall-fail-save-false/node_modules/@isaacs/testing-prod-dep-allinstall-fail", - "resolved": "https://registry.npmjs.org/@isaacs/testing-prod-dep-allinstall-fail/-/testing-prod-dep-allinstall-fail-1.0.1.tgz", - "version": "1.0.1", - }, - }, "edgesOut": Map { "@isaacs/testing-prod-dep-allinstall-fail" => EdgeOut { "name": "@isaacs/testing-prod-dep-allinstall-fail", "spec": "*", - "to": "node_modules/@isaacs/testing-prod-dep-allinstall-fail", + "to": null, "type": "optional", }, }, @@ -17877,53 +17442,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-metadep-allinstall-fail save=true > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-allinstall" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "node_modules/@isaacs/testing-prod-dep-allinstall-fail", - "name": "@isaacs/testing-fail-allinstall", - "spec": "^1.0.0", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-fail-allinstall", - "name": "@isaacs/testing-fail-allinstall", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-allinstall-fail-save-true/node_modules/@isaacs/testing-fail-allinstall", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-allinstall/-/testing-fail-allinstall-1.0.0.tgz", - "version": "1.0.0", - }, - "@isaacs/testing-prod-dep-allinstall-fail" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-prod-dep-allinstall-fail", - "spec": "^1.0.1", - "type": "optional", - }, - }, - "edgesOut": Map { - "@isaacs/testing-fail-allinstall" => EdgeOut { - "name": "@isaacs/testing-fail-allinstall", - "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-allinstall", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-prod-dep-allinstall-fail", - "name": "@isaacs/testing-prod-dep-allinstall-fail", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-allinstall-fail-save-true/node_modules/@isaacs/testing-prod-dep-allinstall-fail", - "resolved": "https://registry.npmjs.org/@isaacs/testing-prod-dep-allinstall-fail/-/testing-prod-dep-allinstall-fail-1.0.1.tgz", - "version": "1.0.1", - }, - }, "edgesOut": Map { "@isaacs/testing-prod-dep-allinstall-fail" => EdgeOut { "name": "@isaacs/testing-prod-dep-allinstall-fail", "spec": "^1.0.1", - "to": "node_modules/@isaacs/testing-prod-dep-allinstall-fail", + "to": null, "type": "optional", }, }, @@ -17938,114 +17461,30 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-metadep-install-fail save=false > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-install" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "node_modules/@isaacs/testing-prod-dep-install-fail", - "name": "@isaacs/testing-fail-install", - "spec": "^1.0.0", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-fail-install", - "name": "@isaacs/testing-fail-install", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-install-fail-save-false/node_modules/@isaacs/testing-fail-install", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-install/-/testing-fail-install-1.0.0.tgz", - "version": "1.0.0", - }, - "@isaacs/testing-prod-dep-install-fail" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-prod-dep-install-fail", - "spec": "*", - "type": "optional", - }, - }, - "edgesOut": Map { - "@isaacs/testing-fail-install" => EdgeOut { - "name": "@isaacs/testing-fail-install", - "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-install", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-prod-dep-install-fail", - "name": "@isaacs/testing-prod-dep-install-fail", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-install-fail-save-false/node_modules/@isaacs/testing-prod-dep-install-fail", - "resolved": "https://registry.npmjs.org/@isaacs/testing-prod-dep-install-fail/-/testing-prod-dep-install-fail-1.0.1.tgz", - "version": "1.0.1", - }, - }, "edgesOut": Map { "@isaacs/testing-prod-dep-install-fail" => EdgeOut { - "name": "@isaacs/testing-prod-dep-install-fail", - "spec": "*", - "to": "node_modules/@isaacs/testing-prod-dep-install-fail", - "type": "optional", - }, - }, - "isProjectRoot": true, - "location": "", - "name": "tap-testdir-reify-optional-dependency-failures-optional-metadep-install-fail-save-false", - "packageName": "optional-metadep-install-fail", - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-install-fail-save-false", - "version": "1.0.0", -} -` - -exports[`test/arborist/reify.js TAP optional dependency failures optional-metadep-install-fail save=true > expect resolving Promise 1`] = ` -ArboristNode { - "children": Map { - "@isaacs/testing-fail-install" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "node_modules/@isaacs/testing-prod-dep-install-fail", - "name": "@isaacs/testing-fail-install", - "spec": "^1.0.0", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-fail-install", - "name": "@isaacs/testing-fail-install", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-install-fail-save-true/node_modules/@isaacs/testing-fail-install", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-install/-/testing-fail-install-1.0.0.tgz", - "version": "1.0.0", - }, - "@isaacs/testing-prod-dep-install-fail" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-prod-dep-install-fail", - "spec": "^1.0.1", - "type": "optional", - }, - }, - "edgesOut": Map { - "@isaacs/testing-fail-install" => EdgeOut { - "name": "@isaacs/testing-fail-install", - "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-install", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-prod-dep-install-fail", - "name": "@isaacs/testing-prod-dep-install-fail", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-install-fail-save-true/node_modules/@isaacs/testing-prod-dep-install-fail", - "resolved": "https://registry.npmjs.org/@isaacs/testing-prod-dep-install-fail/-/testing-prod-dep-install-fail-1.0.1.tgz", - "version": "1.0.1", + "name": "@isaacs/testing-prod-dep-install-fail", + "spec": "*", + "to": null, + "type": "optional", }, }, + "isProjectRoot": true, + "location": "", + "name": "tap-testdir-reify-optional-dependency-failures-optional-metadep-install-fail-save-false", + "packageName": "optional-metadep-install-fail", + "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-install-fail-save-false", + "version": "1.0.0", +} +` + +exports[`test/arborist/reify.js TAP optional dependency failures optional-metadep-install-fail save=true > expect resolving Promise 1`] = ` +ArboristNode { "edgesOut": Map { "@isaacs/testing-prod-dep-install-fail" => EdgeOut { "name": "@isaacs/testing-prod-dep-install-fail", "spec": "^1.0.1", - "to": "node_modules/@isaacs/testing-prod-dep-install-fail", + "to": null, "type": "optional", }, }, @@ -18060,53 +17499,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-metadep-postinstall-fail save=false > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-postinstall" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "node_modules/@isaacs/testing-prod-dep-postinstall-fail", - "name": "@isaacs/testing-fail-postinstall", - "spec": "^1.0.0", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-fail-postinstall", - "name": "@isaacs/testing-fail-postinstall", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-postinstall-fail-save-false/node_modules/@isaacs/testing-fail-postinstall", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-postinstall/-/testing-fail-postinstall-1.0.0.tgz", - "version": "1.0.0", - }, - "@isaacs/testing-prod-dep-postinstall-fail" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-prod-dep-postinstall-fail", - "spec": "*", - "type": "optional", - }, - }, - "edgesOut": Map { - "@isaacs/testing-fail-postinstall" => EdgeOut { - "name": "@isaacs/testing-fail-postinstall", - "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-postinstall", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-prod-dep-postinstall-fail", - "name": "@isaacs/testing-prod-dep-postinstall-fail", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-postinstall-fail-save-false/node_modules/@isaacs/testing-prod-dep-postinstall-fail", - "resolved": "https://registry.npmjs.org/@isaacs/testing-prod-dep-postinstall-fail/-/testing-prod-dep-postinstall-fail-1.0.1.tgz", - "version": "1.0.1", - }, - }, "edgesOut": Map { "@isaacs/testing-prod-dep-postinstall-fail" => EdgeOut { "name": "@isaacs/testing-prod-dep-postinstall-fail", "spec": "*", - "to": "node_modules/@isaacs/testing-prod-dep-postinstall-fail", + "to": null, "type": "optional", }, }, @@ -18121,53 +17518,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-metadep-postinstall-fail save=true > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-postinstall" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "node_modules/@isaacs/testing-prod-dep-postinstall-fail", - "name": "@isaacs/testing-fail-postinstall", - "spec": "^1.0.0", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-fail-postinstall", - "name": "@isaacs/testing-fail-postinstall", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-postinstall-fail-save-true/node_modules/@isaacs/testing-fail-postinstall", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-postinstall/-/testing-fail-postinstall-1.0.0.tgz", - "version": "1.0.0", - }, - "@isaacs/testing-prod-dep-postinstall-fail" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-prod-dep-postinstall-fail", - "spec": "^1.0.1", - "type": "optional", - }, - }, - "edgesOut": Map { - "@isaacs/testing-fail-postinstall" => EdgeOut { - "name": "@isaacs/testing-fail-postinstall", - "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-postinstall", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-prod-dep-postinstall-fail", - "name": "@isaacs/testing-prod-dep-postinstall-fail", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-postinstall-fail-save-true/node_modules/@isaacs/testing-prod-dep-postinstall-fail", - "resolved": "https://registry.npmjs.org/@isaacs/testing-prod-dep-postinstall-fail/-/testing-prod-dep-postinstall-fail-1.0.1.tgz", - "version": "1.0.1", - }, - }, "edgesOut": Map { "@isaacs/testing-prod-dep-postinstall-fail" => EdgeOut { "name": "@isaacs/testing-prod-dep-postinstall-fail", "spec": "^1.0.1", - "to": "node_modules/@isaacs/testing-prod-dep-postinstall-fail", + "to": null, "type": "optional", }, }, @@ -18182,53 +17537,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-metadep-preinstall-fail save=false > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-preinstall" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "node_modules/@isaacs/testing-prod-dep-preinstall-fail", - "name": "@isaacs/testing-fail-preinstall", - "spec": "^1.0.0", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-fail-preinstall", - "name": "@isaacs/testing-fail-preinstall", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-preinstall-fail-save-false/node_modules/@isaacs/testing-fail-preinstall", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-preinstall/-/testing-fail-preinstall-1.0.0.tgz", - "version": "1.0.0", - }, - "@isaacs/testing-prod-dep-preinstall-fail" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-prod-dep-preinstall-fail", - "spec": "*", - "type": "optional", - }, - }, - "edgesOut": Map { - "@isaacs/testing-fail-preinstall" => EdgeOut { - "name": "@isaacs/testing-fail-preinstall", - "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-preinstall", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-prod-dep-preinstall-fail", - "name": "@isaacs/testing-prod-dep-preinstall-fail", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-preinstall-fail-save-false/node_modules/@isaacs/testing-prod-dep-preinstall-fail", - "resolved": "https://registry.npmjs.org/@isaacs/testing-prod-dep-preinstall-fail/-/testing-prod-dep-preinstall-fail-1.0.1.tgz", - "version": "1.0.1", - }, - }, "edgesOut": Map { "@isaacs/testing-prod-dep-preinstall-fail" => EdgeOut { "name": "@isaacs/testing-prod-dep-preinstall-fail", "spec": "*", - "to": "node_modules/@isaacs/testing-prod-dep-preinstall-fail", + "to": null, "type": "optional", }, }, @@ -18243,53 +17556,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-metadep-preinstall-fail save=true > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-fail-preinstall" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "node_modules/@isaacs/testing-prod-dep-preinstall-fail", - "name": "@isaacs/testing-fail-preinstall", - "spec": "^1.0.0", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-fail-preinstall", - "name": "@isaacs/testing-fail-preinstall", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-preinstall-fail-save-true/node_modules/@isaacs/testing-fail-preinstall", - "resolved": "https://registry.npmjs.org/@isaacs/testing-fail-preinstall/-/testing-fail-preinstall-1.0.0.tgz", - "version": "1.0.0", - }, - "@isaacs/testing-prod-dep-preinstall-fail" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-prod-dep-preinstall-fail", - "spec": "^1.0.1", - "type": "optional", - }, - }, - "edgesOut": Map { - "@isaacs/testing-fail-preinstall" => EdgeOut { - "name": "@isaacs/testing-fail-preinstall", - "spec": "^1.0.0", - "to": "node_modules/@isaacs/testing-fail-preinstall", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-prod-dep-preinstall-fail", - "name": "@isaacs/testing-prod-dep-preinstall-fail", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-preinstall-fail-save-true/node_modules/@isaacs/testing-prod-dep-preinstall-fail", - "resolved": "https://registry.npmjs.org/@isaacs/testing-prod-dep-preinstall-fail/-/testing-prod-dep-preinstall-fail-1.0.1.tgz", - "version": "1.0.1", - }, - }, "edgesOut": Map { "@isaacs/testing-prod-dep-preinstall-fail" => EdgeOut { "name": "@isaacs/testing-prod-dep-preinstall-fail", "spec": "^1.0.1", - "to": "node_modules/@isaacs/testing-prod-dep-preinstall-fail", + "to": null, "type": "optional", }, }, @@ -18304,53 +17575,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-metadep-tgz-missing save=false > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-missing-tgz" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "node_modules/@isaacs/testing-prod-dep-tgz-missing", - "name": "@isaacs/testing-missing-tgz", - "spec": "*", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-missing-tgz", - "name": "@isaacs/testing-missing-tgz", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-tgz-missing-save-false/node_modules/@isaacs/testing-missing-tgz", - "resolved": "https://registry.npmjs.org/@isaacs/testing-missing-tgz/-/testing-missing-tgz-1.0.1.tgz", - "version": "1.0.1", - }, - "@isaacs/testing-prod-dep-tgz-missing" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-prod-dep-tgz-missing", - "spec": "*", - "type": "optional", - }, - }, - "edgesOut": Map { - "@isaacs/testing-missing-tgz" => EdgeOut { - "name": "@isaacs/testing-missing-tgz", - "spec": "*", - "to": "node_modules/@isaacs/testing-missing-tgz", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-prod-dep-tgz-missing", - "name": "@isaacs/testing-prod-dep-tgz-missing", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-tgz-missing-save-false/node_modules/@isaacs/testing-prod-dep-tgz-missing", - "resolved": "https://registry.npmjs.org/@isaacs/testing-prod-dep-tgz-missing/-/testing-prod-dep-tgz-missing-1.0.1.tgz", - "version": "1.0.1", - }, - }, "edgesOut": Map { "@isaacs/testing-prod-dep-tgz-missing" => EdgeOut { "name": "@isaacs/testing-prod-dep-tgz-missing", "spec": "*", - "to": "node_modules/@isaacs/testing-prod-dep-tgz-missing", + "to": null, "type": "optional", }, }, @@ -18365,53 +17594,11 @@ ArboristNode { exports[`test/arborist/reify.js TAP optional dependency failures optional-metadep-tgz-missing save=true > expect resolving Promise 1`] = ` ArboristNode { - "children": Map { - "@isaacs/testing-missing-tgz" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "node_modules/@isaacs/testing-prod-dep-tgz-missing", - "name": "@isaacs/testing-missing-tgz", - "spec": "*", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-missing-tgz", - "name": "@isaacs/testing-missing-tgz", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-tgz-missing-save-true/node_modules/@isaacs/testing-missing-tgz", - "resolved": "https://registry.npmjs.org/@isaacs/testing-missing-tgz/-/testing-missing-tgz-1.0.1.tgz", - "version": "1.0.1", - }, - "@isaacs/testing-prod-dep-tgz-missing" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "@isaacs/testing-prod-dep-tgz-missing", - "spec": "^1.0.1", - "type": "optional", - }, - }, - "edgesOut": Map { - "@isaacs/testing-missing-tgz" => EdgeOut { - "name": "@isaacs/testing-missing-tgz", - "spec": "*", - "to": "node_modules/@isaacs/testing-missing-tgz", - "type": "prod", - }, - }, - "location": "node_modules/@isaacs/testing-prod-dep-tgz-missing", - "name": "@isaacs/testing-prod-dep-tgz-missing", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-optional-dependency-failures-optional-metadep-tgz-missing-save-true/node_modules/@isaacs/testing-prod-dep-tgz-missing", - "resolved": "https://registry.npmjs.org/@isaacs/testing-prod-dep-tgz-missing/-/testing-prod-dep-tgz-missing-1.0.1.tgz", - "version": "1.0.1", - }, - }, "edgesOut": Map { "@isaacs/testing-prod-dep-tgz-missing" => EdgeOut { "name": "@isaacs/testing-prod-dep-tgz-missing", "spec": "^1.0.1", - "to": "node_modules/@isaacs/testing-prod-dep-tgz-missing", + "to": null, "type": "optional", }, }, @@ -33902,43 +33089,6 @@ exports[`test/arborist/reify.js TAP scoped registries > should preserve original @ruyadorno/theoretically-private-pkg@https://npm.pkg.github.com/@ruyadorno/theoretically-private-pkg/-/theoretically-private-pkg-1.2.3.tgz ` -exports[`test/arborist/reify.js TAP still do not install optional deps with mismatched platform specifications even when forced > expect resolving Promise 1`] = ` -ArboristNode { - "children": Map { - "platform-specifying-test-package" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/platform-specifying-test-package", - "name": "platform-specifying-test-package", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-still-do-not-install-optional-deps-with-mismatched-platform-specifications-even-when-forced/node_modules/platform-specifying-test-package", - "resolved": "https://registry.npmjs.org/platform-specifying-test-package/-/platform-specifying-test-package-1.0.0.tgz", - "version": "1.0.0", - }, - }, - "edgesOut": Map { - "platform-specifying-test-package" => EdgeOut { - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "to": "node_modules/platform-specifying-test-package", - "type": "optional", - }, - }, - "isProjectRoot": true, - "location": "", - "name": "tap-testdir-reify-still-do-not-install-optional-deps-with-mismatched-platform-specifications-even-when-forced", - "packageName": "platform-test", - "path": "{CWD}/test/arborist/tap-testdir-reify-still-do-not-install-optional-deps-with-mismatched-platform-specifications-even-when-forced", - "version": "1.0.0", -} -` - exports[`test/arborist/reify.js TAP store files with a custom indenting > must match snapshot 1`] = ` { "name": "tab-indented-package-json", @@ -33975,43 +33125,6 @@ exports[`test/arborist/reify.js TAP store files with a custom indenting > must m ` -exports[`test/arborist/reify.js TAP success to install optional deps with matched platform specifications with os and cpu and libc options > expect resolving Promise 1`] = ` -ArboristNode { - "children": Map { - "platform-specifying-test-package" => ArboristNode { - "edgesIn": Set { - EdgeIn { - "from": "", - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "type": "optional", - }, - }, - "location": "node_modules/platform-specifying-test-package", - "name": "platform-specifying-test-package", - "optional": true, - "path": "{CWD}/test/arborist/tap-testdir-reify-success-to-install-optional-deps-with-matched-platform-specifications-with-os-and-cpu-and-libc-options/node_modules/platform-specifying-test-package", - "resolved": "https://registry.npmjs.org/platform-specifying-test-package/-/platform-specifying-test-package-1.0.0.tgz", - "version": "1.0.0", - }, - }, - "edgesOut": Map { - "platform-specifying-test-package" => EdgeOut { - "name": "platform-specifying-test-package", - "spec": "1.0.0", - "to": "node_modules/platform-specifying-test-package", - "type": "optional", - }, - }, - "isProjectRoot": true, - "location": "", - "name": "tap-testdir-reify-success-to-install-optional-deps-with-matched-platform-specifications-with-os-and-cpu-and-libc-options", - "packageName": "platform-test", - "path": "{CWD}/test/arborist/tap-testdir-reify-success-to-install-optional-deps-with-matched-platform-specifications-with-os-and-cpu-and-libc-options", - "version": "1.0.0", -} -` - exports[`test/arborist/reify.js TAP tarball deps with transitive tarball deps > expect resolving Promise 1`] = ` ArboristNode { "children": Map { diff --git a/workspaces/arborist/tap-snapshots/test/link.js.test.cjs b/workspaces/arborist/tap-snapshots/test/link.js.test.cjs index 8687dca76769d..eee3244168b85 100644 --- a/workspaces/arborist/tap-snapshots/test/link.js.test.cjs +++ b/workspaces/arborist/tap-snapshots/test/link.js.test.cjs @@ -16,7 +16,7 @@ Link { "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -47,7 +47,7 @@ exports[`test/link.js TAP > instantiate without providing target 1`] = ` "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -63,7 +63,7 @@ exports[`test/link.js TAP > instantiate without providing target 1`] = ` "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -108,7 +108,7 @@ exports[`test/link.js TAP > instantiate without providing target 1`] = ` "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, diff --git a/workspaces/arborist/tap-snapshots/test/node.js.test.cjs b/workspaces/arborist/tap-snapshots/test/node.js.test.cjs index 773ff4646befc..bde989f31c114 100644 --- a/workspaces/arborist/tap-snapshots/test/node.js.test.cjs +++ b/workspaces/arborist/tap-snapshots/test/node.js.test.cjs @@ -17,7 +17,7 @@ exports[`test/node.js TAP basic instantiation > just a lone root node 1`] = ` "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -208,7 +208,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -236,7 +236,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -281,7 +281,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -302,7 +302,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -343,7 +343,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -360,7 +360,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -392,7 +392,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -411,7 +411,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -440,7 +440,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -461,7 +461,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -501,7 +501,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -530,7 +530,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -547,7 +547,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -602,7 +602,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -623,7 +623,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -664,7 +664,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -681,7 +681,7 @@ exports[`test/node.js TAP set workspaces > should setup edges out for each works "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -732,7 +732,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -771,7 +771,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -824,7 +824,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -844,7 +844,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -884,7 +884,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -917,7 +917,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -950,7 +950,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -983,7 +983,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -1012,7 +1012,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -1049,7 +1049,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -1066,7 +1066,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -1128,7 +1128,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -1147,7 +1147,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -1186,7 +1186,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -1239,7 +1239,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -1259,7 +1259,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -1292,7 +1292,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -1332,7 +1332,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -1365,7 +1365,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -1398,7 +1398,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -1431,7 +1431,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -1460,7 +1460,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -1497,7 +1497,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -1514,7 +1514,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -1556,7 +1556,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -1595,7 +1595,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -1623,7 +1623,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -1670,7 +1670,7 @@ exports[`test/node.js TAP testing with dep tree with meta > add new meta under p "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -1719,7 +1719,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -1772,7 +1772,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -1792,7 +1792,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -1832,7 +1832,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -1865,7 +1865,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -1898,7 +1898,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -1931,7 +1931,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -1960,7 +1960,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -2010,7 +2010,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -2039,7 +2039,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -2092,7 +2092,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -2112,7 +2112,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -2145,7 +2145,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -2185,7 +2185,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -2225,7 +2225,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -2258,7 +2258,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -2291,7 +2291,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -2324,7 +2324,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -2353,7 +2353,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -2400,7 +2400,7 @@ exports[`test/node.js TAP testing with dep tree with meta > initial load with so "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -2461,7 +2461,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -2481,7 +2481,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -2521,7 +2521,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -2554,7 +2554,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -2587,7 +2587,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -2620,7 +2620,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -2649,7 +2649,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -2692,7 +2692,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -2742,7 +2742,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -2783,7 +2783,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -2803,7 +2803,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -2836,7 +2836,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -2876,7 +2876,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -2909,7 +2909,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -2942,7 +2942,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -2975,7 +2975,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -3004,7 +3004,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -3047,7 +3047,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -3094,7 +3094,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move meta to top lev "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -3155,7 +3155,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -3175,7 +3175,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -3212,7 +3212,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -3245,7 +3245,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -3278,7 +3278,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -3311,7 +3311,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -3340,7 +3340,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -3370,7 +3370,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -3412,7 +3412,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -3429,7 +3429,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -3491,7 +3491,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -3532,7 +3532,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -3552,7 +3552,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -3585,7 +3585,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -3622,7 +3622,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -3655,7 +3655,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -3688,7 +3688,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -3721,7 +3721,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -3750,7 +3750,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -3778,7 +3778,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -3808,7 +3808,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -3850,7 +3850,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -3867,7 +3867,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -3926,7 +3926,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -3987,7 +3987,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -4007,7 +4007,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -4044,7 +4044,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -4077,7 +4077,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -4110,7 +4110,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -4143,7 +4143,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -4172,7 +4172,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -4202,7 +4202,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -4244,7 +4244,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -4261,7 +4261,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -4323,7 +4323,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -4364,7 +4364,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -4384,7 +4384,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -4417,7 +4417,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -4454,7 +4454,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -4487,7 +4487,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -4520,7 +4520,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -4553,7 +4553,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -4582,7 +4582,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -4610,7 +4610,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -4640,7 +4640,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -4682,7 +4682,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -4699,7 +4699,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -4758,7 +4758,7 @@ exports[`test/node.js TAP testing with dep tree with meta > move new meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -4797,7 +4797,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -4836,7 +4836,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -4889,7 +4889,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -4909,7 +4909,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -4949,7 +4949,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -4982,7 +4982,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -5015,7 +5015,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -5048,7 +5048,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -5077,7 +5077,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -5114,7 +5114,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -5131,7 +5131,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -5193,7 +5193,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -5212,7 +5212,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -5251,7 +5251,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -5304,7 +5304,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -5324,7 +5324,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -5357,7 +5357,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -5397,7 +5397,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -5430,7 +5430,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -5463,7 +5463,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -5496,7 +5496,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -5525,7 +5525,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -5562,7 +5562,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -5579,7 +5579,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -5621,7 +5621,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -5660,7 +5660,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -5688,7 +5688,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -5735,7 +5735,7 @@ exports[`test/node.js TAP testing with dep tree without meta > add new meta unde "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -5784,7 +5784,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -5837,7 +5837,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -5857,7 +5857,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -5897,7 +5897,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -5930,7 +5930,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -5963,7 +5963,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -5996,7 +5996,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -6025,7 +6025,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -6075,7 +6075,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -6104,7 +6104,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -6157,7 +6157,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -6177,7 +6177,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -6210,7 +6210,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -6250,7 +6250,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -6290,7 +6290,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -6323,7 +6323,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -6356,7 +6356,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -6389,7 +6389,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -6418,7 +6418,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -6465,7 +6465,7 @@ exports[`test/node.js TAP testing with dep tree without meta > initial load with "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -6526,7 +6526,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -6546,7 +6546,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -6586,7 +6586,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -6619,7 +6619,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -6652,7 +6652,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -6685,7 +6685,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -6714,7 +6714,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -6757,7 +6757,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -6807,7 +6807,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -6848,7 +6848,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -6868,7 +6868,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -6901,7 +6901,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -6941,7 +6941,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -6974,7 +6974,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -7007,7 +7007,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -7040,7 +7040,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -7069,7 +7069,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -7112,7 +7112,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "meta", "inventory": Inventory {}, @@ -7159,7 +7159,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move meta to top "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -7220,7 +7220,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -7240,7 +7240,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -7277,7 +7277,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -7310,7 +7310,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -7343,7 +7343,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -7376,7 +7376,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -7405,7 +7405,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -7435,7 +7435,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -7477,7 +7477,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -7494,7 +7494,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -7556,7 +7556,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -7597,7 +7597,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -7617,7 +7617,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -7650,7 +7650,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -7687,7 +7687,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -7720,7 +7720,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -7753,7 +7753,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -7786,7 +7786,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -7815,7 +7815,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -7843,7 +7843,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -7873,7 +7873,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -7915,7 +7915,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -7932,7 +7932,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -7991,7 +7991,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -8052,7 +8052,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -8072,7 +8072,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -8109,7 +8109,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -8142,7 +8142,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -8175,7 +8175,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -8208,7 +8208,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -8237,7 +8237,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -8267,7 +8267,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -8309,7 +8309,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -8326,7 +8326,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -8388,7 +8388,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory { @@ -8429,7 +8429,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -8449,7 +8449,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to }, }, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "prod", "inventory": Inventory {}, @@ -8482,7 +8482,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, @@ -8519,7 +8519,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "bundled", "inventory": Inventory {}, @@ -8552,7 +8552,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "dev", "inventory": Inventory {}, @@ -8585,7 +8585,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "opt", "inventory": Inventory {}, @@ -8618,7 +8618,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "peer", "inventory": Inventory {}, @@ -8647,7 +8647,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "extraneous", "inventory": Inventory {}, @@ -8675,7 +8675,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -8705,7 +8705,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -8747,7 +8747,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "newMeta", "inventory": Inventory {}, @@ -8764,7 +8764,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": "metameta", "inventory": Inventory {}, @@ -8823,7 +8823,7 @@ exports[`test/node.js TAP testing with dep tree without meta > move new meta to "extraneous": true, "fsChildren": Set {}, "hasShrinkwrap": false, - "ideallyInert": false, + "inert": false, "installLinks": false, "integrity": null, "inventory": Inventory {}, diff --git a/workspaces/arborist/tap-snapshots/test/shrinkwrap.js.test.cjs b/workspaces/arborist/tap-snapshots/test/shrinkwrap.js.test.cjs index defe3310732b2..4b03a05c854c8 100644 --- a/workspaces/arborist/tap-snapshots/test/shrinkwrap.js.test.cjs +++ b/workspaces/arborist/tap-snapshots/test/shrinkwrap.js.test.cjs @@ -650,29 +650,6 @@ Object { } ` -exports[`test/shrinkwrap.js TAP load a hidden lockfile with ideallyInert > must match snapshot 1`] = ` -Object { - "dependencies": Object {}, - "lockfileVersion": 3, - "name": "hidden-lockfile", - "packages": Object { - "": Object { - "dependencies": Object { - "abbrev": "^1.1.1", - }, - }, - "node_modules/abbrev": Object { - "ideallyInert": true, - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "name": "abbrev", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "version": "1.1.1", - }, - }, - "requires": true, -} -` - exports[`test/shrinkwrap.js TAP load a legacy shrinkwrap without a package.json > did our best with what we had 1`] = ` Object { "dependencies": Object { diff --git a/workspaces/arborist/test/arborist/reify.js b/workspaces/arborist/test/arborist/reify.js index eb805d3245933..73c8239ede954 100644 --- a/workspaces/arborist/test/arborist/reify.js +++ b/workspaces/arborist/test/arborist/reify.js @@ -493,41 +493,57 @@ t.test('tracks changes of shrinkwrapped dep correctly', async t => { t.test('do not install optional deps with mismatched platform specifications', async t => { createRegistry(t, true) - await t.resolveMatchSnapshot(printReified(fixture(t, 'optional-platform-specification'))) + const path = fixture(t, 'optional-platform-specification') + const tree = await reify(path) + t.equal(tree.children.size, 0, 'does not have deps') +}) + +t.test('do not report failed optional deps as installed', async t => { + createRegistry(t, true) + const path = fixture(t, 'optional-platform-specification') + const arb = newArb({ path }) + await arb.reify() + t.equal(arb.diff.children.length, 0, 'no changes, nothing installed') }) t.test('still do not install optional deps with mismatched platform specifications even when forced', async t => { createRegistry(t, true) - await t.resolveMatchSnapshot(printReified(fixture(t, 'optional-platform-specification'), { force: true })) + const path = fixture(t, 'optional-platform-specification') + const tree = await reify(path, { force: true }) + t.equal(tree.children.size, 0, 'does not have deps') }) t.test('fail to install deps with mismatched platform specifications', async t => { createRegistry(t, true) - await t.rejects(printReified(fixture(t, 'platform-specification')), { code: 'EBADPLATFORM' }) + await t.rejects(reify(fixture(t, 'platform-specification')), { code: 'EBADPLATFORM' }) }) t.test('success to install optional deps with matched platform specifications with os and cpu and libc options', async t => { createRegistry(t, true) - await t.resolveMatchSnapshot(printReified( - fixture(t, 'optional-platform-specification'), { os: 'not-your-os', cpu: 'not-your-cpu', libc: 'not-your-libc' })) + const path = fixture(t, 'optional-platform-specification') + const tree = await reify(path, { os: 'not-your-os', cpu: 'not-your-cpu', libc: 'not-your-libc' }) + t.equal(tree.children.size, 1, 'does have deps') }) t.test('fail to install optional deps with matched os and mismatched cpu with os and cpu and libc options', async t => { createRegistry(t, true) - await t.resolveMatchSnapshot(printReified( - fixture(t, 'optional-platform-specification'), { os: 'not-your-os', cpu: 'another-cpu', libc: 'not-your-libc' })) + const path = fixture(t, 'optional-platform-specification') + const tree = await reify(path, { os: 'not-your-os', cpu: 'another-cpu', libc: 'not-your-libc' }) + t.equal(tree.children.size, 0, 'does not have deps') }) t.test('fail to install optional deps with mismatched os and matched cpu with os and cpu and libc options', async t => { createRegistry(t, true) - await t.resolveMatchSnapshot(printReified( - fixture(t, 'optional-platform-specification'), { os: 'another-os', cpu: 'not-your-cpu', libc: 'not-your-libc' })) + const path = fixture(t, 'optional-platform-specification') + const tree = await reify(path, { os: 'another-os', cpu: 'not-your-cpu', libc: 'not-your-libc' }) + t.equal(tree.children.size, 0, 'does not have deps') }) t.test('fail to install optional deps with matched os and matched cpu and mismatched libc with os and cpu and libc options', async t => { createRegistry(t, true) - await t.resolveMatchSnapshot(printReified( - fixture(t, 'optional-platform-specification'), { os: 'another-os', cpu: 'not-your-cpu', libc: 'not-your-libc' })) + const path = fixture(t, 'optional-platform-specification') + const tree = await reify(path, { os: 'another-os', cpu: 'not-your-cpu', libc: 'not-your-libc' }) + t.equal(tree.children.size, 0, 'does not have deps') }) t.test('dry run, do not get anything wet', async t => { @@ -612,15 +628,6 @@ t.test('update a child of a node with bundled deps', async t => { })) }) -t.test('update a node without updating an inert child bundle deps', async t => { - const path = fixture(t, 'testing-bundledeps-4') - createRegistry(t, true) - await t.resolveMatchSnapshot(printReified(path, { - update: ['@isaacs/testing-bundledeps-parent'], - save: false, - })) -}) - t.test('update a node without updating a child that has bundle deps', async t => { const path = fixture(t, 'testing-bundledeps-3') createRegistry(t, true) @@ -2609,32 +2616,7 @@ t.test('adding an unresolvable optional dep is OK', async t => { }) createRegistry(t, true) const tree = await reify(path, { add: ['abbrev'] }) - const children = [...tree.children.values()] - t.equal(children.length, 1, 'optional unresolved dep node added') - t.ok(children[0].ideallyInert, 'node is ideally inert') - t.throws(() => fs.statSync(path + '/node_modules/abbrev'), { code: 'ENOENT' }, 'optional dependency should not exist on disk') - t.matchSnapshot(printTree(tree)) -}) - -t.test('adding an unresolvable optional dep is OK - maintains inertness', async t => { - const path = t.testdir({ - 'package.json': JSON.stringify({ - dependencies: { - wrappy: '1.0.2', - }, - optionalDependencies: { - abbrev: '999999', - }, - }), - }) - createRegistry(t, true) - let tree = await reify(path, { add: ['abbrev'] }) - const children = [...tree.children.values()] - t.equal(children.length, 2, 'optional unresolved dep node added') - t.ok(children[0].ideallyInert, 'node is ideally inert') - t.throws(() => fs.statSync(path + '/node_modules/abbrev'), { code: 'ENOENT' }, 'optional dependency should not exist on disk') - tree = await reify(path, { add: ['abbrev'] }) - t.matchSnapshot(printTree(tree)) + t.equal(tree.children.size, 0, 'not added') }) t.test('includeWorkspaceRoot in addition to workspace', async t => { @@ -3827,59 +3809,7 @@ t.test('workspace installs retain existing versions with newer package specs', a 'another-cool-package package.json should be updated to abbrev@1.0.4') }) -t.test('externalProxy returns early for ideally inert node with installStrategy linked', async t => { - const path = t.testdir({ - 'package.json': JSON.stringify({ - dependencies: { - abbrev: '1.1.1', - }, - }), - 'package-lock.json': JSON.stringify({ - lockfileVersion: 2, - requires: true, - packages: { - '': { - devDependencies: { - abbrev: '1.1.1', - }, - }, - 'node_modules/abbrev': { - version: '1.1.1', - resolved: 'https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz', - integrity: 'sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==', - dev: true, - ideallyInert: true, - }, - }, - dependencies: { - abbrev: { - version: '1.1.1', - resolved: 'https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz', - integrity: 'sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==', - dev: true, - }, - }, - }), - }) - - const arb = new Arborist({ - path, - registry: 'https://registry.npmjs.org', - cache: resolve(path, 'cache'), - installStrategy: 'linked', - }) - await arb.reify({ installStrategy: 'linked' }) - - // Since the node is ideally inert, it should not be installed in node_modules - t.throws( - () => fs.lstatSync(resolve(path, 'node_modules', 'abbrev')), - { code: 'ENOENT' }, - 'ideally inert node should not be installed' - ) - t.end() -}) - -t.test('externalOptionalDependencies excludes ideally inert optional node with installStrategy linked', async t => { +t.test('externalOptionalDependencies excludes inert optional node with installStrategy linked', async t => { const testDir = t.testdir({ 'package.json': JSON.stringify({ optionalDependencies: { @@ -3900,7 +3830,7 @@ t.test('externalOptionalDependencies excludes ideally inert optional node with i resolved: 'https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz', integrity: 'sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==', dev: true, - ideallyInert: true, + cpu: ['not-your-cpu'], }, }, optionalDependencies: { @@ -3909,7 +3839,7 @@ t.test('externalOptionalDependencies excludes ideally inert optional node with i resolved: 'https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz', integrity: 'sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==', dev: true, - ideallyInert: true, + cpu: ['not-your-cpu'], }, }, }), @@ -3927,57 +3857,15 @@ t.test('externalOptionalDependencies excludes ideally inert optional node with i t.notOk( arb.idealGraph.externalOptionalDependencies && arb.idealGraph.externalOptionalDependencies.some(n => n && n.name === 'abbrev'), - 'ideally inert optional dependency should not appear in externalOptionalDependencies' + 'inert optional dependency should not appear in externalOptionalDependencies' ) // And verify that it is not installed on disk t.throws( () => fs.lstatSync(resolve(testDir, 'node_modules', 'abbrev')), { code: 'ENOENT' }, - 'ideally inert optional node should not be installed' + 'inert optional node should not be installed' ) t.end() }) - -t.test('ideally inert due to platform mismatch using optional dependency', async t => { - const testDir = t.testdir({ - 'package.json': JSON.stringify({ - name: 'platform-test', - version: '1.0.0', - optionalDependencies: { - 'platform-specifying-test-package': 'file:platform-specifying-test-package', - }, - }, null, 2), - 'platform-specifying-test-package': { - 'package.json': JSON.stringify({ - name: 'platform-specifying-test-package', - version: '1.0.0', - // Declare an OS that doesn't match current platform - os: ['woo'], - }, null, 2), - }, - }) - - const arb = new Arborist({ - audit: false, - path: testDir, - os: process.platform, - }) - - // The platform check will fail for the optional dependency, and the optional failure handler should mark the node as ideally inert. - const tree = await arb.reify() - await arb.reify() - - // In the ideal tree, the dependency should be present and marked as ideally inert. - const dep = tree.children.get('platform-specifying-test-package') - t.ok(dep, 'platform-specifying-test-package node exists in the ideal tree') - t.ok(dep.ideallyInert, 'node is marked as ideally inert due to platform mismatch') - - // Verify that the dependency is not installed on disk. - t.throws( - () => fs.statSync(join(testDir, 'node_modules', 'platform-specifying-test-package')), - { code: 'ENOENT' }, - 'platform-specifying-test-package is not installed on disk' - ) -}) diff --git a/workspaces/arborist/test/fixtures/hidden-lockfile-inert/node_modules/.package-lock.json b/workspaces/arborist/test/fixtures/hidden-lockfile-inert/node_modules/.package-lock.json deleted file mode 100644 index 4d459d9712cb6..0000000000000 --- a/workspaces/arborist/test/fixtures/hidden-lockfile-inert/node_modules/.package-lock.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "name": "hidden-lockfile", - "lockfileVersion": 2, - "requires": true, - "packages": { - "": { - "dependencies": { - "abbrev": "^1.1.1" - } - }, - "node_modules/abbrev": { - "name": "abbrev", - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", - "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", - "ideallyInert": true - } - } -} diff --git a/workspaces/arborist/test/fixtures/hidden-lockfile-inert/node_modules/abbrev/package.json b/workspaces/arborist/test/fixtures/hidden-lockfile-inert/node_modules/abbrev/package.json deleted file mode 100644 index bf4e8015bba9d..0000000000000 --- a/workspaces/arborist/test/fixtures/hidden-lockfile-inert/node_modules/abbrev/package.json +++ /dev/null @@ -1,21 +0,0 @@ -{ - "name": "abbrev", - "version": "1.1.1", - "description": "Like ruby's abbrev module, but in js", - "author": "Isaac Z. Schlueter ", - "main": "abbrev.js", - "scripts": { - "test": "tap test.js --100", - "preversion": "npm test", - "postversion": "npm publish", - "postpublish": "git push origin --all; git push origin --tags" - }, - "repository": "http://github.com/isaacs/abbrev-js", - "license": "ISC", - "devDependencies": { - "tap": "^10.1" - }, - "files": [ - "abbrev.js" - ] -} diff --git a/workspaces/arborist/test/fixtures/hidden-lockfile-inert/package.json b/workspaces/arborist/test/fixtures/hidden-lockfile-inert/package.json deleted file mode 100644 index 3d7c4ee8c0db1..0000000000000 --- a/workspaces/arborist/test/fixtures/hidden-lockfile-inert/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "abbrev": "^1.1.1" - } -} diff --git a/workspaces/arborist/test/fixtures/install-types/package-lock.json b/workspaces/arborist/test/fixtures/install-types/package-lock.json index febefa6311417..7fdc4f6fca3f0 100644 --- a/workspaces/arborist/test/fixtures/install-types/package-lock.json +++ b/workspaces/arborist/test/fixtures/install-types/package-lock.json @@ -202,10 +202,6 @@ "really-bad-invalid": { "version": "url:// not even close to a ! valid @ npm @ specifier", "resolved": "this: is: also: not: valid!" - }, - "acorn-jsx": { - "version": "5.3.1", - "ideallyInert": true } } } diff --git a/workspaces/arborist/test/fixtures/reify-cases/testing-bundledeps-4.js b/workspaces/arborist/test/fixtures/reify-cases/testing-bundledeps-4.js deleted file mode 100644 index 239928f600343..0000000000000 --- a/workspaces/arborist/test/fixtures/reify-cases/testing-bundledeps-4.js +++ /dev/null @@ -1,287 +0,0 @@ -// generated from test/fixtures/testing-bundledeps-3 -module.exports = t => { - const path = t.testdir({ - "node_modules": { - "@isaacs": { - "testing-bundledeps-parent": { - "node_modules": { - "@isaacs": { - "testing-bundledeps": { - "a": { - "package.json": JSON.stringify({ - "name": "@isaacs/testing-bundledeps-a", - "version": "1.0.0", - "description": "depends on b", - "dependencies": { - "@isaacs/testing-bundledeps-b": "*" - } - }) - }, - "b": { - "package.json": JSON.stringify({ - "name": "@isaacs/testing-bundledeps-b", - "version": "1.0.0", - "description": "depended upon by a" - }) - }, - "c": { - "package.json": JSON.stringify({ - "name": "@isaacs/testing-bundledeps-c", - "version": "1.0.0", - "description": "not part of the bundle party, but depends on b", - "dependencies": { - "@isaacs/testing-bundledeps-b": "*" - } - }) - }, - "node_modules": { - "@isaacs": { - "testing-bundledeps-a": { - "package.json": JSON.stringify({ - "_from": "@isaacs/testing-bundledeps-a@*", - "_id": "@isaacs/testing-bundledeps-a@1.0.0", - "_inBundle": true, - "_integrity": "sha512-2b/w0tAsreSNReTbLmIf+1jtt8R0cvMgMCeLF4P2LAE6cmKw7aIjLPupeB+5R8dm1BoMUuZbzFCzw0P4vP6spw==", - "_location": "/@isaacs/testing-bundledeps-parent/@isaacs/testing-bundledeps/@isaacs/testing-bundledeps-a", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "@isaacs/testing-bundledeps-a@*", - "name": "@isaacs/testing-bundledeps-a", - "escapedName": "@isaacs%2ftesting-bundledeps-a", - "scope": "@isaacs", - "rawSpec": "*", - "saveSpec": null, - "fetchSpec": "*" - }, - "_requiredBy": [ - "/@isaacs/testing-bundledeps-parent/@isaacs/testing-bundledeps" - ], - "_resolved": "https://registry.npmjs.org/@isaacs/testing-bundledeps-a/-/testing-bundledeps-a-1.0.0.tgz", - "_shasum": "f404461d6da767c10ca6c5e36402f671aa0264ba", - "_spec": "@isaacs/testing-bundledeps-a@*", - "_where": "/Users/isaacs/dev/js/x/test-bundledeps", - "dependencies": { - "@isaacs/testing-bundledeps-b": "*" - }, - "deprecated": false, - "description": "depends on b", - "name": "@isaacs/testing-bundledeps-a", - "version": "1.0.0" - }) - }, - "testing-bundledeps-b": { - "package.json": JSON.stringify({ - "_from": "@isaacs/testing-bundledeps-b@*", - "_id": "@isaacs/testing-bundledeps-b@1.0.0", - "_inBundle": true, - "_integrity": "sha512-UDbCq7GHRDb743m4VBpnsui6hNeB3o08qe/FRnX9JFo0VHnLoXkdtvm/WurwABLxL/xw5wP/tfN2jF90EjQehQ==", - "_location": "/@isaacs/testing-bundledeps-parent/@isaacs/testing-bundledeps/@isaacs/testing-bundledeps-b", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "@isaacs/testing-bundledeps-b@*", - "name": "@isaacs/testing-bundledeps-b", - "escapedName": "@isaacs%2ftesting-bundledeps-b", - "scope": "@isaacs", - "rawSpec": "*", - "saveSpec": null, - "fetchSpec": "*" - }, - "_requiredBy": [ - "/@isaacs/testing-bundledeps-parent/@isaacs/testing-bundledeps/@isaacs/testing-bundledeps-a", - "/@isaacs/testing-bundledeps-parent/@isaacs/testing-bundledeps/@isaacs/testing-bundledeps-c" - ], - "_resolved": "https://registry.npmjs.org/@isaacs/testing-bundledeps-b/-/testing-bundledeps-b-1.0.0.tgz", - "_shasum": "6b17c748cf89d5b909faa9347e8a8e5e47a95dbc", - "_spec": "@isaacs/testing-bundledeps-b@*", - "_where": "/Users/isaacs/dev/js/x/test-bundledeps/node_modules/@isaacs/testing-bundledeps-a", - "deprecated": false, - "description": "depended upon by a", - "name": "@isaacs/testing-bundledeps-b", - "version": "1.0.0" - }) - }, - "testing-bundledeps-c": { - "package.json": JSON.stringify({ - "_from": "@isaacs/testing-bundledeps-c@*", - "_id": "@isaacs/testing-bundledeps-c@2.0.0", - "_inBundle": false, - "_integrity": "sha512-nwGzs5eUI+0/+CB2oF7ce3Xu070w38pB//NoV9I9RedeT/+Y4fiOcIbLXYzt/yVJkZEOmTYXa1lVsrTypPvtlA==", - "_location": "/@isaacs/testing-bundledeps-parent/@isaacs/testing-bundledeps/@isaacs/testing-bundledeps-c", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "@isaacs/testing-bundledeps-c@*", - "name": "@isaacs/testing-bundledeps-c", - "escapedName": "@isaacs%2ftesting-bundledeps-c", - "scope": "@isaacs", - "rawSpec": "*", - "saveSpec": null, - "fetchSpec": "*" - }, - "_requiredBy": [ - "/@isaacs/testing-bundledeps-parent/@isaacs/testing-bundledeps" - ], - "_resolved": "https://registry.npmjs.org/@isaacs/testing-bundledeps-c/-/testing-bundledeps-c-2.0.0.tgz", - "_shasum": "aecf129094eee89bd9ab27d0ddf0a75bdac63e6f", - "_spec": "@isaacs/testing-bundledeps-c@*", - "_where": "/Users/isaacs/dev/npm/arborist/test/fixtures/testing-bundledeps-3/node_modules/@isaacs/testing-bundledeps-parent/node_modules/@isaacs/testing-bundledeps", - "bundleDependencies": false, - "dependencies": { - "@isaacs/testing-bundledeps-b": "*" - }, - "deprecated": false, - "description": "not part of the bundle party, but depends on b", - "name": "@isaacs/testing-bundledeps-c", - "version": "2.0.0" - }) - } - } - }, - "package.json": JSON.stringify({ - "_from": "@isaacs/testing-bundledeps@^1.0.0", - "_id": "@isaacs/testing-bundledeps@1.0.0", - "_inBundle": false, - "_integrity": "sha512-P8AF2FoTfHOPGY6W53FHVg9mza6ipzkppAwnbnNNkPaLQIEFTpx3U95ir1AKqmub7nTi115Qi6zHiqJzGe5Cqg==", - "_location": "/@isaacs/testing-bundledeps-parent/@isaacs/testing-bundledeps", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "@isaacs/testing-bundledeps@^1.0.0", - "name": "@isaacs/testing-bundledeps", - "escapedName": "@isaacs%2ftesting-bundledeps", - "scope": "@isaacs", - "rawSpec": "^1.0.0", - "saveSpec": null, - "fetchSpec": "^1.0.0" - }, - "_requiredBy": [ - "/@isaacs/testing-bundledeps-parent" - ], - "_resolved": "https://registry.npmjs.org/@isaacs/testing-bundledeps/-/testing-bundledeps-1.0.0.tgz", - "_shasum": "d4e8ce7c55d4319ad2fc27df484afb4f5b014022", - "_spec": "@isaacs/testing-bundledeps@^1.0.0", - "_where": "/Users/isaacs/dev/npm/arborist/test/fixtures/testing-bundledeps-3/node_modules/@isaacs/testing-bundledeps-parent", - "bundleDependencies": [ - "@isaacs/testing-bundledeps-a" - ], - "dependencies": { - "@isaacs/testing-bundledeps-a": "*", - "@isaacs/testing-bundledeps-c": "*" - }, - "deprecated": false, - "name": "@isaacs/testing-bundledeps", - "version": "1.0.0" - }) - } - } - }, - "package.json": JSON.stringify({ - "_from": "@isaacs/testing-bundledeps-parent@1", - "_id": "@isaacs/testing-bundledeps-parent@1.0.0", - "_inBundle": false, - "_integrity": "sha512-b5B6lEyD8JwZczumcy+RmrRqEJ5SS3HzFV/HnZoTH2UN1cYNpFrSiS5WDYs8mrdOm5DQYYrl3X2k/4bIEVmWfw==", - "_location": "/@isaacs/testing-bundledeps-parent", - "_phantomChildren": {}, - "_requested": { - "type": "range", - "registry": true, - "raw": "@isaacs/testing-bundledeps-parent@1", - "name": "@isaacs/testing-bundledeps-parent", - "escapedName": "@isaacs%2ftesting-bundledeps-parent", - "scope": "@isaacs", - "rawSpec": "1", - "saveSpec": null, - "fetchSpec": "1" - }, - "_requiredBy": [ - "#USER", - "/" - ], - "_resolved": "https://registry.npmjs.org/@isaacs/testing-bundledeps-parent/-/testing-bundledeps-parent-1.0.0.tgz", - "_shasum": "69cb49ff70bc4fa26eec98fa81601aa225e12088", - "_spec": "@isaacs/testing-bundledeps-parent@1", - "_where": "/Users/isaacs/dev/npm/arborist/test/fixtures/testing-bundledeps-3", - "bundleDependencies": false, - "dependencies": { - "@isaacs/testing-bundledeps": "^1.0.0" - }, - "deprecated": false, - "description": "depends on a module that has bundled deps", - "license": "ISC", - "name": "@isaacs/testing-bundledeps-parent", - "version": "1.0.0" - }) - } - } - }, - "package-lock.json": JSON.stringify({ - "name": "testing-bundledeps-3", - "version": "1.0.0", - "lockfileVersion": 1, - "requires": true, - "dependencies": { - "@isaacs/testing-bundledeps-parent": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/testing-bundledeps-parent/-/testing-bundledeps-parent-1.0.0.tgz", - "integrity": "sha512-b5B6lEyD8JwZczumcy+RmrRqEJ5SS3HzFV/HnZoTH2UN1cYNpFrSiS5WDYs8mrdOm5DQYYrl3X2k/4bIEVmWfw==", - "requires": { - "@isaacs/testing-bundledeps": "^1.0.0" - }, - "dependencies": { - "@isaacs/testing-bundledeps": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/testing-bundledeps/-/testing-bundledeps-1.0.0.tgz", - "integrity": "sha512-P8AF2FoTfHOPGY6W53FHVg9mza6ipzkppAwnbnNNkPaLQIEFTpx3U95ir1AKqmub7nTi115Qi6zHiqJzGe5Cqg==", - "requires": { - "@isaacs/testing-bundledeps-a": "*", - "@isaacs/testing-bundledeps-c": "*" - }, - "dependencies": { - "@isaacs/testing-bundledeps-a": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/testing-bundledeps-a/-/testing-bundledeps-a-1.0.0.tgz", - "integrity": "sha512-2b/w0tAsreSNReTbLmIf+1jtt8R0cvMgMCeLF4P2LAE6cmKw7aIjLPupeB+5R8dm1BoMUuZbzFCzw0P4vP6spw==", - "bundled": true, - "requires": { - "@isaacs/testing-bundledeps-b": "*" - } - }, - "@isaacs/testing-bundledeps-b": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/testing-bundledeps-b/-/testing-bundledeps-b-1.0.0.tgz", - "integrity": "sha512-UDbCq7GHRDb743m4VBpnsui6hNeB3o08qe/FRnX9JFo0VHnLoXkdtvm/WurwABLxL/xw5wP/tfN2jF90EjQehQ==", - "bundled": true - }, - "@isaacs/testing-bundledeps-c": { - "ideallyInert": true, - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/@isaacs/testing-bundledeps-c/-/testing-bundledeps-c-2.0.0.tgz", - "integrity": "sha512-nwGzs5eUI+0/+CB2oF7ce3Xu070w38pB//NoV9I9RedeT/+Y4fiOcIbLXYzt/yVJkZEOmTYXa1lVsrTypPvtlA==", - "requires": { - "@isaacs/testing-bundledeps-b": "*" - } - } - } - } - } - } - } - }), - "package.json": JSON.stringify({ - "name": "testing-bundledeps-3", - "version": "1.0.0", - "description": "depends on a node that has a dep with bundled deps", - "license": "ISC", - "dependencies": { - "@isaacs/testing-bundledeps-parent": "*" - } - }) -}) - return path -} diff --git a/workspaces/arborist/test/shrinkwrap.js b/workspaces/arborist/test/shrinkwrap.js index bc0e56cf3928d..5a52a44dfa860 100644 --- a/workspaces/arborist/test/shrinkwrap.js +++ b/workspaces/arborist/test/shrinkwrap.js @@ -19,7 +19,6 @@ const emptyFixture = resolve(__dirname, 'fixtures/empty') const depTypesFixture = resolve(__dirname, 'fixtures/dev-deps') const badJsonFixture = resolve(__dirname, 'fixtures/testing-peer-deps-bad-sw') const hiddenLockfileFixture = resolve(__dirname, 'fixtures/hidden-lockfile') -const hiddenIdeallyInertLockfileFixture = resolve(__dirname, 'fixtures/hidden-lockfile-inert') const hidden = 'node_modules/.package-lock.json' const saxFixture = resolve(__dirname, 'fixtures/sax') @@ -865,15 +864,6 @@ t.test('load a hidden lockfile', async t => { t.equal(data.dependencies, undefined, 'deleted legacy metadata') }) -t.test('load a hidden lockfile with ideallyInert', async t => { - fs.utimesSync(resolve(hiddenIdeallyInertLockfileFixture, hidden), new Date(), new Date()) - const s = await Shrinkwrap.load({ - path: hiddenIdeallyInertLockfileFixture, - hiddenLockfile: true, - }) - t.matchSnapshot(s.data) -}) - t.test('load a fresh hidden lockfile', async t => { const sw = await Shrinkwrap.reset({ path: hiddenLockfileFixture,