选择 CLI 版本:

10.4.0 (2024-01-24)

Features

  • 35a098c #7175 display tree diff on --long (@wraithgar)
  • dffca29 #7174 format: print --dry-run diffs in table format (#7174) (@ritaaktay)
  • 6d5f9ac #7133 dedupe - display difference when --dry-run is enabled (#7133) (@Blaumaus)

Bug Fixes

  • ec06f77 #7175 inline diff table code w/ summary code (@wraithgar)
  • d4ebfba #7157 use util.stripVTControlCharacters instead of strip-ansi (@wraithgar)
  • 81c95c7 #7063 don't reset update notifier duration on every check (#7063) (@wraithgar)

Documentation

  • 2b7eaad #7168 package-json: Reword warning about publishing local dependencies (#7168) (@DanKaplanSES)
  • 67ab0f7 #7142 update: Replace comma with period in run on sentence (#7142) (@DanKaplanSES)
  • 05c69dc #7150 config: State default configuration file affected by npm config set (#7150) (@DanKaplanSES)
  • 44f4518 #7149 Link to the config command in the npm configuration description (#7149) (@DanKaplanSES)
  • dd5699f #7152 update: Fix a typo and remove unneeded statement (#7152) (@DanKaplanSES)

Dependencies

Chores

  • a82ccc5 #7173 nock@13.5.0 (@wraithgar)
  • dcaa99c #7173 fix exec test (@wraithgar)
  • 0d96080 #7162 release: do not exclude docs directory from CLI release commits (#7162) (@lukekarrys)

10.3.0 (2024-01-10)

Features

  • 6673c77 #6914 add --libc option to override platform specific install (#6914) (@wraithgar, @Brooooooklyn)

Bug Fixes

  • b7fc10a #7113 filter C0 and C1 control characters from logs and cli output (#7113) (@wraithgar)

Dependencies

Chores

10.2.5 (2023-12-06)

Bug Fixes

  • c7a592c #7061 dont use cache for update notifier manifest request (@lukekarrys)
  • 7b952f6 #7049 unpublish: bubble up all errors parsing local package.json (#7049) (@wraithgar)
  • be4741f #7039 unpublish bugfixes (#7039) (@wraithgar)
  • bc7f53d #7036 reverse direction of SPDX SBOM dependency rels (#7036) (@bdehamer, @antonbauhofer)
  • 11ec231 #7033 skip creation of log directory if logs-max is set to 0 (#7033) (@JJ)
  • 6267f54 #7005 properly catch missing url opener error on interactive prompt (#7005) (@wraithgar)

Dependencies

Chores

10.2.4 (2023-11-14)

Bug Fixes

  • cd291e7 #6995 refactor search formatting code (#6995) (@wraithgar)
  • f3a7380 #6973 look in workspace for exec commands (#6973) (@wraithgar)
  • d11496b #6977 pkg: properly output in workspace mode (#6977) (@wraithgar)
  • 0f70088 #6969 correctly handle object licenses in SBOM generation (#6969) (@jamietanna)
  • dce3b08 #6951 properly catch missing url opener error (#6951) (@wraithgar)

Documentation

  • a38836c #6616 add path usage for view command (#6616) (@RobinKnipe)
  • da18e4f #6987 update npm-prune description (#6987) (@Eomm)

Dependencies

10.2.3 (2023-11-02)

Dependencies

10.2.2 (2023-10-31)

Bug Fixes

  • 8ed6d28 #6910 make npm link respect --no-save (#6910) (@Santoshraj2)
  • eacec5f #6941 add back bin/node-gyp-bin/node-gyp files (#6941) (@lukekarrys)
  • b776753 #6928 Grammar mistake in authentication error message (#6928) (@Gekuro, gek)

Documentation

  • c422a01 #6924 use markdown links instead of html (@lukekarrys)
  • dd03aa0 #6921 add v9 and above for lockfile version 3 (#6921) (@MikeMcC399)

Dependencies

10.2.1 (2023-10-18)

Bug Fixes

  • 35c92fe #6902 Add check to pkg command to deal with empty values (#6902) (@NeonArray)
  • 5b6172f #6895 logout from custom registry (@wraithgar)
  • 8423d4f #6895 delete auth from proper location on logout (@wraithgar)
  • 0cfe9de #6873 audit: spelling error in message (#6873) (@Fdawgs)

Documentation

  • 5142735 #6894 update npm build description (#6894) (@siemhesda)
  • 2e4b4ad #6861 npm publish content modification (#6861) (@jpg619)

Dependencies

10.2.0 (2023-10-02)

Features

  • 7c459d2 #6801 add npm sbom command (#6801) (@bdehamer)
  • 81a460f #6732 add package-lock-only mode to npm query (@wraithgar)
  • 0d29855 #6732 add no-package-lock mode to npm audit (@wraithgar)

Bug Fixes

  • 2207628 #6823 use strip-ansi module instead of internal regex (#6823) (@wraithgar)
  • d46d052 #6798 tolerate null bugs URLs (#6798) (@vladh)
  • fb1b674 #6758 deprecate: ignore implicit workspace mode (#6758) (@wraithgar)

Documentation

  • 68031f2 #6844 update CONTRIBUTING.md to prevent errors (#6844) (@darcyclarke)
  • 3ac703c #6831 add includeparam to commands that have omit param (#6831) (@siemhesda)
  • 03912db #6819 add init-specific params to init docs/help (#6819) (@wraithgar)
  • 8088325 #6800 Update npm-doctor.md (#6800) (@siemhesda)

Dependencies

10.1.0 (2023-09-08)

Features

  • 1c93c44 #6755 Add --cpu and --os option to override platform specific install (#6755) (@yukukotani)

Bug Fixes

  • 7bf2374 #6762 make $npm_execpath always point to npm (@rotu)

Documentation

  • 09d8e0a #6759 fix versions of node.js in readme (#6759) (@JoaoOtavioS)

Dependencies

10.0.0 (2023-08-31)

Features

  • 48a7b07 remove prerelease flags (@lukekarrys)

Dependencies

10.0.0-pre.1 (2023-08-31)

⚠️ BREAKING CHANGES

  • support for node <=16.13 has been removed
  • support for node 14 has been removed
  • support for node 14 has been removed
  • support for node 14 has been removed
  • support for node 14 has been removed
  • support for node 14 has been removed
  • support for node 14 has been removed
  • support for node 14 has been removed
  • support for node 14 has been removed
  • support for node 14 has been removed
  • support for node 14 has been removed

Bug Fixes

Documentation

  • c736b62 #6686 add missing bugs key in package-json.md (#6686) (@airscripts)
  • c1e01d9 #6680 Update package-json.md (#6680) (@p-chan, @ljharb)

Dependencies

10.0.0-pre.0 (2023-07-26)

⚠️ BREAKING CHANGES

  • the "ci-name" config has been removed
  • npm no longer treats missing scripts as a special case in workspace mode. Use if-present to ignore missing scripts.
  • npm now supports node ^18.17.0 || >=20.5.0

Features

  • b6cf113 #6674 set engines and prerelease for npm 10 (#6674) (@lukekarrys)

Bug Fixes

  • e0d3edd #6641 remove "ci-name" config (@wraithgar)
  • 0318f44 #6641 remove implicit if-present logic from run-script workspaces (@wraithgar)

Documentation

  • e5338af #6672 remove link to deprecated npm set-script command (#6672) (@emmanuel-ferdman)

Dependencies

npm 中文网 - 粤ICP备13048890号