Deno v1.5.3 版本发布

Deno 于 2020.11.16 发布了 v1.5.3 版本。中国用户可以使用以下命令安装 Deno v1.5.3 版本:

Linux/macOS:

curl -fsSL https://x.deno.js.cn/install.sh | sh -s v1.5.3

Windows:

$v="1.5.3"; iwr https://x.deno.js.cn/install.ps1 -useb | iex

同时安装多个版本 deno 可以使用 dvm


Deno CLI 的变更:

  • 特性(unstable): 使 deno lint 命令支持了 --rules --json 选项 (#8384)

  • 修复: 修复 various global objects constructor length (#8373)

  • 修复: allow declaration emits for Deno.compile() (#8303)

  • 修复: allow root modules be .mjs/.cjs (#8310)

  • 修复: allow setting of importsNotUsedAsValues in Deno.compile() (#8306)

  • 修复: do not write tsbuildinfo when diagnostics are emitted (#8311)

  • 修复: don’t walk the subdirectory twice when using the --ignore flag (#8040, #8375)

  • 修复: local sources are not cached in memory (#8328)

  • 修复: Use safe shell escaping in deno install (#7613)

  • 修复: DOM handler order in Websocket and Worker (#8320, #8334)

  • 修复(op_crates/web) make isTrusted not constructable (#8337)

  • 修复(op_crates/web): FileReader event handler order (#8348)

  • 修复(op_crates/web): handler order when reassign (#8264)

  • 重构: deno_crypto op crate (#7956)

Deno 标准库(Deno Standard Modules) 0.78.0 的变更:

  • 特性(std/node): consistent Node.js builtin shapes (#8274)

  • 修复(std/http): flush body chunks for HTTP chunked encoding (#8349)

  • 重构(std/fs): moved isCopyFolder to options (#8319)

2 个赞