mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
v1.18.2
This commit is contained in:
parent
742e782415
commit
ac4311880f
7 changed files with 21 additions and 6 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -710,7 +710,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "deno"
|
name = "deno"
|
||||||
version = "1.18.1"
|
version = "1.18.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"atty",
|
"atty",
|
||||||
"base64 0.13.0",
|
"base64 0.13.0",
|
||||||
|
|
15
Releases.md
15
Releases.md
|
@ -6,6 +6,21 @@ https://github.com/denoland/deno/releases
|
||||||
We also have one-line install commands at:
|
We also have one-line install commands at:
|
||||||
https://github.com/denoland/deno_install
|
https://github.com/denoland/deno_install
|
||||||
|
|
||||||
|
### 1.18.2 / 2022.02.03
|
||||||
|
|
||||||
|
- feat(unstable): add Deno.getUid (#13496)
|
||||||
|
- fix: don't crash when $HOME is a relative path (#13581)
|
||||||
|
- fix(cli): handle extensionless imports better (#13548)
|
||||||
|
- fix(cli): handle local files with query params on emit (#13568)
|
||||||
|
- fix(cli/dts/webgpu): make GPUBlendComponent properties optional (#13574)
|
||||||
|
- fix(ext/crypto): enforce 128bits tagLength for AES-GCM decryption (#13536)
|
||||||
|
- fix(ext/crypto): utf16 jwk encoding (#13535)
|
||||||
|
- fix(lsp): properly display x-deno-warning with redirects (#13554)
|
||||||
|
- fix(lsp): regression where certain diagnostics were showing for disabled files
|
||||||
|
(#13530)
|
||||||
|
- fix(repl): tab completions (#13540)
|
||||||
|
- perf(lsp): cancellable TS diagnostics (#13565)
|
||||||
|
|
||||||
### 1.18.1 / 2022.01.27
|
### 1.18.1 / 2022.01.27
|
||||||
|
|
||||||
- feat(unstable): add Deno.networkInterfaces (#13475)
|
- feat(unstable): add Deno.networkInterfaces (#13475)
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "deno"
|
name = "deno"
|
||||||
version = "1.18.1"
|
version = "1.18.2"
|
||||||
authors = ["the Deno authors"]
|
authors = ["the Deno authors"]
|
||||||
default-run = "deno"
|
default-run = "deno"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
@ -1193,7 +1193,7 @@ mod tests {
|
||||||
let cwd = testdir("basic");
|
let cwd = testdir("basic");
|
||||||
let main = Url::from_file_path(cwd.join("main.js")).unwrap();
|
let main = Url::from_file_path(cwd.join("main.js")).unwrap();
|
||||||
let expected =
|
let expected =
|
||||||
Url::parse("https://deno.land/std@0.123.0/node/http.ts").unwrap();
|
Url::parse("https://deno.land/std@0.125.0/node/http.ts").unwrap();
|
||||||
|
|
||||||
let actual = node_resolve("http", main.as_str(), &cwd).unwrap();
|
let actual = node_resolve("http", main.as_str(), &cwd).unwrap();
|
||||||
println!("actual {}", actual);
|
println!("actual {}", actual);
|
||||||
|
|
|
@ -16,7 +16,7 @@ pub(crate) use esm_resolver::NodeEsmResolver;
|
||||||
// each release, a better mechanism is preferable, but it's a quick and dirty
|
// each release, a better mechanism is preferable, but it's a quick and dirty
|
||||||
// solution to avoid printing `X-Deno-Warning` headers when the compat layer is
|
// solution to avoid printing `X-Deno-Warning` headers when the compat layer is
|
||||||
// downloaded
|
// downloaded
|
||||||
static STD_URL_STR: &str = "https://deno.land/std@0.123.0/";
|
static STD_URL_STR: &str = "https://deno.land/std@0.125.0/";
|
||||||
|
|
||||||
static SUPPORTED_MODULES: &[&str] = &[
|
static SUPPORTED_MODULES: &[&str] = &[
|
||||||
"assert",
|
"assert",
|
||||||
|
|
2
cli/tests/testdata/compat/import_map.json
vendored
2
cli/tests/testdata/compat/import_map.json
vendored
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"imports": {
|
"imports": {
|
||||||
"std/": "https://deno.land/std@0.123.0/"
|
"std/": "https://deno.land/std@0.125.0/"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
import { sortBy } from "std/collections/sort_by.ts";
|
import { sortBy } from "std/collections/sort_by.ts";
|
||||||
import { findSingle } from "https://deno.land/std@0.123.0/collections/find_single.ts";
|
import { findSingle } from "https://deno.land/std@0.125.0/collections/find_single.ts";
|
||||||
import os from "node:os";
|
import os from "node:os";
|
||||||
|
|
||||||
console.log(sortBy([2, 3, 1], (it) => it));
|
console.log(sortBy([2, 3, 1], (it) => it));
|
||||||
|
|
Loading…
Reference in a new issue