选择命令行版本:

10.9.2(2024-12-04)

依赖

¥Dependencies

10.9.1(2024-11-21)

错误修复

¥Bug Fixes

  • c7fe0db #7924 性能:如果存在编译缓存,则启用 (#7924) (@H4ad)

    ¥c7fe0db #7924 perf: enable compile cache if present (#7924) (@H4ad)

依赖

¥Dependencies

杂务

¥Chores

10.9.0(2024-10-03)

功能

¥Features

错误修复

¥Bug Fixes

  • 修复 6ca609e #7789 ping 和 doctor 命令检查 registry 是否在线的问题 (#7789) (@milaninfy)

    ¥6ca609e #7789 ping and doctor commands fix for checking if registry is online (#7789) (@milaninfy)

文档

¥Documentation

  • 63d6a73 #7783 package.json:添加关于导出的简要部分,并链接到 Node.js 文档 (#7783) (@wheresrhys)

    ¥63d6a73 #7783 package.json: add brief section on exports, link to Node.js docs (#7783) (@wheresrhys)

  • 366c07e #7776 删除关于 npm install 的错误注释 (#7776) (@wraithgar)

    ¥366c07e #7776 remove incorrect note about npm install (#7776) (@wraithgar)

依赖

¥Dependencies

杂务

¥Chores

10.8.3(2024-08-28)

错误修复

¥Bug Fixes

  • 7e61151 #7759 文档:更正了初始使用说明 (#7759) (@milaninfy)

    ¥7e61151 #7759 docs: init usage description corrected (#7759) (@milaninfy)

  • 2404c7e #7738 发布:在工作区目录中时考虑使用 package-spec (#7738) (@milaninfy)

    ¥2404c7e #7738 publish: consider package-spec when inside workspace dir (#7738) (@milaninfy)

  • 91e46a3 #7721 初始化:使用指定包的本地安装版本 (#7721) (@milaninfy)

    ¥91e46a3 #7721 init: use locally installed version of given package (#7721) (@milaninfy)

  • 4e81a6a #7674 如果退出异常,始终设置退出代码 (#7674) (@wraithgar, @hashtagchris)

    ¥4e81a6a #7674 always set exit code if exiting uncleanly (#7674) (@wraithgar, @hashtagchris)

  • a947f25 #7679 更新运行脚本中的生命周期脚本列表 (#7679) (@sonsurim)

    ¥a947f25 #7679 update lifecycle script list in run-script (#7679) (@sonsurim)

文档

¥Documentation

  • e674987 #7743 更新 npmrc 和 package-json 文档 (#7743) (@milaninfy)

    ¥e674987 #7743 update docs for npmrc and package-json (#7743) (@milaninfy)

  • 24d5350 #7742 修复并更新作用域配置示例(#7742) (@demedos)

    ¥24d5350 #7742 fix and update scoped configuration example (#7742) (@demedos)

依赖

¥Dependencies

杂务

¥Chores

10.8.2(2024-07-09)

错误修复

¥Bug Fixes

  • 3101a40 #7631 限制 'npm 缓存验证' 期间的并发打开文件数 (#7631) (@oikumene)

    ¥3101a40 #7631 limit concurrent open files during 'npm cache verify' (#7631) (@oikumene)

  • 2273183 #7595 已过时:修复了带有版本范围的别名的所需范围 (#7595) (@milaninfy)

    ¥2273183 #7595 outdated: fixed wanted range for alias with version range (#7595) (@milaninfy)

  • 15be6dd #7574 如果不存在工作区,则不会尝试解析 (@wraithgar)

    ¥15be6dd #7574 don't try parsing workspaces if none exist (@wraithgar)

文档

¥Documentation

  • ac937d4 #7616 安装:添加 save-peer 标志 (#7616) (@drew4237)

    ¥ac937d4 #7616 install: add save-peer flag (#7616) (@drew4237)

  • 55639ef #7615 在 package.com URL 示例中使用 git+https (#7615) (@MikeMcC399)

    ¥55639ef #7615 use git+https in package.com url examples (#7615) (@MikeMcC399)

  • 93883bb #7582 改进 package.json funding 属性的手册页部分 (#7582) (@kemitchell)

    ¥93883bb #7582 Improve manpage section for package.json funding properties (#7582) (@kemitchell)

  • 92e71e6 #7576 修复社区讨论链接 (#7576) (@leobalter)

    ¥92e71e6 #7576 fix links to community discussions (#7576) (@leobalter)

依赖

¥Dependencies

杂务

¥Chores

  • 2490b49 #7621 删除 .github/workflows/benchmark.yml (#7621) (@wraithgar)

    ¥2490b49 #7621 remove .github/workflows/benchmark.yml (#7621) (@wraithgar)

  • 3b8b111 #7605 更新 lockfile 中的 devDependencies (@wraithgar)

    ¥3b8b111 #7605 update devDependencies in lockfile (@wraithgar)

10.8.1(2024-05-29)

错误修复

