1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

chore: release crates (#11628)

This commit is contained in:
Bartek Iwańczuk 2021-08-10 14:19:42 +02:00 committed by GitHub
parent b9a8111a00
commit 548e466112
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 121 additions and 106 deletions

32
Cargo.lock generated
View file

@ -660,7 +660,7 @@ dependencies = [
[[package]]
name = "deno_bench_util"
version = "0.7.0"
version = "0.8.0"
dependencies = [
"bencher",
"deno_core",
@ -669,7 +669,7 @@ dependencies = [
[[package]]
name = "deno_broadcast_channel"
version = "0.7.0"
version = "0.8.0"
dependencies = [
"async-trait",
"deno_core",
@ -679,14 +679,14 @@ dependencies = [
[[package]]
name = "deno_console"
version = "0.13.0"
version = "0.14.0"
dependencies = [
"deno_core",
]
[[package]]
name = "deno_core"
version = "0.95.0"
version = "0.96.0"
dependencies = [
"anyhow",
"futures",
@ -706,7 +706,7 @@ dependencies = [
[[package]]
name = "deno_crypto"
version = "0.27.0"
version = "0.28.0"
dependencies = [
"deno_core",
"deno_web",
@ -740,7 +740,7 @@ dependencies = [
[[package]]
name = "deno_fetch"
version = "0.36.0"
version = "0.37.0"
dependencies = [
"bytes",
"data-url",
@ -768,7 +768,7 @@ dependencies = [
[[package]]
name = "deno_http"
version = "0.4.0"
version = "0.5.0"
dependencies = [
"base64 0.13.0",
"bytes",
@ -803,7 +803,7 @@ dependencies = [
[[package]]
name = "deno_net"
version = "0.4.0"
version = "0.5.0"
dependencies = [
"deno_core",
"deno_tls",
@ -817,7 +817,7 @@ dependencies = [
[[package]]
name = "deno_runtime"
version = "0.21.0"
version = "0.22.0"
dependencies = [
"atty",
"deno_broadcast_channel",
@ -863,7 +863,7 @@ dependencies = [
[[package]]
name = "deno_timers"
version = "0.11.0"
version = "0.12.0"
dependencies = [
"deno_bench_util",
"deno_core",
@ -889,7 +889,7 @@ dependencies = [
[[package]]
name = "deno_url"
version = "0.13.0"
version = "0.14.0"
dependencies = [
"deno_bench_util",
"deno_core",
@ -901,7 +901,7 @@ dependencies = [
[[package]]
name = "deno_web"
version = "0.44.0"
version = "0.45.0"
dependencies = [
"async-trait",
"base64 0.13.0",
@ -915,7 +915,7 @@ dependencies = [
[[package]]
name = "deno_webgpu"
version = "0.14.0"
version = "0.15.0"
dependencies = [
"deno_core",
"serde",
@ -926,14 +926,14 @@ dependencies = [
[[package]]
name = "deno_webidl"
version = "0.13.0"
version = "0.14.0"
dependencies = [
"deno_core",
]
[[package]]
name = "deno_websocket"
version = "0.18.0"
version = "0.19.0"
dependencies = [
"deno_core",
"deno_tls",
@ -947,7 +947,7 @@ dependencies = [
[[package]]
name = "deno_webstorage"
version = "0.8.0"
version = "0.9.0"
dependencies = [
"deno_core",
"deno_web",

View file

@ -1,7 +1,7 @@
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_bench_util"
version = "0.7.0"
version = "0.8.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -14,7 +14,7 @@ description = "Bench and profiling utilities for deno crates"
[dependencies]
bencher = "0.1"
deno_core = { version = "0.95.0", path = "../core" }
deno_core = { version = "0.96.0", path = "../core" }
tokio = { version = "1.8.0", features = ["full"] }
[[bench]]

View file

@ -20,21 +20,21 @@ harness = false
path = "./bench/main.rs"
[build-dependencies]
deno_broadcast_channel = { version = "0.7.0", path = "../extensions/broadcast_channel" }
deno_console = { version = "0.13.0", path = "../extensions/console" }
deno_core = { version = "0.95.0", path = "../core" }
deno_crypto = { version = "0.27.0", path = "../extensions/crypto" }
deno_fetch = { version = "0.36.0", path = "../extensions/fetch" }
deno_broadcast_channel = { version = "0.8.0", path = "../extensions/broadcast_channel" }
deno_console = { version = "0.14.0", path = "../extensions/console" }
deno_core = { version = "0.96.0", path = "../core" }
deno_crypto = { version = "0.28.0", path = "../extensions/crypto" }
deno_fetch = { version = "0.37.0", path = "../extensions/fetch" }
deno_ffi = { version = "0.1.0", path = "../extensions/ffi" }
deno_http = { version = "0.4.0", path = "../extensions/http" }
deno_net = { version = "0.4.0", path = "../extensions/net" }
deno_timers = { version = "0.11.0", path = "../extensions/timers" }
deno_url = { version = "0.13.0", path = "../extensions/url" }
deno_web = { version = "0.44.0", path = "../extensions/web" }
deno_webgpu = { version = "0.14.0", path = "../extensions/webgpu" }
deno_webidl = { version = "0.13.0", path = "../extensions/webidl" }
deno_websocket = { version = "0.18.0", path = "../extensions/websocket" }
deno_webstorage = { version = "0.8.0", path = "../extensions/webstorage" }
deno_http = { version = "0.5.0", path = "../extensions/http" }
deno_net = { version = "0.5.0", path = "../extensions/net" }
deno_timers = { version = "0.12.0", path = "../extensions/timers" }
deno_url = { version = "0.14.0", path = "../extensions/url" }
deno_web = { version = "0.45.0", path = "../extensions/web" }
deno_webgpu = { version = "0.15.0", path = "../extensions/webgpu" }
deno_webidl = { version = "0.14.0", path = "../extensions/webidl" }
deno_websocket = { version = "0.19.0", path = "../extensions/websocket" }
deno_webstorage = { version = "0.9.0", path = "../extensions/webstorage" }
regex = "1.4.3"
serde = { version = "1.0.125", features = ["derive"] }
@ -43,10 +43,10 @@ winapi = "0.3.9"
winres = "0.1.11"
[dependencies]
deno_core = { version = "0.95.0", path = "../core" }
deno_core = { version = "0.96.0", path = "../core" }
deno_doc = "0.10.0"
deno_lint = "0.12.0"
deno_runtime = { version = "0.21.0", path = "../runtime" }
deno_runtime = { version = "0.22.0", path = "../runtime" }
deno_tls = { version = "0.1.0", path = "../extensions/tls" }
atty = "0.2.14"

View file

@ -219,11 +219,11 @@ impl Flags {
match &self.unsafely_ignore_certificate_errors {
Some(ic_allowlist) if ic_allowlist.is_empty() => {
args.push("--unsafely-ignore_certificate_errors".to_string());
args.push("--unsafely-ignore-certificate-errors".to_string());
}
Some(ic_allowlist) => {
let s = format!(
"--unsafely-ignore_certificate_errors={}",
"--unsafely-ignore-certificate-errors={}",
ic_allowlist.join(",")
);
args.push(s);

View file

@ -1,7 +1,7 @@
# Copyright 2018-2021 the Deno authors. All rights reserved. MIT license.
[package]
name = "deno_core"
version = "0.95.0"
version = "0.96.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"

View file

@ -2,7 +2,7 @@
[package]
name = "deno_broadcast_channel"
version = "0.7.0"
version = "0.8.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -15,6 +15,6 @@ path = "lib.rs"
[dependencies]
async-trait = "0.1"
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }
tokio = { version = "1.8.1", features = ["full"] }
uuid = { version = "0.8.2", features = ["v4"] }

View file

@ -2,7 +2,7 @@
[package]
name = "deno_console"
version = "0.13.0"
version = "0.14.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -14,4 +14,4 @@ description = "Implementation of Console API for Deno"
path = "lib.rs"
[dependencies]
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }

View file

@ -2,7 +2,7 @@
[package]
name = "deno_crypto"
version = "0.27.0"
version = "0.28.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -14,8 +14,8 @@ description = "Web Cryptography API implementation for Deno"
path = "lib.rs"
[dependencies]
deno_core = { version = "0.95.0", path = "../../core" }
deno_web = { version = "0.44.0", path = "../web" }
deno_core = { version = "0.96.0", path = "../../core" }
deno_web = { version = "0.45.0", path = "../web" }
lazy_static = "1.4.0"
num-traits = "0.2.14"
rand = "0.8.4"

View file

@ -2,7 +2,7 @@
[package]
name = "deno_fetch"
version = "0.36.0"
version = "0.37.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -16,9 +16,9 @@ path = "lib.rs"
[dependencies]
bytes = "1.0.1"
data-url = "0.1.0"
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }
deno_tls = { version = "0.1.0", path = "../tls" }
deno_web = { version = "0.44.0", path = "../web" }
deno_web = { version = "0.45.0", path = "../web" }
http = "0.2.4"
lazy_static = "1.4.0"
reqwest = { version = "0.11.4", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] }

View file

@ -14,7 +14,7 @@ description = "Dynamic library ffi for deno"
path = "lib.rs"
[dependencies]
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }
dlopen = "0.1.8"
libffi = { version = "=0.0.7", package = "deno-libffi" }
serde = { version = "1.0.125", features = ["derive"] }

View file

@ -2,7 +2,7 @@
[package]
name = "deno_http"
version = "0.4.0"
version = "0.5.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -16,8 +16,8 @@ path = "lib.rs"
[dependencies]
base64 = "0.13.0"
bytes = "1"
deno_core = { version = "0.95.0", path = "../../core" }
deno_websocket = { version = "0.18.0", path = "../websocket" }
deno_core = { version = "0.96.0", path = "../../core" }
deno_websocket = { version = "0.19.0", path = "../websocket" }
hyper = { version = "0.14.9", features = ["server", "stream", "http1", "http2", "runtime"] }
ring = "0.16.20"
serde = { version = "1.0.125", features = ["derive"] }

View file

@ -2,7 +2,7 @@
[package]
name = "deno_net"
version = "0.4.0"
version = "0.5.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -14,7 +14,7 @@ description = "Networking for Deno"
path = "lib.rs"
[dependencies]
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }
deno_tls = { version = "0.1.0", path = "../tls" }
lazy_static = "1.4.0"

View file

@ -700,6 +700,12 @@ where
let hostname_dns = DNSNameRef::try_from_ascii_str(hostname)
.map_err(|_| invalid_hostname(hostname))?;
let unsafely_ignore_certificate_errors = state
.borrow()
.borrow::<UnsafelyIgnoreCertificateErrors>()
.0
.clone();
// TODO(@justinmchase): Ideally the certificate store is created once
// and not cloned. The store should be wrapped in Arc<T> to reduce
// copying memory unnecessarily.
@ -721,8 +727,11 @@ where
let local_addr = tcp_stream.local_addr()?;
let remote_addr = tcp_stream.peer_addr()?;
let tls_config =
Arc::new(create_client_config(root_cert_store, ca_data, None)?);
let tls_config = Arc::new(create_client_config(
root_cert_store,
ca_data,
unsafely_ignore_certificate_errors,
)?);
let tls_stream =
TlsStream::new_client_side(tcp_stream, &tls_config, hostname_dns);

View file

@ -2,7 +2,7 @@
[package]
name = "deno_timers"
version = "0.11.0"
version = "0.12.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -14,14 +14,14 @@ description = "Timers API implementation for Deno"
path = "lib.rs"
[dependencies]
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }
tokio = { version = "1.8.1", features = ["full"] }
[dev-dependencies]
deno_bench_util = { version = "0.7.0", path = "../../bench_util" }
deno_url = { version = "0.13.0", path = "../url" }
deno_web = { version = "0.44.0", path = "../web" }
deno_webidl = { version = "0.13.0", path = "../webidl" }
deno_bench_util = { version = "0.8.0", path = "../../bench_util" }
deno_url = { version = "0.14.0", path = "../url" }
deno_web = { version = "0.45.0", path = "../web" }
deno_webidl = { version = "0.14.0", path = "../webidl" }
[[bench]]
name = "timers_ops"

View file

@ -14,7 +14,7 @@ description = "TLS for Deno"
path = "lib.rs"
[dependencies]
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }
lazy_static = "1.4.0"
reqwest = { version = "0.11.4", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli"] }
rustls = { version = "0.19.1", features = ["dangerous_configuration"] }

4
extensions/tls/README.md Normal file
View file

@ -0,0 +1,4 @@
# deno_tls
This crate implements common utilities for TLS handling in other Deno
extensions.

View file

@ -2,7 +2,7 @@
[package]
name = "deno_url"
version = "0.13.0"
version = "0.14.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -14,14 +14,14 @@ description = "URL API implementation for Deno"
path = "lib.rs"
[dependencies]
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }
idna = "0.2.3"
percent-encoding = "2.1.0"
serde = { version = "1.0.126", features = ["derive"] }
[dev-dependencies]
deno_bench_util = { version = "0.7.0", path = "../../bench_util" }
deno_webidl = { version = "0.13.0", path = "../webidl" }
deno_bench_util = { version = "0.8.0", path = "../../bench_util" }
deno_webidl = { version = "0.14.0", path = "../webidl" }
[[bench]]
name = "url_ops"

View file

@ -2,7 +2,7 @@
[package]
name = "deno_web"
version = "0.44.0"
version = "0.45.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -16,7 +16,7 @@ path = "lib.rs"
[dependencies]
async-trait = "0.1.50"
base64 = "0.13.0"
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }
encoding_rs = "0.8.28"
serde = "1.0"
tokio = { version = "1.8.1", features = ["full"] }

View file

@ -2,7 +2,7 @@
[package]
name = "deno_webgpu"
version = "0.14.0"
version = "0.15.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -14,7 +14,7 @@ description = "WebGPU implementation for Deno"
path = "lib.rs"
[dependencies]
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }
serde = { version = "1.0.126", features = ["derive"] }
tokio = { version = "1.8.1", features = ["full"] }
wgpu-core = { version = "0.9.0", features = ["trace"] }

View file

@ -2,7 +2,7 @@
[package]
name = "deno_webidl"
version = "0.13.0"
version = "0.14.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -14,4 +14,4 @@ description = "WebIDL implementation for Deno"
path = "lib.rs"
[dependencies]
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }

View file

@ -2,7 +2,7 @@
[package]
name = "deno_websocket"
version = "0.18.0"
version = "0.19.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -14,7 +14,7 @@ description = "Implementation of WebSocket API for Deno"
path = "lib.rs"
[dependencies]
deno_core = { version = "0.95.0", path = "../../core" }
deno_core = { version = "0.96.0", path = "../../core" }
deno_tls = { version = "0.1.0", path = "../tls" }
http = "0.2.4"
hyper = { version = "0.14.9" }

View file

@ -2,7 +2,7 @@
[package]
name = "deno_webstorage"
version = "0.8.0"
version = "0.9.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -14,7 +14,7 @@ description = "Implementation of WebStorage API for Deno"
path = "lib.rs"
[dependencies]
deno_core = { version = "0.95.0", path = "../../core" }
deno_web = { version = "0.44.0", path = "../web" }
deno_core = { version = "0.96.0", path = "../../core" }
deno_web = { version = "0.45.0", path = "../web" }
rusqlite = { version = "0.25.3", features = ["unlock_notify", "bundled"] }
serde = { version = "1.0.126", features = ["derive"] }

View file

@ -2,7 +2,7 @@
[package]
name = "deno_runtime"
version = "0.21.0"
version = "0.22.0"
authors = ["the Deno authors"]
edition = "2018"
license = "MIT"
@ -18,44 +18,44 @@ name = "hello_runtime"
path = "examples/hello_runtime.rs"
[build-dependencies]
deno_broadcast_channel = { version = "0.7.0", path = "../extensions/broadcast_channel" }
deno_console = { version = "0.13.0", path = "../extensions/console" }
deno_core = { version = "0.95.0", path = "../core" }
deno_crypto = { version = "0.27.0", path = "../extensions/crypto" }
deno_fetch = { version = "0.36.0", path = "../extensions/fetch" }
deno_broadcast_channel = { version = "0.8.0", path = "../extensions/broadcast_channel" }
deno_console = { version = "0.14.0", path = "../extensions/console" }
deno_core = { version = "0.96.0", path = "../core" }
deno_crypto = { version = "0.28.0", path = "../extensions/crypto" }
deno_fetch = { version = "0.37.0", path = "../extensions/fetch" }
deno_ffi = { version = "0.1.0", path = "../extensions/ffi" }
deno_http = { version = "0.4.0", path = "../extensions/http" }
deno_net = { version = "0.4.0", path = "../extensions/net" }
deno_timers = { version = "0.11.0", path = "../extensions/timers" }
deno_http = { version = "0.5.0", path = "../extensions/http" }
deno_net = { version = "0.5.0", path = "../extensions/net" }
deno_timers = { version = "0.12.0", path = "../extensions/timers" }
deno_tls = { version = "0.1.0", path = "../extensions/tls" }
deno_url = { version = "0.13.0", path = "../extensions/url" }
deno_web = { version = "0.44.0", path = "../extensions/web" }
deno_webgpu = { version = "0.14.0", path = "../extensions/webgpu" }
deno_webidl = { version = "0.13.0", path = "../extensions/webidl" }
deno_websocket = { version = "0.18.0", path = "../extensions/websocket" }
deno_webstorage = { version = "0.8.0", path = "../extensions/webstorage" }
deno_url = { version = "0.14.0", path = "../extensions/url" }
deno_web = { version = "0.45.0", path = "../extensions/web" }
deno_webgpu = { version = "0.15.0", path = "../extensions/webgpu" }
deno_webidl = { version = "0.14.0", path = "../extensions/webidl" }
deno_websocket = { version = "0.19.0", path = "../extensions/websocket" }
deno_webstorage = { version = "0.9.0", path = "../extensions/webstorage" }
[target.'cfg(windows)'.build-dependencies]
winres = "0.1.11"
winapi = "0.3.9"
[dependencies]
deno_broadcast_channel = { version = "0.7.0", path = "../extensions/broadcast_channel" }
deno_console = { version = "0.13.0", path = "../extensions/console" }
deno_core = { version = "0.95.0", path = "../core" }
deno_crypto = { version = "0.27.0", path = "../extensions/crypto" }
deno_fetch = { version = "0.36.0", path = "../extensions/fetch" }
deno_broadcast_channel = { version = "0.8.0", path = "../extensions/broadcast_channel" }
deno_console = { version = "0.14.0", path = "../extensions/console" }
deno_core = { version = "0.96.0", path = "../core" }
deno_crypto = { version = "0.28.0", path = "../extensions/crypto" }
deno_fetch = { version = "0.37.0", path = "../extensions/fetch" }
deno_ffi = { version = "0.1.0", path = "../extensions/ffi" }
deno_http = { version = "0.4.0", path = "../extensions/http" }
deno_net = { version = "0.4.0", path = "../extensions/net" }
deno_timers = { version = "0.11.0", path = "../extensions/timers" }
deno_http = { version = "0.5.0", path = "../extensions/http" }
deno_net = { version = "0.5.0", path = "../extensions/net" }
deno_timers = { version = "0.12.0", path = "../extensions/timers" }
deno_tls = { version = "0.1.0", path = "../extensions/tls" }
deno_url = { version = "0.13.0", path = "../extensions/url" }
deno_web = { version = "0.44.0", path = "../extensions/web" }
deno_webgpu = { version = "0.14.0", path = "../extensions/webgpu" }
deno_webidl = { version = "0.13.0", path = "../extensions/webidl" }
deno_websocket = { version = "0.18.0", path = "../extensions/websocket" }
deno_webstorage = { version = "0.8.0", path = "../extensions/webstorage" }
deno_url = { version = "0.14.0", path = "../extensions/url" }
deno_web = { version = "0.45.0", path = "../extensions/web" }
deno_webgpu = { version = "0.15.0", path = "../extensions/webgpu" }
deno_webidl = { version = "0.14.0", path = "../extensions/webidl" }
deno_websocket = { version = "0.19.0", path = "../extensions/websocket" }
deno_webstorage = { version = "0.9.0", path = "../extensions/webstorage" }
atty = "0.2.14"
dlopen = "0.1.8"

View file

@ -46,6 +46,8 @@ between the crates, it must be done in specific order:
first
- `bench_util`
- crates in `extensions/` directory
- `deno_net`, `deno_websocket` and `deno_fetch` depend on `deno_tls`, so the
latter must be bumped and released first
- `deno_fetch`, `deno_crypto`, `deno_timers` and `deno_webstorage` depend on
`deno_web`, so the latter must be bumped and released first
- `deno_url` depends on `deno_webidl`, so the latter must be bumped and