diff --git a/package-lock.json b/package-lock.json index 01930b4f96eda..31ca7b208bd0e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -168,7 +168,7 @@ "@npmcli/promise-spawn": "^5.0.0", "@npmcli/template-oss": "4.6.2", "licensee": "^8.2.0", - "nock": "^13.2.4", + "nock": "^14.0.16", "npm-packlist": "^7.0.1", "spawk": "^1.7.1", "tap": "^16.0.1" @@ -2107,6 +2107,24 @@ "url": "https://opencollective.com/unified" } }, + "node_modules/@mswjs/interceptors": { + "version": "0.41.9", + "resolved": "https://registry.npmjs.org/@mswjs/interceptors/-/interceptors-0.41.9.tgz", + "integrity": "sha512-VVPPgHyQ6ShqnrmDWuxjmUIsO9gWyOZFmuOfLd9LfBGQJwZfy0gvv9pbHSJuoFNIYC7ZDX9aoFwowjcdSC4E8w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@open-draft/deferred-promise": "^2.2.0", + "@open-draft/logger": "^0.3.0", + "@open-draft/until": "^2.0.0", + "is-node-process": "^1.2.0", + "outvariant": "^1.4.3", + "strict-event-emitter": "^0.5.1" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/@nodelib/fs.scandir": { "version": "2.1.5", "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", @@ -2561,6 +2579,31 @@ "@octokit/openapi-types": "^13.11.0" } }, + "node_modules/@open-draft/deferred-promise": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@open-draft/deferred-promise/-/deferred-promise-2.2.0.tgz", + "integrity": "sha512-CecwLWx3rhxVQF6V4bAgPS5t+So2sTbPgAzafKkVizyi7tlwpcFpdFqq+wqF2OwNBmqFuu6tOyouTuxgpMfzmA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@open-draft/logger": { + "version": "0.3.0", + "resolved": "https://registry.npmjs.org/@open-draft/logger/-/logger-0.3.0.tgz", + "integrity": "sha512-X2g45fzhxH238HKO4xbSr7+wBS8Fvw6ixhTDuvLd5mqh6bJJCFAPwU9mPDxbcrRtfxv4u5IHCEH77BmxvXmmxQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-node-process": "^1.2.0", + "outvariant": "^1.4.0" + } + }, + "node_modules/@open-draft/until": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@open-draft/until/-/until-2.1.0.tgz", + "integrity": "sha512-U69T3ItWHvLwGg5eJ0n3I62nWuE6ilHlmz7zM0npLBRvPRd7e6NYmg54vvRtP5mZG7kZqZCFVdsTWo7BPtBujg==", + "dev": true, + "license": "MIT" + }, "node_modules/@tootallnate/once": { "version": "2.0.0", "inBundle": true, @@ -6476,6 +6519,13 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/is-node-process": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/is-node-process/-/is-node-process-1.2.0.tgz", + "integrity": "sha512-Vg4o6/fqPxIjtxgUH5QLJhwZ7gW5diGCVlXpuUfELC62CuxM1iHcRe51f2W1FDy04Ai4KJkagKjx3XaqyfRKXw==", + "dev": true, + "license": "MIT" + }, "node_modules/is-number": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", @@ -7846,18 +7896,18 @@ "dev": true }, "node_modules/nock": { - "version": "13.2.9", - "resolved": "https://registry.npmjs.org/nock/-/nock-13.2.9.tgz", - "integrity": "sha512-1+XfJNYF1cjGB+TKMWi29eZ0b82QOvQs2YoLNzbpWGqFMtRQHTa57osqdGj4FrFPgkO4D4AZinzUJR9VvW3QUA==", + "version": "14.0.16", + "resolved": "https://registry.npmjs.org/nock/-/nock-14.0.16.tgz", + "integrity": "sha512-8r4KEc6nT1D/fdLD/R1BO1CPaVEL8o40u/guFRJlXabN7vr3RmMqyjsY5Krt0nMwhsOAwXQ/mtN5vy5Jh3aErg==", "dev": true, + "license": "MIT", "dependencies": { - "debug": "^4.1.0", + "@mswjs/interceptors": "^0.41.0", "json-stringify-safe": "^5.0.1", - "lodash": "^4.17.21", "propagate": "^2.0.0" }, "engines": { - "node": ">= 10.13" + "node": ">=18.20.0 <20 || >=20.12.1" } }, "node_modules/node-abi": { @@ -8796,6 +8846,13 @@ "node": ">= 0.8.0" } }, + "node_modules/outvariant": { + "version": "1.4.3", + "resolved": "https://registry.npmjs.org/outvariant/-/outvariant-1.4.3.tgz", + "integrity": "sha512-+Sl2UErvtsoajRDKCE5/dBz4DIvHXQQnAxtQTF04OJxY0+DyZXSo5P5Bb7XYWOh81syohlYL24hbDwxedPUJCA==", + "dev": true, + "license": "MIT" + }, "node_modules/own-or": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/own-or/-/own-or-1.0.0.tgz", @@ -10655,6 +10712,13 @@ "escodegen": "^1.8.1" } }, + "node_modules/strict-event-emitter": { + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/strict-event-emitter/-/strict-event-emitter-0.5.1.tgz", + "integrity": "sha512-vMgjE/GGEPEFnhFub6pa4FmJBRBVOLpIII2hvCZ8Kzb7K0hlHo7mQv6xYrBvCL2LtAIBwFUK8wvuJgTVSQ5MFQ==", + "dev": true, + "license": "MIT" + }, "node_modules/string_decoder": { "version": "1.3.0", "inBundle": true, @@ -14080,7 +14144,7 @@ "benchmark": "^2.1.4", "chalk": "^4.1.0", "minify-registry-metadata": "^2.1.0", - "nock": "^13.2.0", + "nock": "^14.0.16", "tap": "^16.0.1", "tcompare": "^5.0.6" }, @@ -14098,7 +14162,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "engines": { @@ -14182,7 +14246,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "engines": { @@ -14200,7 +14264,7 @@ "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", "minipass": "^3.1.1", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "engines": { @@ -14219,7 +14283,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", - "nock": "^13.0.7", + "nock": "^14.0.16", "spawk": "^1.7.1", "tap": "^16.0.1" }, @@ -14242,7 +14306,7 @@ "@npmcli/template-oss": "4.6.2", "libnpmpack": "^5.0.1", "lodash.clonedeep": "^4.5.0", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "engines": { @@ -14258,7 +14322,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "engines": { @@ -14275,7 +14339,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "engines": { diff --git a/package.json b/package.json index ad8a0ee507a47..a6a5dc01f5bbe 100644 --- a/package.json +++ b/package.json @@ -205,7 +205,7 @@ "@npmcli/promise-spawn": "^5.0.0", "@npmcli/template-oss": "4.6.2", "licensee": "^8.2.0", - "nock": "^13.2.4", + "nock": "^14.0.16", "npm-packlist": "^7.0.1", "spawk": "^1.7.1", "tap": "^16.0.1" diff --git a/workspaces/arborist/package.json b/workspaces/arborist/package.json index eb468e253b3c1..dfacabc64fe03 100644 --- a/workspaces/arborist/package.json +++ b/workspaces/arborist/package.json @@ -43,7 +43,7 @@ "benchmark": "^2.1.4", "chalk": "^4.1.0", "minify-registry-metadata": "^2.1.0", - "nock": "^13.2.0", + "nock": "^14.0.16", "tap": "^16.0.1", "tcompare": "^5.0.6" }, diff --git a/workspaces/libnpmaccess/package.json b/workspaces/libnpmaccess/package.json index e300fcec067f2..e52f2e2c69991 100644 --- a/workspaces/libnpmaccess/package.json +++ b/workspaces/libnpmaccess/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "repository": { diff --git a/workspaces/libnpmhook/package.json b/workspaces/libnpmhook/package.json index f8ee1bfcb0d6d..83168e7581fad 100644 --- a/workspaces/libnpmhook/package.json +++ b/workspaces/libnpmhook/package.json @@ -38,7 +38,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "engines": { diff --git a/workspaces/libnpmorg/package.json b/workspaces/libnpmorg/package.json index 22866ae8ce392..7b34f6f93af47 100644 --- a/workspaces/libnpmorg/package.json +++ b/workspaces/libnpmorg/package.json @@ -30,7 +30,7 @@ "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", "minipass": "^3.1.1", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "repository": { diff --git a/workspaces/libnpmpack/package.json b/workspaces/libnpmpack/package.json index 7162ff9245d0f..544874cb49899 100644 --- a/workspaces/libnpmpack/package.json +++ b/workspaces/libnpmpack/package.json @@ -24,7 +24,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", - "nock": "^13.0.7", + "nock": "^14.0.16", "spawk": "^1.7.1", "tap": "^16.0.1" }, diff --git a/workspaces/libnpmpublish/package.json b/workspaces/libnpmpublish/package.json index a70f032822f41..a6fcdd3a7df37 100644 --- a/workspaces/libnpmpublish/package.json +++ b/workspaces/libnpmpublish/package.json @@ -28,7 +28,7 @@ "@npmcli/template-oss": "4.6.2", "libnpmpack": "^5.0.1", "lodash.clonedeep": "^4.5.0", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "repository": { diff --git a/workspaces/libnpmsearch/package.json b/workspaces/libnpmsearch/package.json index 866bd64a29b47..c51737b420731 100644 --- a/workspaces/libnpmsearch/package.json +++ b/workspaces/libnpmsearch/package.json @@ -27,7 +27,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "repository": { diff --git a/workspaces/libnpmteam/package.json b/workspaces/libnpmteam/package.json index f0cfc3a8457fc..642606b424bf5 100644 --- a/workspaces/libnpmteam/package.json +++ b/workspaces/libnpmteam/package.json @@ -17,7 +17,7 @@ "devDependencies": { "@npmcli/eslint-config": "^4.0.0", "@npmcli/template-oss": "4.6.2", - "nock": "^13.2.4", + "nock": "^14.0.16", "tap": "^16.0.1" }, "repository": {