Skip to content

Commit

Permalink
feat(deps): @evocateur/npm-registry-fetch -> npm-registry-fetch@^9.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Nov 17, 2020
1 parent 99b4217 commit 6df42f2
Show file tree
Hide file tree
Showing 9 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions 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");

Expand Down
2 changes: 1 addition & 1 deletion 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;
Expand Down
2 changes: 1 addition & 1 deletion 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;
Expand Down
2 changes: 1 addition & 1 deletion commands/publish/package.json
Expand Up @@ -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",
Expand All @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
4 changes: 2 additions & 2 deletions 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("..");
Expand Down
2 changes: 1 addition & 1 deletion utils/npm-dist-tag/npm-dist-tag.js
Expand Up @@ -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");

Expand Down
2 changes: 1 addition & 1 deletion utils/npm-dist-tag/package.json
Expand Up @@ -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"
}
}

0 comments on commit 6df42f2

Please sign in to comment.