Skip to content

Commit 9351570

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

File tree

9 files changed

+145
-11
lines changed

9 files changed

+145
-11
lines changed

node_modules/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@
3434
!/@npmcli/name-from-folder
3535
!/@npmcli/node-gyp
3636
!/@npmcli/package-json
37+
!/@npmcli/package-json/node_modules/
38+
/@npmcli/package-json/node_modules/*
39+
!/@npmcli/package-json/node_modules/proc-log
3740
!/@npmcli/promise-spawn
3841
!/@npmcli/query
3942
!/@npmcli/redact

node_modules/@npmcli/package-json/lib/normalize.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const valid = require('semver/functions/valid')
22
const clean = require('semver/functions/clean')
33
const fs = require('fs/promises')
44
const path = require('path')
5-
const log = require('proc-log')
5+
const { log } = require('proc-log')
66

77
/**
88
* @type {import('hosted-git-info')}
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.
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+
}
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/package-json/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@npmcli/package-json",
3-
"version": "5.0.2",
3+
"version": "5.0.3",
44
"description": "Programmatic API to update package.json",
55
"main": "lib/index.js",
66
"files": [
@@ -36,7 +36,7 @@
3636
"hosted-git-info": "^7.0.0",
3737
"json-parse-even-better-errors": "^3.0.0",
3838
"normalize-package-data": "^6.0.0",
39-
"proc-log": "^3.0.0",
39+
"proc-log": "^4.0.0",
4040
"semver": "^7.5.3"
4141
},
4242
"repository": {

package-lock.json

+15-6
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"@npmcli/config": "^8.0.2",
9595
"@npmcli/fs": "^3.1.0",
9696
"@npmcli/map-workspaces": "^3.0.6",
97-
"@npmcli/package-json": "^5.0.2",
97+
"@npmcli/package-json": "^5.0.3",
9898
"@npmcli/promise-spawn": "^7.0.1",
9999
"@npmcli/redact": "^1.1.0",
100100
"@npmcli/run-script": "^7.0.4",
@@ -1814,23 +1814,32 @@
18141814
}
18151815
},
18161816
"node_modules/@npmcli/package-json": {
1817-
"version": "5.0.2",
1818-
"resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-5.0.2.tgz",
1819-
"integrity": "sha512-LmW+tueGSK+FCM3OpcKtwKKo3igpefh6HHiw23sGd8OdJ8l0GrfGfVdGOFVtJRMaXVnvI1RUdEPlB9VUln5Wbw==",
1817+
"version": "5.0.3",
1818+
"resolved": "https://registry.npmjs.org/@npmcli/package-json/-/package-json-5.0.3.tgz",
1819+
"integrity": "sha512-cgsjCvld2wMqkUqvY+SZI+1ZJ7umGBYc9IAKfqJRKJCcs7hCQYxScUgdsyrRINk3VmdCYf9TXiLBHQ6ECTxhtg==",
18201820
"inBundle": true,
18211821
"dependencies": {
18221822
"@npmcli/git": "^5.0.0",
18231823
"glob": "^10.2.2",
18241824
"hosted-git-info": "^7.0.0",
18251825
"json-parse-even-better-errors": "^3.0.0",
18261826
"normalize-package-data": "^6.0.0",
1827-
"proc-log": "^3.0.0",
1827+
"proc-log": "^4.0.0",
18281828
"semver": "^7.5.3"
18291829
},
18301830
"engines": {
18311831
"node": "^16.14.0 || >=18.0.0"
18321832
}
18331833
},
1834+
"node_modules/@npmcli/package-json/node_modules/proc-log": {
1835+
"version": "4.0.0",
1836+
"resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.0.0.tgz",
1837+
"integrity": "sha512-v1lzmYxGDs2+OZnmYtYZK3DG8zogt+CbQ+o/iqqtTfpyCmGWulCTEQu5GIbivf7OjgIkH2Nr8SH8UxAGugZNbg==",
1838+
"inBundle": true,
1839+
"engines": {
1840+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
1841+
}
1842+
},
18341843
"node_modules/@npmcli/promise-spawn": {
18351844
"version": "7.0.1",
18361845
"resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-7.0.1.tgz",
@@ -16145,7 +16154,7 @@
1614516154
"@npmcli/metavuln-calculator": "^7.0.0",
1614616155
"@npmcli/name-from-folder": "^2.0.0",
1614716156
"@npmcli/node-gyp": "^3.0.0",
16148-
"@npmcli/package-json": "^5.0.0",
16157+
"@npmcli/package-json": "^5.0.3",
1614916158
"@npmcli/query": "^3.1.0",
1615016159
"@npmcli/redact": "^1.1.0",
1615116160
"@npmcli/run-script": "^7.0.2",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
"@npmcli/config": "^8.0.2",
5757
"@npmcli/fs": "^3.1.0",
5858
"@npmcli/map-workspaces": "^3.0.6",
59-
"@npmcli/package-json": "^5.0.2",
59+
"@npmcli/package-json": "^5.0.3",
6060
"@npmcli/promise-spawn": "^7.0.1",
6161
"@npmcli/redact": "^1.1.0",
6262
"@npmcli/run-script": "^7.0.4",

workspaces/arborist/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"@npmcli/metavuln-calculator": "^7.0.0",
1111
"@npmcli/name-from-folder": "^2.0.0",
1212
"@npmcli/node-gyp": "^3.0.0",
13-
"@npmcli/package-json": "^5.0.0",
13+
"@npmcli/package-json": "^5.0.3",
1414
"@npmcli/query": "^3.1.0",
1515
"@npmcli/redact": "^1.1.0",
1616
"@npmcli/run-script": "^7.0.2",

0 commit comments

Comments
 (0)