皇上,还记得我吗?我就是1999年那个Linux伊甸园啊-----24小时滚动更新开源资讯,全年无休!

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

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

Node.js 9.6.0 已发布,有以下值得关注的变化:

  • async_hooks:
    • deprecate unsafe emit{Before,After} (Ali Ijaz Sheikh) #18513
    • rename PromiseWrap.parentId to PromiseWrap.isChainedPromise (Ali Ijaz Sheikh) #18633
  • deps:
    • update node-inspect to 1.11.3 (Jan Krems) #18354
    • ICU 60.2 bump (Steven R. Loomis) #17687
    • Introduce ScriptOrModule and HostDefinedOptions to V8 (Jan Krems) #16889
  • http:
    • add options to http.createServer() for IncomingMessage and ServerReponse (Peter Marton) #15752
  • http2:
    • add http fallback options to .createServer (Peter Marton) #15752
  • https:
    • Adds the remaining options from tls.createSecureContext() to the string generated by Agent#getName(). This allows https.request() to accept the options and generate unique sockets appropriately. (Jeff Principe) #16402
  • inspector:
    • –inspect-brk for es modules (Guy Bedford) #18194
  • lib:
    • allow process kill by signal number (Sam Roberts) #16944
  • module:
    • enable dynamic import (Myles Borins) #18387
    • dynamic import is now supported (Jan Krems) #15713
  • n-api:
    • add methods to open/close callback scope (Michael Dawson) #18089
  • src:
    • allow –perf-(basic-)?prof in NODE_OPTIONS (Leko) #17600
  • vm:
    • add support for es modules (Gus Caplan) #17560

下载地址:https://nodejs.org/en/download/current/

转自 http://www.oschina.net/news/93561/nodejs-9-6-0-released