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]


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

查看所有标签

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

Python编程无师自通

Python编程无师自通

[美] 科里·奥尔索夫(Cory Althoff) / 宋秉金 / 人民邮电出版社 / 2019-1-1 / 59

畅销Python编程类入门书,美国亚马逊Kindle编程类排行榜榜一。 作者从文科毕业,通过自学编程转行为专业程序员,在硅谷工作多年后成功技术创业。本书不仅教读者如何使用Python语言编程,还会介绍其他书中所忽略的、编程初学者应该了解并掌握的其他所有知识点。 本书作者是一名自学成才的程序员,经过一年的自学,掌握了编程技能并在eBay找到了一份软件工程师的工作。本书是作者结合个人经验写......一起来看看 《Python编程无师自通》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

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

在线图片转Base64编码工具