node.js 13.1.0 发布

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

内容简介:显著变化 cli: 添加了一个新标志(--trace-uncaught),该标志使Node.js 在引发未捕获的异常时(而不是在创建Error对象时,如果有的话)打印堆栈跟踪。默认情况下禁用此功能, 因为它会影响GC行为(Anna Hennin...

显著变化

  • cli
    • 添加了一个新标志(--trace-uncaught),该标志使Node.js
      在引发未捕获的异常时(而不是在创建Error对象时,如果有的话)打印堆栈跟踪。默认情况下禁用此功能,
      因为它会影响GC行为(Anna Henningsen)#30025
  • 加密
    • 新增Hash.prototype.copy()方法。它返回一个新Hash对象,
      其内部状态从原始对象(Ben Noordhuis)#29910中克隆
  • dgram
    • 添加了特定于源的多播支持。这会将函数添加到 sockets 数据中,以支持针对IPv4 和IPv6的RFC 4607
      (Lucas Pardue)#15735
  • fs
    • 为添加了一个bufferSize选项fs.opendir()。它允许控制从
      目录中读取时在内部缓冲的条目的数量(Anna Henningsen)#30114

 

其他64个不显著的更新:

  • [445837851b] - async_hooks: only emit after for AsyncResource if stack not empty (Anna Henningsen) #30087
  • [8860bd68b6] - buffer: improve performance caused by primordials (Jizu Sun) #30235
  • [1bded9841c] - build: fix detection of Visual Studio 2017 (Richard Lau) #30119
  • [49e7f042f9] - build: add workaround for WSL (gengjiawen) #30221
  • [03827ddf38] - build: allow Python 3.8 (Michaël Zasso) #30194
  • [54698113c0] - build: find Python syntax errors in dependencies (Christian Clauss) #30143
  • [b255688d5f] - build: fix pkg-config search for libnghttp2 (Ben Noordhuis) #30145
  • [8980d8c25f] - build: vcbuild uses default Python, not Py2 (João Reis) #30091
  • [cedad02406] - build: prefer python 3 over 2 for configure (Sam Roberts) #30091
  • [5ba842b8f9] - build: python3 support for configure (Rod Vagg) #30047
  • [d05f67caef] - cli: whitelist new V8 flag in NODE_OPTIONS (Shelley Vohr) #30094
  • [5ca58646c1] - (SEMVER-MINOR) cli: add --trace-uncaught flag (Anna Henningsen) #30025
  • [8b75aabee9] - crypto: guard with OPENSSL_NO_GOST (Shelley Vohr) #30050
  • [1d03df4c5e] - (SEMVER-MINOR) crypto: add Hash.prototype.copy() method (Ben Noordhuis) #29910
  • [46c9194ec8] - deps: V8: cherry-pick a7dffcd767be (Christian Clauss) #30218
  • [104bfb9a38] - deps: V8: cherry-pick e5dbc95 (Gabriel Schulhof) #30130
  • [e3124481c2] - deps: update npm to 6.12.1 (Michael Perrotte) #30164
  • [f3d00c594d] - deps: V8: backport 777fa98 (Michaël Zasso) #30062
  • [1cfa98c23e] - deps: V8: cherry-pick c721203 (Michaël Zasso) #30065
  • [0d9ae1b8f6] - deps: V8: cherry-pick ed40ab1 (Michaël Zasso) #30064
  • [a63f7e73c4] - (SEMVER-MINOR) dgram: add source-specific multicast support (Lucas Pardue) #15735
  • [fc407bb555] - doc: add missing hash for header link (Nick Schonning) #30188
  • [201a60e6ba] - doc: linkify .setupMaster() in cluster doc (Trivikram Kamat) #30204
  • [b7070f315f] - doc: explain http2 aborted event callback (dev-313) #30179
  • [f8fb2c06c5] - doc: linkify .fork() in cluster documentation (Anna Henningsen) #30163
  • [ae81360214] - doc: update AUTHORS list (Michaël Zasso) #30142
  • [1499a72a1f] - doc: improve doc Http2Session:Timeout (dev-313) #30161
  • [3709b5cc7e] - doc: move inactive Collaborators to emeriti (Rich Trott) #30177
  • [a48d17900b] - doc: add options description for send APIs (dev-313) #29868
  • [dfb4a24695] - doc: fix an error in resolution algorithm steps (Alex Zherdev) #29940
  • [403a648a16] - doc: fix numbering in require algorithm (Jan Krems) #30117
  • [e4ab6fced1] - doc: remove incorrect and outdated example (Tobias Nießen) #30138
  • [3c23224a76] - doc: adjust code sample for stream.finished (Cotton Hou) #29983
  • [d91d270416] - doc: claim NODE_MODULE_VERSION=80 for Electron 9 (Samuel Attard) #30052
  • [621eaf9ed5] - doc: remove "it is important to" phrasing (Rich Trott) #30108
  • [9a71091098] - doc: revise os.md (Rich Trott) #30102
  • [381c6cd0d2] - doc: delete "a number of" things in the docs (Rich Trott) #30103
  • [45c70a9793] - doc: remove dashes (Rich Trott) #30101
  • [ea9d125536] - doc: add legendecas to collaborators (legendecas) #30115
  • [39070bbed0] - doc: make YAML matter consistent in crypto.md (Rich Trott) #30016
  • [978946e38b] - doc,meta: prefer aliases and stubs over Runtime Deprecations (Rich Trott) #30153
  • [32a538901f] - doc,n-api: sort bottom-of-the-page references (Gabriel Schulhof) #30124
  • [07b5584a3f] - (SEMVER-MINOR) fs: add bufferSize option to fs.opendir() (Anna Henningsen) #30114
  • [2505f678ef] - http: support readable hwm in IncomingMessage (Colin Ihrig) #30135
  • [f01c5c51b0] - inspector: turn platform tasks that outlive Agent into no-ops (Anna Henningsen) #30031
  • [050efebf24] - meta: use contact_links instead of issue templates (Michaël Zasso) #30172
  • [edfbee3727] - module: resolve self-references (Jan Krems) #29327
  • [93b1bb8cb5] - n-api,doc: add info about building n-api addons (Jim Schlight) #30032
  • [cc1cd2b3c5] - src: isolate->Dispose() order consistency (Shelley Vohr) #30181
  • [a0df91cce1] - (SEMVER-MINOR) src: expose granular SetIsolateUpForNode (Shelley Vohr) #30150
  • [ec7b69ff05] - src: change env.h includes for forward declarations (Alexandre Ferrando) #30133
  • [98c8f76dd1] - src: split up InitializeContext (Shelley Vohr) #30067
  • [d78e3176dd] - src: fix crash with SyntheticModule#setExport (Michaël Zasso) #30062
  • [fd0aded233] - src: allow inspector without v8 platform (Shelley Vohr) #30049
  • [87f14e13b3] - stream: extract Readable.from in its own file (Matteo Collina) #30140
  • [1d9f4278dd] - test: use arrow functions for callbacks (Minuk Park) #30069
  • [a03809d7dd] - test: verify npm compatibility with releases (Michaël Zasso) #30082
  • [68e4b5a1fc] - tools: fix Python 3 deprecation warning in test.py (Loris Zinsou) #30208
  • [348ec693ac] - tools: fix Python 3 syntax error in mac_tool.py (Christian Clauss) #30146
  • [e2fb353df3] - tools: use print() function in buildbot_run.py (Christian Clauss) #30148
  • [bcbcce5983] - tools: undefined name opts -> args in gyptest.py (Christian Clauss) #30144
  • [14981f5bba] - tools: git rm -r tools/v8_gypfiles/broken (Christian Clauss) #30149
  • [d549a34597] - tools: update ESLint to 6.6.0 (Colin Ihrig) #30123
  • [a3757546e8] - tools: doc: improve async workflow of generate.js (Theotime Poisseau) #30106
 

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

查看所有标签

猜你喜欢:

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

Head First Python

Head First Python

Paul Barry / O'Reilly Media / 2010-11-30 / USD 49.99

Are you keen to add Python to your programming skills? Learn quickly and have some fun at the same time with Head First Python. This book takes you beyond typical how-to manuals with engaging images, ......一起来看看 《Head First Python》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试