Skip to content

Commit

Permalink
deps: update @npmcli/run-script@9.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
reggi committed Oct 2, 2024
1 parent b80d048 commit 538a4cc
Show file tree
Hide file tree
Showing 52 changed files with 1,398 additions and 1,483 deletions.
7 changes: 5 additions & 2 deletions node_modules/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,10 @@
/@npmcli/run-script/node_modules/*
!/@npmcli/run-script/node_modules/@npmcli/
/@npmcli/run-script/node_modules/@npmcli/*
!/@npmcli/run-script/node_modules/@npmcli/package-json
!/@npmcli/run-script/node_modules/@npmcli/promise-spawn
!/@npmcli/run-script/node_modules/@npmcli/node-gyp
!/@npmcli/run-script/node_modules/isexe
!/@npmcli/run-script/node_modules/proc-log
!/@npmcli/run-script/node_modules/which
!/@pkgjs/
/@pkgjs/*
!/@pkgjs/parseargs
Expand Down Expand Up @@ -209,6 +211,7 @@
/pacote/node_modules/@npmcli/*
!/pacote/node_modules/@npmcli/package-json
!/pacote/node_modules/@npmcli/promise-spawn
!/pacote/node_modules/@npmcli/run-script
!/parse-conflict-json
!/path-key
!/path-scurry
Expand Down
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.
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',
}
Original file line number Diff line number Diff line change
@@ -1,56 +1,45 @@
{
"name": "@npmcli/package-json",
"version": "5.2.1",
"description": "Programmatic API to update package.json",
"main": "lib/index.js",
"files": [
"bin/",
"lib/"
],
"name": "@npmcli/node-gyp",
"version": "4.0.0",
"description": "Tools for dealing with node-gyp packages",
"scripts": {
"snap": "tap",
"test": "tap",
"lint": "npm run eslint",
"lintfix": "npm run eslint -- --fix",
"posttest": "npm run lint",
"postsnap": "npm run lintfix --",
"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",
"oss"
"cli",
"node-gyp"
],
"files": [
"bin/",
"lib/"
],
"main": "lib/index.js",
"author": "GitHub Inc.",
"license": "ISC",
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/eslint-config": "^5.0.0",
"@npmcli/template-oss": "4.23.3",
"read-package-json": "^7.0.0",
"read-package-json-fast": "^3.0.2",
"tap": "^16.0.1"
},
"dependencies": {
"@npmcli/git": "^5.0.0",
"glob": "^10.2.2",
"hosted-git-info": "^7.0.0",
"json-parse-even-better-errors": "^3.0.0",
"normalize-package-data": "^6.0.0",
"proc-log": "^4.0.0",
"semver": "^7.5.3"
},
"repository": {
"type": "git",
"url": "git+https://github.com/npm/package-json.git"
},
"engines": {
"node": "^16.14.0 || >=18.0.0"
"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"
"publish": true
},
"tap": {
"nyc-arg": [
Expand Down

This file was deleted.

Loading

0 comments on commit 538a4cc

Please sign in to comment.