Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ chrono = { version = "0.4.41", default-features = false, features = [
futures-channel = "0.3.31"
futures-util = { version = "0.3.31", default-features = false }
http = "1.3"
js-sys = { version = "0.3.97" }
js-sys = { version = "0.3.98" }
serde = { version = "1.0.164", features = ["derive"] }
strum = { version = "0.27", features = ["derive"] }
serde_json = "1.0.140"
Expand All @@ -36,14 +36,14 @@ syn = "2.0.17"
trybuild = "1.0"
proc-macro2 = "1.0.60"
quote = "1.0.28"
wasm-bindgen = { version = "0.2.120" }
wasm-bindgen-cli-support = { version = "0.2.120" }
wasm-bindgen-futures = { version = "0.4.70" }
wasm-bindgen-macro-support = { version = "0.2.120" }
wasm-bindgen-shared = { version = "0.2.120" }
wasm-bindgen-test = { version = "0.3.70" }
wasm-bindgen = { version = "0.2.121" }
wasm-bindgen-cli-support = { version = "0.2.121" }
wasm-bindgen-futures = { version = "0.4.71" }
wasm-bindgen-macro-support = { version = "0.2.121" }
wasm-bindgen-shared = { version = "0.2.121" }
wasm-bindgen-test = { version = "0.3.71" }
wasm-streams = { version = "0.5.0" }
web-sys = { version = "0.3.97", features = [
web-sys = { version = "0.3.98", features = [
"AbortController",
"AbortSignal",
"BinaryType",
Expand Down Expand Up @@ -105,11 +105,11 @@ opt-level = "z"
# These are local patches we use to test against local wasm bindgen
# We always align on the exact stable wasm bindgen version for releases
[patch.crates-io]
js-sys = { version = "0.3.97", path = './wasm-bindgen/crates/js-sys' }
wasm-bindgen = { version = "0.2.120", path = './wasm-bindgen' }
wasm-bindgen-cli-support = { version = "0.2.120", path = "./wasm-bindgen/crates/cli-support" }
wasm-bindgen-futures = { version = "0.4.70", path = './wasm-bindgen/crates/futures' }
wasm-bindgen-macro-support = { version = "0.2.120", path = "./wasm-bindgen/crates/macro-support" }
wasm-bindgen-shared = { version = "0.2.120", path = "./wasm-bindgen/crates/shared" }
wasm-bindgen-test = { version = "0.3.70", path = "./wasm-bindgen/crates/test" }
web-sys = { version = "0.3.97", path = './wasm-bindgen/crates/web-sys' }
js-sys = { version = "0.3.98", path = './wasm-bindgen/crates/js-sys' }
wasm-bindgen = { version = "0.2.121", path = './wasm-bindgen' }
wasm-bindgen-cli-support = { version = "0.2.121", path = "./wasm-bindgen/crates/cli-support" }
wasm-bindgen-futures = { version = "0.4.71", path = './wasm-bindgen/crates/futures' }
wasm-bindgen-macro-support = { version = "0.2.121", path = "./wasm-bindgen/crates/macro-support" }
wasm-bindgen-shared = { version = "0.2.121", path = "./wasm-bindgen/crates/shared" }
wasm-bindgen-test = { version = "0.3.71", path = "./wasm-bindgen/crates/test" }
web-sys = { version = "0.3.98", path = './wasm-bindgen/crates/web-sys' }
2 changes: 1 addition & 1 deletion ts-gen
Submodule ts-gen updated 42 files
+448 −21 CONVENTIONS.md
+1 −0 Cargo.lock
+1 −0 Cargo.toml
+629 −342 src/codegen/classes.rs
+92 −0 src/codegen/discriminated_unions.rs
+41 −4 src/codegen/functions.rs
+120 −13 src/codegen/mod.rs
+634 −114 src/codegen/signatures.rs
+334 −5 src/codegen/subtyping.rs
+555 −141 src/codegen/typemap.rs
+411 −43 src/ir.rs
+11 −0 src/main.rs
+2 −1 src/parse/classify.rs
+48 −0 src/parse/ctx.rs
+171 −49 src/parse/docs.rs
+90 −73 src/parse/first_pass/converters.rs
+9 −1 src/parse/first_pass/mod.rs
+183 −135 src/parse/first_pass/populate.rs
+129 −32 src/parse/literal_union.rs
+365 −189 src/parse/members.rs
+24 −18 src/parse/merge.rs
+21 −6 src/parse/mod.rs
+144 −70 src/parse/scope.rs
+201 −156 src/parse/types.rs
+59 −1 src/util/naming.rs
+36 −0 tests/fixtures/empty-builder-suppression.d.ts
+31 −0 tests/fixtures/erased-return-doc.d.ts
+27 −0 tests/fixtures/iterables.d.ts
+56 −0 tests/fixtures/throws-never.d.ts
+12 −14 tests/snapshots/basic.rs
+31 −49 tests/snapshots/cloudflare-worker.rs
+25 −146 tests/snapshots/coverage.rs
+133 −0 tests/snapshots/empty-builder-suppression.rs
+60 −0 tests/snapshots/erased-return-doc.rs
+8 −39 tests/snapshots/es-module-lexer.rs
+123 −0 tests/snapshots/iterables.rs
+33 −181 tests/snapshots/node-console.rs
+4 −2 tests/snapshots/phase1.rs
+2 −0 tests/snapshots/phase2.rs
+75 −0 tests/snapshots/throws-never.rs
+3 −1 tests/snapshots/web-sys-extend.rs
+6,241 −30,707 tests/snapshots/workers-types.rs
2 changes: 1 addition & 1 deletion wasm-bindgen
Submodule wasm-bindgen updated 209 files
4 changes: 2 additions & 2 deletions worker-build/src/versions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ macro_rules! version {
}

// Current build toolchain, always used exactly for builds, unless overridden by {}_BIN env vars
pub(crate) static LATEST_WASM_BINDGEN_VERSION: LazyLock<semver::Version> = version!("0.2.118");
pub(crate) static LATEST_WASM_BINDGEN_VERSION: LazyLock<semver::Version> = version!("0.2.121");
pub(crate) static CUR_WASM_OPT_VERSION: &str = "129";
pub(crate) static CUR_ESBUILD_VERSION: LazyLock<semver::Version> = version!("0.28.0");

// Minimum required libraries, validated before build
pub(crate) static MIN_WASM_BINDGEN_LIB_VERSION: LazyLock<semver::Version> = version!("0.2.115");
pub(crate) static MIN_WASM_BINDGEN_LIB_VERSION: LazyLock<semver::Version> = version!("0.2.121");
pub(crate) static MIN_RUSTC_VERSION: LazyLock<semver::Version> = version!("1.71.0"); // workers-rs MSRV

pub(crate) static MIN_WORKER_LIB_VERSION: LazyLock<semver::Version> = version!(&format!(
Expand Down
Loading