Deno v1.4.2 版本发布

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

Linux/macOS:

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

Windows:

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

Deno CLI 的变更:

  • 修复: 更好的 console 格式化 (#7642, #7641, #7553)

  • 修复: Change log level to which prefix added (#7582)

  • 修复: Change the Console class declaration to an interface (#7646)

  • 修复: Clearing timers race condition (#7617)

  • 修复: customInspect works on functions (#7670)

  • 修复: Ignore fileExists in tsc host (#7635)

  • 修复: Make --unstable a global flag (#7585)

  • 修复: Make --watch and --inspect conflicting args (#7610)

  • 修复: Make some web API constructors illegal at runtime (#7468)

  • 修复: Replaced legacy chrome-devtools:// scheme. (#7659)

  • 修复: Response.arrayBuffer() doesn’t return promise (#7618)

  • 修复: Update supported text encodings (#7668)

  • 修复: Use class instead of var+interface in d.ts #7514

  • 修复(coverage): print lines with no coverage to stdout (#7640)

  • 修复(fmt,lint): do not print number of checked files when --quiet is enabled

(#7579)

  • 修复(info): add --importmap flag (#7424)

  • 修复(installer): Don’t reload by default (#7596)

  • 修复(repl): interpret object literals as expressions (#7591)

  • 修复(watch): watch importmap file for changes (#7580)

  • 重构(core): support error stack, remove js_check (#7629, #7636)

  • 重构(coverage): Harden coverage collection (#7584, #7616, #7577)

  • 升级: TypeScript to 4.0.3 (#7637)

  • example(core): Add hello world example (#7611)

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

  • 特性(std/node): implement getSystemErrorName() (#7624)

  • 修复(std/datetime): 12 and 24 support (#7661)

  • 修复(std/fs): mark createWalkEntry(Sync) as internal (#7643)

  • chore(std/hash): update crates (#7631)

啥也别说了,奥利给