diff --git a/node_modules/nopt/lib/debug.js b/node_modules/nopt/lib/debug.js index e62198eb92e9a..544ab382ca85c 100644 --- a/node_modules/nopt/lib/debug.js +++ b/node_modules/nopt/lib/debug.js @@ -1,4 +1,5 @@ /* istanbul ignore next */ module.exports = process.env.DEBUG_NOPT || process.env.NOPT_DEBUG + // eslint-disable-next-line no-console ? (...a) => console.error(...a) : () => {} diff --git a/node_modules/nopt/package.json b/node_modules/nopt/package.json index 01b7de8fed934..37b770ad48771 100644 --- a/node_modules/nopt/package.json +++ b/node_modules/nopt/package.json @@ -1,12 +1,12 @@ { "name": "nopt", - "version": "7.2.0", + "version": "7.2.1", "description": "Option parsing for Node, supporting types, shorthands, etc. Used by npm.", "author": "GitHub Inc.", "main": "lib/nopt.js", "scripts": { "test": "tap", - "lint": "eslint \"**/*.js\"", + "lint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\"", "postlint": "template-oss-check", "template-oss-apply": "template-oss-apply --force", "lintfix": "npm run lint -- --fix", @@ -15,7 +15,7 @@ }, "repository": { "type": "git", - "url": "https://github.com/npm/nopt.git" + "url": "git+https://github.com/npm/nopt.git" }, "bin": { "nopt": "bin/nopt.js" @@ -26,7 +26,7 @@ }, "devDependencies": { "@npmcli/eslint-config": "^4.0.0", - "@npmcli/template-oss": "4.15.1", + "@npmcli/template-oss": "4.22.0", "tap": "^16.3.0" }, "tap": { @@ -45,7 +45,7 @@ "templateOSS": { "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.", "windowsCI": false, - "version": "4.15.1", + "version": "4.22.0", "publish": true } } diff --git a/package-lock.json b/package-lock.json index 5fa5a37ca22d2..40994e28f5181 100644 --- a/package-lock.json +++ b/package-lock.json @@ -128,7 +128,7 @@ "minipass-pipeline": "^1.2.4", "ms": "^2.1.2", "node-gyp": "^10.1.0", - "nopt": "^7.2.0", + "nopt": "^7.2.1", "normalize-package-data": "^6.0.0", "npm-audit-report": "^5.0.0", "npm-install-checks": "^6.3.0", @@ -8754,10 +8754,11 @@ "dev": true }, "node_modules/nopt": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.0.tgz", - "integrity": "sha512-CVDtwCdhYIvnAzFoJ6NJ6dX3oga9/HyciQDnG1vQDjSLMeKLJ4A93ZqYKDrgYSr1FBY5/hMYC+2VCi24pgpkGA==", + "version": "7.2.1", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-7.2.1.tgz", + "integrity": "sha512-taM24ViiimT/XntxbPyJQzCG+p4EKOpgD3mxFwW38mGjVUrfERQOeY4EDHjdnptttfHuHQXFx+lTP08Q+mLa/w==", "inBundle": true, + "license": "ISC", "dependencies": { "abbrev": "^2.0.0" }, @@ -14803,7 +14804,7 @@ "json-parse-even-better-errors": "^3.0.2", "json-stringify-nice": "^1.1.4", "minimatch": "^9.0.4", - "nopt": "^7.0.0", + "nopt": "^7.2.1", "npm-install-checks": "^6.2.0", "npm-package-arg": "^11.0.2", "npm-pick-manifest": "^9.0.0", @@ -14845,7 +14846,7 @@ "@npmcli/map-workspaces": "^3.0.2", "ci-info": "^4.0.0", "ini": "^4.1.2", - "nopt": "^7.0.0", + "nopt": "^7.2.1", "proc-log": "^4.2.0", "read-package-json-fast": "^3.0.2", "semver": "^7.3.5", diff --git a/package.json b/package.json index 2d0b37f96b286..e2e2e9ba5d81c 100644 --- a/package.json +++ b/package.json @@ -93,7 +93,7 @@ "minipass-pipeline": "^1.2.4", "ms": "^2.1.2", "node-gyp": "^10.1.0", - "nopt": "^7.2.0", + "nopt": "^7.2.1", "normalize-package-data": "^6.0.0", "npm-audit-report": "^5.0.0", "npm-install-checks": "^6.3.0", diff --git a/workspaces/arborist/package.json b/workspaces/arborist/package.json index 09b94da358f16..7be5181189abe 100644 --- a/workspaces/arborist/package.json +++ b/workspaces/arborist/package.json @@ -21,7 +21,7 @@ "json-parse-even-better-errors": "^3.0.2", "json-stringify-nice": "^1.1.4", "minimatch": "^9.0.4", - "nopt": "^7.0.0", + "nopt": "^7.2.1", "npm-install-checks": "^6.2.0", "npm-package-arg": "^11.0.2", "npm-pick-manifest": "^9.0.0", diff --git a/workspaces/config/package.json b/workspaces/config/package.json index af16aba48d5e8..f7083fbb78809 100644 --- a/workspaces/config/package.json +++ b/workspaces/config/package.json @@ -39,7 +39,7 @@ "@npmcli/map-workspaces": "^3.0.2", "ci-info": "^4.0.0", "ini": "^4.1.2", - "nopt": "^7.0.0", + "nopt": "^7.2.1", "proc-log": "^4.2.0", "read-package-json-fast": "^3.0.2", "semver": "^7.3.5",