Skip to content

Commit ee4b3e0

Browse files
committed
1 parent 0e7789b commit ee4b3e0

File tree

15 files changed

+157
-23
lines changed

15 files changed

+157
-23
lines changed

node_modules/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@
181181
/npm-profile/node_modules/*
182182
!/npm-profile/node_modules/proc-log
183183
!/npm-registry-fetch
184+
!/npm-registry-fetch/node_modules/
185+
/npm-registry-fetch/node_modules/*
186+
!/npm-registry-fetch/node_modules/proc-log
184187
!/npm-user-validate
185188
!/p-map
186189
!/pacote

node_modules/npm-registry-fetch/lib/check-response.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const errors = require('./errors.js')
44
const { Response } = require('minipass-fetch')
55
const defaultOpts = require('./default-opts.js')
6-
const log = require('proc-log')
6+
const { log } = require('proc-log')
77
const { redact: cleanUrl } = require('@npmcli/redact')
88

99
/* eslint-disable-next-line max-len */
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-registry-fetch/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "npm-registry-fetch",
3-
"version": "16.2.0",
3+
"version": "16.2.1",
44
"description": "Fetch-based http client for use with npm registry APIs",
55
"main": "lib",
66
"files": [
@@ -38,7 +38,7 @@
3838
"minipass-json-stream": "^1.0.1",
3939
"minizlib": "^2.1.2",
4040
"npm-package-arg": "^11.0.0",
41-
"proc-log": "^3.0.0"
41+
"proc-log": "^4.0.0"
4242
},
4343
"devDependencies": {
4444
"@npmcli/eslint-config": "^4.0.0",

package-lock.json

Lines changed: 21 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
"npm-package-arg": "^11.0.2",
141141
"npm-pick-manifest": "^9.0.0",
142142
"npm-profile": "^9.0.1",
143-
"npm-registry-fetch": "^16.2.0",
143+
"npm-registry-fetch": "^16.2.1",
144144
"npm-user-validate": "^2.0.0",
145145
"p-map": "^4.0.0",
146146
"pacote": "^17.0.6",
@@ -10150,9 +10150,9 @@
1015010150
}
1015110151
},
1015210152
"node_modules/npm-registry-fetch": {
10153-
"version": "16.2.0",
10154-
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.2.0.tgz",
10155-
"integrity": "sha512-zVH+G0q1O2hqgQBUvQ2LWp6ujr6VJAeDnmWxqiMlCguvLexEzBnuQIwC70r04vcvCMAcYEIpA/rO9YyVi+fmJQ==",
10153+
"version": "16.2.1",
10154+
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.2.1.tgz",
10155+
"integrity": "sha512-8l+7jxhim55S85fjiDGJ1rZXBWGtRLi1OSb4Z3BPLObPuIaeKRlPRiYMSHU4/81ck3t71Z+UwDDl47gcpmfQQA==",
1015610156
"inBundle": true,
1015710157
"dependencies": {
1015810158
"@npmcli/redact": "^1.1.0",
@@ -10162,12 +10162,21 @@
1016210162
"minipass-json-stream": "^1.0.1",
1016310163
"minizlib": "^2.1.2",
1016410164
"npm-package-arg": "^11.0.0",
10165-
"proc-log": "^3.0.0"
10165+
"proc-log": "^4.0.0"
1016610166
},
1016710167
"engines": {
1016810168
"node": "^16.14.0 || >=18.0.0"
1016910169
}
1017010170
},
10171+
"node_modules/npm-registry-fetch/node_modules/proc-log": {
10172+
"version": "4.0.0",
10173+
"resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.0.0.tgz",
10174+
"integrity": "sha512-v1lzmYxGDs2+OZnmYtYZK3DG8zogt+CbQ+o/iqqtTfpyCmGWulCTEQu5GIbivf7OjgIkH2Nr8SH8UxAGugZNbg==",
10175+
"inBundle": true,
10176+
"engines": {
10177+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
10178+
}
10179+
},
1017110180
"node_modules/npm-run-path": {
1017210181
"version": "4.0.1",
1017310182
"resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz",
@@ -16187,7 +16196,7 @@
1618716196
"npm-install-checks": "^6.2.0",
1618816197
"npm-package-arg": "^11.0.2",
1618916198
"npm-pick-manifest": "^9.0.0",
16190-
"npm-registry-fetch": "^16.2.0",
16199+
"npm-registry-fetch": "^16.2.1",
1619116200
"pacote": "^17.0.4",
1619216201
"parse-conflict-json": "^3.0.0",
1619316202
"proc-log": "^3.0.0",
@@ -16246,7 +16255,7 @@
1624616255
"license": "ISC",
1624716256
"dependencies": {
1624816257
"npm-package-arg": "^11.0.2",
16249-
"npm-registry-fetch": "^16.2.0"
16258+
"npm-registry-fetch": "^16.2.1"
1625016259
},
1625116260
"devDependencies": {
1625216261
"@npmcli/eslint-config": "^4.0.0",
@@ -16331,7 +16340,7 @@
1633116340
"license": "ISC",
1633216341
"dependencies": {
1633316342
"aproba": "^2.0.0",
16334-
"npm-registry-fetch": "^16.2.0"
16343+
"npm-registry-fetch": "^16.2.1"
1633516344
},
1633616345
"devDependencies": {
1633716346
"@npmcli/eslint-config": "^4.0.0",
@@ -16348,7 +16357,7 @@
1634816357
"license": "ISC",
1634916358
"dependencies": {
1635016359
"aproba": "^2.0.0",
16351-
"npm-registry-fetch": "^16.2.0"
16360+
"npm-registry-fetch": "^16.2.1"
1635216361
},
1635316362
"devDependencies": {
1635416363
"@npmcli/eslint-config": "^4.0.0",
@@ -16388,7 +16397,7 @@
1638816397
"ci-info": "^4.0.0",
1638916398
"normalize-package-data": "^6.0.0",
1639016399
"npm-package-arg": "^11.0.2",
16391-
"npm-registry-fetch": "^16.2.0",
16400+
"npm-registry-fetch": "^16.2.1",
1639216401
"proc-log": "^3.0.0",
1639316402
"semver": "^7.3.7",
1639416403
"sigstore": "^2.2.0",
@@ -16410,7 +16419,7 @@
1641016419
"version": "7.0.2",
1641116420
"license": "ISC",
1641216421
"dependencies": {
16413-
"npm-registry-fetch": "^16.2.0"
16422+
"npm-registry-fetch": "^16.2.1"
1641416423
},
1641516424
"devDependencies": {
1641616425
"@npmcli/eslint-config": "^4.0.0",
@@ -16427,7 +16436,7 @@
1642716436
"license": "ISC",
1642816437
"dependencies": {
1642916438
"aproba": "^2.0.0",
16430-
"npm-registry-fetch": "^16.2.0"
16439+
"npm-registry-fetch": "^16.2.1"
1643116440
},
1643216441
"devDependencies": {
1643316442
"@npmcli/eslint-config": "^4.0.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
"npm-package-arg": "^11.0.2",
103103
"npm-pick-manifest": "^9.0.0",
104104
"npm-profile": "^9.0.1",
105-
"npm-registry-fetch": "^16.2.0",
105+
"npm-registry-fetch": "^16.2.1",
106106
"npm-user-validate": "^2.0.0",
107107
"p-map": "^4.0.0",
108108
"pacote": "^17.0.6",

workspaces/arborist/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"npm-install-checks": "^6.2.0",
2626
"npm-package-arg": "^11.0.2",
2727
"npm-pick-manifest": "^9.0.0",
28-
"npm-registry-fetch": "^16.2.0",
28+
"npm-registry-fetch": "^16.2.1",
2929
"pacote": "^17.0.4",
3030
"parse-conflict-json": "^3.0.0",
3131
"proc-log": "^3.0.0",

workspaces/libnpmaccess/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"homepage": "https://npmjs.com/package/libnpmaccess",
3131
"dependencies": {
3232
"npm-package-arg": "^11.0.2",
33-
"npm-registry-fetch": "^16.2.0"
33+
"npm-registry-fetch": "^16.2.1"
3434
},
3535
"engines": {
3636
"node": "^16.14.0 || >=18.0.0"

workspaces/libnpmhook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
"license": "ISC",
3232
"dependencies": {
3333
"aproba": "^2.0.0",
34-
"npm-registry-fetch": "^16.2.0"
34+
"npm-registry-fetch": "^16.2.1"
3535
},
3636
"devDependencies": {
3737
"@npmcli/eslint-config": "^4.0.0",

workspaces/libnpmorg/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"homepage": "https://npmjs.com/package/libnpmorg",
4343
"dependencies": {
4444
"aproba": "^2.0.0",
45-
"npm-registry-fetch": "^16.2.0"
45+
"npm-registry-fetch": "^16.2.1"
4646
},
4747
"engines": {
4848
"node": "^16.14.0 || >=18.0.0"

workspaces/libnpmpublish/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"ci-info": "^4.0.0",
4242
"normalize-package-data": "^6.0.0",
4343
"npm-package-arg": "^11.0.2",
44-
"npm-registry-fetch": "^16.2.0",
44+
"npm-registry-fetch": "^16.2.1",
4545
"proc-log": "^3.0.0",
4646
"semver": "^7.3.7",
4747
"sigstore": "^2.2.0",

workspaces/libnpmsearch/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"bugs": "https://github.com/npm/libnpmsearch/issues",
3939
"homepage": "https://npmjs.com/package/libnpmsearch",
4040
"dependencies": {
41-
"npm-registry-fetch": "^16.2.0"
41+
"npm-registry-fetch": "^16.2.1"
4242
},
4343
"engines": {
4444
"node": "^16.14.0 || >=18.0.0"

workspaces/libnpmteam/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"homepage": "https://npmjs.com/package/libnpmteam",
3333
"dependencies": {
3434
"aproba": "^2.0.0",
35-
"npm-registry-fetch": "^16.2.0"
35+
"npm-registry-fetch": "^16.2.1"
3636
},
3737
"engines": {
3838
"node": "^16.14.0 || >=18.0.0"

0 commit comments

Comments
 (0)