Node.js 12.4.0 发布,JSON 文档稳定

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

内容简介:显着的变化 doc: API文档的JSON变体不再是实验性的(Rich Trott)#27842。 esm: 始终启用JSON模块支持--experimental-modules。该 --experimental-json-modules旗帜已被删除(Myles Borins)#27752。 http,h...

显着的变化

  • doc
    • API文档的JSON变体不再是实验性的(Rich Trott)#27842
  • esm
    • 始终启用JSON模块支持--experimental-modules。该
      --experimental-json-modules旗帜已被删除(Myles Borins)#27752
  • http,http2
    • 添加了一个新标志,用于覆盖默认的HTTP服务器套接字
      超时(两分钟)。通过--http-server-default-timeout=milliseconds
      --http-server-default-timeout=0分别更改或禁用超时。
      从Node.js 13.0.0开始,默认情况下将禁用超时(Ali Ijaz Sheikh)#27704
  • inspector
    • 添加了一个实验--heap-prof标志,用于
      在启动时启动V8堆分析器,并在退出之前将堆配置文件写入磁盘(Joyee Cheung)#27596
    • readable.unshift()方法现在正确地将字符串转换为缓冲区 
      此外,接受新的可选参数来指定字符串的
      编码,例如'utf8''ascii'(Marcos Casagrande)#27194
  • v8
    • 返回的对象v8.getHeapStatistics()有两个新属性:
      number_of_native_contextsnumber_of_detached_contexts(Yuriy Vasiyarov)#27933

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

查看所有标签

猜你喜欢:

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

Numerical Methods and Methods of Approximation in Science and En

Numerical Methods and Methods of Approximation in Science and En

Karan Surana / CRC Press / 2018-10-31

ABOUT THIS BOOK Numerical Methods and Methods of Approximation in Science and Engineering prepares students and other readers for advanced studies involving applied numerical and computational anal......一起来看看 《Numerical Methods and Methods of Approximation in Science and En》 这本书的介绍吧!

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

在线压缩/解压 JS 代码

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码