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

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

内容简介: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]


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

查看所有标签

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

Web开发敏捷之道

Web开发敏捷之道

Sam Ruby、Dave Thomas、David Heineme Hansson / 慕尼黑Isar工作组、骆古道 / 机械工业出版社 / 2012-3-15 / 59.00元

本书第1版曾荣获Jolt大奖“最佳技术图书”奖。在前3版的内容架构基础上,第4版增加了关于Rails中新特性和最佳实践的内容。本书从逐步创建一个真正的应用程序开始,然后介绍Rails的内置功能。全书分为3部分,第一部分介绍Rails的安装、应用程序验证、Rails框架的体系结构,以及Ruby语言的知识;第二部分用迭代方式创建应用程序,然后依据敏捷开发模式搭建测试案例,最终用Capistrano完成......一起来看看 《Web开发敏捷之道》 这本书的介绍吧!

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

在线压缩/解压 CSS 代码

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具