1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00
This commit is contained in:
Bartek Iwańczuk 2022-01-05 18:22:50 +01:00 committed by GitHub
parent d0a9bebf39
commit ad4a077894
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 27 additions and 6 deletions

2
Cargo.lock generated
View file

@ -645,7 +645,7 @@ dependencies = [
[[package]] [[package]]
name = "deno" name = "deno"
version = "1.17.1" version = "1.17.2"
dependencies = [ dependencies = [
"atty", "atty",
"base64 0.13.0", "base64 0.13.0",

View file

@ -6,6 +6,27 @@ 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.17.2 / 2022.01.05
- fix(cli): include JSON modules in bundle (#13188)
- fix(core): inspector works if no "Runtime.runIfWaitingForDebugger" message is
sent (#13191)
- fix(coverage): use only string byte indexes and 0-indexed line numbers
(#13190)
- fix(doc): Make private types which show up in the rustdocs public (#13230)
- fix(ext/console): map basic css color keywords to ansi (#13175)
- fix(ext/crypto) - exportKey JWK for AES/HMAC must use base64url (#13264)
- fix(ext/crypto) include AES-CTR for deriveKey (#13174)
- fix(ext/crypto): use forgiving base64 encoding for JWK (#13240)
- fix(ext/ffi): throw errors instead of panic (#13283)
- fix(lsp): add code lens for tests just using named functions (#13218)
- fix(lsp): better handling of folders in registry completions (#13250)
- fix(lsp): handle repeating patterns in registry correctly (#13275)
- fix(lsp): properly generate data URLs for completion items (#13246)
- fix(signals): prevent panic when listening to forbidden signals (#13273)
- fix: support `mts`, `cjs` & `cts` files for `deno test` & `deno fmt` (#13274)
- fix: upgrade swc_ecmascript to 0.103 (#13284)
### 1.17.1 / 2021.12.22 ### 1.17.1 / 2021.12.22
- feat(lsp, unstable): add code lens for debugging tests (#13138) - feat(lsp, unstable): add code lens for debugging tests (#13138)

View file

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

View file

@ -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.119.0/node/http.ts").unwrap(); Url::parse("https://deno.land/std@0.120.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

@ -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.119.0/"; static STD_URL_STR: &str = "https://deno.land/std@0.120.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.119.0/" "std/": "https://deno.land/std@0.120.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.119.0/collections/find_single.ts"; import { findSingle } from "https://deno.land/std@0.120.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));