From 7974b351e53575503dd881c639b53d820e4f525e Mon Sep 17 00:00:00 2001 From: Daniel Stockman <5605+evocateur@users.noreply.github.com> Date: Tue, 17 Nov 2020 15:14:02 -0800 Subject: [PATCH] feat(deps): @evocateur/libnpmaccess -> libnpmaccess@^4.0.1 --- .../verify-npm-package-access.test.js | 4 +- .../publish/lib/verify-npm-package-access.js | 2 +- commands/publish/package.json | 2 +- package-lock.json | 142 ++++++++---------- package.json | 2 +- 5 files changed, 64 insertions(+), 88 deletions(-) diff --git a/commands/publish/__tests__/verify-npm-package-access.test.js b/commands/publish/__tests__/verify-npm-package-access.test.js index 9933aa62e5..f4328819e8 100644 --- a/commands/publish/__tests__/verify-npm-package-access.test.js +++ b/commands/publish/__tests__/verify-npm-package-access.test.js @@ -1,8 +1,8 @@ "use strict"; -jest.mock("@evocateur/libnpmaccess"); +jest.mock("libnpmaccess"); -const access = require("@evocateur/libnpmaccess"); +const access = require("libnpmaccess"); const { getPackages } = require("@lerna/project"); const loggingOutput = require("@lerna-test/logging-output"); const initFixture = require("@lerna-test/init-fixture")(__dirname); diff --git a/commands/publish/lib/verify-npm-package-access.js b/commands/publish/lib/verify-npm-package-access.js index a8f7aa8221..b90bb81c4d 100644 --- a/commands/publish/lib/verify-npm-package-access.js +++ b/commands/publish/lib/verify-npm-package-access.js @@ -1,6 +1,6 @@ "use strict"; -const access = require("@evocateur/libnpmaccess"); +const access = require("libnpmaccess"); const pulseTillDone = require("@lerna/pulse-till-done"); const ValidationError = require("@lerna/validation-error"); const FetchConfig = require("./fetch-config"); diff --git a/commands/publish/package.json b/commands/publish/package.json index d6de582300..f379fa70a9 100644 --- a/commands/publish/package.json +++ b/commands/publish/package.json @@ -34,7 +34,6 @@ "test": "echo \"Run tests from root\" && exit 1" }, "dependencies": { - "@evocateur/libnpmaccess": "^3.1.2", "@lerna/check-working-tree": "file:../../utils/check-working-tree", "@lerna/child-process": "file:../../core/child-process", "@lerna/collect-updates": "file:../../utils/collect-updates", @@ -56,6 +55,7 @@ "@lerna/version": "file:../version", "figgy-pudding": "^3.5.1", "fs-extra": "^9.0.1", + "libnpmaccess": "^4.0.1", "npm-package-arg": "^8.1.0", "npm-registry-fetch": "^9.0.0", "npmlog": "^4.1.2", diff --git a/package-lock.json b/package-lock.json index 29e4b13657..003cd0edab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,7 +14,6 @@ "utils/*" ], "dependencies": { - "@evocateur/libnpmaccess": "^3.1.2", "@evocateur/libnpmpublish": "^1.2.2", "@octokit/plugin-enterprise-rest": "^6.0.1", "@octokit/rest": "^18.0.9", @@ -44,6 +43,7 @@ "init-package-json": "^2.0.1", "inquirer": "^7.3.3", "is-ci": "^2.0.0", + "libnpmaccess": "^4.0.1", "load-json-file": "^6.2.0", "lodash.template": "^4.5.0", "minimatch": "^3.0.4", @@ -367,7 +367,6 @@ "version": "3.22.1", "license": "MIT", "dependencies": { - "@evocateur/libnpmaccess": "^3.1.2", "@lerna/check-working-tree": "file:../../utils/check-working-tree", "@lerna/child-process": "file:../../core/child-process", "@lerna/collect-updates": "file:../../utils/collect-updates", @@ -389,6 +388,7 @@ "@lerna/version": "file:../version", "figgy-pudding": "^3.5.1", "fs-extra": "^9.0.1", + "libnpmaccess": "^4.0.1", "npm-package-arg": "^8.1.0", "npm-registry-fetch": "^9.0.0", "npmlog": "^4.1.2", @@ -1473,48 +1473,6 @@ "node": "^10.12.0 || >=12.0.0" } }, - "node_modules/@evocateur/libnpmaccess": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@evocateur/libnpmaccess/-/libnpmaccess-3.1.2.tgz", - "integrity": "sha512-KSCAHwNWro0CF2ukxufCitT9K5LjL/KuMmNzSu8wuwN2rjyKHD8+cmOsiybK+W5hdnwc5M1SmRlVCaMHQo+3rg==", - "dependencies": { - "@evocateur/npm-registry-fetch": "^4.0.0", - "aproba": "^2.0.0", - "figgy-pudding": "^3.5.1", - "get-stream": "^4.0.0", - "npm-package-arg": "^6.1.0" - } - }, - "node_modules/@evocateur/libnpmaccess/node_modules/get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@evocateur/libnpmaccess/node_modules/npm-package-arg": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.1.tgz", - "integrity": "sha512-qBpssaL3IOZWi5vEKUKW0cO7kzLeT+EQO9W8RsLOZf76KF9E/K9+wH0C7t06HXPpaH8WH5xF1MExLuCwbTqRUg==", - "dependencies": { - "hosted-git-info": "^2.7.1", - "osenv": "^0.1.5", - "semver": "^5.6.0", - "validate-npm-package-name": "^3.0.0" - } - }, - "node_modules/@evocateur/libnpmaccess/node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, "node_modules/@evocateur/libnpmpublish": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/@evocateur/libnpmpublish/-/libnpmpublish-1.2.2.tgz", @@ -8964,6 +8922,36 @@ "node": ">= 0.8.0" } }, + "node_modules/libnpmaccess": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-4.0.1.tgz", + "integrity": "sha512-ZiAgvfUbvmkHoMTzdwmNWCrQRsDkOC+aM5BDfO0C9aOSwF3R1LdFDBD+Rer1KWtsoQYO35nXgmMR7OUHpDRxyA==", + "dependencies": { + "aproba": "^2.0.0", + "minipass": "^3.1.1", + "npm-package-arg": "^8.0.0", + "npm-registry-fetch": "^9.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/libnpmaccess/node_modules/minipass": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", + "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", + "dependencies": { + "yallist": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/libnpmaccess/node_modules/yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + }, "node_modules/lines-and-columns": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", @@ -15621,44 +15609,6 @@ "strip-json-comments": "^3.1.1" } }, - "@evocateur/libnpmaccess": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@evocateur/libnpmaccess/-/libnpmaccess-3.1.2.tgz", - "integrity": "sha512-KSCAHwNWro0CF2ukxufCitT9K5LjL/KuMmNzSu8wuwN2rjyKHD8+cmOsiybK+W5hdnwc5M1SmRlVCaMHQo+3rg==", - "requires": { - "@evocateur/npm-registry-fetch": "^4.0.0", - "aproba": "^2.0.0", - "figgy-pudding": "^3.5.1", - "get-stream": "^4.0.0", - "npm-package-arg": "^6.1.0" - }, - "dependencies": { - "get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "requires": { - "pump": "^3.0.0" - } - }, - "npm-package-arg": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-6.1.1.tgz", - "integrity": "sha512-qBpssaL3IOZWi5vEKUKW0cO7kzLeT+EQO9W8RsLOZf76KF9E/K9+wH0C7t06HXPpaH8WH5xF1MExLuCwbTqRUg==", - "requires": { - "hosted-git-info": "^2.7.1", - "osenv": "^0.1.5", - "semver": "^5.6.0", - "validate-npm-package-name": "^3.0.0" - } - }, - "semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" - } - } - }, "@evocateur/libnpmpublish": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/@evocateur/libnpmpublish/-/libnpmpublish-1.2.2.tgz", @@ -16680,7 +16630,6 @@ "@lerna/publish": { "version": "file:commands/publish", "requires": { - "@evocateur/libnpmaccess": "^3.1.2", "@lerna/check-working-tree": "file:../../utils/check-working-tree", "@lerna/child-process": "file:../../core/child-process", "@lerna/collect-updates": "file:../../utils/collect-updates", @@ -16702,6 +16651,7 @@ "@lerna/version": "file:../version", "figgy-pudding": "^3.5.1", "fs-extra": "^9.0.1", + "libnpmaccess": "^4.0.1", "npm-package-arg": "^8.1.0", "npm-registry-fetch": "^9.0.0", "npmlog": "^4.1.2", @@ -22127,6 +22077,32 @@ "type-check": "~0.4.0" } }, + "libnpmaccess": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/libnpmaccess/-/libnpmaccess-4.0.1.tgz", + "integrity": "sha512-ZiAgvfUbvmkHoMTzdwmNWCrQRsDkOC+aM5BDfO0C9aOSwF3R1LdFDBD+Rer1KWtsoQYO35nXgmMR7OUHpDRxyA==", + "requires": { + "aproba": "^2.0.0", + "minipass": "^3.1.1", + "npm-package-arg": "^8.0.0", + "npm-registry-fetch": "^9.0.0" + }, + "dependencies": { + "minipass": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-3.1.3.tgz", + "integrity": "sha512-Mgd2GdMVzY+x3IJ+oHnVM+KG3lA5c8tnabyJKmHSaG2kAGpudxuOf8ToDkhumF7UzME7DecbQE9uOZhNm7PuJg==", + "requires": { + "yallist": "^4.0.0" + } + }, + "yallist": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-4.0.0.tgz", + "integrity": "sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==" + } + } + }, "lines-and-columns": { "version": "1.1.6", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.1.6.tgz", diff --git a/package.json b/package.json index dde7a4fa1e..b6599b0f55 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,6 @@ "license": "MIT", "homepage": "https://lerna.js.org/", "dependencies": { - "@evocateur/libnpmaccess": "^3.1.2", "@evocateur/libnpmpublish": "^1.2.2", "@octokit/plugin-enterprise-rest": "^6.0.1", "@octokit/rest": "^18.0.9", @@ -57,6 +56,7 @@ "init-package-json": "^2.0.1", "inquirer": "^7.3.3", "is-ci": "^2.0.0", + "libnpmaccess": "^4.0.1", "load-json-file": "^6.2.0", "lodash.template": "^4.5.0", "minimatch": "^3.0.4",