Skip to content

Commit

Permalink
fix(deps): Explicit pacote ^9.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Feb 4, 2019
1 parent 4b20791 commit 44d05bf
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion commands/add/index.js
Expand Up @@ -4,7 +4,7 @@ const dedent = require("dedent");
const npa = require("npm-package-arg");
const pMap = require("p-map");
const path = require("path");
const getManifest = require("libnpm/manifest");
const getManifest = require("pacote/manifest");
const semver = require("semver");

const Command = require("@lerna/command");
Expand Down
1 change: 1 addition & 0 deletions commands/add/package.json
Expand Up @@ -41,6 +41,7 @@
"libnpm": "^2.0.1",
"npm-package-arg": "^6.1.0",
"p-map": "^1.2.0",
"pacote": "^9.4.1",
"semver": "^5.5.0"
}
}
4 changes: 2 additions & 2 deletions commands/create/__tests__/create-command.test.js
@@ -1,14 +1,14 @@
"use strict";

jest.mock("libnpm/manifest");
jest.mock("pacote/manifest");

const fs = require("fs-extra");
const path = require("path");
const execa = require("execa");
const slash = require("slash");

// mocked modules
const getManifest = require("libnpm/manifest");
const getManifest = require("pacote/manifest");

// helpers
const initFixture = require("@lerna-test/init-fixture")(__dirname);
Expand Down
2 changes: 1 addition & 1 deletion commands/create/index.js
Expand Up @@ -7,7 +7,7 @@ const { URL } = require("whatwg-url");
const camelCase = require("camelcase");
const dedent = require("dedent");
const initPackageJson = require("pify")(require("init-package-json"));
const getManifest = require("libnpm/manifest");
const getManifest = require("pacote/manifest");
const npa = require("npm-package-arg");
const pReduce = require("p-reduce");
const slash = require("slash");
Expand Down
1 change: 1 addition & 0 deletions commands/create/package.json
Expand Up @@ -44,6 +44,7 @@
"libnpm": "^2.0.1",
"npm-package-arg": "^6.1.0",
"p-reduce": "^1.0.0",
"pacote": "^9.4.1",
"pify": "^3.0.0",
"semver": "^5.5.0",
"slash": "^1.0.0",
Expand Down
4 changes: 2 additions & 2 deletions commands/publish/__tests__/get-unpublished-packages.test.js
@@ -1,9 +1,9 @@
"use strict";

jest.mock("libnpm/packument");
jest.mock("pacote/packument");

// mocked module(s)
const getPackument = require("libnpm/packument");
const getPackument = require("pacote/packument");

// helpers
const PackageGraph = require("@lerna/package-graph");
Expand Down
2 changes: 1 addition & 1 deletion commands/publish/lib/get-unpublished-packages.js
Expand Up @@ -2,7 +2,7 @@

const log = require("libnpm/log");
const pMap = require("p-map");
const getPackument = require("libnpm/packument");
const getPackument = require("pacote/packument");

module.exports = getUnpublishedPackages;

Expand Down
1 change: 1 addition & 0 deletions commands/publish/package.json
Expand Up @@ -60,6 +60,7 @@
"p-map": "^1.2.0",
"p-pipe": "^1.2.0",
"p-reduce": "^1.0.0",
"pacote": "^9.4.1",
"semver": "^5.5.0"
}
}
3 changes: 3 additions & 0 deletions package-lock.json

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

0 comments on commit 44d05bf

Please sign in to comment.