1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -05:00
This commit is contained in:
Bartek Iwańczuk 2022-02-17 01:54:07 +01:00 committed by GitHub
parent e17ab6322e
commit 551ace40cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 39 additions and 6 deletions

2
Cargo.lock generated
View file

@ -719,7 +719,7 @@ dependencies = [
[[package]]
name = "deno"
version = "1.18.2"
version = "1.19.0"
dependencies = [
"atty",
"base64 0.13.0",

View file

@ -6,6 +6,39 @@ https://github.com/denoland/deno/releases
We also have one-line install commands at:
https://github.com/denoland/deno_install
### 1.19.0 / 2022.02.17
- feat: Add Deno.FsFile, deprecate Deno.File (#13660)
- feat: Add hint to permission prompt to display allow flag (#13695)
- feat: deno vendor (#13670)
- feat: never prompt for hrtime permission (#13696)
- feat: permission prompt by default (#13650)
- feat(compat): support --compat in web workers (#13629)
- feat(compile): Replace bundling with eszip in deno compile (#13563)
- feat(coverage): add "--output" flag (#13289)
- feat(ext/console): better circular information in object inspection (#13555)
- feat(ext/http): add support for unix domain sockets (#13628)
- feat(ext/net): Add Conn.setNoDelay and Conn.setKeepAlive (#13103)
- feat(ext/web): add CompressionStream API (#11728)
- feat(lsp): add redirect diagnostic and quick fix (#13580)
- feat(lsp): provide completions from import map if available (#13624)
- feat(lsp): support linking to symbols in JSDoc on hover (#13631)
- feat(runtime): stabilize addSignalListener API (#13438)
- feat(runtime): web streams in fs & net APIs (#13615)
- feat(test): better errors for resource sanitizer (#13296)
- feat(test): improved op sanitizer errors + traces (#13676)
- feat(watch): add "--no-clear-screen" flag (#13454)
- fix(compat): ESM resolver for package subpath (#13599)
- fix(ext/console): fix uncaught TypeError in css styling (#13567)
- fix(ext/console): print circular ref indicator in cyan (#13684)
- fix(ext/crypto): optional additionalData in encrypt/decrypt (#13669)
- fix(ext/crypto): support EC p256 private key material in exportKey (#13547)
- fix(lsp): do not panic getting root_uri to auto discover configuration file
(#13603)
- fix(lsp): independent diagnostic publishing should include all diagnostic
sources on each publish (#13483)
- fix(lsp): op_exists handles bad specifiers (#13612)
### 1.18.2 / 2022.02.03
- feat(unstable): add Deno.getUid (#13496)

View file

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

View file

@ -1234,7 +1234,7 @@ mod tests {
let cwd = testdir("basic");
let main = Url::from_file_path(cwd.join("main.js")).unwrap();
let expected =
Url::parse("https://deno.land/std@0.125.0/node/http.ts").unwrap();
Url::parse("https://deno.land/std@0.126.0/node/http.ts").unwrap();
let actual = node_resolve("http", main.as_str(), &cwd).unwrap();
assert!(matches!(actual, ResolveResponse::Esm(_)));

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
// solution to avoid printing `X-Deno-Warning` headers when the compat layer is
// downloaded
static STD_URL_STR: &str = "https://deno.land/std@0.125.0/";
static STD_URL_STR: &str = "https://deno.land/std@0.126.0/";
static SUPPORTED_MODULES: &[&str] = &[
"assert",

View file

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

View file

@ -1,5 +1,5 @@
import { sortBy } from "std/collections/sort_by.ts";
import { findSingle } from "https://deno.land/std@0.125.0/collections/find_single.ts";
import { findSingle } from "https://deno.land/std@0.126.0/collections/find_single.ts";
import os from "node:os";
console.log(sortBy([2, 3, 1], (it) => it));