Skip to content

Commit 0e042ec

Browse files
committed
deps: npm-packlist@10.0.3
1 parent 2a3c338 commit 0e042ec

File tree

7 files changed

+237
-10
lines changed

7 files changed

+237
-10
lines changed

node_modules/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,9 @@
166166
!/npm-normalize-package-bin
167167
!/npm-package-arg
168168
!/npm-packlist
169+
!/npm-packlist/node_modules/
170+
/npm-packlist/node_modules/*
171+
!/npm-packlist/node_modules/proc-log
169172
!/npm-pick-manifest
170173
!/npm-profile
171174
!/npm-registry-fetch
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: 153 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,153 @@
1+
const META = Symbol('proc-log.meta')
2+
module.exports = {
3+
META: META,
4+
output: {
5+
LEVELS: [
6+
'standard',
7+
'error',
8+
'buffer',
9+
'flush',
10+
],
11+
KEYS: {
12+
standard: 'standard',
13+
error: 'error',
14+
buffer: 'buffer',
15+
flush: 'flush',
16+
},
17+
standard: function (...args) {
18+
return process.emit('output', 'standard', ...args)
19+
},
20+
error: function (...args) {
21+
return process.emit('output', 'error', ...args)
22+
},
23+
buffer: function (...args) {
24+
return process.emit('output', 'buffer', ...args)
25+
},
26+
flush: function (...args) {
27+
return process.emit('output', 'flush', ...args)
28+
},
29+
},
30+
log: {
31+
LEVELS: [
32+
'notice',
33+
'error',
34+
'warn',
35+
'info',
36+
'verbose',
37+
'http',
38+
'silly',
39+
'timing',
40+
'pause',
41+
'resume',
42+
],
43+
KEYS: {
44+
notice: 'notice',
45+
error: 'error',
46+
warn: 'warn',
47+
info: 'info',
48+
verbose: 'verbose',
49+
http: 'http',
50+
silly: 'silly',
51+
timing: 'timing',
52+
pause: 'pause',
53+
resume: 'resume',
54+
},
55+
error: function (...args) {
56+
return process.emit('log', 'error', ...args)
57+
},
58+
notice: function (...args) {
59+
return process.emit('log', 'notice', ...args)
60+
},
61+
warn: function (...args) {
62+
return process.emit('log', 'warn', ...args)
63+
},
64+
info: function (...args) {
65+
return process.emit('log', 'info', ...args)
66+
},
67+
verbose: function (...args) {
68+
return process.emit('log', 'verbose', ...args)
69+
},
70+
http: function (...args) {
71+
return process.emit('log', 'http', ...args)
72+
},
73+
silly: function (...args) {
74+
return process.emit('log', 'silly', ...args)
75+
},
76+
timing: function (...args) {
77+
return process.emit('log', 'timing', ...args)
78+
},
79+
pause: function () {
80+
return process.emit('log', 'pause')
81+
},
82+
resume: function () {
83+
return process.emit('log', 'resume')
84+
},
85+
},
86+
time: {
87+
LEVELS: [
88+
'start',
89+
'end',
90+
],
91+
KEYS: {
92+
start: 'start',
93+
end: 'end',
94+
},
95+
start: function (name, fn) {
96+
process.emit('time', 'start', name)
97+
function end () {
98+
return process.emit('time', 'end', name)
99+
}
100+
if (typeof fn === 'function') {
101+
const res = fn()
102+
if (res && res.finally) {
103+
return res.finally(end)
104+
}
105+
end()
106+
return res
107+
}
108+
return end
109+
},
110+
end: function (name) {
111+
return process.emit('time', 'end', name)
112+
},
113+
},
114+
input: {
115+
LEVELS: [
116+
'start',
117+
'end',
118+
'read',
119+
],
120+
KEYS: {
121+
start: 'start',
122+
end: 'end',
123+
read: 'read',
124+
},
125+
start: function (fn) {
126+
process.emit('input', 'start')
127+
function end () {
128+
return process.emit('input', 'end')
129+
}
130+
if (typeof fn === 'function') {
131+
const res = fn()
132+
if (res && res.finally) {
133+
return res.finally(end)
134+
}
135+
end()
136+
return res
137+
}
138+
return end
139+
},
140+
end: function () {
141+
return process.emit('input', 'end')
142+
},
143+
read: function (...args) {
144+
let resolve, reject
145+
const promise = new Promise((_resolve, _reject) => {
146+
resolve = _resolve
147+
reject = _reject
148+
})
149+
process.emit('input', 'read', resolve, reject, ...args)
150+
return promise
151+
},
152+
},
153+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"name": "proc-log",
3+
"version": "6.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": "git+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": "npm run eslint",
22+
"postlint": "template-oss-check",
23+
"lintfix": "npm run eslint -- --fix",
24+
"template-oss-apply": "template-oss-apply --force",
25+
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
26+
},
27+
"devDependencies": {
28+
"@npmcli/eslint-config": "^5.0.0",
29+
"@npmcli/template-oss": "4.27.1",
30+
"tap": "^16.0.1"
31+
},
32+
"engines": {
33+
"node": "^20.17.0 || >=22.9.0"
34+
},
35+
"templateOSS": {
36+
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
37+
"version": "4.27.1",
38+
"publish": true
39+
},
40+
"tap": {
41+
"nyc-arg": [
42+
"--exclude",
43+
"tap-snapshots/**"
44+
]
45+
}
46+
}

node_modules/npm-packlist/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "npm-packlist",
3-
"version": "10.0.2",
3+
"version": "10.0.3",
44
"description": "Get a list of the files to add from a folder into an npm package",
55
"directories": {
66
"test": "test"
77
},
88
"main": "lib/index.js",
99
"dependencies": {
1010
"ignore-walk": "^8.0.0",
11-
"proc-log": "^5.0.0"
11+
"proc-log": "^6.0.0"
1212
},
1313
"author": "GitHub Inc.",
1414
"license": "ISC",
@@ -19,7 +19,7 @@
1919
"devDependencies": {
2020
"@npmcli/arborist": "^9.0.0",
2121
"@npmcli/eslint-config": "^5.0.1",
22-
"@npmcli/template-oss": "4.25.1",
22+
"@npmcli/template-oss": "4.27.1",
2323
"mutate-fs": "^2.1.1",
2424
"tap": "^16.0.1"
2525
},
@@ -56,7 +56,7 @@
5656
},
5757
"templateOSS": {
5858
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
59-
"version": "4.25.1",
59+
"version": "4.27.1",
6060
"publish": true
6161
}
6262
}

package-lock.json

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@
169169
"cli-table3": "^0.6.4",
170170
"diff": "^8.0.2",
171171
"nock": "^13.4.0",
172-
"npm-packlist": "^10.0.2",
172+
"npm-packlist": "^10.0.3",
173173
"remark": "^15.0.1",
174174
"remark-gfm": "^4.0.1",
175175
"remark-github": "^12.0.0",
@@ -8512,19 +8512,29 @@
85128512
}
85138513
},
85148514
"node_modules/npm-packlist": {
8515-
"version": "10.0.2",
8516-
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-10.0.2.tgz",
8517-
"integrity": "sha512-DrIWNiWT0FTdDRjGOYfEEZUNe1IzaSZ+up7qBTKnrQDySpdmuOQvytrqQlpK5QrCA4IThMvL4wTumqaa1ZvVIQ==",
8515+
"version": "10.0.3",
8516+
"resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-10.0.3.tgz",
8517+
"integrity": "sha512-zPukTwJMOu5X5uvm0fztwS5Zxyvmk38H/LfidkOMt3gbZVCyro2cD/ETzwzVPcWZA3JOyPznfUN/nkyFiyUbxg==",
85188518
"inBundle": true,
85198519
"license": "ISC",
85208520
"dependencies": {
85218521
"ignore-walk": "^8.0.0",
8522-
"proc-log": "^5.0.0"
8522+
"proc-log": "^6.0.0"
85238523
},
85248524
"engines": {
85258525
"node": "^20.17.0 || >=22.9.0"
85268526
}
85278527
},
8528+
"node_modules/npm-packlist/node_modules/proc-log": {
8529+
"version": "6.0.0",
8530+
"resolved": "https://registry.npmjs.org/proc-log/-/proc-log-6.0.0.tgz",
8531+
"integrity": "sha512-KG/XsTDN901PNfPfAMmj6N/Ywg9tM+bHK8pAz+27fS4N4Pcr+4zoYBOcGSBu6ceXYNPxkLpa4ohtfxV1XcLAfA==",
8532+
"inBundle": true,
8533+
"license": "ISC",
8534+
"engines": {
8535+
"node": "^20.17.0 || >=22.9.0"
8536+
}
8537+
},
85288538
"node_modules/npm-pick-manifest": {
85298539
"version": "11.0.1",
85308540
"inBundle": true,

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@
200200
"cli-table3": "^0.6.4",
201201
"diff": "^8.0.2",
202202
"nock": "^13.4.0",
203-
"npm-packlist": "^10.0.2",
203+
"npm-packlist": "^10.0.3",
204204
"remark": "^15.0.1",
205205
"remark-gfm": "^4.0.1",
206206
"remark-github": "^12.0.0",

0 commit comments

Comments
 (0)