+145
-11
lines changedFilter options
+145
-11
lines changed Original file line number Diff line number Diff line change
@@ -34,6 +34,9 @@
34
34
!/@npmcli/name-from-folder
35
35
!/@npmcli/node-gyp
36
36
!/@npmcli/package-json
37
+
!/@npmcli/package-json/node_modules/
38
+
/@npmcli/package-json/node_modules/*
39
+
!/@npmcli/package-json/node_modules/proc-log
37
40
!/@npmcli/promise-spawn
38
41
!/@npmcli/query
39
42
!/@npmcli/redact
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@ const valid = require('semver/functions/valid')
2
2
const clean = require('semver/functions/clean')
3
3
const fs = require('fs/promises')
4
4
const path = require('path')
5
-
const log = require('proc-log')
5
+
const { log } = require('proc-log')
6
6
7
7
/**
8
8
* @type {import('hosted-git-info')}
Original file line number Diff line number Diff 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 number Diff line number Diff 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 number Diff line number Diff 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
+
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "@npmcli/package-json",
3
-
"version": "5.0.2",
3
+
"version": "5.0.3",
4
4
"description": "Programmatic API to update package.json",
5
5
"main": "lib/index.js",
6
6
"files": [
@@ -36,7 +36,7 @@
36
36
"hosted-git-info": "^7.0.0",
37
37
"json-parse-even-better-errors": "^3.0.0",
38
38
"normalize-package-data": "^6.0.0",
39
-
"proc-log": "^3.0.0",
39
+
"proc-log": "^4.0.0",
40
40
"semver": "^7.5.3"
41
41
},
42
42
"repository": {
Original file line number Diff line number Diff line change
@@ -94,7 +94,7 @@
94
94
"@npmcli/config": "^8.0.2",
95
95
"@npmcli/fs": "^3.1.0",
96
96
"@npmcli/map-workspaces": "^3.0.6",
97
-
"@npmcli/package-json": "^5.0.2",
97
+
"@npmcli/package-json": "^5.0.3",
98
98
"@npmcli/promise-spawn": "^7.0.1",
99
99
"@npmcli/redact": "^1.1.0",
100
100
"@npmcli/run-script": "^7.0.4",
@@ -1814,23 +1814,32 @@
1814
1814
}
1815
1815
},
1816
1816
"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==",
1820
1820
"inBundle": true,
1821
1821
"dependencies": {
1822
1822
"@npmcli/git": "^5.0.0",
1823
1823
"glob": "^10.2.2",
1824
1824
"hosted-git-info": "^7.0.0",
1825
1825
"json-parse-even-better-errors": "^3.0.0",
1826
1826
"normalize-package-data": "^6.0.0",
1827
-
"proc-log": "^3.0.0",
1827
+
"proc-log": "^4.0.0",
1828
1828
"semver": "^7.5.3"
1829
1829
},
1830
1830
"engines": {
1831
1831
"node": "^16.14.0 || >=18.0.0"
1832
1832
}
1833
1833
},
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
+
},
1834
1843
"node_modules/@npmcli/promise-spawn": {
1835
1844
"version": "7.0.1",
1836
1845
"resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-7.0.1.tgz",
@@ -16145,7 +16154,7 @@
16145
16154
"@npmcli/metavuln-calculator": "^7.0.0",
16146
16155
"@npmcli/name-from-folder": "^2.0.0",
16147
16156
"@npmcli/node-gyp": "^3.0.0",
16148
-
"@npmcli/package-json": "^5.0.0",
16157
+
"@npmcli/package-json": "^5.0.3",
16149
16158
"@npmcli/query": "^3.1.0",
16150
16159
"@npmcli/redact": "^1.1.0",
16151
16160
"@npmcli/run-script": "^7.0.2",
Original file line number Diff line number Diff line change
@@ -56,7 +56,7 @@
56
56
"@npmcli/config": "^8.0.2",
57
57
"@npmcli/fs": "^3.1.0",
58
58
"@npmcli/map-workspaces": "^3.0.6",
59
-
"@npmcli/package-json": "^5.0.2",
59
+
"@npmcli/package-json": "^5.0.3",
60
60
"@npmcli/promise-spawn": "^7.0.1",
61
61
"@npmcli/redact": "^1.1.0",
62
62
"@npmcli/run-script": "^7.0.4",
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
10
10
"@npmcli/metavuln-calculator": "^7.0.0",
11
11
"@npmcli/name-from-folder": "^2.0.0",
12
12
"@npmcli/node-gyp": "^3.0.0",
13
-
"@npmcli/package-json": "^5.0.0",
13
+
"@npmcli/package-json": "^5.0.3",
14
14
"@npmcli/query": "^3.1.0",
15
15
"@npmcli/redact": "^1.1.0",
16
16
"@npmcli/run-script": "^7.0.2",
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4