Deno 于 2020.12.14 发布了 v1.6.1 版本。中国用户可以使用以下命令安装 Deno v1.6.1 版本:
Linux/macOS:
curl -fsSL https://x.deno.js.cn/install.sh | sh -s v1.6.1
Windows:
$v="1.6.1"; iwr https://x.deno.js.cn/install.ps1 -useb | iex
同时安装多个版本 deno 可以使用 dvm。
Deno CLI 的变更:
-
feat(lsp): support import maps (#8683)
-
fix: show canary string in long version (#8675)
-
fix: zsh completions (#8718)
-
fix(compile): error when the output path already exists (#8681)
-
fix(lsp): only resolve sources with supported schemas (#8696)
-
fix(op_crates/fetch): support non-ascii response headers value (#8600)
-
fix(repl): recover from invalid input (#8759)
-
refactor: deno_runtime crate (#8640)
-
upgrade: swc_ecmascript to 0.15.0 (#8688)
Deno 标准库(Deno Standard Modules) 0.81.0 的变更: