pacote 17.0.7 → 18.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/lib/dir.js +0 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -166,8 +166,6 @@ resolved, and other properties, as they are determined.
|
|
|
166
166
|
calls. This allows you to easily avoid hitting the registry multiple
|
|
167
167
|
times (even just to validate the cache) for a given packument, since it
|
|
168
168
|
is unlikely to change in the span of a single command.
|
|
169
|
-
* `silent` A boolean that determines whether the banner is displayed
|
|
170
|
-
when calling `@npmcli/run-script`.
|
|
171
169
|
* `verifySignatures` A boolean that will make pacote verify the
|
|
172
170
|
integrity signature of a manifest, if present. There must be a
|
|
173
171
|
configured `_keys` entry in the config that is scoped to the
|
package/lib/dir.js
CHANGED
|
@@ -41,16 +41,11 @@ class DirFetcher extends Fetcher {
|
|
|
41
41
|
// but this function is *also* run when installing git deps
|
|
42
42
|
const stdio = this.opts.foregroundScripts ? 'inherit' : 'pipe'
|
|
43
43
|
|
|
44
|
-
// hide the banner if silent opt is passed in, or if prepare running
|
|
45
|
-
// in the background.
|
|
46
|
-
const banner = this.opts.silent ? false : stdio === 'inherit'
|
|
47
|
-
|
|
48
44
|
return runScript({
|
|
49
45
|
pkg: mani,
|
|
50
46
|
event: 'prepare',
|
|
51
47
|
path: this.resolved,
|
|
52
48
|
stdio,
|
|
53
|
-
banner,
|
|
54
49
|
env: {
|
|
55
50
|
npm_package_resolved: this.resolved,
|
|
56
51
|
npm_package_integrity: this.integrity,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pacote",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "18.0.0",
|
|
4
4
|
"description": "JavaScript package downloader",
|
|
5
5
|
"author": "GitHub Inc.",
|
|
6
6
|
"bin": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@npmcli/arborist": "^7.1.0",
|
|
29
29
|
"@npmcli/eslint-config": "^4.0.0",
|
|
30
|
-
"@npmcli/template-oss": "4.21.
|
|
30
|
+
"@npmcli/template-oss": "4.21.4",
|
|
31
31
|
"hosted-git-info": "^7.0.0",
|
|
32
32
|
"mutate-fs": "^2.1.1",
|
|
33
33
|
"nock": "^13.2.4",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@npmcli/git": "^5.0.0",
|
|
48
48
|
"@npmcli/installed-package-contents": "^2.0.1",
|
|
49
49
|
"@npmcli/promise-spawn": "^7.0.0",
|
|
50
|
-
"@npmcli/run-script": "^
|
|
50
|
+
"@npmcli/run-script": "^8.0.0",
|
|
51
51
|
"cacache": "^18.0.0",
|
|
52
52
|
"fs-minipass": "^3.0.0",
|
|
53
53
|
"minipass": "^7.0.2",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
},
|
|
73
73
|
"templateOSS": {
|
|
74
74
|
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
|
|
75
|
-
"version": "4.21.
|
|
75
|
+
"version": "4.21.4",
|
|
76
76
|
"windowsCI": false,
|
|
77
77
|
"publish": "true"
|
|
78
78
|
}
|