Node.js v11.0.0 已正式发布!该版本主要侧重于对内部和性能方面的改进,以及升级到 V8 7.0 版本。 值得注意的是,从该版本起,Node.js 不再支持 FreeBSD 10。
值得关注的更新:
Build child_process
console
Dependencies fs
http
General Use of process.binding() has been deprecated. Userland code using process.binding() should
re-evaluate that use and begin migrating. If there are no supported API
alternatives, please open an issue in the Node.js GitHub repository so
that a suitable alternative may be discussed. An experimental implementation of queueMicrotask() has been added. #22951
Internal Timers util
The WHATWG TextEncoder and TextDecoder are now globals. #22281 util.inspect() output size is limited to 128 MB by default. #22756
A runtime warning will be emitted when NODE_DEBUG is set for either http or http2 . #21914
点此查看完整的更新日志。 下载地址:https://nodejs.org/en/download/current/ Node.js 是一个基于 Chrome V8 引擎的 JavaScript 运行时。 Node.js 使用高效、轻量级的事件驱动、非阻塞 I/O 模型。 |