mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
v1.19.0
This commit is contained in:
parent
e17ab6322e
commit
551ace40cc
7 changed files with 39 additions and 6 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -719,7 +719,7 @@ dependencies = [
|
|||
|
||||
[[package]]
|
||||
name = "deno"
|
||||
version = "1.18.2"
|
||||
version = "1.19.0"
|
||||
dependencies = [
|
||||
"atty",
|
||||
"base64 0.13.0",
|
||||
|
|
33
Releases.md
33
Releases.md
|
@ -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)
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
[package]
|
||||
name = "deno"
|
||||
version = "1.18.2"
|
||||
version = "1.19.0"
|
||||
authors = ["the Deno authors"]
|
||||
default-run = "deno"
|
||||
edition = "2021"
|
||||
|
|
|
@ -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(_)));
|
||||
|
|
|
@ -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",
|
||||
|
|
2
cli/tests/testdata/compat/import_map.json
vendored
2
cli/tests/testdata/compat/import_map.json
vendored
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"imports": {
|
||||
"std/": "https://deno.land/std@0.125.0/"
|
||||
"std/": "https://deno.land/std@0.126.0/"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue