目录
选择命令行版本:
目录
9.9.3 (2024-02-26)
Bug Fixes
88ea8c7
#7010 set objectMode for search filter stream (@lukekarrys)8d9d735
#7010 unpublish: bubble up all errors parsing local package.json (#7049) (@wraithgar)e0e75e5
#7010 unpublish bugfixes (#7039) (@wraithgar)4d59ce1
#7047 reverse direction of SPDX SBOM dep rels (#7047) (@bdehamer, @antonbauhofer)878f22b
#7008 properly catch missing url opener error (@wraithgar)91a8eca
#7008 properly catch missing url opener error on interactive prompt (@wraithgar)
Dependencies
1968e0e
#7010spdx-license-ids@3.0.17
d130576
#7010spdx-exceptions@2.5.0
00f28b8
#7010signal-exit@4.1.0
57096c3
#7010postcss-selector-parser@6.0.15
3ce677e
#7010minipass-fetch@3.0.4
89757ed
#7010is-core-module@2.13.1
bc1e841
#7010socks@2.8.1
01f4049
#7010ignore-walk@6.0.4
15f8982
#7010function-bind@1.1.2
88ff949
#7010cmd-shim@6.0.2
3e298f6
#7010bin-links@4.0.3
35a6286
#7010are-we-there-yet@4.0.2
aeb28c4
#7010agentkeepalive@4.5.0
edc7e23
#7010@npmcli/query@3.1.0
00a3a08
#7010tar@6.2.0
7f424c3
#7010ssri@10.0.5
79b8538
#7010semver@7.6.0
b5faf10
#7010npm-install-checks@6.3.0
2c62266
#7010node-gyp@9.4.1
cc0516b
#7010minipass@7.0.4
651d362
#7010json-parse-even-better-errors@3.0.1
4b239c6
#7010glob@10.3.10
2f65b46
#7010fs-minipass@3.0.3
6c73ddf
#7010diff@5.2.0
73ee6cc
#7010ci-info@4.0.0
64715a4
#7010cacache@17.1.4
- workspace:
@npmcli/arborist@6.5.1
- workspace:
@npmcli/config@6.4.1
- workspace:
libnpmaccess@7.0.3
- workspace:
libnpmdiff@5.0.21
- workspace:
libnpmexec@6.0.5
- workspace:
libnpmfund@4.2.2
- workspace:
libnpmhook@9.0.4
- workspace:
libnpmorg@5.0.5
- workspace:
libnpmpack@5.0.21
- workspace:
libnpmpublish@7.5.2
- workspace:
libnpmsearch@6.0.3
- workspace:
libnpmteam@5.0.4
- workspace:
libnpmversion@4.0.3
Chores
77fa150
#7252 release: do not exclude docs directory from CLI release commits (#7162) (@lukekarrys)1d4c464
#7252@npmcli/template-oss@4.21.3
(@lukekarrys)6780643
#7010 dev dependency updates (@wraithgar)ce701e9
#7048 fix tests for zlib differences between node versions (#7048) (@wraithgar)
9.9.2 (2023-11-14)
Bug Fixes
4c9a5e1
#6993 look in workspace for exec commands (#6993) (@wraithgar)bb6f496
#6992 correctly handle object licenses in SBOM generation (#6992) (@bdehamer, @jamietanna)10db3ca
#6990 pkg: properly output in workspace mode (#6990) (@wraithgar)
Documentation
Dependencies
- Workspace:
libnpmpublish@7.5.1
9.9.1 (2023-10-30)
Bug Fixes
0dba79a
#6942 add back bin/node-gyp-bin/node-gyp files (@lukekarrys)c93edb5
#6932 add backbin/node-gyp-bin/node-gyp
files (@lukekarrys)
Documentation
9.9.0 (2023-10-06)
Features
ecda95a
#6841 add npm sbom command (#6841) (@bdehamer)fdb8a86
#6794 add package-lock-only mode to npm query (@wraithgar)16c04b1
#6877 add no-package-lock mode to npm audit (@wraithgar)66ef765
#6776 Add--cpu
and--os
option to override platform specific install (#6776) (@yukukotani)
Bug Fixes
c9406f7
#6791 deprecate: ignore implicit workspace mode (#6758) (#6791) (@wraithgar)0b1d7c3
#6779 allow searching packages with no description (#6779) (@wraithgar, @lukekarrys)
Documentation
Dependencies
588a245
#6756npm-pick-manifest@8.0.2
a76b1df
#6877sigstore@1.9.0
95b5ab0
#6877npm-install-checks@6.2.0
- Workspace:
@npmcli/arborist@6.5.0
- Workspace:
@npmcli/config@6.4.0
- Workspace:
libnpmdiff@5.0.20
- Workspace:
libnpmexec@6.0.4
- Workspace:
libnpmfund@4.2.1
- Workspace:
libnpmpack@5.0.20
9.8.1 (2023-07-18)
Bug Fixes
38351c9
#6651 warn on autocorrected package.json entries during publish (@wraithgar)02c7ddb
#6642 much clearer npx 'canceled' error (#6642) (@rahulio96, @AaronHamilton965)
Documentation
36bf5fe
#6643 Added steps for using npm/npx locally to CONTRIBUTING.md (#6643) (@AaronHamilton965, @rahulio96)
Dependencies
a0763d3
#6651@npmcli/package-json@4.0.1
24f5a8b
#6653supports-color@9.4.0
f45498b
#6653chalk@5.3.0
44d60eb
#6653minimatch@9.0.3
fc9a843
#6653bin-links@3.0.2
daad9ad
#6653semver@7.5.4
c1ffd6a
#6653 move @npmcli/fs, @npmcli/promise-spawn into dependencies- Workspace:
libnpmexec@6.0.3
9.8.0 (2023-07-05)
Features
67459e7
#6626 addpkg fix
subcommand (@wraithgar)89b2741
#6548 add ps1 scripts (#6548) (@mribbons, @lukekarrys)
Dependencies
b252164
#6626@npmcli/package-json@4.0.0
9238682
#6623sigstore@1.7.0
(#6623)- Workspace:
@npmcli/arborist@6.3.0
- Workspace:
libnpmdiff@5.0.19
- Workspace:
libnpmexec@6.0.2
- Workspace:
libnpmfund@4.0.19
- Workspace:
libnpmpack@5.0.19
- Workspace:
libnpmpublish@7.5.0
9.7.2 (2023-06-21)
Bug Fixes
939a188
#6574 ignore node prereleases in npm engines check (#6574) (@wraithgar)d980405
#6556 better color support detection (#6556) (@lukekarrys)40d7e09
#6555 remove unnecessary package.json values (#6555) (@lukekarrys)3a7378d
#6554 cleanup bin contents (@lukekarrys)e722439
#6497 move all definitions to @npmcli/config package (@lukekarrys)
Documentation
405ffbf
#6557 remove redundant statement about files attribute (#6557) (@DaviDevMod)cd1e6aa
#6551 add flagpackage-lock-only
fornpm install
(#6551) (@m4rch3n1ng)
Dependencies
aebc523
#6585safe-buffer@5.2.1
string_decoder@1.3.0
(#6585)bb6054b
#6573tuf-js@1.1.7
aee4a30
#6573strip-ansi@7.1.0
6105dbc
#6573path-scurry@1.9.2
22d44e8
#6573read-package-json@6.0.4
fdd02fd
#6573jackspeak@2.2.1
7797075
#6573is-core-module@2.12.1
f9780cc
#6573sigstore@1.6.0
72d6a79
#6573semver@7.5.2
98f1f5f
#6573nopt@7.2.0
8710ff8
#6573pacote@15.2.0
0cb539d
#6573node-gyp@9.4.0
39ad586
#6573ini@4.1.1
5e0070c
#6573glob@10.2.7
minimatch@9.0.1
26cf235
#6573cacache@17.1.3
- Workspace:
@npmcli/arborist@6.2.10
- Workspace:
@npmcli/config@6.2.1
- Workspace:
libnpmdiff@5.0.18
- Workspace:
libnpmexec@6.0.1
- Workspace:
libnpmfund@4.0.18
- Workspace:
libnpmpack@5.0.18
- Workspace:
libnpmpublish@7.4.0
9.7.1 (2023-06-06)
Dependencies
9.7.0 (2023-05-31)
Features
a63a6d8
#6490 add provenanceFile option for libnpmpublish (@bdehamer)2a8f4f2
#6490 add new exclusive config item publish-file (@wraithgar)361e194
#6483 implement flag --prefer-dedupe fornpm install
(#6483) (@m4rch3n1ng)
Bug Fixes
38eb39b
#6514 strip ansi characters from search results (#6514) (@wraithgar)4b5ccfc
#6477 make usage and completion static functions (#6477) (@lukekarrys)4f39e8c
#6479 refactor engines validation to lint syntax (#6479) (@lukekarrys)f3cfe12
#6482 remove unused lib/npm relics (#6482) (@lukekarrys)87de0c7
#6472 move explore command to @npmcli/package-json (@wraithgar)636e29e
#6472 move to @npmcli/package-json where possible (@wraithgar)37cc797
#6418 retrieve registry keys via TUF (#6418) (@bdehamer)
Documentation
83cd5bd
#6480 add global option for uninstall (#6480) (@m4rch3n1ng)0400ce3
#6481 add cli params tonpm set
,npm get
(#6481) (@m4rch3n1ng)c3638ce
#6468 removepackage-lock
option fornpm ci
(#6468) (@m4rch3n1ng)
Dependencies
060d587
chalk@5.2.0
,npm-audit-report@5.0.0
fc52ca8
#6472 remove read-package-json-fast3238aa7
#6472 remove read-package-json- Workspace:
@npmcli/config@6.2.0
- Workspace:
libnpmexec@6.0.0
- Workspace:
libnpmpublish@7.3.0
9.6.7 (2023-05-17)
Bug Fixes
9202c7d
#6464 npm cache completion (#6464) (@m4rch3n1ng)6ce99a8
#6461 exit codes in node v20 (#6461) (@MichaelBitard)23c865f
#6434 deprecate ci-name config (#6434) (@wraithgar)
Documentation
Dependencies
afc38a5
#6458cacache@17.1.2
afb936c
#6458tuf-js@1.1.6
f6a0884
#6458readable-stream@4.4.0
858f0ca
#6458postcss-selector-parser@6.0.13
53ecb84
#6458path-scurry@1.9.1
d93f70c
#6458signal-exit@4.0.2
19214b5
#6458@npmcli/package-json@3.1.0
f53e6ff
#6458sigstore@1.5.2
94d6ee7
#6458glob@10.2.4
902cb80
#6458semver@7.5.1
35e2e9a
#6458@npmcli/run-script@6.0.2
- Workspace:
@npmcli/config@6.1.7
- Workspace:
libnpmpublish@7.2.0
9.6.6 (2023-05-03)
Dependencies
70e65b1
#6423tuf-js@1.1.5
(#6423)72291f7
#6416read-package-json@6.0.3
e498f82
#6416minimatch@9.0.0
13aa7b7
#6416minipass@5.0.0
f2a5678
#6416tar@6.1.14
69d4dd2
#6416 npm updateabdca39
#6416sigstore@1.4.0
16f68fb
#6416glob@10.2.2
67fcfb1
#6416ignore-walk@6.0.3
bfa2ff3
#6416make-fetch-happen@11.1.1
877591a
#6416npm-registry-fetch@14.0.5
7630517
#6416pacote@15.1.3
c2d6e0a
#6416write-file-atomic@5.0.1
acdf97e
#6416which@3.0.1
00c541a
#6416ssri@10.0.4
1b95e73
#6416read-package-json@6.0.2
6927fd3
#6416fs-minipass@3.0.2
3eec56e
#6416cacache@17.1.0
7a2ce3f
#6416@npmcli/run-script@6.0.1
3881770
#6416@npmcli/map-workspaces@3.0.4
- Workspace:
@npmcli/arborist@6.2.9
- Workspace:
libnpmdiff@5.0.17
- Workspace:
libnpmexec@5.0.17
- Workspace:
libnpmfund@4.0.17
- Workspace:
libnpmorg@5.0.4
- Workspace:
libnpmpack@5.0.17
- Workspace:
libnpmpublish@7.1.4
9.6.5 (2023-04-19)
Bug Fixes
33dc428
#6374 account for npx package-name with no spec (@wraithgar)82879f6
#6225 lazy loading of arborist and pacote (#6225) (@wraithgar)f4e73ab
#6322 remove incompatible params from ci (#6322) (@wraithgar)c7fe1c7
#6328 save raw data to file, not parsed data (@wraithgar)
Documentation
31214a6
#6381 Update description for publish --provenance flag (#6381) (@feelepxyz)997bcdf
#6329 fix npm cache folder location for windows (#6329) (@charlie-wong)
Dependencies
fae5e00
#6372sigstore@1.3.0
(#6372)3fa9542
#6363semver@7.5.0
e49844e
#6363minipass-fetch@3.0.2
357cc29
#6363walk-up-path@3.0.1
2c80b1e
#6363ini@4.1.0
5933841
#6363minipass@4.2.8
b39d54e
#6363minimatch@7.4.6
201aa5a
#6363ssri@10.0.3
acb9120
#6363read@2.1.0
2472205
#6363npm-registry-fetch@14.0.4
2780714
#6363npm-install-checks@6.1.1
b5af015
#6363make-fetch-happen@11.1.0
14c498d
#6363@npmcli/metavuln-calculator@5.0.1
- Workspace:
@npmcli/arborist@6.2.8
- Workspace:
@npmcli/config@6.1.6
- Workspace:
libnpmdiff@5.0.16
- Workspace:
libnpmexec@5.0.16
- Workspace:
libnpmfund@4.0.16
- Workspace:
libnpmpack@5.0.16
9.6.4 (2023-04-05)
Documentation
54795a3
#6312 filter archives out of version manager search (#6312) (@ljharb)530c285
#6306 remove reference to npm-packlist (#6306) (@staff0rd)
Dependencies
85935ac
#6325ssri@10.0.2
(#6325)f1388b4
#6317 npm update7dd0129
#6317glob@9.3.2
deca335
#6317promise-call-limit@1.0.2
- Workspace:
@npmcli/arborist@6.2.7
- Workspace:
libnpmdiff@5.0.15
- Workspace:
libnpmexec@5.0.15
- Workspace:
libnpmfund@4.0.15
- Workspace:
libnpmpack@5.0.15
9.6.3 (2023-03-30)
Bug Fixes
829503b
#6304 don't break up log message across lines (@wraithgar)1435fcf
#6304 do less work loading ./lib/npm.js (@wraithgar)09b58e4
#6284 make all color output use an npm instance of chalk (#6284) (@lukekarrys)e252532
#6283 do less work looking up commands (#6283) (@wraithgar)6a4bcba
#6275 clean up man sorting (@wraithgar)8a96b65
#6275 ignore ts and map files (@wraithgar)94d2b39
#6271 Do not log warnings about log cleanup when logs_max=0 (#6271) (@jmealo)2def359
#6277 updated ebadplatform messaging to be generated based on the error (#6277) (@nlf)
Documentation
1e2eb81
#6311 replace version manager list with a github search (#6311) (@wraithgar)9d2be4e
#6289 remove npm bin link (#6289) (@KevinRouchut)
Dependencies
e652dbd
#6308minimatch@7.4.3
(#6308)01986d1
#6307sigstore@1.2.0
(#6307)ea12627
#6275minimatch@7.4.2
ec3e020
#6275glob@9.3.1
952fbed
#6275read-package-json@6.0.1
dd43d30
#6275parse-conflict-json@3.0.1
d5ce7ca
#6275npm-install-checks@6.1.0
704cd1e
#6275nopt@7.1.0
a6da22a
#6275ignore-walk@6.0.2
55955fd
#6275cacache@17.0.5
839b670
#6275@npmcli/map-workspaces@3.0.3
9a7b8e8
#6275@npmcli/git@4.0.4
57c0a55
#6275 npm update74c80f5
#6275minipass@4.2.5
b174c90
#6275graceful-fs@4.2.11
- Workspace:
@npmcli/arborist@6.2.6
- Workspace:
@npmcli/config@6.1.5
- Workspace:
libnpmdiff@5.0.14
- Workspace:
libnpmexec@5.0.14
- Workspace:
libnpmfund@4.0.14
- Workspace:
libnpmpack@5.0.14
- Workspace:
libnpmpublish@7.1.3
9.6.2 (2023-03-14)
Bug Fixes
Dependencies
9.6.1 (2023-03-08)
Bug Fixes
e455e3f
#6211 send options with grant/revoke requests (#6211) (@DavidTanner)e4de224
#6220 clean uri from audit error (#6220) (@wraithgar)
Dependencies
cb45b21
#6231 npm update1f60a7e
#6231minipass@4.2.4
- Workspace:
@npmcli/arborist@6.2.5
- Workspace:
libnpmdiff@5.0.13
- Workspace:
libnpmexec@5.0.13
- Workspace:
libnpmfund@4.0.13
- Workspace:
libnpmpack@5.0.13
- Workspace:
libnpmpublish@7.1.1
9.6.0 (2023-03-02)
Features
Bug Fixes
c4c8754
audit: add signatures to completion (@wraithgar)fc46489
access: only complete once (@wraithgar)b43961a
cmd-list: alias only to real commands (@wraithgar)
Documentation
Dependencies
71ae406
#6218@npmcli/installed-package-contents@2.0.2
- Workspace:
@npmcli/arborist@6.2.4
- Workspace:
libnpmdiff@5.0.12
- Workspace:
libnpmexec@5.0.12
- Workspace:
libnpmfund@4.0.12
- Workspace:
libnpmpack@5.0.12
9.5.1 (2023-02-22)
Documentation
Dependencies
7ba3e17
#6189 npm updatef7a5200
pacote@15.1.1
- Workspace:
@npmcli/arborist@6.2.3
- Workspace:
libnpmdiff@5.0.11
- Workspace:
libnpmexec@5.0.11
- Workspace:
libnpmfund@4.0.11
- Workspace:
libnpmpack@5.0.11
9.5.0 (2023-02-14)
Features
79bfd03
#6153 audit signatures verifies attestations (@feelepxyz)5fc6473
add provenance attestation (@bdehamer)
Bug Fixes
53f75a4
#6158 gracefully fallback from auth-type=web (#6158) (@MylesBorins)ed59aae
#6162 refactor error reporting in audit command (@bdehamer)
Dependencies
fad0473
minipass@4.0.3
678c6bf
minimatch@6.2.0
9b4b366
ci-info@3.8.0
d20ee2a
pacote@15.1.0
- Workspace:
libnpmpublish@7.1.0
- Workspace:
libnpmteam@5.0.3
9.4.2 (2023-02-07)
Bug Fixes
Documentation
Dependencies
cb6713d
#6143 rebuild package-lock (#6143)8200f4f
#6133ignore-walk@6.0.1
d43f881
map-workspaces@3.0.2
99457f1
minimatch@6.1.6
f4c8c62
init-package-json@5.0.0
3c6615f
npm-user-validate@2.0.0
10445ca
remove mkdirpab82492
node-gyp@9.3.1
74c5cbb
minipass@4.0.2
1138038
make-fetch-happen@11.0.3
c1ccfa1
glob@8.1.0
3dc17ce
fs-minipass@3.0.1
5c84a99
ci-info@3.7.1
fc5332f
read@2.0.0
- Workspace:
@npmcli/arborist@6.2.2
- Workspace:
@npmcli/config@6.1.3
- Workspace:
libnpmdiff@5.0.10
- Workspace:
libnpmexec@5.0.10
- Workspace:
libnpmfund@4.0.10
- Workspace:
libnpmhook@9.0.3
- Workspace:
libnpmorg@5.0.3
- Workspace:
libnpmpack@5.0.10
- Workspace:
libnpmpublish@7.0.8
9.4.1 (2023-02-01)
Bug Fixes
Dependencies
721fe3f
#6118read-package-json-fast@3.0.2
6e4a649
pacote@15.0.8
1820afe
cacache@17.0.4
24b2ec4
@npmcli/promise-spawn@6.0.2
4b8046e
@npmcli/name-from-folder@2.0.0
1d4be7a
@npmcli/map-workspaces@3.0.1
a39556f
@npmcli/template-oss@4.11.3
64b06ed
#6115http-cache-semantics@4.1.1
- Workspace:
@npmcli/arborist@6.2.1
- Workspace:
@npmcli/config@6.1.2
- Workspace:
libnpmaccess@7.0.2
- Workspace:
libnpmdiff@5.0.9
- Workspace:
libnpmexec@5.0.9
- Workspace:
libnpmfund@4.0.9
- Workspace:
libnpmhook@9.0.2
- Workspace:
libnpmorg@5.0.2
- Workspace:
libnpmpack@5.0.9
- Workspace:
libnpmpublish@7.0.7
- Workspace:
libnpmsearch@6.0.2
- Workspace:
libnpmteam@5.0.2
- Workspace:
libnpmversion@4.0.2
9.4.0 (2023-01-25)
Features
Dependencies
- Workspace:
@npmcli/arborist@6.2.0
- Workspace:
libnpmdiff@5.0.8
- Workspace:
libnpmexec@5.0.8
- Workspace:
libnpmfund@4.0.8
- Workspace:
libnpmpack@5.0.8
9.3.1 (2023-01-13)
Bug Fixes
8be672b
#6050 don't try to deprecate nonexistant versions (#6050) (@wraithgar)1c3612c
#6054 use recursive rm in ci command (#6054) (@jamesshaw1987, @burkel24)
9.3.0 (2023-01-12)
Features
Bug Fixes
cf175fb
#6044 default auth-type to legacy if otp is configured (#6044) (@wraithgar)2383deb
#6037 clean urls from arborist, owner, and ping commands (#6037) (@lukekarrys)69f5ff8
view: convert command to use output instead of console (@lukekarrys)dc52222
init: write package.json workspaces paths with / separators (@lukekarrys)31af1aa
refactorhelp
to use@npmcli/promise-spawn
(@lukekarrys)669ef94
fund: correctly parse and usewhich
config (@lukekarrys)72e6d6f
generate workspace support for docs pages (@lukekarrys)450e50f
evaluate configs in command class (@lukekarrys)28ec922
#5946 replace rimraf with fs.rm (@lukekarrys)
Documentation
f0038e5
#6048 missing backtick in synopsis of npm init (#5837) (#6048) (@Peallyz)ca8ff00
#6045 update outdated file path to definitions.js (@ericmutta)fe9debd
#6038 fix typos in definitions.js (#6038) (@lukekarrys, @ericmutta)fa27aca
#6018 fix typo in removal.md (@ericmutta)82f69d9
#6026 fix typo in registry.md (@ericmutta)
Dependencies
ec09474
#5945minipass-fetch@3.0.1
- Workspace:
@npmcli/arborist@6.1.6
- Workspace:
@npmcli/config@6.1.1
- Workspace:
libnpmdiff@5.0.7
- Workspace:
libnpmexec@5.0.7
- Workspace:
libnpmfund@4.0.7
- Workspace:
libnpmpack@5.0.7
9.2.0 (2022-12-07)
Features
Bug Fixes
Dependencies
2f2b146
#5936npm-packlist@7.0.4
(#5936)372d158
#5935minimatch@5.1.1
(#5935)0e6c28b
#5934ci-info@3.7.0
(#5934)0a3fe00
#5933minipass@4.0.0
6b77340
tar@6.1.13
cf0a174
ssri@10.0.1
3da9a1a
pacote@15.0.7
fee9b66
npm-registry-fetch@14.0.3
e940917
cacache@17.0.3
875bd56
npm-package-arg@10.1.0
280b7a4
#5927npm-packlist@7.0.3
- Workspace:
@npmcli/arborist@6.1.5
- Workspace:
libnpmaccess@7.0.1
- Workspace:
libnpmdiff@5.0.6
- Workspace:
libnpmexec@5.0.6
- Workspace:
libnpmfund@4.0.6
- Workspace:
libnpmhook@9.0.1
- Workspace:
libnpmorg@5.0.1
- Workspace:
libnpmpack@5.0.6
- Workspace:
libnpmpublish@7.0.6
- Workspace:
libnpmsearch@6.0.1
- Workspace:
libnpmteam@5.0.1
9.1.3 (2022-11-30)
Bug Fixes
ffbdea2
#5894 npm pack filename on scoped packages (#5894) (@HenryNguyen5)c26d708
#5884 validate username at get-identity (#5884) (@sosoba, @nlf)
Documentation
ea948dc
#5881 update description of npm exec (#5881) (@styfle, @wraithgar)40f2c21
#5865 ci-info url (#5865) (@wraithgar)681a45b
#5875 run the comand for directory workspaces (#5875) (@1aron)681a45b
#5875 add workspace directory example (#5875) (@1aron)
Dependencies
- Workspace:
@npmcli/arborist@6.1.4
- Workspace:
libnpmdiff@5.0.5
- Workspace:
libnpmexec@5.0.5
- Workspace:
libnpmfund@4.0.5
- Workspace:
libnpmpack@5.0.5
- Workspace:
libnpmpublish@7.0.5
9.1.2 (2022-11-16)
Bug Fixes
Dependencies
a351685
#5858 move from @npmcli/ci-detect to ci-info (#5858)- Workspace:
@npmcli/arborist@6.1.3
- Workspace:
libnpmdiff@5.0.4
- Workspace:
libnpmexec@5.0.4
- Workspace:
libnpmfund@4.0.4
- Workspace:
libnpmpack@5.0.4
- Workspace:
libnpmpublish@7.0.4
9.1.1 (2022-11-09)
Documentation
Dependencies
335c7e4
#5813cacache@17.0.2
878ddfb
@npmcli/fs@3.1.0
- Workspace:
@npmcli/arborist@6.1.2
- Workspace:
libnpmdiff@5.0.3
- Workspace:
libnpmexec@5.0.3
- Workspace:
libnpmfund@4.0.3
- Workspace:
libnpmpack@5.0.3
- Workspace:
libnpmpublish@7.0.3
9.1.0 (2022-11-02)
Features
Bug Fixes
1f5382d
#5789 don't setstdioString
for any spawn/run-script calls (@lukekarrys)8fd614a
use promiseSpawn.open instead of opener (@nlf)41843ad
use an absolute path to notepad.exe by default, correct docs (@nlf)0c5834e
#5758 use hosted-git-info to parse registry urls (#5758) (@lukekarrys)
Documentation
Dependencies
b89c19e
#5795cli-table3@0.6.3
6b6dfca
fastest-levenshtein@1.0.16
9972ed1
@npmcli/ci-detect@3.0.1
024e612
abbrev@2.0.0
66f9bcd
nopt@7.0.0
5730d17
tar@6.1.12
2fef570
node-gyp@9.3.0
abfb28b
@npmcli/run-script@6.0.0
205e2fd
pacote@15.0.6
ac25863
remove opener,@npmcli/promise-spawn@6.0.1
,@npmcli/run-script@5.1.1
,@npmcli/git@4.0.3
,pacote@15.0.5
,which@3.0.0
- Workspace:
@npmcli/arborist@6.1.1
- Workspace:
@npmcli/config@6.1.0
- Workspace:
libnpmdiff@5.0.2
- Workspace:
libnpmexec@5.0.2
- Workspace:
libnpmfund@4.0.2
- Workspace:
libnpmpack@5.0.2
- Workspace:
libnpmpublish@7.0.2
- Workspace:
libnpmversion@4.0.1
9.0.1 (2022-10-26)
Documentation
Dependencies
de6618e
#5757@npmcli/promise-spawn@5.0.0
(#5757)5625274
#5755hosted-git-info@6.1.0
(#5755)32bdd68
#5754npm-packlist@7.0.2
(#5754)- Workspace:
@npmcli/arborist@6.1.0
- Workspace:
libnpmdiff@5.0.1
- Workspace:
libnpmexec@5.0.1
- Workspace:
libnpmfund@4.0.1
- Workspace:
libnpmpack@5.0.1
- Workspace:
libnpmpublish@7.0.1
9.0.0 (2022-10-19)
Features
Dependencies
- Workspace:
@npmcli/arborist@6.0.0
- Workspace:
libnpmaccess@7.0.0
- Workspace:
libnpmdiff@5.0.0
- Workspace:
libnpmexec@5.0.0
- Workspace:
libnpmfund@4.0.0
- Workspace:
libnpmhook@9.0.0
- Workspace:
libnpmorg@5.0.0
- Workspace:
libnpmpack@5.0.0
- Workspace:
libnpmpublish@7.0.0
- Workspace:
libnpmsearch@6.0.0
- Workspace:
libnpmteam@5.0.0
- Workspace:
libnpmversion@4.0.0
9.0.0-pre.6 (2022-10-19)
⚠️ BREAKING CHANGES
npm
now outputs some json errors on stdout. Previouslynpm
would output all json formatted errors on stderr, making it difficult to parse as the stderr stream usually has logs already written to it. In the future,npm
will differentiate between errors and crashes. Errors, such asE404
andERESOLVE
, will be handled and will continue to be output on stdout. In the case of a crash,npm
will log the error as usual but will not attempt to display it as json, even in--json
mode. Moving a case from the category of an error to a crash will not be considered a breaking change. For more information see npm/rfcs#482.npm config set
will no longer accept deprecated or invalid config options.timing
andloglevel
changestiming
has been removed as a value for--loglevel
--timing
will show timing information regardless of--loglevel
, except when--silent
- deprecate boolean install flags in favor of
--install-strategy
- deprecate --global-style, --global now sets --install-strategy=shallow
- deprecate --legacy-bundling, now sets --install-strategy=nested
- npm will no longer attempt to modify ownership of files it creates
- this package no longer attempts to change file ownership automatically
- this package no longer attempts to change file ownership automatically
Features
d3543e9
output json formatted errors on stdout (#5716) (@lukekarrys)be642c6
refuse to set deprecated/invalid config (#5719) (@wraithgar)332914b
separate configs for--timing
and--loglevel
(@lukekarrys)f653785
deprecatedkey
,cert
config options and updated registry scoped auth docs (@fritzy)de2d33f
add --install-strategy=hoisted|nested|shallow, deprecate --global-style, --legacy-bundling (#5709) (@fritzy)58065bc
#5704 do not alter file ownership (@nlf)475e9b6
#5703 do not alter file ownership (@nlf)
Bug Fixes
6ffa5b7
npm hook ls
duplicates hook name prefixes (#5295) (@gennadiygashev)1afe5ba
account for new npm-package-arg behavior (@wraithgar)353b5bb
#5710 remove chownr and mkdirp-infer-owner (@nlf)
Documentation
9e74d3e
update supported engines in readme (#5725) (@lukekarrys)
Dependencies
88137a3
npmlog@7.0.1
2008ea6
npm-package-arg@10.0.0
,pacote@15.0.2
aa01072
#5707 update the following dependencies- Workspace:
@npmcli/arborist@6.0.0-pre.5
- Workspace:
libnpmaccess@7.0.0-pre.2
- Workspace:
libnpmdiff@5.0.0-pre.3
- Workspace:
libnpmexec@5.0.0-pre.5
- Workspace:
libnpmfund@4.0.0-pre.5
- Workspace:
libnpmhook@9.0.0-pre.1
- Workspace:
libnpmorg@5.0.0-pre.1
- Workspace:
libnpmpack@5.0.0-pre.4
- Workspace:
libnpmpublish@7.0.0-pre.4
- Workspace:
libnpmsearch@6.0.0-pre.1
- Workspace:
libnpmteam@5.0.0-pre.1
- Workspace:
libnpmversion@4.0.0-pre.1
9.0.0-pre.5 (2022-10-13)
⚠️ BREAKING CHANGES
- the presence of auth related settings that are not scoped to a specific registry found in a config file is no longer supported and will throw errors
- the
node-version
andnpm-version
configs have been removed. - links generated from git urls will now use
HEAD
instead ofmaster
as the default ref
Features
a09e19d
#5696 introduce thenpm config fix
command (@nlf)d2963c6
explicitly validate config within the cli (@nlf)a5fec08
rewrite docs generation (@lukekarrys)
Bug Fixes
Documentation
a8532eb
#5661 typo missing parentheses (@hbrls)542efdb
updatefolders
page for modern npm (@shalvah)
Dependencies
cee3fd9
@npmcli/config@5.0.0
2a740b1
#5692hosted-git-info@6.0.0
- Workspace:
libnpmpack@5.0.0-pre.3
- Workspace:
libnpmpublish@7.0.0-pre.3
9.0.0-pre.4 (2022-10-05)
Features
Bug Fixes
e4e8ae2
libnpmpack: obey foregroundScripts (@winterqt)07fabc9
#5633npm link
should override--install-links
(#5633) (@fritzy)02fcbb6
#5634 ensure Arborist constructor gets passed around everywhere for pacote (#5634) (@nlf)
Documentation
f37caad
#5606 accurately describe install-links effect on relative paths (#5606) (@lukekarrys)97c32ed
#5637 remove link to cache command (#5637) (@wraithgar)130bc9f
#5626 Remove circular reference (#5626) (@giovanniPepi)
Dependencies
5344d2c
#5644pacote@14.0.0
6a43b31
@npmcli/metavuln-calculator@4.0.0
501f8ca
#5640semver@7.3.8
(#5640)8b072dc
#5639@npmcli/ci-detect@3.0.0
(#5639)1ebbb44
#5638npm-profile@7.0.0
(#5638)- Workspace:
@npmcli/arborist@6.0.0-pre.4
- Workspace:
libnpmdiff@5.0.0-pre.2
- Workspace:
libnpmexec@5.0.0-pre.4
- Workspace:
libnpmfund@4.0.0-pre.4
- Workspace:
libnpmpack@5.0.0-pre.2
- Workspace:
libnpmpublish@7.0.0-pre.2
9.0.0-pre.3 (2022-09-30)
⚠️ BREAKING CHANGES
npm pack
now follows a strict order of operations when applying ignore rules. If a files array is present in the package.json, then rules in .gitignore and .npmignore files from the root will be ignored.--timing
file changes:- When run with the
--timing
flag,npm
now writes timing data to a file alongside the debug log data, respecting thelogs-dir
option and falling back to<CACHE>/_logs/
dir, instead of directly inside the cache directory. - The timing file data is no longer newline delimited JSON, and instead each run will create a uniquely named
<ID>-timing.json
file, with the<ID>
portion being the same as the debug log. - Finally, the data inside the file now has three top level keys,
metadata
,timers, and
unfinishedTimers` instead of everything being a top level key.
- When run with the
Features
3ae796d
implement newnpm-packlist
behavior (@lukekarrys)e64d69a
#5581 write eresolve error files to the logs directory (@lukekarrys)3445da0
timings are now written alongside debug log files (@lukekarrys)
Documentation
Dependencies
bc21552
#5603npm-package-arg@9.1.2
- Workspace:
@npmcli/arborist@6.0.0-pre.3
- Workspace:
libnpmdiff@5.0.0-pre.1
- Workspace:
libnpmexec@5.0.0-pre.3
- Workspace:
libnpmfund@4.0.0-pre.3
- Workspace:
libnpmpack@5.0.0-pre.1
- Workspace:
libnpmpublish@7.0.0-pre.1
9.0.0-pre.2 (2022-09-23)
⚠️ BREAKING CHANGES
- the default
auth-type
config value is nowweb
login
,adduser
, andauth-type
changes- This removes all
auth-type
configs exceptweb
andlegacy
. login
andadduser
are now separate commands that send different data to the registry.auth-type
config valuesweb
andlegacy
only try their respective methods, npm no longer tries them all and waits to see which one doesn't fail.
- This removes all
Features
66ed584
#5551 default auth-type to web (#5551) (@wraithgar)6ee5b32
query: displayqueryContext
in results (@nlf)314311c
#5550 separate login/adduser, remove auth types (#5550) (@wraithgar)
Bug Fixes
0d90a01
#5480 audit: add a condition to allow third-party registries returning E400 (#5480) (@juanheyns, Juan Heyns)
Documentation
2d756cb
#5527 add instruction to query objects with npm view (#5527) (@moonith)8743366
#5519 add hash to "tag" config link (#5519) (@mrienstra, @lukekarrys)5645c51
#5521 link mentions of config parameters (#5521) (@mrienstra)19762b4
#5529 modify Misleading doc about bins (@Hafizur046)19762b4
#5529 modify misleading doc about package.json:bin (#5529) (@Hafizur046)8402fd8
#5547 add:outdated
pseudo selector to docs (@nlf)
Dependencies
d030f10
@npmcli/query@2.0.0
- Workspace:
@npmcli/arborist@6.0.0-pre.2
- Workspace:
libnpmexec@5.0.0-pre.2
- Workspace:
libnpmfund@4.0.0-pre.2
9.0.0-pre.1 (2022-09-14)
⚠️ BREAKING CHANGES
- renames most of the
npm access
subcommands - the api for libnpmaccess is different now
Features
Bug Fixes
c3d7549
add tag to publish log message (@wraithgar)
Documentation
fd0eebe
update registry docs header (@hughlilly)
Dependencies
- Workspace:
@npmcli/arborist@6.0.0-pre.1
- Workspace:
libnpmaccess@7.0.0-pre.1
- Workspace:
libnpmexec@5.0.0-pre.1
- Workspace:
libnpmfund@4.0.0-pre.1
9.0.0-pre.0 (2022-09-08)
⚠ BREAKING CHANGES
- workspaces: all workspace packages are now compatible with the following semver range for node:
^14.17.0 || ^16.13.0 || >=18.0.0
- this removes the
npm birthday
command - this removes
npm set-script
- this changes the default value of
install-links
to true - this removes the
npm bin
command npm
is now compatible with the following semver range for node:^14.17.0 || ^16.13.0 || >=18.0.0
Features
e95017a
#5485 feat(workspaces): update supported node engines in package.json (@lukekarrys)49bbb2f
#5455 feat: removenpm birthday
(@wraithgar)926f0ad
#5456 feat: removenpm set-script
(@wraithgar)2a8c2fc
#5458 feat: defaultinstall-links
to true (@wraithgar)2e92800
#5459 feat: removenpm bin
(@wraithgar)457d388
#5475 feat: update supported node engines in package.json (@wraithgar)
Bug Fixes
Documentation
7fc2b6f
#5468 docs: remove duplicate description forprepare
script (@kidonng)285b39f
#5324 docs: add documentation for expanded :semver selector (@nlf)
Dependencies
- The following workspace dependencies were updated
- dependencies
- @npmcli/arborist bumped from ^5.6.1 to ^6.0.0-pre.0
- libnpmaccess bumped from ^6.0.4 to ^7.0.0-pre.0
- libnpmdiff bumped from ^4.0.5 to ^5.0.0-pre.0
- libnpmexec bumped from ^4.0.12 to ^5.0.0-pre.0
- libnpmfund bumped from ^3.0.3 to ^4.0.0-pre.0
- libnpmhook bumped from ^8.0.4 to ^9.0.0-pre.0
- libnpmorg bumped from ^4.0.4 to ^5.0.0-pre.0
- libnpmpack bumped from ^4.1.3 to ^5.0.0-pre.0
- libnpmpublish bumped from ^6.0.5 to ^7.0.0-pre.0
- libnpmsearch bumped from ^5.0.4 to ^6.0.0-pre.0
- libnpmteam bumped from ^4.0.4 to ^5.0.0-pre.0
- libnpmversion bumped from ^3.0.7 to ^4.0.0-pre.0
- dependencies
npm 中文网 - 粤ICP备13048890号