Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGar <gar+gh@danger.computer>2021-09-15 21:29:13 +0300
committerGar <gar+gh@danger.computer>2021-10-07 19:07:19 +0300
commita13d9d53ddf3e0f52f4a39fe116653bf40cf99e5 (patch)
treec281324e40798b6e8e1ed53a9a2d55dd8f87b91a /package.json
parent32e163fd10aace69d927dae46d04d64c04e5014b (diff)
feat: drop node 10, 11, and programmatic api
BREAKING CHANGE: - Drop official support for node versions less than v12. - Drop support for `require('npm')` - Update a few subdependencies that dropped node10 support, and brought in the latest node-gyp PR-URL: https://github.com/npm/cli/pull/3762 Credit: @wraithgar Close: #3762 Reviewed-by: @fritzy
Diffstat (limited to 'package.json')
-rw-r--r--package.json26
1 files changed, 13 insertions, 13 deletions
diff --git a/package.json b/package.json
index 3fb2af4ae..bd5675f95 100644
--- a/package.json
+++ b/package.json
@@ -38,7 +38,7 @@
"lib": "./lib",
"man": "./man"
},
- "main": "./lib/npm.js",
+ "main": "./index.js",
"bin": {
"npm": "bin/npm-cli.js",
"npx": "bin/npx-cli.js"
@@ -46,20 +46,20 @@
"exports": {
".": [
{
- "default": "./lib/npm.js"
+ "default": "./index.js"
},
- "./lib/npm.js"
+ "./index.js"
],
"./package.json": "./package.json"
},
"dependencies": {
"@isaacs/string-locale-compare": "^1.1.0",
- "@npmcli/arborist": "^2.9.0",
+ "@npmcli/arborist": "^3.0.0",
"@npmcli/ci-detect": "^1.2.0",
"@npmcli/config": "^2.3.0",
"@npmcli/map-workspaces": "^1.0.4",
"@npmcli/package-json": "^1.0.1",
- "@npmcli/run-script": "^1.8.6",
+ "@npmcli/run-script": "^2.0.0",
"abbrev": "~1.1.1",
"ansicolors": "~0.3.2",
"ansistyles": "~0.1.3",
@@ -80,22 +80,22 @@
"json-parse-even-better-errors": "^2.3.1",
"libnpmaccess": "^4.0.2",
"libnpmdiff": "^2.0.4",
- "libnpmexec": "^2.0.1",
- "libnpmfund": "^1.1.0",
+ "libnpmexec": "^3.0.0",
+ "libnpmfund": "^2.0.0",
"libnpmhook": "^6.0.2",
"libnpmorg": "^2.0.2",
- "libnpmpack": "^2.0.1",
+ "libnpmpack": "^3.0.0",
"libnpmpublish": "^4.0.1",
"libnpmsearch": "^3.1.1",
"libnpmteam": "^2.0.3",
- "libnpmversion": "^1.2.1",
+ "libnpmversion": "^2.0.1",
"make-fetch-happen": "^9.1.0",
"minipass": "^3.1.3",
"minipass-pipeline": "^1.2.4",
"mkdirp": "^1.0.4",
"mkdirp-infer-owner": "^2.0.0",
"ms": "^2.1.2",
- "node-gyp": "^7.1.2",
+ "node-gyp": "^8.2.0",
"nopt": "^5.0.0",
"npm-audit-report": "^2.1.5",
"npm-install-checks": "^4.0.0",
@@ -106,7 +106,7 @@
"npm-user-validate": "^1.0.1",
"npmlog": "^5.0.1",
"opener": "^1.5.2",
- "pacote": "^11.3.5",
+ "pacote": "^12.0.0",
"parse-conflict-json": "^1.1.1",
"qrcode-terminal": "^0.12.0",
"read": "~1.0.7",
@@ -230,13 +230,13 @@
"LC_ALL=sk"
],
"color": 1,
- "files": "test/{lib,bin}",
+ "files": "test/{lib,bin,index.js}",
"coverage-map": "test/coverage-map.js",
"check-coverage": true,
"timeout": 600
},
"license": "Artistic-2.0",
"engines": {
- "node": ">=10"
+ "node": "^12.13.0 || ^14.15.0 || >=16"
}
}