Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: node-gyp@10.0.0 #6937

Merged
merged 2 commits into from
Oct 30, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 10 additions & 0 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -274,15 +274,21 @@ graph LR;
bin-links-->write-file-atomic;
brace-expansion-->balanced-match;
builtins-->semver;
cacache-->chownr;
cacache-->fs-minipass;
cacache-->glob;
cacache-->infer-owner;
cacache-->lru-cache;
cacache-->minipass-collect;
cacache-->minipass-flush;
cacache-->minipass-pipeline;
cacache-->minipass;
cacache-->mkdirp;
cacache-->npmcli-fs["@npmcli/fs"];
cacache-->npmcli-move-file["@npmcli/move-file"];
cacache-->p-map;
cacache-->promise-inflight;
cacache-->rimraf;
cacache-->ssri;
cacache-->tar;
cacache-->unique-filename;
Expand Down Expand Up @@ -456,6 +462,7 @@ graph LR;
make-fetch-happen-->https-proxy-agent;
make-fetch-happen-->is-lambda;
make-fetch-happen-->lru-cache;
make-fetch-happen-->minipass-collect;
make-fetch-happen-->minipass-fetch;
make-fetch-happen-->minipass-flush;
make-fetch-happen-->minipass-pipeline;
Expand Down Expand Up @@ -486,6 +493,7 @@ graph LR;
node-gyp-->make-fetch-happen;
node-gyp-->nopt;
node-gyp-->npmlog;
node-gyp-->proc-log;
node-gyp-->rimraf;
node-gyp-->semver;
node-gyp-->tar;
Expand Down Expand Up @@ -710,6 +718,8 @@ graph LR;
npmcli-mock-registry-->npmcli-template-oss["@npmcli/template-oss"];
npmcli-mock-registry-->pacote;
npmcli-mock-registry-->tap;
npmcli-move-file-->mkdirp;
npmcli-move-file-->rimraf;
npmcli-package-json-->glob;
npmcli-package-json-->hosted-git-info;
npmcli-package-json-->json-parse-even-better-errors;
Expand Down
61 changes: 38 additions & 23 deletions node_modules/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
!/@colors/
/@colors/*
!/@colors/colors
!/@gar/
/@gar/*
!/@gar/promisify
!/@isaacs/
/@isaacs/*
!/@isaacs/cliui
Expand All @@ -31,12 +34,46 @@
!/@npmcli/installed-package-contents
!/@npmcli/map-workspaces
!/@npmcli/metavuln-calculator
!/@npmcli/move-file
!/@npmcli/name-from-folder
!/@npmcli/node-gyp
!/@npmcli/package-json
!/@npmcli/promise-spawn
!/@npmcli/query
!/@npmcli/run-script
!/@npmcli/run-script/node_modules/
/@npmcli/run-script/node_modules/*
!/@npmcli/run-script/node_modules/@npmcli/
/@npmcli/run-script/node_modules/@npmcli/*
!/@npmcli/run-script/node_modules/@npmcli/fs
!/@npmcli/run-script/node_modules/abbrev
!/@npmcli/run-script/node_modules/are-we-there-yet
!/@npmcli/run-script/node_modules/brace-expansion
!/@npmcli/run-script/node_modules/cacache
!/@npmcli/run-script/node_modules/cacache/node_modules/
/@npmcli/run-script/node_modules/cacache/node_modules/*
!/@npmcli/run-script/node_modules/cacache/node_modules/brace-expansion
!/@npmcli/run-script/node_modules/cacache/node_modules/glob
!/@npmcli/run-script/node_modules/cacache/node_modules/minimatch
!/@npmcli/run-script/node_modules/fs-minipass
!/@npmcli/run-script/node_modules/gauge
!/@npmcli/run-script/node_modules/glob
!/@npmcli/run-script/node_modules/lru-cache
!/@npmcli/run-script/node_modules/make-fetch-happen
!/@npmcli/run-script/node_modules/minimatch
!/@npmcli/run-script/node_modules/minipass-fetch
!/@npmcli/run-script/node_modules/minipass
!/@npmcli/run-script/node_modules/node-gyp
!/@npmcli/run-script/node_modules/node-gyp/node_modules/
/@npmcli/run-script/node_modules/node-gyp/node_modules/*
!/@npmcli/run-script/node_modules/node-gyp/node_modules/which
!/@npmcli/run-script/node_modules/nopt
!/@npmcli/run-script/node_modules/npmlog
!/@npmcli/run-script/node_modules/readable-stream
!/@npmcli/run-script/node_modules/signal-exit
!/@npmcli/run-script/node_modules/ssri
!/@npmcli/run-script/node_modules/unique-filename
!/@npmcli/run-script/node_modules/unique-slug
lukekarrys marked this conversation as resolved.
Show resolved Hide resolved
!/@pkgjs/
/@pkgjs/*
!/@pkgjs/parseargs
Expand Down Expand Up @@ -127,6 +164,7 @@
!/ignore-walk
!/imurmurhash
!/indent-string
!/infer-owner
!/inflight
!/inherits
!/ini
Expand Down Expand Up @@ -178,29 +216,6 @@
!/mute-stream
!/negotiator
!/node-gyp
!/node-gyp/node_modules/
/node-gyp/node_modules/*
!/node-gyp/node_modules/abbrev
!/node-gyp/node_modules/are-we-there-yet
!/node-gyp/node_modules/brace-expansion
!/node-gyp/node_modules/cacache
!/node-gyp/node_modules/cacache/node_modules/
/node-gyp/node_modules/cacache/node_modules/*
!/node-gyp/node_modules/cacache/node_modules/brace-expansion
!/node-gyp/node_modules/cacache/node_modules/glob
!/node-gyp/node_modules/cacache/node_modules/minimatch
!/node-gyp/node_modules/cacache/node_modules/minipass
!/node-gyp/node_modules/gauge
!/node-gyp/node_modules/glob
!/node-gyp/node_modules/lru-cache
!/node-gyp/node_modules/make-fetch-happen
!/node-gyp/node_modules/minimatch
!/node-gyp/node_modules/minipass
!/node-gyp/node_modules/nopt
!/node-gyp/node_modules/npmlog
!/node-gyp/node_modules/readable-stream
!/node-gyp/node_modules/signal-exit
!/node-gyp/node_modules/which
!/nopt
!/normalize-package-data
!/npm-audit-report
Expand Down
10 changes: 10 additions & 0 deletions node_modules/@gar/promisify/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
The MIT License (MIT)

Copyright © 2020-2022 Michael Garvin

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

36 changes: 36 additions & 0 deletions node_modules/@gar/promisify/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
'use strict'

const { promisify } = require('util')

const handler = {
get: function (target, prop, receiver) {
if (typeof target[prop] !== 'function') {
return target[prop]
}
if (target[prop][promisify.custom]) {
return function () {
return Reflect.get(target, prop, receiver)[promisify.custom].apply(target, arguments)
}
}
return function () {
return new Promise((resolve, reject) => {
Reflect.get(target, prop, receiver).apply(target, [...arguments, function (err, result) {
if (err) {
return reject(err)
}
resolve(result)
}])
})
}
}
}

module.exports = function (thingToPromisify) {
if (typeof thingToPromisify === 'function') {
return promisify(thingToPromisify)
}
if (typeof thingToPromisify === 'object') {
return new Proxy(thingToPromisify, handler)
}
throw new TypeError('Can only promisify functions or objects')
}
32 changes: 32 additions & 0 deletions node_modules/@gar/promisify/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "@gar/promisify",
"version": "1.1.3",
"description": "Promisify an entire class or object",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/wraithgar/gar-promisify.git"
},
"scripts": {
"lint": "standard",
"lint:fix": "standard --fix",
"test": "lab -a @hapi/code -t 100",
"posttest": "npm run lint"
},
"files": [
"index.js"
],
"keywords": [
"promisify",
"all",
"class",
"object"
],
"author": "Gar <gar+npm@danger.computer>",
"license": "MIT",
"devDependencies": {
"@hapi/code": "^8.0.1",
"@hapi/lab": "^24.1.0",
"standard": "^16.0.3"
}
}
22 changes: 22 additions & 0 deletions node_modules/@npmcli/move-file/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
MIT License

Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
Copyright (c) npm, Inc.

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.
Loading
Loading