Node.js 8.2.0 已发布,Node.js 是一个基于 Chrome V8 引擎的 JavaScript 运行时。 Node.js 使用高效、轻量级的事件驱动、非阻塞 I/O 模型。
Node.js 8.2.0 有以下值得关注的更新:
Async Hooks
已经对 async_hooks
中的 Promise 支持进行了多项改进
Build
使用 GCC 构建 Node 的编译器版本要求已经升级到 GCC 4.9.4 [820b011ed6
] #13466
Cluster
Users now have more fine-grained control over the inspector port used by individual cluster workers. Previously, cluster workers were restricted to incrementing from the master's debug port. [dfc46e262a
]#14140
DNS
用于 DNS 查询的服务器现在可以使用自定义端口 [ebe7bb29aa
] #13723
添加对 dns.resolveAny()
的支持 [6e30e2558e
] #13137
npm
The npm
CLI has been updated to version 5.3.0. In particular, it now comes with the npx
binary, which is also shipped with Node. [dc3f6b9ac1
] #14235
下载地址
>>>【评论有礼】7月10日-31日在下方评论资讯,即有机会获得 9 活跃积分和开源中国实物周边。活动详情