红联Linux门户
Linux帮助

Node.js 9.3.0发布,服务器端JavaScript运行环境

发布时间:2017-12-17 09:17:46来源:红联作者:baihuo
Node.js 9.3.0 已发布,Node.js 是一个基于 Chrome V8 引擎的 JavaScript 运行时。 Node.js 使用高效、轻量级的事件驱动、非阻塞 I/O 模型。

主要更新内容如下:

async_hooks:

add trace events to async_hooks (Andreas Madsen)

add provider types for net server (Andreas Madsen)

console:

console.debug can now be used outside of the inspector (Benjamin Zaslavsky)

deps:

upgrade libuv to 1.18.0 (cjihrig)

patch V8 to 6.2.414.46 (Myles Borins)

module:

module.builtinModules will return a list of built in modules (Jon Moss)

n-api:

add helper for addons to get the event loop (Anna Henningsen)

process:

process.setUncaughtExceptionCaptureCallback can now be used to customize behavior for --abort-on-uncaught-exception (Anna Henningsen)

A signal handler is now able to receive the signal code that triggered the handler. (Robert Rossmann)

src:

embedders can now use Node::CreatePlatform to create an instance of NodePlatform (Cheng Zhao)

stream:

writable.writableHighWaterMark and readable.readableHighWaterMark will return the values the stream object was instantiated with (Calvin Metcalf)

Added new collaborators

maclover7 Jon Moss

guybedford Guy Bedford

hashseed Yang Guo

完整更新内容及下载地址:https://nodejs.org/en/blog/release/v9.3.0/

来自:开源中国社区
文章评论

共有 0 条评论