1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00
This commit is contained in:
Luca Casonato 2021-12-03 19:43:54 +01:00 committed by GitHub
parent 2bddf44d69
commit ab286750a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 17 additions and 6 deletions

2
Cargo.lock generated
View file

@ -624,7 +624,7 @@ dependencies = [
[[package]] [[package]]
name = "deno" name = "deno"
version = "1.16.3" version = "1.16.4"
dependencies = [ dependencies = [
"atty", "atty",
"base64 0.13.0", "base64 0.13.0",

View file

@ -6,6 +6,17 @@ 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.16.4 / 2021.12.03
- fix(core): Wake up the runtime if there are ticks scheduled (#12933)
- fix(core): throw on invalid callConsole args (#12973) (#12974)
- fix(ext/crypto): throw on key & op algo mismatch (#12838)
- fix(test): Improve reliability of `deno test`'s op sanitizer with timers
(#12934)
- fix(websocket): bad rid on WebSocketStream abort (#12913)
- fix(workers): Make `worker.terminate()` not immediately kill the isolate
(#12831)
### 1.16.3 / 2021.11.24 ### 1.16.3 / 2021.11.24
- fix(cli): config file should resolve paths relative to the config file - fix(cli): config file should resolve paths relative to the config file

View file

@ -2,7 +2,7 @@
[package] [package]
name = "deno" name = "deno"
version = "1.16.3" version = "1.16.4"
authors = ["the Deno authors"] authors = ["the Deno authors"]
default-run = "deno" default-run = "deno"
edition = "2021" edition = "2021"

View file

@ -1197,7 +1197,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.116.0/node/http.ts").unwrap(); Url::parse("https://deno.land/std@0.117.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);

View file

@ -15,7 +15,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.116.0/"; static STD_URL_STR: &str = "https://deno.land/std@0.117.0/";
static SUPPORTED_MODULES: &[&str] = &[ static SUPPORTED_MODULES: &[&str] = &[
"assert", "assert",

View file

@ -1,5 +1,5 @@
{ {
"imports": { "imports": {
"std/": "https://deno.land/std@0.116.0/" "std/": "https://deno.land/std@0.117.0/"
} }
} }

View file

@ -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.116.0/collections/find_single.ts"; import { findSingle } from "https://deno.land/std@0.117.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));