Skip to content

Commit

Permalink
deps: npm-profile@9.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Apr 16, 2024
1 parent ac98fd3 commit 0e7789b
Show file tree
Hide file tree
Showing 8 changed files with 146 additions and 18 deletions.
3 changes: 3 additions & 0 deletions node_modules/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,9 @@
!/npm-packlist
!/npm-pick-manifest
!/npm-profile
!/npm-profile/node_modules/
/npm-profile/node_modules/*
!/npm-profile/node_modules/proc-log
!/npm-registry-fetch
!/npm-user-validate
!/p-map
Expand Down
2 changes: 1 addition & 1 deletion node_modules/npm-profile/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { HttpErrorBase } = require('npm-registry-fetch/lib/errors')
const EventEmitter = require('events')
const os = require('os')
const { URL } = require('url')
const log = require('proc-log')
const { log } = require('proc-log')

// try loginWeb, catch the "not supported" message and fall back to couch
const login = (opener, prompter, opts = {}) => {
Expand Down
15 changes: 15 additions & 0 deletions node_modules/npm-profile/node_modules/proc-log/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
The ISC License

Copyright (c) GitHub, Inc.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
62 changes: 62 additions & 0 deletions node_modules/npm-profile/node_modules/proc-log/lib/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
module.exports = {
output: {
LEVELS: [
'standard',
'error',
'buffer',
],
standard: function (...args) {
return process.emit('output', 'standard', ...args)
},
error: function (...args) {
return process.emit('output', 'error', ...args)
},
buffer: function (...args) {
return process.emit('output', 'buffer', ...args)
},
},
log: {
LEVELS: [
'notice',
'error',
'warn',
'info',
'verbose',
'http',
'silly',
'timing',
'pause',
'resume',
],
error: function (...args) {
return process.emit('log', 'error', ...args)
},
notice: function (...args) {
return process.emit('log', 'notice', ...args)
},
warn: function (...args) {
return process.emit('log', 'warn', ...args)
},
info: function (...args) {
return process.emit('log', 'info', ...args)
},
verbose: function (...args) {
return process.emit('log', 'verbose', ...args)
},
http: function (...args) {
return process.emit('log', 'http', ...args)
},
silly: function (...args) {
return process.emit('log', 'silly', ...args)
},
timing: function (...args) {
return process.emit('log', 'timing', ...args)
},
pause: function (...args) {
return process.emit('log', 'pause', ...args)
},
resume: function (...args) {
return process.emit('log', 'resume', ...args)
},
},
}
45 changes: 45 additions & 0 deletions node_modules/npm-profile/node_modules/proc-log/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"name": "proc-log",
"version": "4.0.0",
"files": [
"bin/",
"lib/"
],
"main": "lib/index.js",
"description": "just emit 'log' events on the process object",
"repository": {
"type": "git",
"url": "https://github.com/npm/proc-log.git"
},
"author": "GitHub Inc.",
"license": "ISC",
"scripts": {
"test": "tap",
"snap": "tap",
"posttest": "npm run lint",
"postsnap": "eslint index.js test/*.js --fix",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"postlint": "template-oss-check",
"lintfix": "npm run lint -- --fix",
"template-oss-apply": "template-oss-apply --force"
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.21.3",
"tap": "^16.0.1"
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.21.3",
"publish": true
},
"tap": {
"nyc-arg": [
"--exclude",
"tap-snapshots/**"
]
}
}
16 changes: 5 additions & 11 deletions node_modules/npm-profile/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "npm-profile",
"version": "9.0.0",
"version": "9.0.1",
"description": "Library for updating an npmjs.com profile",
"keywords": [],
"author": "GitHub Inc.",
"license": "ISC",
"dependencies": {
"npm-registry-fetch": "^16.0.0",
"proc-log": "^3.0.0"
"proc-log": "^4.0.0"
},
"main": "./lib/index.js",
"repository": {
Expand All @@ -20,15 +20,15 @@
],
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.18.0",
"@npmcli/template-oss": "4.21.3",
"nock": "^13.2.4",
"tap": "^16.0.1"
},
"scripts": {
"posttest": "npm run lint",
"test": "tap",
"snap": "tap",
"lint": "eslint \"**/*.js\"",
"lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"",
"postlint": "template-oss-check",
"lintfix": "npm run lint -- --fix",
"template-oss-apply": "template-oss-apply --force"
Expand All @@ -45,13 +45,7 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.18.0",
"ciVersions": [
"16.14.0",
"16.x",
"18.0.0",
"18.x"
],
"version": "4.21.3",
"publish": true
}
}
19 changes: 14 additions & 5 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
"npm-install-checks": "^6.3.0",
"npm-package-arg": "^11.0.2",
"npm-pick-manifest": "^9.0.0",
"npm-profile": "^9.0.0",
"npm-profile": "^9.0.1",
"npm-registry-fetch": "^16.2.0",
"npm-user-validate": "^2.0.0",
"p-map": "^4.0.0",
Expand Down Expand Up @@ -10128,18 +10128,27 @@
}
},
"node_modules/npm-profile": {
"version": "9.0.0",
"resolved": "https://registry.npmjs.org/npm-profile/-/npm-profile-9.0.0.tgz",
"integrity": "sha512-qv43ixsJ7vndzfxD3XsPNu1Njck6dhO7q1efksTo+0DiOQysKSOsIhK/qDD1/xO2o+2jDOA4Rv/zOJ9KQFs9nw==",
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/npm-profile/-/npm-profile-9.0.1.tgz",
"integrity": "sha512-9o6dw5eu3tiqX1XFOXjznO73Jzin48Oyo9qAhfaEHXzeZHXpdzgDmzWruWk7uJsu5GMIsigx5hva5rB5NhfSWw==",
"inBundle": true,
"dependencies": {
"npm-registry-fetch": "^16.0.0",
"proc-log": "^3.0.0"
"proc-log": "^4.0.0"
},
"engines": {
"node": "^16.14.0 || >=18.0.0"
}
},
"node_modules/npm-profile/node_modules/proc-log": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/proc-log/-/proc-log-4.0.0.tgz",
"integrity": "sha512-v1lzmYxGDs2+OZnmYtYZK3DG8zogt+CbQ+o/iqqtTfpyCmGWulCTEQu5GIbivf7OjgIkH2Nr8SH8UxAGugZNbg==",
"inBundle": true,
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
},
"node_modules/npm-registry-fetch": {
"version": "16.2.0",
"resolved": "https://registry.npmjs.org/npm-registry-fetch/-/npm-registry-fetch-16.2.0.tgz",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
"npm-install-checks": "^6.3.0",
"npm-package-arg": "^11.0.2",
"npm-pick-manifest": "^9.0.0",
"npm-profile": "^9.0.0",
"npm-profile": "^9.0.1",
"npm-registry-fetch": "^16.2.0",
"npm-user-validate": "^2.0.0",
"p-map": "^4.0.0",
Expand Down

0 comments on commit 0e7789b

Please sign in to comment.