¥Bug Fixes

  • 6b55646 #7569 执行:在工作区和根目录中查找 bin 条目 (#7569) (@wraithgar)

    ¥6b55646 #7569 exec: look in workspace and root for bin entries (#7569) (@wraithgar)

  • e4c7a41 #7564 发布:发布时跳过标记为私有的工作区包 (#7564) (@milaninfy)

    ¥e4c7a41 #7564 publish: skip workspace packages marked private on publish (#7564) (@milaninfy)

  • 8f94ae8 #7556 utils/tar:匹配为空时访问索引 (#7555) (#7556) (@NormanPerrin)

    ¥8f94ae8 #7556 utils/tar: index access while match is null (#7555) (#7556) (@NormanPerrin)

  • 2d1d8d0 #7559node: 说明符添加到所有原生 Node 模块 (#7559) (@reggi)

    ¥2d1d8d0 #7559 adds node: specifier to all native node modules (#7559) (@reggi)

  • 7d89b55 #7490 配置:rm 工作区 node_modules (#7490) (@reggi)

    ¥7d89b55 #7490 ci: rm workspace node_modules (#7490) (@reggi)

  • 9122fb6 #7516 缓存:将完整包和压缩包都添加到缓存 (#7516) (@milaninfy)

    ¥9122fb6 #7516 cache: add both full and minified packument to cache (#7516) (@milaninfy)

  • 9e6686b #7545 在 Web 身份验证时发送正确的 OTP 令牌 (#7545) (@wraithgar)

    ¥9e6686b #7545 send proper otp token on web auth (#7545) (@wraithgar)

  • b1db070 #7534 重构:在查询中使用 output.buffer 并设置显式 JSON 模式 (#7534) (@lukekarrys)

    ¥b1db070 #7534 refactor: use output.buffer and set explicit json mode in query (#7534) (@lukekarrys)

  • 53cda32 #7542 重构 ls 命令以使用 output.buffer 处理 json (#7542) (@lukekarrys)

    ¥53cda32 #7542 refactor ls to use output.buffer for json (#7542) (@lukekarrys)

  • 61d5771 #7541 从所有命令中删除 json.stringify (#7541) (@lukekarrys)

    ¥61d5771 #7541 remove json.stringify from all commands (#7541) (@lukekarrys)

  • 4dfc7d2 #7540 在 --json 模式下将字符串传递给 JSON.stringify (#7540) (@lukekarrys)

    ¥4dfc7d2 #7540 pass strings to JSON.stringify in --json mode (#7540) (@lukekarrys)

  • 3cefdf6 #7538 已过时:返回来自多个工作区的过期依赖数组 (@lukekarrys)

    ¥3cefdf6 #7538 outdated: return array for outdated deps from multiple workspaces (@lukekarrys)

  • ef4c975 #7508 视图:不要在第一个工作区 404 错误时立即退出 (#7508) (@lukekarrys)

    ¥ef4c975 #7508 view: dont immediately exit on first workspace 404 (#7508) (@lukekarrys)

文档

¥Documentation

  • fd6479f #7560 更新发布文档:dist-tag + 发布用例 (#7560) (@davidlj95)

    ¥fd6479f #7560 update publish docs: dist-tag + publish case (#7560) (@davidlj95)

依赖

¥Dependencies

杂务

¥Chores

  • 2d84091 #7568 修复更新后的 @npmcli/package-json 的快照 (@wraithgar)

    ¥2d84091 #7568 fix snapshots for updated @npmcli/package-json (@wraithgar)

  • 6574dc9 #7566 开发依赖更新 (@wraithgar)

    ¥6574dc9 #7566 dev dependency updates (@wraithgar)

10.8.0(2024-05-15)

功能

¥Features

  • 1e375c1 #7442 创建退出处理程序类 (#7442) (@lukekarrys)

    ¥1e375c1 #7442 create exit handler class (#7442) (@lukekarrys)

错误修复

