设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

npm v5.6.0发布,Node.js的包管理工具

2018-1-6 00:47| 发布者: joejoe0332| 查看: 915| 评论: 0|原作者: oschina|来自: oschina

摘要: npmv5.6.0 发布,npm 是Node.js的包管理工具,用来安装各种 Node.js 的扩展。更新内容:特性:bc263c3fd#19054Fully cross-platformpackage-lock.json. Installing a failing optional dependency on one platform n ...

npm v5.6.0 发布,npm 是 Node.js 的包管理工具,用来安装各种 Node.js 的扩展。

更新内容:

特性:

  • bc263c3fd #19054 Fully cross-platform package-lock.json. Installing a failing optional dependency on one platform no longer removes it from the dependency tree, meaning that package-lock.json should now be generated consistently across platforms! 

  • f94fcbc50 #19160 Add --package-lock-only config option. This makes it so you can generate a target package-lock.json without performing a full install of node_modules

  • 66d18280c #19104 Add new --node-options config to pass through a custom NODE_OPTIONS for lifecycle scripts. 

bug修复:

  • b70321733 #18881 When dealing with a node_modules that 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 with version set 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 using npm update in package-lock.json

完整内容请查看发布主页

下载地址:


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部