
Linuxeden 开源社区 --
npm v5.6.0 发布,npm 是 Node.js 的包管理工具,用来安装各种 Node.js 的扩展。
更新内容:
特性:
bc263c3fd#19054 Fully cross-platformpackage-lock.json. Installing a failing optional dependency on one platform no longer removes it from the dependency tree, meaning thatpackage-lock.jsonshould now be generated consistently across platforms!f94fcbc50#19160 Add--package-lock-onlyconfig option. This makes it so you can generate a targetpackage-lock.jsonwithout performing a full install ofnode_modules.66d18280c#19104 Add new--node-optionsconfig to pass through a customNODE_OPTIONSfor lifecycle scripts.
bug 修复:
b70321733#18881 When dealing with anode_modulesthat was created with older versions of npm (and thus older versions of npa) we need to gracefully handle older spec entries. Failing to do so results in us treating those packages as if they were http remote deps, which results in invalid lock files withversionset to tarball URLs. This should now be fixed.2f9c5dd00#18880 Stop overwriting version in package data on disk. This is another safeguard against the version overwriting that’s plagued some folks upgrading from older package-locks.a93e0a51d#18846 Correctly save transitive dependencies when usingnpm updateinpackage-lock.json.
完整内容请查看 发布主页 。
下载地址:
转自 http://ift.tt/2lZRDWr
The post npm v5.6.0 发布,Node.js 的包管理工具 appeared first on Linuxeden开源社区.
http://ift.tt/2CH20IU
没有评论:
发表评论