Skip to content

Commit ac98fd3

Browse files
committed
1 parent 9351570 commit ac98fd3

File tree

15 files changed

+161
-34
lines changed

15 files changed

+161
-34
lines changed

mock-registry/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@npmcli/template-oss": "4.21.3",
5151
"json-stringify-safe": "^5.0.1",
5252
"nock": "^13.3.3",
53-
"npm-package-arg": "^11.0.1",
53+
"npm-package-arg": "^11.0.2",
5454
"pacote": "^17.0.4",
5555
"tap": "^16.3.8"
5656
}

node_modules/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,9 @@
171171
!/npm-install-checks
172172
!/npm-normalize-package-bin
173173
!/npm-package-arg
174+
!/npm-package-arg/node_modules/
175+
/npm-package-arg/node_modules/*
176+
!/npm-package-arg/node_modules/proc-log
174177
!/npm-packlist
175178
!/npm-pick-manifest
176179
!/npm-profile

node_modules/npm-package-arg/lib/npa.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const semver = require('semver')
1010
const path = global.FAKE_WINDOWS ? require('path').win32 : require('path')
1111
const validatePackageName = require('validate-npm-package-name')
1212
const { homedir } = require('os')
13-
const log = require('proc-log')
13+
const { log } = require('proc-log')
1414

1515
const isWindows = process.platform === 'win32' || global.FAKE_WINDOWS
1616
const hasSlashes = isWindows ? /\\|[/]/ : /[/]/
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
The ISC License
2+
3+
Copyright (c) GitHub, Inc.
4+
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted, provided that the above
7+
copyright notice and this permission notice appear in all copies.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10+
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11+
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12+
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13+
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14+
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
15+
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
module.exports = {
2+
output: {
3+
LEVELS: [
4+
'standard',
5+
'error',
6+
'buffer',
7+
],
8+
standard: function (...args) {
9+
return process.emit('output', 'standard', ...args)
10+
},
11+
error: function (...args) {
12+
return process.emit('output', 'error', ...args)
13+
},
14+
buffer: function (...args) {
15+
return process.emit('output', 'buffer', ...args)
16+
},
17+
},
18+
log: {
19+
LEVELS: [
20+
'notice',
21+
'error',
22+
'warn',
23+
'info',
24+
'verbose',
25+
'http',
26+
'silly',
27+
'timing',
28+
'pause',
29+
'resume',
30+
],
31+
error: function (...args) {
32+
return process.emit('log', 'error', ...args)
33+
},
34+
notice: function (...args) {
35+
return process.emit('log', 'notice', ...args)
36+
},
37+
warn: function (...args) {
38+
return process.emit('log', 'warn', ...args)
39+
},
40+
info: function (...args) {
41+
return process.emit('log', 'info', ...args)
42+
},
43+
verbose: function (...args) {
44+
return process.emit('log', 'verbose', ...args)
45+
},
46+
http: function (...args) {
47+
return process.emit('log', 'http', ...args)
48+
},
49+
silly: function (...args) {
50+
return process.emit('log', 'silly', ...args)
51+
},
52+
timing: function (...args) {
53+
return process.emit('log', 'timing', ...args)
54+
},
55+
pause: function (...args) {
56+
return process.emit('log', 'pause', ...args)
57+
},
58+
resume: function (...args) {
59+
return process.emit('log', 'resume', ...args)
60+
},
61+
},
62+
}
Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
{
2+
"name": "proc-log",
3+
"version": "4.0.0",
4+
"files": [
5+
"bin/",
6+
"lib/"
7+
],
8+
"main": "lib/index.js",
9+
"description": "just emit 'log' events on the process object",
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/npm/proc-log.git"
13+
},
14+
"author": "GitHub Inc.",
15+
"license": "ISC",
16+
"scripts": {
17+
"test": "tap",
18+
"snap": "tap",
19+
"posttest": "npm run lint",
20+
"postsnap": "eslint index.js test/*.js --fix",
21+
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
22+
"postlint": "template-oss-check",
23+
"lintfix": "npm run lint -- --fix",
24+
"template-oss-apply": "template-oss-apply --force"
25+
},
26+
"devDependencies": {
27+
"@npmcli/eslint-config": "^4.0.0",
28+
"@npmcli/template-oss": "4.21.3",
29+
"tap": "^16.0.1"
30+
},
31+
"engines": {
32+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
33+
},
34+
"templateOSS": {
35+
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
36+
"version": "4.21.3",
37+
"publish": true
38+
},
39+
"tap": {
40+
"nyc-arg": [
41+
"--exclude",
42+
"tap-snapshots/**"
43+
]
44+
}
45+
}

node_modules/npm-package-arg/package.json

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "npm-package-arg",
3-
"version": "11.0.1",
3+
"version": "11.0.2",
44
"description": "Parse the things that can be arguments to `npm install`",
55
"main": "./lib/npa.js",
66
"directories": {
@@ -12,20 +12,20 @@
1212
],
1313
"dependencies": {
1414
"hosted-git-info": "^7.0.0",
15-
"proc-log": "^3.0.0",
15+
"proc-log": "^4.0.0",
1616
"semver": "^7.3.5",
1717
"validate-npm-package-name": "^5.0.0"
1818
},
1919
"devDependencies": {
2020
"@npmcli/eslint-config": "^4.0.0",
21-
"@npmcli/template-oss": "4.18.0",
21+
"@npmcli/template-oss": "4.21.3",
2222
"tap": "^16.0.1"
2323
},
2424
"scripts": {
2525
"test": "tap",
2626
"snap": "tap",
2727
"npmclilint": "npmcli-lint",
28-
"lint": "eslint \"**/*.js\"",
28+
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
2929
"lintfix": "npm run lint -- --fix",
3030
"posttest": "npm run lint",
3131
"postsnap": "npm run lintfix --",
@@ -54,14 +54,7 @@
5454
},
5555
"templateOSS": {
5656
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
57-
"version": "4.18.0",
58-
"publish": true,
59-
"ciVersions": [
60-
"16.14.0",
61-
"16.x",
62-
"18.0.0",
63-
"18.x"
64-
],
65-
"npmSpec": "next-9"
57+
"version": "4.21.3",
58+
"publish": true
6659
}
6760
}

