diff --git a/commands/publish/__tests__/get-npm-username.test.js b/commands/publish/__tests__/get-npm-username.test.js index 92ff135ae5..551c5ae672 100644 --- a/commands/publish/__tests__/get-npm-username.test.js +++ b/commands/publish/__tests__/get-npm-username.test.js @@ -1,8 +1,8 @@ "use strict"; -jest.mock("@evocateur/npm-registry-fetch"); +jest.mock("npm-registry-fetch"); -const fetch = require("@evocateur/npm-registry-fetch"); +const fetch = require("npm-registry-fetch"); const loggingOutput = require("@lerna-test/logging-output"); const getNpmUsername = require("../lib/get-npm-username"); diff --git a/commands/publish/lib/get-profile-data.js b/commands/publish/lib/get-profile-data.js index eaacb77dd3..901f29c5e7 100644 --- a/commands/publish/lib/get-profile-data.js +++ b/commands/publish/lib/get-profile-data.js @@ -1,6 +1,6 @@ "use strict"; -const fetch = require("@evocateur/npm-registry-fetch"); +const fetch = require("npm-registry-fetch"); const pulseTillDone = require("@lerna/pulse-till-done"); module.exports = getProfileData; diff --git a/commands/publish/lib/get-whoami.js b/commands/publish/lib/get-whoami.js index 8578277525..f976a38165 100644 --- a/commands/publish/lib/get-whoami.js +++ b/commands/publish/lib/get-whoami.js @@ -1,6 +1,6 @@ "use strict"; -const fetch = require("@evocateur/npm-registry-fetch"); +const fetch = require("npm-registry-fetch"); const pulseTillDone = require("@lerna/pulse-till-done"); module.exports = getWhoAmI; diff --git a/commands/publish/package.json b/commands/publish/package.json index ba37a03ad1..d6de582300 100644 --- a/commands/publish/package.json +++ b/commands/publish/package.json @@ -35,7 +35,6 @@ }, "dependencies": { "@evocateur/libnpmaccess": "^3.1.2", - "@evocateur/npm-registry-fetch": "^4.0.0", "@lerna/check-working-tree": "file:../../utils/check-working-tree", "@lerna/child-process": "file:../../core/child-process", "@lerna/collect-updates": "file:../../utils/collect-updates", @@ -58,6 +57,7 @@ "figgy-pudding": "^3.5.1", "fs-extra": "^9.0.1", "npm-package-arg": "^8.1.0", + "npm-registry-fetch": "^9.0.0", "npmlog": "^4.1.2", "p-map": "^4.0.0", "p-pipe": "^3.1.0", diff --git a/package-lock.json b/package-lock.json index 14e6a37a0c..29e4b13657 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,6 @@ "dependencies": { "@evocateur/libnpmaccess": "^3.1.2", "@evocateur/libnpmpublish": "^1.2.2", - "@evocateur/npm-registry-fetch": "^4.0.0", "@octokit/plugin-enterprise-rest": "^6.0.1", "@octokit/rest": "^18.0.9", "byte-size": "^7.0.0", @@ -53,6 +52,7 @@ "npm-lifecycle": "^3.1.2", "npm-package-arg": "^8.1.0", "npm-packlist": "^2.1.4", + "npm-registry-fetch": "^9.0.0", "npmlog": "^4.1.2", "p-map": "^4.0.0", "p-map-series": "^2.1.0", @@ -368,7 +368,6 @@ "license": "MIT", "dependencies": { "@evocateur/libnpmaccess": "^3.1.2", - "@evocateur/npm-registry-fetch": "^4.0.0", "@lerna/check-working-tree": "file:../../utils/check-working-tree", "@lerna/child-process": "file:../../core/child-process", "@lerna/collect-updates": "file:../../utils/collect-updates", @@ -391,6 +390,7 @@ "figgy-pudding": "^3.5.1", "fs-extra": "^9.0.1", "npm-package-arg": "^8.1.0", + "npm-registry-fetch": "^9.0.0", "npmlog": "^4.1.2", "p-map": "^4.0.0", "p-pipe": "^3.1.0", @@ -14947,10 +14947,10 @@ "version": "3.18.5", "license": "MIT", "dependencies": { - "@evocateur/npm-registry-fetch": "^4.0.0", "@lerna/otplease": "file:../../core/otplease", "figgy-pudding": "^3.5.1", "npm-package-arg": "^8.1.0", + "npm-registry-fetch": "^9.0.0", "npmlog": "^4.1.2" }, "engines": { @@ -16553,10 +16553,10 @@ "@lerna/npm-dist-tag": { "version": "file:utils/npm-dist-tag", "requires": { - "@evocateur/npm-registry-fetch": "^4.0.0", "@lerna/otplease": "file:../../core/otplease", "figgy-pudding": "^3.5.1", "npm-package-arg": "^8.1.0", + "npm-registry-fetch": "^9.0.0", "npmlog": "^4.1.2" } }, @@ -16681,7 +16681,6 @@ "version": "file:commands/publish", "requires": { "@evocateur/libnpmaccess": "^3.1.2", - "@evocateur/npm-registry-fetch": "^4.0.0", "@lerna/check-working-tree": "file:../../utils/check-working-tree", "@lerna/child-process": "file:../../core/child-process", "@lerna/collect-updates": "file:../../utils/collect-updates", @@ -16704,6 +16703,7 @@ "figgy-pudding": "^3.5.1", "fs-extra": "^9.0.1", "npm-package-arg": "^8.1.0", + "npm-registry-fetch": "^9.0.0", "npmlog": "^4.1.2", "p-map": "^4.0.0", "p-pipe": "^3.1.0", diff --git a/package.json b/package.json index 3503fd6788..dde7a4fa1e 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,6 @@ "dependencies": { "@evocateur/libnpmaccess": "^3.1.2", "@evocateur/libnpmpublish": "^1.2.2", - "@evocateur/npm-registry-fetch": "^4.0.0", "@octokit/plugin-enterprise-rest": "^6.0.1", "@octokit/rest": "^18.0.9", "byte-size": "^7.0.0", @@ -66,6 +65,7 @@ "npm-lifecycle": "^3.1.2", "npm-package-arg": "^8.1.0", "npm-packlist": "^2.1.4", + "npm-registry-fetch": "^9.0.0", "npmlog": "^4.1.2", "p-map": "^4.0.0", "p-map-series": "^2.1.0", diff --git a/utils/npm-dist-tag/__tests__/npm-dist-tag.test.js b/utils/npm-dist-tag/__tests__/npm-dist-tag.test.js index e07791ed4e..716f620fcc 100644 --- a/utils/npm-dist-tag/__tests__/npm-dist-tag.test.js +++ b/utils/npm-dist-tag/__tests__/npm-dist-tag.test.js @@ -1,10 +1,10 @@ "use strict"; -jest.mock("@evocateur/npm-registry-fetch"); +jest.mock("npm-registry-fetch"); jest.mock("@lerna/otplease", () => (cb, opts) => Promise.resolve(cb(opts))); // mocked modules -const fetch = require("@evocateur/npm-registry-fetch"); +const fetch = require("npm-registry-fetch"); // file under test const npmDistTag = require(".."); diff --git a/utils/npm-dist-tag/npm-dist-tag.js b/utils/npm-dist-tag/npm-dist-tag.js index f78e7c4fe9..b954395b4c 100644 --- a/utils/npm-dist-tag/npm-dist-tag.js +++ b/utils/npm-dist-tag/npm-dist-tag.js @@ -2,7 +2,7 @@ const log = require("npmlog"); const npa = require("npm-package-arg"); -const fetch = require("@evocateur/npm-registry-fetch"); +const fetch = require("npm-registry-fetch"); const figgyPudding = require("figgy-pudding"); const otplease = require("@lerna/otplease"); diff --git a/utils/npm-dist-tag/package.json b/utils/npm-dist-tag/package.json index 3cfe01de42..fa1a88f100 100644 --- a/utils/npm-dist-tag/package.json +++ b/utils/npm-dist-tag/package.json @@ -32,10 +32,10 @@ "test": "echo \"Run tests from root\" && exit 1" }, "dependencies": { - "@evocateur/npm-registry-fetch": "^4.0.0", "@lerna/otplease": "file:../../core/otplease", "figgy-pudding": "^3.5.1", "npm-package-arg": "^8.1.0", + "npm-registry-fetch": "^9.0.0", "npmlog": "^4.1.2" } }