Skip to content

Commit 0e7789b

Browse files
committed
deps: npm-profile@9.0.1
1 parent ac98fd3 commit 0e7789b

File tree

8 files changed

+146
-18
lines changed

8 files changed

+146
-18
lines changed

node_modules/.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@
177177
!/npm-packlist
178178
!/npm-pick-manifest
179179
!/npm-profile
180+
!/npm-profile/node_modules/
181+
/npm-profile/node_modules/*
182+
!/npm-profile/node_modules/proc-log
180183
!/npm-registry-fetch
181184
!/npm-user-validate
182185
!/p-map

node_modules/npm-profile/lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const { HttpErrorBase } = require('npm-registry-fetch/lib/errors')
55
const EventEmitter = require('events')
66
const os = require('os')
77
const { URL } = require('url')
8-
const log = require('proc-log')
8+
const { log } = require('proc-log')
99

1010
// try loginWeb, catch the "not supported" message and fall back to couch
1111
const login = (opener, prompter, opts = {}) => {
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/npm-profile/package.json

+5-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"name": "npm-profile",
3-
"version": "9.0.0",
3+
"version": "9.0.1",
44
"description": "Library for updating an npmjs.com profile",
55
"keywords": [],
66
"author": "GitHub Inc.",
77
"license": "ISC",
88
"dependencies": {
99
"npm-registry-fetch": "^16.0.0",
10-
"proc-log": "^3.0.0"
10+
"proc-log": "^4.0.0"
1111
},
1212
"main": "./lib/index.js",
1313
"repository": {
@@ -20,15 +20,15 @@
2020
],
2121
"devDependencies": {
2222
"@npmcli/eslint-config": "^4.0.0",
23-
"@npmcli/template-oss": "4.18.0",
23+
"@npmcli/template-oss": "4.21.3",
2424
"nock": "^13.2.4",
2525
"tap": "^16.0.1"
2626
},
2727
"scripts": {
2828
"posttest": "npm run lint",
2929
"test": "tap",
3030
"snap": "tap",
31-
"lint": "eslint \"**/*.js\"",
31+
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
3232
"postlint": "template-oss-check",
3333
"lintfix": "npm run lint -- --fix",
3434
"template-oss-apply": "template-oss-apply --force"
@@ -45,13 +45,7 @@
4545
},
4646
"templateOSS": {
4747
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
48-
"version": "4.18.0",
49-
"ciVersions": [
50-
"16.14.0",
51-
"16.x",
52-
"18.0.0",
53-
"18.x"
54-
],
48+
"version": "4.21.3",
5549
"publish": true
5650
}
5751
}

package-lock.json

+14-5
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@
139139
"npm-install-checks": "^6.3.0",
140140
"npm-package-arg": "^11.0.2",
141141
"npm-pick-manifest": "^9.0.0",
142-
"npm-profile": "^9.0.0",
142+
"npm-profile": "^9.0.1",
143143
"npm-registry-fetch": "^16.2.0",
144144
"npm-user-validate": "^2.0.0",
145145
"p-map": "^4.0.0",
@@ -10128,18 +10128,27 @@
1012810128
}
1012910129
},
1013010130
"node_modules/npm-profile": {
10131-
"version": "9.0.0",
10132-
"resolved": "https://registry.npmjs.org/npm-profile/-/npm-profile-9.0.0.tgz",
10133-
"integrity": "sha512-qv43ixsJ7vndzfxD3XsPNu1Njck6dhO7q1efksTo+0DiOQysKSOsIhK/qDD1/xO2o+2jDOA4Rv/zOJ9KQFs9nw==",
10131+
"version": "9.0.1",
10132+
"resolved": "https://registry.npmjs.org/npm-profile/-/npm-profile-9.0.1.tgz",
10133+
"integrity": "sha512-9o6dw5eu3tiqX1XFOXjznO73Jzin48Oyo9qAhfaEHXzeZHXpdzgDmzWruWk7uJsu5GMIsigx5hva5rB5NhfSWw==",
1013410134
"inBundle": true,
1013510135
"dependencies": {
1013610136
"npm-registry-fetch": "^16.0.0",
10137-
"proc-log": "^3.0.0"
10137+
"proc-log": "^4.0.0"
1013810138
},
1013910139
"engines": {
1014010140
"node": "^16.14.0 || >=18.0.0"
1014110141
}
1014210142
},
10143+
"node_modules/npm-profile/node_modules/proc-log": {
10144+
"version": "4.0.0",
10145+
"resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.0.0.tgz",
10146+
"integrity": "sha512-v1lzmYxGDs2+OZnmYtYZK3DG8zogt+CbQ+o/iqqtTfpyCmGWulCTEQu5GIbivf7OjgIkH2Nr8SH8UxAGugZNbg==",
10147+
"inBundle": true,
10148+
"engines": {
10149+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
10150+
}
10151+
},
1014310152
"node_modules/npm-registry-fetch": {
1014410153
"version": "16.2.0",
1014510154
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.2.0.tgz",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
"npm-install-checks": "^6.3.0",
102102
"npm-package-arg": "^11.0.2",
103103
"npm-pick-manifest": "^9.0.0",
104-
"npm-profile": "^9.0.0",
104+
"npm-profile": "^9.0.1",
105105
"npm-registry-fetch": "^16.2.0",
106106
"npm-user-validate": "^2.0.0",
107107
"p-map": "^4.0.0",

0 commit comments

Comments
 (0)