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

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Node.js 11.13.0 发布了。Node.js 是一个基于 Chrome V8 引擎的 JavaScript runtime,使用高效、轻量级的事件驱动、非阻塞 I/O 模型。 新版本更新亮点如下: crypto 允许将私钥对象传递给公钥 (Tobias Nießen) #...

Node.js 11.13.0 发布了。Node.js 是一个基于 Chrome V8 引擎的 JavaScript runtime,使用高效、轻量级的事件驱动、非阻塞 I/O 模型。

新版本更新亮点如下:

  • crypto
    • 允许将私钥对象传递给公钥 (Tobias Nießen) #26278.
  • events
    • 新增了 once 函数,用于 EventEmitter 的使用 (Matteo Collina) #26078.
  • tty
    • 添加 hasColors 方法到 WriteStream (Ruben Bridgewater) #26247.
    • 新增 NO_COLOR and FORCE_COLOR 的支持 (Ruben Bridgewater) #26485.
  • v8
    • 新增 v8.getHeapSnapshotv8.writeHeapSnapshot 在使用的格式生成快照,使用的是类似 Chrome DevTools 的工具 (James M Snell) #26501.
  • worker
    • 新增 worker.moveMessagePortToContext。这让 MessagePorts 可以在不同的 vm.Contexts 中使用,助于 vm 模块试图提供的隔离 (Anna Henningsen) #26497.
  • C++ API
    • AddPromiseHook 现已弃用。该 API 用于填充由 async_hooks 服务的用例,但现在有了 Promise 的支持 (Anna Henningsen) #26529.
    • 新增的 Stop API 可以在关闭运行中的 Node.js (Gireesh Punathil) #21283.
  • meta

更新详情请查阅发布公告

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


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Beginning Google Maps API 3

Beginning Google Maps API 3

Gabriel Svennerberg / Apress / 2010-07-27 / $39.99

This book is about the next generation of the Google Maps API. It will provide the reader with the skills and knowledge necessary to incorporate Google Maps v3 on web pages in both desktop and mobile ......一起来看看 《Beginning Google Maps API 3》 这本书的介绍吧!

URL 编码/解码
URL 编码/解码

URL 编码/解码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具