中文字幕在线观看,亚洲а∨天堂久久精品9966,亚洲成a人片在线观看你懂的,亚洲av成人片无码网站,亚洲国产精品无码久久久五月天

Node v10.6.0 發(fā)布,提供處于實(shí)驗(yàn)階段的 DNS 模塊功能

2018-07-05    來源:oschina

容器云強(qiáng)勢上線!快速搭建集群,上萬Linux鏡像隨意使用
Node.js

Node v10.4.0 已發(fā)布,該版本值得關(guān)注的更新是已提供處于實(shí)驗(yàn)階段的 DNS 模塊功能,此外還包括一些改進(jìn),如對 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 運(yùn)行時。Node.js 使用高效、輕量級的事件驅(qū)動、非阻塞 I/O 模型。

標(biāo)簽: dns

版權(quán)申明:本站文章部分自網(wǎng)絡(luò),如有侵權(quán),請聯(lián)系:west999com@outlook.com
特別注意:本站所有轉(zhuǎn)載文章言論不代表本站觀點(diǎn)!
本站所提供的圖片等素材,版權(quán)歸原作者所有,如需使用,請與原作者聯(lián)系。

上一篇:7 月編程語言指數(shù)榜:Python 與 Java 逐漸拉開差距

下一篇:key-value 存儲系統(tǒng) RocksDB v5.14.2 發(fā)布,bug 修復(fù)