¥Bug Fixes

  • d5c3289 #7513 重构:使用输出缓冲区和错误信息执行更多命令 (#7513) (@lukekarrys)

    ¥d5c3289 #7513 refactor: use output buffer and error for more commands (#7513) (@lukekarrys)

  • 12f103c #7533 在缺少的日志中添加第一个参数标题 (#7533) (@lukekarrys)

    ¥12f103c #7533 add first param titles to logs where missing (#7533) (@lukekarrys)

  • badeac2 #7521 配置:在配置输出中使用 redact (#7521) (@lukekarrys)

    ¥badeac2 #7521 config: use redact on config output (#7521) (@lukekarrys)

  • 76aef74 #7520 视图:重构 exec 和 execWorkspaces 以调用相同的方法 (#7520) (@lukekarrys)

    ¥76aef74 #7520 view: refactor exec and execWorkspaces to call same methods (#7520) (@lukekarrys)

  • b54cdb8 #7515 重构:创建新的错误输出原语 (#7515) (@lukekarrys)

    ¥b54cdb8 #7515 refactor: create new error output primitives (#7515) (@lukekarrys)

  • e40454c #7506 视图:不要在 JSON 模式下解包数组 (#7506) (@lukekarrys)

    ¥e40454c #7506 view: dont unwrap arrays in json mode (#7506) (@lukekarrys)

  • 6f64148 要求 stdout 为 TTY 以显示进度 (#7507) (@lukekarrys)

    ¥6f64148 require stdout to be a TTY for progress (#7507) (@lukekarrys)

  • db62910 #7504 配置:更积极地隐藏受保护的值 (#7504) (@wraithgar)

    ¥db62910 #7504 config: be more aggressive about hiding protected values (#7504) (@wraithgar)

  • 6d456bb #7497 不将完成命令写入日志文件 (#7497) (@lukekarrys)

    ¥6d456bb #7497 dont write log file for completion commands (#7497) (@lukekarrys)

  • 722c0fa #7463 根据堆大小限制 packument 缓存大小 (@wraithgar)

    ¥722c0fa #7463 limit packument cache size based on heap size (@wraithgar)

  • ca1a68d #7474 如果 npm deprecate 与任何版本都不匹配,则记录日志 (#7474) (@mbtools)

    ¥ca1a68d #7474 log if npm deprecate does not match any version (#7474) (@mbtools)

  • 261ea19 #7457 围绕帮助和打开 URL 运行 input.start (@lukekarrys)

    ¥261ea19 #7457 run input.start around help and openining urls (@lukekarrys)

  • 4ab6cf4 #7459 发布:验证 dist-tag (#7459) (@reggi)

    ¥4ab6cf4 #7459 publish: validate dist-tag (#7459) (@reggi)

文档

¥Documentation

  • b2ce025 #7518 建议更正 bin 条目 (#7518) (@Santoshraj2)

    ¥b2ce025 #7518 suggest correct bin entry (#7518) (@Santoshraj2)

  • bdd2aae #7502 使用 make uninstall 删除过时的卸载程序 (#7502) (@avinal)

    ¥bdd2aae #7502 remove obsolete removal using make uninstall (#7502) (@avinal)

  • c3d2819 #7496 npm help json/global 命令在 Windows 上 (#7496) (@klm-turing, @lukekarrys)

    ¥c3d2819 #7496 npm help json/global command on windows (#7496) (@klm-turing, @lukekarrys)

  • 268303c #7479 为每个本地帮助输出添加 npm 版本信息 (#7479) (@klm-turing)

    ¥268303c #7479 add npm version to every local help output (#7479) (@klm-turing)

  • e39d422 #7473 建议使用 "npm repo" 显示软件包的仓库 (#7473) (@full-stop)

    ¥e39d422 #7473 suggest "npm repo" for showing the repo of a package (#7473) (@full-stop)

  • f6fff32 #7433 澄清 peerDependenciesMeta 的作用(#7433) (@xuhdev, @wraithgar)

    ¥f6fff32 #7433 clarify what peerDependenciesMeta does (#7433) (@xuhdev, @wraithgar)

依赖

¥Dependencies

杂务

¥Chores

  • 10256e8 #7522 开发依赖更新 (@wraithgar)

    ¥10256e8 #7522 dev dependency updates (@wraithgar)

  • dcfc3de #7517 将运行脚本测试转换为快照 (#7517) (@lukekarrys)

    ¥dcfc3de #7517 convert run-script tests to snapshots (#7517) (@lukekarrys)

  • 8add914 #7505 创建单个错误报告问题模板 (#7505) (@lukekarrys)

    ¥8add914 #7505 create single bug report issue template (#7505) (@lukekarrys)

  • 7c7fba4 #7500 基准测试:修复对评论的表情符号响应 (#7500) (@lukekarrys)

    ¥7c7fba4 #7500 benchmarks: fix emoji reaction to comment (#7500) (@lukekarrys)

  • d3b9587 #7494 禁用 npm pack 测试的进度 (@wraithgar)

    ¥d3b9587 #7494 disable progress on npm pack test (@wraithgar)

  • 67ebb66 #7494 在配置测试中禁用颜色(@wraithgar)

    ¥67ebb66 #7494 disable color in config tests (@wraithgar)

  • 2ec2e75 #7494 禁用 shellout 退出测试的进度 (@wraithgar)

    ¥2ec2e75 #7494 disable progress on shellout exit tests (@wraithgar)

  • e9fdc9a #7483 创建 smoke-publish-test.sh 脚本 (#7483) (@lukekarrys)

    ¥e9fdc9a #7483 create smoke-publish-test.sh script (#7483) (@lukekarrys)

  • 1524cfd #7484 从基准测试 event_type 中删除多余的引号 (#7484) (@lukekarrys)

    ¥1524cfd #7484 remove extra quotes from benchmark event_type (#7484) (@lukekarrys)

  • 9c4d3c4 #7467 template-oss-apply (@lukekarrys)

  • 2b7ec54 #7467 template-oss@4.22.0 (@lukekarrys)

  • 8ded848 #7457 删除文档快照堆栈跟踪 (@lukekarrys)

    ¥8ded848 #7457 remove doctor snapshot stack traces (@lukekarrys)

10.7.0(2024-04-30)

功能

¥Features

错误修复

¥Bug Fixes

  • d679ce8 #7449 linting:no-unused-vars (@wraithgar)

  • 2558283 #7450 powershell:如果 globalPrefix 不存在,则回退到脚本根目录 (#7450) (@lukekarrys)

    ¥2558283 #7450 powershell: fallback to script root if globalPrefix does not exist (#7450) (@lukekarrys)

  • bc4c342 #7448 说明搜索中没有发布者的注册中心 (#7448) (@wraithgar)

    ¥bc4c342 #7448 account for registries with no publisher in search (#7448) (@wraithgar)

  • bcc781a #7439 在 json 模式下将 run-script 标语移至 stderr (#7439) (@lukekarrys)

    ¥bcc781a #7439 move run-script banners to stderr when in json mode (#7439) (@lukekarrys)

  • 104fcb5 #7438 删除每个文件权限检查的文档日志 (#7438) (@lukekarrys)

    ¥104fcb5 #7438 remove doctor log for each file permission check (#7438) (@lukekarrys)

  • 5230647 #7422 重写 powershell 脚本以使用 PSScriptRoot (#7422) (@lukekarrys)

    ¥5230647 #7422 rewrite powershell scripts to use PSScriptRoot (#7422) (@lukekarrys)

  • 71cbd91 #7421 隐藏 exec 和 explore 的横幅 (#7421) (@lukekarrys)

    ¥71cbd91 #7421 hide banner for exec and explore (#7421) (@lukekarrys)

  • 57ebebf #7418 更新 package.json 中的 repository.url (#7418) (@wraithgar)

    ¥57ebebf #7418 update repository.url in package.json (#7418) (@wraithgar)

文档

¥Documentation

  • 1674136 #7441 正确的搜索帮助输出 (#7441) (@wraithgar)

    ¥1674136 #7441 correct search help output (#7441) (@wraithgar)

依赖

¥Dependencies

杂务

¥Chores

  • 356c374 #7453 修复新的编辑行为测试夹具 (@wraithgar)

    ¥356c374 #7453 fix test fixture for new redact behavior (@wraithgar)

  • 2fba4b7 #7449 更新 lockfile 中的 devDependencies (@wraithgar)

    ¥2fba4b7 #7449 update devDependencies in lockfile (@wraithgar)

10.6.0(2024-04-25)

功能

¥Features

  • 9123de4 #7373 通过 proc-log 事件进行所有输出 (@lukekarrys)

    ¥9123de4 #7373 do all ouput over proc-log events (@lukekarrys)

  • 9622597 #7339 重构终端显示 (#7339) (@lukekarrys)

    ¥9622597 #7339 refactor terminal display (#7339) (@lukekarrys)

错误修复

¥Bug Fixes

  • 0e74ee4 #7416 清理 npm 对象 (#7416) (@wraithgar)

    ¥0e74ee4 #7416 clean up npm object (#7416) (@wraithgar)

  • c060e60 #7415 从加载中返回命令和参数(@lukekarrys)

    ¥c060e60 #7415 return command and argv from load (@lukekarrys)

  • 180b919 #7415 删除未使用的 npm.setCmd 方法 (@lukekarrys)

    ¥180b919 #7415 remove unused npm.setCmd method (@lukekarrys)

  • 0708b3b #7414 使用名称日志前缀的级别而非标签 (#7414) (@lukekarrys)

    ¥0708b3b #7414 use name of level instead of label for logging prefixes (#7414) (@lukekarrys)

  • 7f4e667 #7403 显示非 ASCII 参数时进行屏蔽 (@lukekarrys)

    ¥7f4e667 #7403 redact when displaying non-ascii arguments (@lukekarrys)

  • 06202f0 #7403 在测试中将 unref 承诺存储为 awaiting (@lukekarrys)

    ¥06202f0 #7403 store unref promises for awaiting in tests (@lukekarrys)

  • e5f1948 #7403 在 exec 执行后等待之前运行更新通知程序 (@lukekarrys)

    ¥e5f1948 #7403 run update notifier after exec but before waiting (@lukekarrys)

  • f309c1c #7403 重构:将计时器和错误日志文件消息移至 lib/npm (@lukekarrys)

    ¥f309c1c #7403 refactor: move timer and error logfile messages to lib/npm (@lukekarrys)

  • 43e6194 #7403 静默状态下不显示运行脚本横幅 (@lukekarrys)

    ¥43e6194 #7403 dont show run script banners in silent (@lukekarrys)

  • 694dba9 #7403 不会公开尽可能多的公共属性计时器 (@lukekarrys)

    ¥694dba9 #7403 dont expose as many public properties of timers (@lukekarrys)

  • 7ca6d84 #7403 使用 proc-log META 进行刷新和强制执行 (@lukekarrys)

    ¥7ca6d84 #7403 use proc-log META for flush and force (@lukekarrys)

  • 2538438 #7403 除非收到请求,否则不会将计时日志写入文件 (@lukekarrys)

    ¥2538438 #7403 dont write timing logs to file unless requested (@lukekarrys)

  • 7e04417 #7403 重命名 base-cmd 以匹配其他命令 (@lukekarrys)

    ¥7e04417 #7403 rename base-cmd to match other commands (@lukekarrys)

  • fc68547 #7403 删除一些 npm.load 计时器,并在 --versions 选项下提前退出 (@lukekarrys)

    ¥fc68547 #7403 remove some npm.load timers and exit earlier for --versions (@lukekarrys)

  • 28019d5 #7403 清理:将 CLI 特定文件移至单独目录 (@lukekarrys)

    ¥28019d5 #7403 cleanup: move cli specific files to separate dir (@lukekarrys)

  • 469f788 #7403 清理:换行符和空格 (@lukekarrys)

    ¥469f788 #7403 cleanup: newlines and whitespace (@lukekarrys)

  • 4ab6401 #7403 清理:不要嵌套文件 utils 目录(@lukekarrys)

    ¥4ab6401 #7403 cleanup: dont nest files utils dir (@lukekarrys)

  • 78447d7 #7399 优先使用 fs/promises 而不是 promisify (#7399) (@lukekarrys)

    ¥78447d7 #7399 prefer fs/promises over promisify (#7399) (@lukekarrys)

  • d531f8b #7407 从搜索和 tar 摘要中删除表格输出 (@wraithgar)

    ¥d531f8b #7407 Remove table output from search and tar summary (@wraithgar)

  • c209e98 #7401 从多个命令中删除表格输出 (@wraithgar)

    ¥c209e98 #7401 Remove table output from many commands (@wraithgar)

  • ad7ab8c #7388 性能:延迟加载优化 (#7388) (@wraithgar)

    ¥ad7ab8c #7388 perf: lazy loading optimizations (#7388) (@wraithgar)

  • 8eae4b3 #7385 令牌:正确等待注册请求 (#7385) (@wraithgar)

    ¥8eae4b3 #7385 token: properly await registry request (#7385) (@wraithgar)

  • 9216d59 #7377 更好的输出颜色 (#7377) (@wraithgar)

    ¥9216d59 #7377 better output colors (#7377) (@wraithgar)

  • 6512112 #7378 对所有计时器使用 proc-log (@lukekarrys)

    ¥6512112 #7378 use proc-log for all timers (@lukekarrys)

  • 2a80dab #7370npm access 用法中存在拼写错误 (#7370) (@mbtools)

    ¥2a80dab #7370 typo in npm access usage (#7370) (@mbtools)

文档

¥Documentation

  • dfa4cab #7401 更新输出示例 (@wraithgar)

    ¥dfa4cab #7401 update output examples (@wraithgar)

  • 140b9c9 #7382 package-json:请注意,行尾是推断的 (#7382) (@ertw)

    ¥140b9c9 #7382 package-json: note that line endings are inferred (#7382) (@ertw)

  • c16dd4e #7367 覆盖仅在根 package.json 中起作用的文档 (#7367) (@s100)

    ¥c16dd4e #7367 Document that overrides only work in the root package.json (#7367) (@s100)

依赖

¥Dependencies

杂务

¥Chores

  • 3cbc258 #7403 测试早期版本退出 (@lukekarrys)

    ¥3cbc258 #7403 test for early version exit (@lukekarrys)

  • 08e0c0e #7403 将 sigstore json 文件移至 fixes 目录 (@lukekarrys)

    ¥08e0c0e #7403 move sigstore json files to fixtures dir (@lukekarrys)

  • ea66e95 #7380 删除被许可人 devDependency (#7380) (@lukekarrys, @wraithgar)

    ¥ea66e95 #7380 remove licensee as a devDependency (#7380) (@lukekarrys, @wraithgar)

  • 9333e9d #7386 减少 Windows shim 测试碎片 (#7386) (@lukekarrys)

    ¥9333e9d #7386 reduce windows shim test flakes (#7386) (@lukekarrys)

10.5.2(2024-04-10)

错误修复

¥Bug Fixes

  • ef381b1 #7363 使用 @npmcli/redact 进行 URL 清理 (#7363) (@lukekarrys)

    ¥ef381b1 #7363 use @npmcli/redact for url cleaning (#7363) (@lukekarrys)

  • 3760dd2 #7361 性能:减少加载配置的工作量 (#7361) (@wraithgar)

    ¥3760dd2 #7361 perf: do less work loading config (#7361) (@wraithgar)

  • 64bcf4c #7360 性能:仅在工作区内初始化工作区 (#7360) (@H4ad)

    ¥64bcf4c #7360 perf: only initialize workpaces when we are inside a workspace (#7360) (@H4ad)

  • 5a28a29 #7352 性能:延迟加载工作区依赖 (#7352) (@H4ad)

    ¥5a28a29 #7352 perf: lazy load workspace dependency (#7352) (@H4ad)

  • 5fc0f9d #7347 延迟加载时在错误消息中验证 npm 包名称 (#7347) (@H4ad)

    ¥5fc0f9d #7347 lazy load validate npm package name on error message (#7347) (@H4ad)

  • c929ed1 #7321 优先使用 CLI 参数而不是 publishConfig 设置 (#7321) (@roni-berlin)

    ¥c929ed1 #7321 prioritize CLI flags over publishConfig settings (#7321) (@roni-berlin)

  • 70497cb #7346 性能:避免为 update-notifier 导入整个 semver 包 (#7346) (@H4ad)

    ¥70497cb #7346 perf: avoid importing the entire semver package for update-notifier (#7346) (@H4ad)

文档

¥Documentation

  • 90ba1c9 #7340 修复错误的 ISO 8601 引用 (#7340) (@emmanuel-ferdman)

    ¥90ba1c9 #7340 fix incorrect ISO 8601 reference (#7340) (@emmanuel-ferdman)

依赖

¥Dependencies

杂务

¥Chores

10.5.1(2024-04-03)

错误修复

¥Bug Fixes

  • 17d97d2 #7334 使用 @npmcli/redact 进行日志编辑 (@lukekarrys)

    ¥17d97d2 #7334 use @npmcli/redact for log redactions (@lukekarrys)

  • 8cab136 #7324 确保 maxSockets 数量得到遵守 (#7324) (@lukekarrys)

    ¥8cab136 #7324 ensure maxSockets is respected (#7324) (@lukekarrys)

  • 9bffa13 #7320 查询:正确返回 :missing 节点 (#7320) (@wraithgar)

    ¥9bffa13 #7320 query: properly return :missing nodes (#7320) (@wraithgar)

  • 9d4e85f #7297 搜索:在帮助输出中包含 searchlimit 选项 (#7297) (@10xLaCroixDrinker)

    ¥9d4e85f #7297 search: include searchlimit option in help output (#7297) (@10xLaCroixDrinker)

  • bdb3c28 #7274 添加 dry-run 检查 (#7274) (@cod1r)

    ¥bdb3c28 #7274 added check for dry-run (#7274) (@cod1r)

  • 7f1ab88 #7271 在 Windows 中更轻量级的 npm bin 发现 (#7271) (@wraithgar)

    ¥7f1ab88 #7271 more lightweight npm bin discovery in windows (#7271) (@wraithgar)

文档

¥Documentation

  • 1da5cf0 #7198 添加引擎部分链接 (#7198) (@uiolee)

    ¥1da5cf0 #7198 add link to engines section (#7198) (@uiolee)

  • 1114a12 #7307 修复错误的 npm 审计密钥响应链接 (#7307) (@davidlj95)

    ¥1114a12 #7307 fix incorrect npm audit key response link (#7307) (@davidlj95)

  • 9807caf #7304 更新包含来源信息的审计文档 (#7304) (@bdehamer)

    ¥9807caf #7304 update audit docs with provenance info (#7304) (@bdehamer)

  • e1ecfa7 #7285 更正 URL 的大小写 (#7285) (@coliff)

    ¥e1ecfa7 #7285 Correct capitalization for URL (#7285) (@coliff)

依赖

¥Dependencies

杂务

¥Chores

10.5.0(2024-02-28)

功能

¥Features

  • 2366edc #7218 查询:添加 :vuln 伪选择器 (@wraithgar)

    ¥2366edc #7218 query: add :vuln pseudo selector (@wraithgar)

  • 4f3ddbb #5966 将 --expect-entries 添加到 npm query (@wraithgar)

    ¥4f3ddbb #5966 add --expect-entries to npm query (@wraithgar)

错误修复

¥Bug Fixes

  • 818957c #7158 打包、发布:默认 foreground-scripts 设为 true (#7158) (@ljharb)

    ¥818957c #7158 pack, publish: default foreground-scripts to true (#7158) (@ljharb)

  • d04111d #7197 视图:过滤无效的语义版本 (#7197) (@wraithgar)

    ¥d04111d #7197 view: filter out invalid semver (#7197) (@wraithgar)

  • b0a3ba0 #7195 防止添加无效的 dist-tag (#7195) (@wraithgar)

    ¥b0a3ba0 #7195 prevent adding invalid dist-tag (#7195) (@wraithgar)

文档

¥Documentation

  • c4741fe #7254 删除有关卸载脚本的附加示例和注释 (#7254) (@rveerd)

    ¥c4741fe #7254 Remove additional example and comments about uninstall script (#7254) (@rveerd)

  • 686a622 #7247 范围:更新示例命令以使其在 Windows 中正常运行 (#7247) (@robertobasile84)

    ¥686a622 #7247 scope: update example command to work in windows (#7247) (@robertobasile84)

  • 95b5057 #5966 澄清依赖选择器中的范围之内和范围之外的含义 (@wraithgar)

    ¥95b5057 #5966 clarify in-range and out-of-range in dependency selectors (@wraithgar)

  • 5b7184f #7190 工作区:修复语法 (#7190) (@alekstech)

    ¥5b7184f #7190 workspaces: fix grammar (#7190) (@alekstech)

  • 0dd03f9 #7182 修复拼写错误 (#7182) (@GoodDaisy)

    ¥0dd03f9 #7182 fix typos (#7182) (@GoodDaisy)

依赖

¥Dependencies

杂务

¥Chores

  • d6bc684 #7242 更新 lockfile 中的 devDependencies (@wraithgar)

    ¥d6bc684 #7242 update devDependencies in lockfile (@wraithgar)

10.4.0(2024-01-24)

功能

¥Features

  • 35a098c #7175--long 上显示树状差异 (@wraithgar)

    ¥35a098c #7175 display tree diff on --long (@wraithgar)

  • dffca29 #7174 格式:以表格格式打印 --dry-run 差异 (#7174) (@ritaaktay)

    ¥dffca29 #7174 format: print --dry-run diffs in table format (#7174) (@ritaaktay)

  • 6d5f9ac #7133 数据去重 - 启用 --dry-run 时显示差异 (#7133) (@Blaumaus)

    ¥6d5f9ac #7133 dedupe - display difference when --dry-run is enabled (#7133) (@Blaumaus)

错误修复

¥Bug Fixes

  • ec06f77 #7175 内联 diff 表代码和摘要代码 (@wraithgar)

    ¥ec06f77 #7175 inline diff table code w/ summary code (@wraithgar)

  • d4ebfba #7157 使用 util.stripVTControlCharacters 而非 strip-ansi (@wraithgar)

    ¥d4ebfba #7157 use util.stripVTControlCharacters instead of strip-ansi (@wraithgar)

  • 81c95c7 #7063 不会在每次检查时重置更新通知程序的持续时间 (#7063) (@wraithgar)

    ¥81c95c7 #7063 don't reset update notifier duration on every check (#7063) (@wraithgar)

文档

¥Documentation

  • 2b7eaad #7168 package-json:关于发布本地依赖的警告 (#7168) (@DanKaplanSES)

    ¥2b7eaad #7168 package-json: Reword warning about publishing local dependencies (#7168) (@DanKaplanSES)

  • 67ab0f7 #7142 更新:将连续句子中的逗号替换为句号 (#7142) (@DanKaplanSES)

    ¥67ab0f7 #7142 update: Replace comma with period in run on sentence (#7142) (@DanKaplanSES)

  • 05c69dc #7150 配置:说明受 npm config set 影响的默认配置文件 (#7150) (@DanKaplanSES)

    ¥05c69dc #7150 config: State default configuration file affected by npm config set (#7150) (@DanKaplanSES)

  • 44f4518 #7149 在 npm 配置描述中添加指向 config 命令的链接 (#7149) (@DanKaplanSES)

    ¥44f4518 #7149 Link to the config command in the npm configuration description (#7149) (@DanKaplanSES)

  • dd5699f #7152 更新:修复拼写错误并删除不必要的语句 (#7152) (@DanKaplanSES)

    ¥dd5699f #7152 update: Fix a typo and remove unneeded statement (#7152) (@DanKaplanSES)

依赖

¥Dependencies

杂务

¥Chores

  • a82ccc5 #7173 nock@13.5.0 (@wraithgar)

  • dcaa99c #7173 修复执行测试 (@wraithgar)

    ¥dcaa99c #7173 fix exec test (@wraithgar)

  • 0d96080 #7162 发布:不要从 CLI 发布提交中排除 docs 目录 (#7162) (@lukekarrys)

    ¥0d96080 #7162 release: do not exclude docs directory from CLI release commits (#7162) (@lukekarrys)

10.3.0(2024-01-10)

功能

¥Features

  • 6673c77 #6914 添加 --libc 选项以覆盖特定于平台的安装 (#6914) (@wraithgar, @Brooooooklyn)

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

错误修复

¥Bug Fixes

  • b7fc10a #7113 从日志和 CLI 输出中过滤 C0 和 C1 控制字符 (#7113) (@wraithgar)

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

依赖

¥Dependencies

杂务

¥Chores

  • 2fd8292 #7121 解决 @npmcli/git 延迟加载问题 (@wraithgar)

    ¥2fd8292 #7121 work around @npmcli/git lazy loading (@wraithgar)

  • cd9a66d #7121 更新 lockfile 中的 devDependencies (@wraithgar)

    ¥cd9a66d #7121 update devDependencies in lockfile (@wraithgar)

  • 2dda715 #7121 tap@16.3.10 (@wraithgar)

10.2.5(2023-12-06)

错误修复

¥Bug Fixes

  • c7a592c #7061 更新通知程序清单请求不使用缓存 (@lukekarrys)

    ¥c7a592c #7061 dont use cache for update notifier manifest request (@lukekarrys)

  • 7b952f6 #7049 取消发布:将所有解析本地 package.json 的错误冒泡 (#7049) (@wraithgar)

    ¥7b952f6 #7049 unpublish: bubble up all errors parsing local package.json (#7049) (@wraithgar)

  • be4741f #7039 取消发布 bug 修复 (#7039) (@wraithgar)

    ¥be4741f #7039 unpublish bugfixes (#7039) (@wraithgar)

  • bc7f53d #7036 SPDX SBOM 依赖的反向 (#7036) (@bdehamer, @antonbauhofer)

    ¥bc7f53d #7036 reverse direction of SPDX SBOM dependency rels (#7036) (@bdehamer, @antonbauhofer)

  • 如果 logs-max 设置为 0,11ec231 #7033 会跳过创建日志目录 (#7033) (@JJ)

    ¥11ec231 #7033 skip creation of log directory if logs-max is set to 0 (#7033) (@JJ)

  • 6267f54 #7005 在交互式提示符下正确捕获缺失的 url 打开器错误 (#7005) (@wraithgar)

    ¥6267f54 #7005 properly catch missing url opener error on interactive prompt (#7005) (@wraithgar)

依赖

¥Dependencies

杂务

¥Chores

  • f656b66 #7062 @npmcli/template-oss@4.21.3 (#7062) (@lukekarrys)

  • 9754b17 #7051 使用全局 npm 进行工作区测试 (@lukekarrys)

    ¥9754b17 #7051 use global npm for workspace tests (@lukekarrys)

  • 3891757 #7051 @npmcli/template-oss@4.21.2 (@lukekarrys)

  • 71f70fa #7058 nock@13.4.0 (@wraithgar)

  • 43674a4 #7058 tap@16.3.9 (@wraithgar)

  • 4ba585c #7040 修复 Node 版本间 zlib 差异测试 (#7040) (@wraithgar)

    ¥4ba585c #7040 fix tests for zlib differences between node versions (#7040) (@wraithgar)

10.2.4(2023-11-14)

错误修复

¥Bug Fixes

  • cd291e7 #6995 重构搜索格式化代码 (#6995) (@wraithgar)

    ¥cd291e7 #6995 refactor search formatting code (#6995) (@wraithgar)

  • f3a7380 #6973 在工作区中查找 exec 命令(#6973) (@wraithgar)

    ¥f3a7380 #6973 look in workspace for exec commands (#6973) (@wraithgar)

  • d11496b #6977 pkg:在工作区模式下正确输出 (#6977) (@wraithgar)

    ¥d11496b #6977 pkg: properly output in workspace mode (#6977) (@wraithgar)

  • 0f70088 #6969 在 SBOM 生成中正确处理对象许可证 (#6969) (@jamietanna)

    ¥0f70088 #6969 correctly handle object licenses in SBOM generation (#6969) (@jamietanna)

  • dce3b08 #6951 正确捕获缺失的 url 打开器错误 (#6951) (@wraithgar)

    ¥dce3b08 #6951 properly catch missing url opener error (#6951) (@wraithgar)

文档

¥Documentation

  • a38836c #6616 为 view 命令添加路径使用 (#6616) (@RobinKnipe)

    ¥a38836c #6616 add path usage for view command (#6616) (@RobinKnipe)

  • da18e4f #6987 更新 npm-prune 描述 (#6987) (@Eomm)

    ¥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 使 npm link respect --no-save (#6910) (@Santoshraj2)

    ¥8ed6d28 #6910 make npm link respect --no-save (#6910) (@Santoshraj2)

  • eacec5f #6941 重新添加 bin/node-gyp-bin/node-gyp 文件 (#6941) (@lukekarrys)

    ¥eacec5f #6941 add back bin/node-gyp-bin/node-gyp files (#6941) (@lukekarrys)

  • b776753 #6928 身份验证错误消息中的语法错误 (#6928) (@Gekuro, gek)

    ¥b776753 #6928 Grammar mistake in authentication error message (#6928) (@Gekuro, gek)

文档

¥Documentation

  • c422a01 #6924 使用 markdown 链接而不是 html (@lukekarrys)

    ¥c422a01 #6924 use markdown links instead of html (@lukekarrys)

  • dd03aa0 #6921 为 lockfile 版本 3 添加 v9 及以上版本 (#6921) (@MikeMcC399)

    ¥dd03aa0 #6921 add v9 and above for lockfile version 3 (#6921) (@MikeMcC399)

依赖

¥Dependencies

10.2.1(2023-10-18)

错误修复

¥Bug Fixes

  • 35c92fe #6902 为 pkg 命令添加检查以处理空值 (#6902) (@NeonArray)

    ¥35c92fe #6902 Add check to pkg command to deal with empty values (#6902) (@NeonArray)

  • 5b6172f #6895 从自定义注册表中注销 (@wraithgar)

    ¥5b6172f #6895 logout from custom registry (@wraithgar)

  • 8423d4f #6895 注销时从正确位置删除身份验证 (@wraithgar)

    ¥8423d4f #6895 delete auth from proper location on logout (@wraithgar)

  • 0cfe9de #6873 审计:消息中的拼写错误 (#6873) (@Fdawgs)

    ¥0cfe9de #6873 audit: spelling error in message (#6873) (@Fdawgs)

文档

¥Documentation

  • 5142735 #6894 更新 npm 构建描述 (#6894) (@siemhesda)

    ¥5142735 #6894 update npm build description (#6894) (@siemhesda)

  • 2e4b4ad #6861 npm 发布内容修改 (#6861) (@jpg619)

    ¥2e4b4ad #6861 npm publish content modification (#6861) (@jpg619)

依赖

¥Dependencies

10.2.0(2023-10-02)

功能

¥Features

  • 7c459d2 #6801 添加 npm sbom 命令 (#6801) (@bdehamer)

    ¥7c459d2 #6801 add npm sbom command (#6801) (@bdehamer)

  • 81a460f #6732 为 npm query 添加 package-lock-only 模式(@wraithgar)

    ¥81a460f #6732 add package-lock-only mode to npm query (@wraithgar)

  • 0d29855 #6732 为 npm audit 添加 no-package-lock 模式 (@wraithgar)

    ¥0d29855 #6732 add no-package-lock mode to npm audit (@wraithgar)

错误修复

¥Bug Fixes

  • 2207628 #6823 使用 strip-ansi 模块而非内部正则表达式 (#6823) (@wraithgar)

    ¥2207628 #6823 use strip-ansi module instead of internal regex (#6823) (@wraithgar)

  • d46d052 #6798 容忍空的 bug URL (#6798) (@vladh)

    ¥d46d052 #6798 tolerate null bugs URLs (#6798) (@vladh)

  • fb1b674 #6758 弃用:忽略隐式工作区模式 (#6758) (@wraithgar)

    ¥fb1b674 #6758 deprecate: ignore implicit workspace mode (#6758) (@wraithgar)

文档

¥Documentation

  • 68031f2 #6844 更新 CONTRIBUTING.md 以防止出现错误 (#6844) (@darcyclarke)

    ¥68031f2 #6844 update CONTRIBUTING.md to prevent errors (#6844) (@darcyclarke)

  • 3ac703c #6831include 参数添加到包含 omit 参数的命令 (#6831) (@siemhesda)

    ¥3ac703c #6831 add includeparam to commands that have omit param (#6831) (@siemhesda)

  • 03912db #6819 为 init docs/help 添加 init 专用参数 (#6819) (@wraithgar)

    ¥03912db #6819 add init-specific params to init docs/help (#6819) (@wraithgar)

  • 8088325 #6800 更新 npm-doctor.md (#6800) (@siemhesda)

    ¥8088325 #6800 Update npm-doctor.md (#6800) (@siemhesda)

依赖

¥Dependencies

10.1.0(2023-09-08)

功能

¥Features

  • 1c93c44 #6755 添加 --cpu--os 选项以覆盖特定于平台的安装 (#6755) (@yukukotani)

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

错误修复

¥Bug Fixes

  • 7bf2374 #6762 使 $npm_execpath 始终指向 npm (@rotu)

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

文档

¥Documentation

  • 09d8e0a #6759 修复 readme 文件中 node.js 的版本问题 (#6759) (@JoaoOtavioS)

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

依赖

¥Dependencies

10.0.0(2023-08-31)

功能

¥Features

  • 48a7b07 移除预发布标志 (@lukekarrys)

    ¥48a7b07 remove prerelease flags (@lukekarrys)

依赖

¥Dependencies

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

⚠️ BREAKING CHANGES

  • 已移除对 node <=16.13 的支持

    ¥support for node <=16.13 has been removed

  • 已移除对 node 14 的支持

    ¥support for node 14 has been removed

  • 已移除对 node 14 的支持

    ¥support for node 14 has been removed

  • 已移除对 node 14 的支持

    ¥support for node 14 has been removed

  • 已移除对 node 14 的支持

    ¥support for node 14 has been removed

  • 已移除对 node 14 的支持

    ¥support for node 14 has been removed

  • 已移除对 node 14 的支持

    ¥support for node 14 has been removed

  • 已移除对 node 14 的支持

    ¥support for node 14 has been removed

  • 已移除对 node 14 的支持

    ¥support for node 14 has been removed

  • 已移除对 node 14 的支持

    ¥support for node 14 has been removed

  • 已移除对 node 14 的支持

    ¥support for node 14 has been removed

错误修复

¥Bug Fixes

文档

¥Documentation

  • c736b62 #6686 在 package-json.md 中添加缺失的 bugs 键值 (#6686) (@airscripts)

    ¥c736b62 #6686 add missing bugs key in package-json.md (#6686) (@airscripts)

  • c1e01d9 #6680 更新 package-json.md (#6680) (@p-chan, @ljharb)

    ¥c1e01d9 #6680 Update package-json.md (#6680) (@p-chan, @ljharb)

依赖

¥Dependencies

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

⚠️ BREAKING CHANGES

  • "ci-name" 配置已被移除

    ¥the "ci-name" config has been removed

  • npm 在工作区模式下不再将缺失脚本视为特殊情况。使用 if-present 忽略缺失的脚本。

    ¥npm no longer treats missing scripts as a special case in workspace mode. Use if-present to ignore missing scripts.

  • npm 现在支持 Node ^18.17.0 || >=20.5.0

    ¥npm now supports node ^18.17.0 || >=20.5.0

功能

¥Features

  • b6cf113 #6674 设置引擎并开启 npm 10 预发布 (#6674) (@lukekarrys)

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

错误修复

¥Bug Fixes

  • e0d3edd #6641 删除 "ci-name" 配置 (@wraithgar)

    ¥e0d3edd #6641 remove "ci-name" config (@wraithgar)

  • 0318f44 #6641 从运行脚本工作区中删除隐式 if-present 逻辑 (@wraithgar)

    ¥0318f44 #6641 remove implicit if-present logic from run-script workspaces (@wraithgar)

文档

¥Documentation

  • e5338af #6672 删除指向已弃用的 npm set-script 命令的链接 (#6672) (@emmanuel-ferdman)

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

依赖

¥Dependencies

npm v11.4 中文网 - 粤ICP备13048890号