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

chore(core): bump and trim deps (#20265)

Skipping for a later follow-up:

 - base64: #20266
 - notify
 - indexmap (will require follow-up in upstream projects)
This commit is contained in:
Matt Mastracci 2023-08-26 07:10:42 -06:00 committed by GitHub
parent 5dbf5c8293
commit d104a09f79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 714 additions and 658 deletions

1327
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -72,9 +72,10 @@ deno_websocket = { version = "0.122.0", path = "./ext/websocket" }
deno_webstorage = { version = "0.112.0", path = "./ext/webstorage" } deno_webstorage = { version = "0.112.0", path = "./ext/webstorage" }
deno_napi = { version = "0.47.0", path = "./ext/napi" } deno_napi = { version = "0.47.0", path = "./ext/napi" }
aes = "=0.8.2" aes = "=0.8.3"
anyhow = "1.0.57" anyhow = "1.0.57"
async-trait = "0.1.51" async-trait = "0.1.73"
# TODO(mmastrac): Requires code changes to bump
base64 = "=0.13.1" base64 = "=0.13.1"
bencher = "0.1" bencher = "0.1"
brotli = "3.3.4" brotli = "3.3.4"
@ -83,10 +84,10 @@ cache_control = "=0.2.0"
cbc = { version = "=0.1.2", features = ["alloc"] } cbc = { version = "=0.1.2", features = ["alloc"] }
chrono = { version = "=0.4.26", default-features = false, features = ["std", "serde", "clock"] } chrono = { version = "=0.4.26", default-features = false, features = ["std", "serde", "clock"] }
console_static_text = "=0.8.1" console_static_text = "=0.8.1"
data-url = "=0.2.0" data-url = "=0.3.0"
dlopen = "0.1.8" dlopen = "0.1.8"
encoding_rs = "=0.8.31" encoding_rs = "=0.8.33"
ecb = "=0.1.1" ecb = "=0.1.2"
fastwebsockets = "=0.4.4" fastwebsockets = "=0.4.4"
filetime = "0.2.16" filetime = "0.2.16"
flate2 = { version = "1.0.26", features = ["zlib-ng"], default-features = false } flate2 = { version = "1.0.26", features = ["zlib-ng"], default-features = false }
@ -97,7 +98,9 @@ hex = "0.4"
http = "0.2.9" http = "0.2.9"
httparse = "1.8.0" httparse = "1.8.0"
hyper = { version = "0.14.26", features = ["runtime", "http1"] } hyper = { version = "0.14.26", features = ["runtime", "http1"] }
indexmap = { version = "1.9.2", features = ["serde"] } # TODO(mmastrac): indexmap 2.0 will require multiple synchronized changes
indexmap1 = { package = "indexmap", version = "1", features = ["serde"] }
indexmap = { version = "2", features = ["serde"] }
libc = "0.2.126" libc = "0.2.126"
log = "=0.4.20" log = "=0.4.20"
lsp-types = "=0.93.2" # used by tower-lsp and "proposed" feature is unstable in patch releases lsp-types = "=0.93.2" # used by tower-lsp and "proposed" feature is unstable in patch releases
@ -105,7 +108,7 @@ memmem = "0.1.1"
notify = "=5.0.0" notify = "=5.0.0"
num-bigint = { version = "0.4", features = ["rand"] } num-bigint = { version = "0.4", features = ["rand"] }
once_cell = "1.17.1" once_cell = "1.17.1"
os_pipe = "=1.0.1" os_pipe = "=1.1.4"
parking_lot = "0.12.0" parking_lot = "0.12.0"
percent-encoding = "=2.3.0" percent-encoding = "=2.3.0"
pin-project = "1.0.11" # don't pin because they yank crates from cargo pin-project = "1.0.11" # don't pin because they yank crates from cargo
@ -114,7 +117,7 @@ prost = "0.11"
prost-build = "0.11" prost-build = "0.11"
rand = "=0.8.5" rand = "=0.8.5"
regex = "^1.7.0" regex = "^1.7.0"
lazy-regex = "2.5.0" lazy-regex = "3"
reqwest = { version = "0.11.20", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli", "socks", "json"] } reqwest = { version = "0.11.20", default-features = false, features = ["rustls-tls", "stream", "gzip", "brotli", "socks", "json"] }
ring = "=0.16.20" ring = "=0.16.20"
rusqlite = { version = "=0.29.0", features = ["unlock_notify", "bundled"] } rusqlite = { version = "=0.29.0", features = ["unlock_notify", "bundled"] }
@ -126,23 +129,23 @@ webpki-roots = "0.25.2"
serde = { version = "1.0.149", features = ["derive"] } serde = { version = "1.0.149", features = ["derive"] }
serde_bytes = "0.11" serde_bytes = "0.11"
serde_json = "1.0.85" serde_json = "1.0.85"
serde_repr = "=0.1.9" serde_repr = "=0.1.16"
sha2 = { version = "0.10.6", features = ["oid"] } sha2 = { version = "0.10.6", features = ["oid"] }
signature = "=1.6.4" signature = "=1.6.4"
slab = "0.4" slab = "0.4"
smallvec = "1.8" smallvec = "1.8"
socket2 = { version = "0.4.7", features = ["all"] } socket2 = { version = "0.5.3", features = ["all"] }
tar = "=0.4.38" tar = "=0.4.40"
tempfile = "3.4.0" tempfile = "3.4.0"
thiserror = "1.0.40" thiserror = "1.0.40"
tokio = { version = "1.28.1", features = ["full"] } tokio = { version = "1.28.1", features = ["full"] }
tokio-metrics = { version = "0.2.2", features = ["rt"] } tokio-metrics = { version = "0.3.0", features = ["rt"] }
tokio-rustls = "0.24.0" tokio-rustls = "0.24.0"
tokio-util = "0.7.4" tokio-util = "0.7.4"
tower-lsp = { version = "=0.17.0", features = ["proposed"] } tower-lsp = { version = "=0.17.0", features = ["proposed"] }
url = { version = "2.3.1", features = ["serde", "expose_internals"] } url = { version = "2.3.1", features = ["serde", "expose_internals"] }
uuid = { version = "1.3.0", features = ["v4"] } uuid = { version = "1.3.0", features = ["v4"] }
zstd = "=0.11.2" zstd = "=0.12.4"
elliptic-curve = { version = "0.13.4", features = ["alloc", "arithmetic", "ecdh", "std", "pem"] } elliptic-curve = { version = "0.13.4", features = ["alloc", "arithmetic", "ecdh", "std", "pem"] }
p224 = { version = "0.13.0", features = ["ecdh"] } p224 = { version = "0.13.0", features = ["ecdh"] }
p256 = { version = "0.13.2", features = ["ecdh"] } p256 = { version = "0.13.2", features = ["ecdh"] }
@ -155,13 +158,10 @@ hkdf = "0.12.3"
# macros # macros
proc-macro2 = "1" proc-macro2 = "1"
quote = "1" quote = "1"
syn = { version = "1", features = ["full", "extra-traits"] } syn = { version = "2", features = ["full", "extra-traits"] }
syn2 = { package = "syn", version = "2.0", features = ["full", "extra-traits"] }
# Temporary fork while we wait for a more modern version to be published
deno-proc-macro-rules = "0.3.2"
# unix # unix
nix = "=0.24.2" nix = "=0.26.2"
# windows deps # windows deps
fwdansi = "=1.1.0" fwdansi = "=1.1.0"

View file

@ -87,6 +87,7 @@ http.workspace = true
hyper.workspace = true hyper.workspace = true
import_map = "=0.15.0" import_map = "=0.15.0"
indexmap.workspace = true indexmap.workspace = true
indexmap1.workspace = true
jsonc-parser = { version = "=0.21.1", features = ["serde"] } jsonc-parser = { version = "=0.21.1", features = ["serde"] }
lazy-regex.workspace = true lazy-regex.workspace = true
libc.workspace = true libc.workspace = true

View file

@ -15,7 +15,7 @@ use deno_npm::resolution::ValidSerializedNpmResolutionSnapshot;
use deno_npm::NpmSystemInfo; use deno_npm::NpmSystemInfo;
use deno_runtime::deno_tls::RootCertStoreProvider; use deno_runtime::deno_tls::RootCertStoreProvider;
use deno_semver::npm::NpmPackageReqReference; use deno_semver::npm::NpmPackageReqReference;
use indexmap::IndexMap; use indexmap1::IndexMap;
pub use deno_config::BenchConfig; pub use deno_config::BenchConfig;
pub use deno_config::CompilerOptions; pub use deno_config::CompilerOptions;

View file

@ -45,7 +45,7 @@ use deno_runtime::deno_node::PackageJson;
use deno_runtime::permissions::PermissionsContainer; use deno_runtime::permissions::PermissionsContainer;
use deno_semver::npm::NpmPackageReqReference; use deno_semver::npm::NpmPackageReqReference;
use deno_semver::package::PackageReq; use deno_semver::package::PackageReq;
use indexmap::IndexMap; use indexmap1::IndexMap;
use lsp::Url; use lsp::Url;
use once_cell::sync::Lazy; use once_cell::sync::Lazy;
use package_json::PackageJsonDepsProvider; use package_json::PackageJsonDepsProvider;

View file

@ -17,7 +17,9 @@ use deno_semver::package::PackageNv;
use deno_task_shell::ExecuteResult; use deno_task_shell::ExecuteResult;
use deno_task_shell::ShellCommand; use deno_task_shell::ShellCommand;
use deno_task_shell::ShellCommandContext; use deno_task_shell::ShellCommandContext;
// TODO(mmastrac): Once upstream indexmap is updated, this can go away
use indexmap::IndexMap; use indexmap::IndexMap;
use indexmap1::IndexMap as IndexMap1;
use std::collections::HashMap; use std::collections::HashMap;
use std::path::PathBuf; use std::path::PathBuf;
use std::rc::Rc; use std::rc::Rc;
@ -178,7 +180,7 @@ fn collect_env_vars() -> HashMap<String, String> {
fn print_available_tasks( fn print_available_tasks(
// order can be important, so these use an index map // order can be important, so these use an index map
tasks_config: &IndexMap<String, String>, tasks_config: &IndexMap1<String, String>,
package_json_scripts: &IndexMap<String, String>, package_json_scripts: &IndexMap<String, String>,
) { ) {
eprintln!("{}", colors::green("Available tasks:")); eprintln!("{}", colors::green("Available tasks:"));