Node v10.6.0 发布,提供处于实验阶段的 DNS 模块功能

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

内容简介:Node v10.4.0 已发布,该版本值得关注的更新是已提供处于实验阶段的 DNS 模块功能,此外还包括一些改进,如对 worker 的支持。 dns: An experimental promisified version of the dns module is now available....

Node v10.4.0 已发布,该版本值得关注的更新是已提供处于实验阶段的 DNS 模块功能,此外还包括一些改进,如对 worker 的支持。

  • dns:

    • An experimental promisified version of the dns module is now available. Give it a try with require('dns').promises#21264

  • fs:

    • fs.lchown has been undeprecated now that libuv supports it. #21498

  • lib:

    • Atomics.wake is being renamed to Atomics.notify in the ECMAScript specification (reference). Since Node.js now has experimental support for worker threads, we are being proactive and added a notify alias, while emitting a warning if wake is used. #21413 #21518

  • n-api:

    • Add API for asynchronous functions. #17887

  • util:

    • util.inspect is now able to return a result instead of throwing when the maximum call stack size is exceeded during inspection. #20725

  • vm:

    • Add script.createCachedData(). This API replaces the produceCachedData option of the Script constructor that is now deprecated. #20300

  • worker:

    • Support for relative paths has been added to the Worker constructor. Paths are interpreted relative to the current working directory. #21407

下载地址:https://nodejs.org/en/download/current/https://github.com/nodejs/node/releases/tag/v10.6.0

Node.js 是一个基于 Chrome V8 引擎的 JavaScript 运行时。Node.js 使用高效、轻量级的事件驱动、非阻塞 I/O 模型。


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


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

查看所有标签

猜你喜欢:

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

深入浅出MFC (第二版)

深入浅出MFC (第二版)

侯俊杰 / 华中科技大学出版社 / 2001-1 / 80.00元

《深入浅出MFC》分为四大篇。第一篇提出学习MFC程序设计之前的必要基础,包括Widnows程序的基本观念以及C++的高阶议题。“学前基础”是相当主观的认定,但作者是甚于自己的学习经验以及教学经验,其挑选应该颇具说服力。第二篇介绍Visual C++整合环境开发工具。此篇只是提纲挈领,并不企图取代Visual C++使用手册;然而对于软件使用的老手,此篇或已足以帮助掌握Visual C++整合环境......一起来看看 《深入浅出MFC (第二版)》 这本书的介绍吧!

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

HTML 编码/解码

MD5 加密
MD5 加密

MD5 加密工具

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具