-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: update @npmcli/run-script@9.0.1
- Loading branch information
Showing
52 changed files
with
1,398 additions
and
1,483 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
node_modules/@npmcli/run-script/node_modules/@npmcli/node-gyp/LICENSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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. |
14 changes: 14 additions & 0 deletions
14
node_modules/@npmcli/run-script/node_modules/@npmcli/node-gyp/lib/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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', | ||
} |
51 changes: 20 additions & 31 deletions
51
...modules/@npmcli/package-json/package.json → ...ode_modules/@npmcli/node-gyp/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 0 additions & 18 deletions
18
node_modules/@npmcli/run-script/node_modules/@npmcli/package-json/LICENSE
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.