This commit is contained in:
CHEVALLIER Abel
2025-11-13 16:23:22 +01:00
parent de9c515a47
commit cb235644dc
34924 changed files with 3811102 additions and 0 deletions

7
node_modules/@npmcli/node-gyp/LICENSE generated vendored Normal file
View File

@@ -0,0 +1,7 @@
ISC License:
Copyright (c) 2023 by 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.

16
node_modules/@npmcli/node-gyp/README.md generated vendored Normal file
View File

@@ -0,0 +1,16 @@
# @npmcli/node-gyp
This is the module npm uses to decide whether a package should be built
using [`node-gyp`](https://github.com/nodejs/node-gyp) by default.
## API
* `isNodeGypPackage(path)`
Returns a Promise that resolves to `true` or `false` based on whether the
package at `path` has a `binding.gyp` file.
* `defaultGypInstallScript`
A string with the default string that should be used as the `install`
script for node-gyp packages.

14
node_modules/@npmcli/node-gyp/lib/index.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
const util = require('util')
const fs = require('fs')
const { stat } = fs.promises || { stat: util.promisify(fs.stat) }
async function isNodeGypPackage (path) {
return await stat(`${path}/binding.gyp`)
.then(st => st.isFile())
.catch(() => false)
}
module.exports = {
isNodeGypPackage,
defaultGypInstallScript: 'node-gyp rebuild',
}

50
node_modules/@npmcli/node-gyp/package.json generated vendored Normal file
View File

@@ -0,0 +1,50 @@
{
"name": "@npmcli/node-gyp",
"version": "4.0.0",
"description": "Tools for dealing with node-gyp packages",
"scripts": {
"test": "tap",
"lint": "npm run eslint",
"postlint": "template-oss-check",
"template-oss-apply": "template-oss-apply --force",
"lintfix": "npm run eslint -- --fix",
"snap": "tap",
"posttest": "npm run lint",
"eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
},
"repository": {
"type": "git",
"url": "git+https://github.com/npm/node-gyp.git"
},
"keywords": [
"npm",
"cli",
"node-gyp"
],
"files": [
"bin/",
"lib/"
],
"main": "lib/index.js",
"author": "GitHub Inc.",
"license": "ISC",
"devDependencies": {
"@npmcli/eslint-config": "^5.0.0",
"@npmcli/template-oss": "4.23.3",
"tap": "^16.0.1"
},
"engines": {
"node": "^18.17.0 || >=20.5.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.23.3",
"publish": true
},
"tap": {
"nyc-arg": [
"--exclude",
"tap-snapshots/**"
]
}
}