Node.js v9.9.0发布,服务器端的JavaScript运行环境

作者: baihuo 2018-03-22 15:14:04
Node v9.9.0 (Current) 已发布,该版本添加了一些新特性,也修复了一些问题,详细如下:

显著的改变:

assert:

From now on all error messages produced by assert in strict mode will produce a error diff. (Ruben Bridgewater)

From now on it is possible to use a validation object in throws instead of the other possibilities. (Ruben Bridgewater)

crypto:

allow passing null as IV unless required (Tobias Nießen)

fs:

support as and as+ flags in stringToFlags() (Sarat Addepalli)

tls:

expose Finished messages in TLSSocket (Anton Salikhmetov)

tty:

Add getColorDepth function to determine if terminal supports colors. (Ruben Bridgewater)

util:

add util.inspect compact option (Ruben Bridgewater)

Added new collaborators

watson Thomas Watson

软件详情:https://nodejs.org/en/blog/release/v9.9.0/

下载地址:https://github.com/nodejs/node/releases

来自:开源中国社区

相关资讯