Skip to content

Commit d3a0cfa

Browse files
committed
deps: @npmcli/[email protected]
1 parent 9622597 commit d3a0cfa

File tree

9 files changed

+145
-11
lines changed

9 files changed

+145
-11
lines changed

node_modules/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
!/@npmcli/disparity-colors/node_modules/ansi-styles
2626
!/@npmcli/fs
2727
!/@npmcli/git
28+
!/@npmcli/git/node_modules/
29+
/@npmcli/git/node_modules/*
30+
!/@npmcli/git/node_modules/proc-log
2831
!/@npmcli/installed-package-contents
2932
!/@npmcli/map-workspaces
3033
!/@npmcli/metavuln-calculator

node_modules/@npmcli/git/lib/spawn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const spawn = require('@npmcli/promise-spawn')
22
const promiseRetry = require('promise-retry')
3-
const log = require('proc-log')
3+
const { log } = require('proc-log')
44
const makeError = require('./make-error.js')
55
const makeOpts = require('./opts.js')
66

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/@npmcli/git/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@npmcli/git",
3-
"version": "5.0.5",
3+
"version": "5.0.6",
44
"main": "lib/index.js",
55
"files": [
66
"bin/",
@@ -40,7 +40,7 @@
4040
"@npmcli/promise-spawn": "^7.0.0",
4141
"lru-cache": "^10.0.1",
4242
"npm-pick-manifest": "^9.0.0",
43-
"proc-log": "^3.0.0",
43+
"proc-log": "^4.0.0",
4444
"promise-inflight": "^1.0.1",
4545
"promise-retry": "^2.0.1",
4646
"semver": "^7.3.5",

package-lock.json

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
"devDependencies": {
169169
"@npmcli/docs": "^1.0.0",
170170
"@npmcli/eslint-config": "^4.0.2",
171-
"@npmcli/git": "^5.0.5",
171+
"@npmcli/git": "^5.0.6",
172172
"@npmcli/mock-globals": "^1.0.0",
173173
"@npmcli/mock-registry": "^1.0.0",
174174
"@npmcli/template-oss": "4.21.3",
@@ -1701,15 +1701,15 @@
17011701
}
17021702
},
17031703
"node_modules/@npmcli/git": {
1704-
"version": "5.0.5",
1705-
"resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.5.tgz",
1706-
"integrity": "sha512-x8hXItC8OFOwdgERzRIxg0ic1lQqW6kSZFFQtZTCNYOeGb9UqzVcod02TYljI9UBl4RtfcyQ0A7ygmcGFvEqWw==",
1704+
"version": "5.0.6",
1705+
"resolved": "https://registry.npmjs.org/@npmcli/git/-/git-5.0.6.tgz",
1706+
"integrity": "sha512-4x/182sKXmQkf0EtXxT26GEsaOATpD7WVtza5hrYivWZeo6QefC6xq9KAXrnjtFKBZ4rZwR7aX/zClYYXgtwLw==",
17071707
"inBundle": true,
17081708
"dependencies": {
17091709
"@npmcli/promise-spawn": "^7.0.0",
17101710
"lru-cache": "^10.0.1",
17111711
"npm-pick-manifest": "^9.0.0",
1712-
"proc-log": "^3.0.0",
1712+
"proc-log": "^4.0.0",
17131713
"promise-inflight": "^1.0.1",
17141714
"promise-retry": "^2.0.1",
17151715
"semver": "^7.3.5",
@@ -1719,6 +1719,15 @@
17191719
"node": "^16.14.0 || >=18.0.0"
17201720
}
17211721
},
1722+
"node_modules/@npmcli/git/node_modules/proc-log": {
1723+
"version": "4.0.0",
1724+
"resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.0.0.tgz",
1725+
"integrity": "sha512-v1lzmYxGDs2+OZnmYtYZK3DG8zogt+CbQ+o/iqqtTfpyCmGWulCTEQu5GIbivf7OjgIkH2Nr8SH8UxAGugZNbg==",
1726+
"inBundle": true,
1727+
"engines": {
1728+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
1729+
}
1730+
},
17221731
"node_modules/@npmcli/installed-package-contents": {
17231732
"version": "2.0.2",
17241733
"resolved": "https://registry.npmjs.org/@npmcli/installed-package-contents/-/installed-package-contents-2.0.2.tgz",
@@ -16407,7 +16416,7 @@
1640716416
"version": "5.0.2",
1640816417
"license": "ISC",
1640916418
"dependencies": {
16410-
"@npmcli/git": "^5.0.3",
16419+
"@npmcli/git": "^5.0.6",
1641116420
"@npmcli/run-script": "^7.0.2",
1641216421
"json-parse-even-better-errors": "^3.0.0",
1641316422
"proc-log": "^3.0.0",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
"devDependencies": {
200200
"@npmcli/docs": "^1.0.0",
201201
"@npmcli/eslint-config": "^4.0.2",
202-
"@npmcli/git": "^5.0.5",
202+
"@npmcli/git": "^5.0.6",
203203
"@npmcli/mock-globals": "^1.0.0",
204204
"@npmcli/mock-registry": "^1.0.0",
205205
"@npmcli/template-oss": "4.21.3",

workspaces/libnpmversion/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"tap": "^16.3.8"
3838
},
3939
"dependencies": {
40-
"@npmcli/git": "^5.0.3",
40+
"@npmcli/git": "^5.0.6",
4141
"@npmcli/run-script": "^7.0.2",
4242
"json-parse-even-better-errors": "^3.0.0",
4343
"proc-log": "^3.0.0",

0 commit comments

Comments
 (0)