Node.js v11.0 正式发布!

Node.js v11.0 正式发布!

web前端教程

用大白话,来讲编程

Node.js v11.0 正式发布!

Node.js v11.0 正式发布!

近日,Node.js v11.0.0 已正式发布!该版本主要侧重于对内部和性能方面的改进,以及升级到 V8 7.0 版本。

Node.js v11.0 正式发布!

值得注意的是,从该版本起,Node.js 不再支持 FreeBSD 10。

值得关注的更新:

1. Build 

FreeBSD 10 is no longer supported. 

翻译:FreeBSD 10不再支持。

2. child_process 

The default value of the windowsHide option has been changed to true. 

翻译:隐藏子进程的控制台窗口默认改为了 true。

3. console 

console.countReset() will emit a warning if the timer being reset does not exist. console.time() will no longer reset a timer if it already exists. 

翻译:console.countReset() 重置一个不存在的定时器timer会发出警告。console.time() 如果定时器timer存在,则不会再重置。

4. Dependencies 

V8 has been updated to 7.0. 

翻译:V8引擎更新至版本7.0

5. fs

The fs.read() method now requires a callback. The previously deprecated fs.SyncWriteStream utility has been removed. 

翻译:fs.read()方法现在需要回调啦。之前早已弃用的F.SycWrutestRead已被删除。

6. http 

http The http, https, and tls modules now use the WHATWG URL parser by default. 

翻译:http、https 和 tls 模块现在默认使用WHESWG URL解析器。

更多版本更新信息,请点击底下阅读官方文档。

热门文章

原创教程

原创教程:

附加习题:

趣味职场

职场感悟:

学习困惑:

职场焦虑:

感到迷茫:

薪资待遇:

培训出身:

培训费用:

培训简历:

搞笑黑话:

行业困惑:

职业规划:

新手求职:

新手学习:

职场形象:

合作广告分割线

Node.js v11.0 正式发布!