package-lock.json

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
"normalize-package-data": "^6.0.0",
138138
"npm-audit-report": "^5.0.0",
139139
"npm-install-checks": "^6.3.0",
140-
"npm-package-arg": "^11.0.1",
140+
"npm-package-arg": "^11.0.2",
141141
"npm-pick-manifest": "^9.0.0",
142142
"npm-profile": "^9.0.0",
143143
"npm-registry-fetch": "^16.2.0",
@@ -238,7 +238,7 @@
238238
"@npmcli/template-oss": "4.21.3",
239239
"json-stringify-safe": "^5.0.1",
240240
"nock": "^13.3.3",
241-
"npm-package-arg": "^11.0.1",
241+
"npm-package-arg": "^11.0.2",
242242
"pacote": "^17.0.4",
243243
"tap": "^16.3.8"
244244
},
@@ -10077,20 +10077,29 @@
1007710077
}
1007810078
},
1007910079
"node_modules/npm-package-arg": {
10080-
"version": "11.0.1",
10081-
"resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.1.tgz",
10082-
"integrity": "sha512-M7s1BD4NxdAvBKUPqqRW957Xwcl/4Zvo8Aj+ANrzvIPzGJZElrH7Z//rSaec2ORcND6FHHLnZeY8qgTpXDMFQQ==",
10080+
"version": "11.0.2",
10081+
"resolved": "https://registry.npmjs.org/npm-package-arg/-/npm-package-arg-11.0.2.tgz",
10082+
"integrity": "sha512-IGN0IAwmhDJwy13Wc8k+4PEbTPhpJnMtfR53ZbOyjkvmEcLS4nCwp6mvMWjS5sUjeiW3mpx6cHmuhKEu9XmcQw==",
1008310083
"inBundle": true,
1008410084
"dependencies": {
1008510085
"hosted-git-info": "^7.0.0",
10086-
"proc-log": "^3.0.0",
10086+
"proc-log": "^4.0.0",
1008710087
"semver": "^7.3.5",
1008810088
"validate-npm-package-name": "^5.0.0"
1008910089
},
1009010090
"engines": {
1009110091
"node": "^16.14.0 || >=18.0.0"
1009210092
}
1009310093
},
10094+
"node_modules/npm-package-arg/node_modules/proc-log": {
10095+
"version": "4.0.0",
10096+
"resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.0.0.tgz",
10097+
"integrity": "sha512-v1lzmYxGDs2+OZnmYtYZK3DG8zogt+CbQ+o/iqqtTfpyCmGWulCTEQu5GIbivf7OjgIkH2Nr8SH8UxAGugZNbg==",
10098+
"inBundle": true,
10099+
"engines": {
10100+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
10101+
}
10102+
},
1009410103
"node_modules/npm-packlist": {
1009510104
"version": "8.0.2",
1009610105
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-8.0.2.tgz",
@@ -16167,7 +16176,7 @@
1616716176
"minimatch": "^9.0.4",
1616816177
"nopt": "^7.0.0",
1616916178
"npm-install-checks": "^6.2.0",
16170-
"npm-package-arg": "^11.0.1",
16179+
"npm-package-arg": "^11.0.2",
1617116180
"npm-pick-manifest": "^9.0.0",
1617216181
"npm-registry-fetch": "^16.2.0",
1617316182
"pacote": "^17.0.4",
@@ -16227,7 +16236,7 @@
1622716236
"version": "8.0.3",
1622816237
"license": "ISC",
1622916238
"dependencies": {
16230-
"npm-package-arg": "^11.0.1",
16239+
"npm-package-arg": "^11.0.2",
1623116240
"npm-registry-fetch": "^16.2.0"
1623216241
},
1623316242
"devDependencies": {
@@ -16251,7 +16260,7 @@
1625116260
"binary-extensions": "^2.3.0",
1625216261
"diff": "^5.1.0",
1625316262
"minimatch": "^9.0.4",
16254-
"npm-package-arg": "^11.0.1",
16263+
"npm-package-arg": "^11.0.2",
1625516264
"pacote": "^17.0.4",
1625616265
"tar": "^6.2.1"
1625716266
},
@@ -16271,7 +16280,7 @@
1627116280
"@npmcli/arborist": "^7.2.1",
1627216281
"@npmcli/run-script": "^7.0.2",
1627316282
"ci-info": "^4.0.0",
16274-
"npm-package-arg": "^11.0.1",
16283+
"npm-package-arg": "^11.0.2",
1627516284
"pacote": "^17.0.4",
1627616285
"proc-log": "^3.0.0",
1627716286
"read": "^3.0.1",
@@ -16349,7 +16358,7 @@
1634916358
"dependencies": {
1635016359
"@npmcli/arborist": "^7.2.1",
1635116360
"@npmcli/run-script": "^7.0.2",
16352-
"npm-package-arg": "^11.0.1",
16361+
"npm-package-arg": "^11.0.2",
1635316362
"pacote": "^17.0.4"
1635416363
},
1635516364
"devDependencies": {
@@ -16369,7 +16378,7 @@
1636916378
"dependencies": {
1637016379
"ci-info": "^4.0.0",
1637116380
"normalize-package-data": "^6.0.0",
16372-
"npm-package-arg": "^11.0.1",
16381+
"npm-package-arg": "^11.0.2",
1637316382
"npm-registry-fetch": "^16.2.0",
1637416383
"proc-log": "^3.0.0",
1637516384
"semver": "^7.3.7",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"normalize-package-data": "^6.0.0",
100100
"npm-audit-report": "^5.0.0",
101101
"npm-install-checks": "^6.3.0",
102-
"npm-package-arg": "^11.0.1",
102+
"npm-package-arg": "^11.0.2",
103103
"npm-pick-manifest": "^9.0.0",
104104
"npm-profile": "^9.0.0",
105105
"npm-registry-fetch": "^16.2.0",

workspaces/arborist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"minimatch": "^9.0.4",
2424
"nopt": "^7.0.0",
2525
"npm-install-checks": "^6.2.0",
26-
"npm-package-arg": "^11.0.1",
26+
"npm-package-arg": "^11.0.2",
2727
"npm-pick-manifest": "^9.0.0",
2828
"npm-registry-fetch": "^16.2.0",
2929
"pacote": "^17.0.4",

workspaces/libnpmaccess/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"bugs": "https://github.com/npm/libnpmaccess/issues",
3030
"homepage": "https://npmjs.com/package/libnpmaccess",
3131
"dependencies": {
32-
"npm-package-arg": "^11.0.1",
32+
"npm-package-arg": "^11.0.2",
3333
"npm-registry-fetch": "^16.2.0"
3434
},
3535
"engines": {

workspaces/libnpmdiff/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
"binary-extensions": "^2.3.0",
5353
"diff": "^5.1.0",
5454
"minimatch": "^9.0.4",
55-
"npm-package-arg": "^11.0.1",
55+
"npm-package-arg": "^11.0.2",
5656
"pacote": "^17.0.4",
5757
"tar": "^6.2.1"
5858
},

workspaces/libnpmexec/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"@npmcli/arborist": "^7.2.1",
6363
"@npmcli/run-script": "^7.0.2",
6464
"ci-info": "^4.0.0",
65-
"npm-package-arg": "^11.0.1",
65+
"npm-package-arg": "^11.0.2",
6666
"pacote": "^17.0.4",
6767
"proc-log": "^3.0.0",
6868
"read": "^3.0.1",

workspaces/libnpmpack/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"dependencies": {
3939
"@npmcli/arborist": "^7.2.1",
4040
"@npmcli/run-script": "^7.0.2",
41-
"npm-package-arg": "^11.0.1",
41+
"npm-package-arg": "^11.0.2",
4242
"pacote": "^17.0.4"
4343
},
4444
"engines": {

workspaces/libnpmpublish/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"dependencies": {
4141
"ci-info": "^4.0.0",
4242
"normalize-package-data": "^6.0.0",
43-
"npm-package-arg": "^11.0.1",
43+
"npm-package-arg": "^11.0.2",
4444
"npm-registry-fetch": "^16.2.0",
4545
"proc-log": "^3.0.0",
4646
"semver": "^7.3.7",

0 commit comments

Comments
 (0)