Node.js 12.0.0 发布,服务器端的 JavaScript 运行环境

栏目: Node.js · 发布时间: 6年前

内容简介:值得关注的变更:下载地址:

Node.js 最新版本 v12.0.0 已发布 ,这是非 LTS 版本,不过带来了比较大的改动,包括针对断言、http、模块和进程等功能的改动。

值得关注的变更:

  • assert :
    • validate required arguments (Ruben Bridgewater)  #26641
    • adjust loose assertions (Ruben Bridgewater)  #25008
  • async_hooks :
    • remove deprecated  emitBefore  and  emitAfter  (Matteo Collina)  #26530
    • remove promise object from resource (Andreas Madsen)  #23443
  • bootstrap : make Buffer and process non-enumerable (Ruben Bridgewater)  #24874
  • buffer :
    • use stricter range checks (Ruben Bridgewater)  #27045
    • harden  SlowBuffer  creation (ZYSzys)  #26272
    • harden validation of buffer allocation size (ZYSzys)  #26162
    • do proper error propagation in addon methods (Anna Henningsen)  #23939
  • http :
    • validate timeout in  ClientRequest()  (cjihrig)  #26214
    • return HTTP 431 on  HPE_HEADER_OVERFLOW  error (Albert Still)  #25605
    • switch default parser to llhttp (Anna Henningsen)  #24870
    • Runtime-deprecate  outgoingMessage._headers  and  outgoingMessage._headerNames  (Morgan Roderick)  #24167
  • module :
    • remove unintended access to deps/ (Anna Henningsen)  #25138
    • improve error message for MODULE_NOT_FOUND (Ali Ijaz Sheikh)  #25690
    • requireStack property for MODULE_NOT_FOUND (Ali Ijaz Sheikh)  #25690
    • remove dead code (Ruben Bridgewater)  #26983
    • make  require('.')  never resolve outside the current directory (Ruben Bridgewater)  #26973
    • throw an error for invalid package.json main entries (Ruben Bridgewater)  #26823
    • don't search in  require.resolve.paths  (cjihrig)  #23683
  • process :
    • make global.process, global.Buffer getters (Guy Bedford)  #26882
    • move DEP0062 (node --debug) to end-of-life (Joyee Cheung)  #25828
    • exit on --debug and --debug-brk after option parsing (Joyee Cheung)  #25828
    • improve  --redirect-warnings  handling (Ruben Bridgewater)  #24965

下载地址: https://nodejs.org/en/download/current/


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

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

D3.js in Action

D3.js in Action

Elijah Meeks / Manning Publications / 2014-3 / USD 44.99

Table of Contents Part 1: An Introduction to D3 1 An introduction to D3.js 2 Information Visualization Data Flow 3 D ata-Driven Design and Interaction Part 2: The Pillars of Information......一起来看看 《D3.js in Action》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

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

正则表达式在线测试