Node.js 10.2.0 发布,功能改进和 Bug 修复

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

内容简介:Node.js 10.2.0 已发布,这是针对 10.x 系列的第二个维护版本,包含一些改进和修复。 主要亮点: addons: Fixed a memory leak for users of AsyncResource and N-API. (Michael Dawson) #20668 assert: The ...

Node.js 10.2.0 已发布,这是针对 10.x 系列的第二个维护版本,包含一些改进和修复。

主要亮点:

  • addons:

    • Fixed a memory leak for users of AsyncResource and N-API. (Michael Dawson) #20668

  • assert:

    • The error parameter of assert.throws() can be an object containing regular expressions now. (Ruben Bridgewater) #20485

  • crypto:

    • The authTagLength option has been made more flexible. (Tobias Nießen) #20235#20039

  • esm:

    • Builtin modules (e.g. fs) now provide named exports in ES6 modules. (Gus Caplan) #20403

  • http:

    • Handling of close and aborted events has been made more consistent. (Robert Nagy) #20075#20611

  • module:

    • add --preserve-symlinks-main (David Goldstein) #19911

  • timers:

    • timeout.refresh() has been added to the public API. (Jeremiah Senkpiel) #20298

  • Embedder support:

    • Functions for creating V8 Isolate and Context objects with Node.js-specific behaviour have been added to the API. (Allen Yonghuang Wang) #20639

    • Node.js Environments clean up resources before exiting now. (Anna Henningsen) #19377

    • Support for multi-threaded embedding has been improved. (Anna Henningsen) #20542#20539#20541

更多内容可查阅更新日志。

下载地址:


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

Game Programming Patterns

Game Programming Patterns

Robert Nystrom / Genever Benning / 2014-11-2 / USD 39.95

The biggest challenge facing many game programmers is completing their game. Most game projects fizzle out, overwhelmed by the complexity of their own code. Game Programming Patterns tackles that exac......一起来看看 《Game Programming Patterns》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具