mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 20:38:55 +00:00
1.18.0
This commit is contained in:
parent
16776c9ade
commit
2ea535c8c1
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -700,7 +700,7 @@ dependencies = [
|
||||
|
||||
[[package]]
|
||||
name = "deno"
|
||||
version = "1.17.3"
|
||||
version = "1.18.0"
|
||||
dependencies = [
|
||||
"atty",
|
||||
"base64 0.13.0",
|
||||
|
42
Releases.md
42
Releases.md
@ -6,6 +6,48 @@ https://github.com/denoland/deno/releases
|
||||
We also have one-line install commands at:
|
||||
https://github.com/denoland/deno_install
|
||||
|
||||
### 1.18.0 / 2022.01.20
|
||||
|
||||
- feat: auto-discover config file (#13313)
|
||||
- feat: output `cause` on JS runtime errors (#13209)
|
||||
- feat: stabilize test steps API (#13400)
|
||||
- feat(cli, runtime): compress snapshots (#13320)
|
||||
- feat(cli): add ignore directives to bundled code (#13309)
|
||||
- feat(compat) preload Node.js built-in modules in global vars REPL (#13127)
|
||||
- feat(ext/crypto): implement AES-GCM decryption (#13319)
|
||||
- feat(ext/crypto): implement AES-GCM encryption (#13119)
|
||||
- feat(ext/crypto): implement AES-KW for wrapKey/unwrapKey (#13286)
|
||||
- feat(ext/crypto): implement pkcs8/JWK for P-384 curves (#13154)
|
||||
- feat(ext/crypto): implement pkcs8/spki/jwk exportKey for ECDSA and ECDH
|
||||
(#13104)
|
||||
- feat(ext/crypto): JWK support for unwrapKey/wrapKey (#13261)
|
||||
- feat(ext/crypto): support AES-CTR encrypt/decrypt (#13177)
|
||||
- feat(ext/crypto): support importing raw EC keys (#13079)
|
||||
- feat(ext/ffi): infer symbol types (#13221)
|
||||
- feat(ext/ffi): support alias names for symbol definitions (#13090)
|
||||
- feat(ext/ffi): UnsafeFnPointer API (#13340)
|
||||
- feat(ext/websocket): add header support to WebSocketStream (#11887)
|
||||
- feat(ext/websocket): server automatically handle ping/pong for incoming
|
||||
WebSocket (#13172)
|
||||
- feat(lsp): provide registry details on hover if present (#13294)
|
||||
- feat(runtime): add op_network_interfaces (#12964)
|
||||
- feat(serde_v8): deserialize ArrayBuffers (#13436)
|
||||
- feat(streams): reject pending reads when releasing reader (#13375)
|
||||
- feat(test): Add support for "deno test --compat" (#13235)
|
||||
- fix(cli): Don't strip shebangs from modules (#13220)
|
||||
- fix(cli): fix `deno install --prompt` (#13349)
|
||||
- fix(cli/dts): add NotSupported error type (#13432)
|
||||
- fix(ext/console): don't depend on globalThis present (#13387)
|
||||
- fix(ext/crypto): validate maskGenAlgorithm asn1 in importKey (#13421)
|
||||
- fix(ext/ffi): `pointer` type can accept `null` (#13335)
|
||||
- fix(fmt): markdown formatting should not remove backslashed backslash at start
|
||||
of paragraph (#13429)
|
||||
- fix(lsp): better handling of registry config errors (#13418)
|
||||
- fix(runtime): don't crash when window is deleted (#13392)
|
||||
- fix(streams): update TypeError message for pending reads when releasing reader
|
||||
(#13376)
|
||||
- fix(tsc): Add typings for `Intl.ListFormat` (#13301)
|
||||
|
||||
### 1.17.3 / 2022.01.12
|
||||
|
||||
- fix: Get lib.deno_core.d.ts to parse correctly (#13238)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
[package]
|
||||
name = "deno"
|
||||
version = "1.17.3"
|
||||
version = "1.18.0"
|
||||
authors = ["the Deno authors"]
|
||||
default-run = "deno"
|
||||
edition = "2021"
|
||||
|
@ -1193,7 +1193,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.121.0/node/http.ts").unwrap();
|
||||
Url::parse("https://deno.land/std@0.122.0/node/http.ts").unwrap();
|
||||
|
||||
let actual = node_resolve("http", main.as_str(), &cwd).unwrap();
|
||||
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
|
||||
// solution to avoid printing `X-Deno-Warning` headers when the compat layer is
|
||||
// downloaded
|
||||
static STD_URL_STR: &str = "https://deno.land/std@0.121.0/";
|
||||
static STD_URL_STR: &str = "https://deno.land/std@0.122.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.121.0/"
|
||||
"std/": "https://deno.land/std@0.122.0/"
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
import { sortBy } from "std/collections/sort_by.ts";
|
||||
import { findSingle } from "https://deno.land/std@0.121.0/collections/find_single.ts";
|
||||
import { findSingle } from "https://deno.land/std@0.122.0/collections/find_single.ts";
|
||||
import os from "node:os";
|
||||
|
||||
console.log(sortBy([2, 3, 1], (it) => it));
|
||||
|
Loading…
Reference in New Issue
Block a user