内容简介:Node.js v10.12.0 已发布,更新内容如下: assert The diff output is now a tiny bit improved by sorting object properties when inspecting the values that are compared with each other. #22788 cli The ...
Node.js v10.12.0 已发布,更新内容如下:
assert
The diff output is now a tiny bit improved by sorting object properties when inspecting the values that are compared with each other. #22788
cli
The options parser now normalizes
_to-in all multi-word command-line flags, e.g.--no_warningshas the same effect as--no-warnings. #23020Added bash completion for the
nodebinary. To generate a bash completion script, runnode --completion-bash. The output can be saved to a file which can be sourced to enable completion. #20713crypto
Added support for PEM-level encryption. #23151
Added an API asymmetric key pair generation. The new methods
crypto.generateKeyPairandcrypto.generateKeyPairSynccan be used to generate public and private key pairs. The API supports RSA, DSA and EC and a variety of key encodings (both PEM and DER). #22660fs
Added a
recursiveoption tofs.mkdirandfs.mkdirSync. If this option is set to true, non-existing parent folders will be automatically created. #21875http2
Added a
'ping'event toHttp2Sessionthat is emitted whenever a non-ackPINGis received. #23009Added support for the
ORIGINframe. #22956Updated nghttp2 to 1.34.0. This adds RFC 8441 extended connect protocol support to allow use of WebSockets over HTTP/2. #23284
module
Added
module.createRequireFromPath(filename). This new method can be used to create a custom require function that will resolve modules relative to the filename path. #19360process
Added a
'multipleResolves'process event that is emitted whenever aPromiseis attempted to be resolved multiple times, e.g. if theresolveandrejectfunctions are both called in aPromiseexecutor. #22218url
Added
url.fileURLToPath(url)andurl.pathToFileURL(path). These methods can be used to correctly convert between file: URLs and absolute paths. #22506util
Added the
sortedoption toutil.inspect(). If set totrue, all properties of an object and Set and Map entries will be sorted in the returned string. If set to a function, it is used as a compare function. #22788The
util.instpect.customsymbol is now defined in the global symbol registry asSymbol.for('nodejs.util.inspect.custom'). #20857Added support for
BigIntnumbers inutil.format(). #22097V8 API
A number of V8 C++ APIs have been marked as deprecated since they have been removed in the upstream repository. Replacement APIs are added where necessary. #23159
Windows
The Windows msi installer now provides an option to automatically install the tools required to build native modules. #22645
Workers
Debugging support for Workers using the DevTools protocol has been implemented. #21364
The public
inspectormodule is now enabled in Workers. #22769Added new collaborators:
digitalinfinity - Hitesh Kanwathirtha
完整更新内容和下载地址请查阅发行说明。
【声明】文章转载自:开源中国社区 [http://www.oschina.net]
以上就是本文的全部内容,希望本文的内容对大家的学习或者工作能带来一定的帮助,也希望大家多多支持 码农网
本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。
图解TCP/IP : 第5版
[日]竹下隆史、[日]村山公保、[日]荒井透、[日]苅田幸雄 / 乌尼日其其格 / 人民邮电出版社 / 2013-7-1 / 69.00元
这是一本图文并茂的网络管理技术书籍,旨在让广大读者理解TCP/IP的基本知识、掌握TCP/IP的基本技能。 书中讲解了网络基础知识、TCP/IP基础知识、数据链路、IP协议、IP协议相关技术、TCP与UDP、路由协议、应用协议、网络安全等内容,引导读者了解和掌握TCP/IP,营造一个安全的、使用放心的网络环境。 本书适合计算机网络的开发、管理人员阅读,也可作为大专院校相关专业的教学参考......一起来看看 《图解TCP/IP : 第5版》 这本书的介绍吧!
XML 在线格式化
在线 XML 格式化压缩工具
html转js在线工具
html转js在线工具