Skip to content

Commit

Permalink
deps: @npmcli/node-gyp@2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
wraithgar committed Apr 6, 2022
1 parent e9b25cd commit 0e87cac
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 94 deletions.
6 changes: 3 additions & 3 deletions node_modules/@npmcli/node-gyp/lib/index.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
const util = require('util')
const fs = require('fs')
const {stat} = fs.promises || { stat: util.promisify(fs.stat) };
const { stat } = fs.promises || { stat: util.promisify(fs.stat) }

async function isNodeGypPackage(path) {
async function isNodeGypPackage (path) {
return await stat(`${path}/binding.gyp`)
.then(st => st.isFile())
.catch(() => false)
}

module.exports = {
isNodeGypPackage,
defaultGypInstallScript: 'node-gyp rebuild'
defaultGypInstallScript: 'node-gyp rebuild',
}
32 changes: 21 additions & 11 deletions node_modules/@npmcli/node-gyp/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
{
"name": "@npmcli/node-gyp",
"version": "1.0.3",
"version": "2.0.0",
"description": "Tools for dealing with node-gyp packages",
"scripts": {
"test": "tap",
"preversion": "npm test",
"postversion": "npm publish",
"prepublishOnly": "git push origin --follow-tags"
"prepublishOnly": "git push origin --follow-tags",
"lint": "eslint \"**/*.js\"",
"postlint": "template-oss-check",
"template-oss-apply": "template-oss-apply --force",
"lintfix": "npm run lint -- --fix",
"snap": "tap",
"posttest": "npm run lint"
},
"repository": {
"type": "git",
Expand All @@ -18,18 +24,22 @@
"node-gyp"
],
"files": [
"lib/**/*.js"
"bin/",
"lib/"
],
"main": "lib/index.js",
"author": "Brian Jenkins <bonkydog@bonkydog.com>",
"author": "GitHub Inc.",
"license": "ISC",
"tap": {
"check-coverage": true,
"coverage-map": "map.js"
},
"devDependencies": {
"require-inject": "^1.4.4",
"tap": "^14.10.6",
"tmp": "^0.2.1"
"@npmcli/eslint-config": "^3.0.1",
"@npmcli/template-oss": "3.2.2",
"tap": "^16.0.1"
},
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "3.2.2"
}
}

This file was deleted.

This file was deleted.

33 changes: 13 additions & 20 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -993,8 +993,13 @@
"license": "ISC"
},
"node_modules/@npmcli/node-gyp": {
"version": "1.0.3",
"license": "ISC"
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz",
"integrity": "sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A==",
"inBundle": true,
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
}
},
"node_modules/@npmcli/package-json": {
"version": "2.0.0",
Expand Down Expand Up @@ -1032,15 +1037,6 @@
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
}
},
"node_modules/@npmcli/run-script/node_modules/@npmcli/node-gyp": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz",
"integrity": "sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A==",
"inBundle": true,
"engines": {
"node": "^12.13.0 || ^14.15.0 || >=16.0.0"
}
},
"node_modules/@npmcli/run-script/node_modules/@npmcli/promise-spawn": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz",
Expand Down Expand Up @@ -9616,7 +9612,7 @@
"@npmcli/metavuln-calculator": "^3.0.1",
"@npmcli/move-file": "^2.0.0",
"@npmcli/name-from-folder": "^1.0.1",
"@npmcli/node-gyp": "^1.0.3",
"@npmcli/node-gyp": "^2.0.0",
"@npmcli/package-json": "^2.0.0",
"@npmcli/run-script": "^3.0.0",
"bin-links": "^3.0.0",
Expand Down Expand Up @@ -10286,9 +10282,9 @@
"@npmcli/installed-package-contents": "^1.0.7",
"@npmcli/map-workspaces": "^2.0.0",
"@npmcli/metavuln-calculator": "^3.0.1",
"@npmcli/move-file": "2.0.0",
"@npmcli/move-file": "^2.0.0",
"@npmcli/name-from-folder": "^1.0.1",
"@npmcli/node-gyp": "^1.0.3",
"@npmcli/node-gyp": "2.0.0",
"@npmcli/package-json": "^2.0.0",
"@npmcli/run-script": "^3.0.0",
"@npmcli/template-oss": "3.2.2",
Expand Down Expand Up @@ -10456,7 +10452,9 @@
"version": "1.0.1"
},
"@npmcli/node-gyp": {
"version": "1.0.3"
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz",
"integrity": "sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A=="
},
"@npmcli/package-json": {
"version": "2.0.0",
Expand Down Expand Up @@ -10485,11 +10483,6 @@
"read-package-json-fast": "^2.0.3"
},
"dependencies": {
"@npmcli/node-gyp": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/@npmcli/node-gyp/-/node-gyp-2.0.0.tgz",
"integrity": "sha512-doNI35wIe3bBaEgrlPfdJPaCpUR89pJWep4Hq3aRdh6gKazIVWfs0jHttvSSoq47ZXgC7h73kDsUl8AoIQUB+A=="
},
"@npmcli/promise-spawn": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/@npmcli/promise-spawn/-/promise-spawn-3.0.0.tgz",
Expand Down
2 changes: 1 addition & 1 deletion workspaces/arborist/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"@npmcli/metavuln-calculator": "^3.0.1",
"@npmcli/move-file": "^2.0.0",
"@npmcli/name-from-folder": "^1.0.1",
"@npmcli/node-gyp": "^1.0.3",
"@npmcli/node-gyp": "^2.0.0",
"@npmcli/package-json": "^2.0.0",
"@npmcli/run-script": "^3.0.0",
"bin-links": "^3.0.0",
Expand Down

0 comments on commit 0e87cac

Please sign in to comment.