Deno 1.5.4 发布,基于 V8 的 TypeScript 运行时

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

内容简介:Deno 1.5.4 现已发布,Deno 是 V8 上的安全 TypeScript 运行时。 此版本更新内容如下: feat(unstable):添加 deno test --no-run feat(unstable):支持 --watch flag 的 bundle 和 fmt 子命令 修复:支持"deno r...

Deno 1.5.4 现已发布,Deno 是 V8 上的安全 TypeScript 运行时。

此版本更新内容如下:

  • feat(unstable):添加 deno test --no-run
  • feat(unstable):支持 --watch flag 的 bundle 和 fmt 子命令
  • 修复:支持"deno run --v8-flags=--help" without script
  • fix(tsc):允许导入非标准扩展
  • 重构: 改进Deno.version类型声明
  • 重构: 将 test 子命令的 --failfast 重命名为 --fail-fast 
  • 升级:rusty_v8 0.13.0,v8 8.8.278.2

Changes in std version 0.79.0:

  • feat(std/hash):添加 HmacSha1
  • feat(std/http):检查 cookie 属性是否有效
  • feat(std/http):验证 cookie 路径值
  • feat(std/io):来自 AsyncIterator 的 ReadableStream 和来自 Writer 的 WritableStream
  • feat(std/log):日志错误堆栈
  • feat(std/node):添加 os.totalmem、os.freemem
  • feat(std/node):添加 ReadableStream、WritableStream、errors support
  • feat(std/node):添加 util.deprecate
  • feat(std/node):添加 process.nextTick
  • fix(std/http):修复请求迭代器中的错误处理
  • fix(std/node):修复事件可扩展性
  • fix(std/node):正确键入 global、globalThis、window

Install / Upgrade

Using Deno:

deno upgrade --version 1.5.4

With Shell:

curl -fsSL https://deno.land/x/install/install.sh | sh -s v1.5.4

With PowerShell:

$v="1.5.4"; iwr https://deno.land/x/install/install.ps1 -useb | iex

更新说明:https://github.com/denoland/deno/releases/tag/v1.5.4 


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

查看所有标签

猜你喜欢:

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

Python Machine Learning

Python Machine Learning

Sebastian Raschka / Packt Publishing - ebooks Account / 2015-9 / USD 44.99

About This Book Leverage Python' s most powerful open-source libraries for deep learning, data wrangling, and data visualization Learn effective strategies and best practices to improve and opti......一起来看看 《Python Machine Learning》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

随机密码生成器
随机密码生成器

多种字符组合密码

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

在线 XML 格式化压缩工具