Deno v1.5.1 版本发布

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

Linux/macOS:

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

Windows:

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

Deno CLI 的变更:

  • fix: Accept Windows line breaks in prompt/confirm/alert (#8149)

  • fix: Deno.fdata(), Deno.fdatasync() added to stable (#8193)

  • fix: Strip “\?” prefix when displaying Windows paths (#8135)

  • fix: Make hashes of tsconfig deterministic (#8167)

  • fix: Module graph handles redirects properly (#8159)

  • fix: Restore tripleslash lib refs support (#8157)

  • fix: Panic in bundler (#8168)

  • fix(repl): Don’t hang on unpaired braces (#8151)

  • refactor: Don’t spin up V8 for deno cache (#8186)

  • refactor: Create a single watcher for whole process (#8083)

  • upgrade: deno_doc, deno_lint, dprint, swc (#8197)

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

  • feat(std/node/crypto): Add randomBytes and pbkdf2 (#8191)

  • fix(std/wasi): Remove stray console.log call (#8156)

1 个赞