Node v5.11.0 (Stable) 发布了。
以下是一些值得关注的内容:
Buffer:
Buffer.prototype.compare can now compare sub-ranges of two Buffers. (James M Snell) #5880
deps:
update to http-parser 2.7.0 (Fedor Indutny) #6279
update ESLint to 2.7.0 (silverwind) #6132
net:
adds support for passing DNS lookup hints to createConnection() (Colin Ihrig) #6000
node:
Make the builtin libraries available for the --eval and --print CLI options (Anna Henningsen) #6207
npm:
upgrade npm to 3.8.6 (Kat Marchán) #6153
repl:
Pressing enter in the repl will repeat the last command by default if no input has been received. This behaviour was in node previously and was not removed intentionally. (Rich Trott) #6090
src:
add SIGINFO to supported signals (James Reggio) #6093
streams:
Fix a regression that caused by net streams requesting multiple chunks synchronously when combined with cork/uncork (Matteo Collina) #6164
zlib:
The flushing flag is now configurable allowing for decompression of partial data (Anna Henningsen) #6069
下载地址:https://nodejs.org/en/
软件详情:https://nodejs.org/en/blog/release/v5.11.0/
来自:开源中国社区

