Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from dudykr:main #12

Merged
merged 33 commits into from
Dec 17, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
81792e8
test: Add a test to the pass list (#1058)
sunrabbit123 Aug 9, 2023
9fe5d43
feat: Implement `keyof this` (#1059)
sunrabbit123 Aug 9, 2023
9d957b4
feat: Implement `keyof` for enums (#1061)
sunrabbit123 Aug 9, 2023
0130bbe
feat: Implement `this` types in method parameters (#1062)
sunrabbit123 Aug 10, 2023
e6e4c63
test: Handle `.` in conformance test resolver (#1064)
togami2864 Aug 13, 2023
92191dc
feat: Support more `keyof` for `IndexedAccessType`s (#1065)
sunrabbit123 Aug 13, 2023
f78187b
refactor: Create `Type::get_any_key_type` (#1066)
sunrabbit123 Aug 14, 2023
a04f4b1
test: Update `conformance` test error message format (#1068)
sunrabbit123 Aug 15, 2023
d5a01ed
test: Support more directives in file analyzer testing system (#1069)
sunrabbit123 Aug 17, 2023
96ad01d
feat: Support accessing nom primitive constraint of an empty object (…
sunrabbit123 Aug 20, 2023
277b967
fix: Fix panic from `parse().unwrap()` at generic inference (#1070)
sunrabbit123 Aug 20, 2023
57e0f3f
feat: Implement `assign` about indexed access types (#1071)
sunrabbit123 Aug 20, 2023
f46b724
feat: Union the type of an optional property of a mapped type with `u…
sunrabbit123 Aug 24, 2023
a354f07
feat: Implement property access about non-primitive constraints of IA…
sunrabbit123 Sep 1, 2023
1ae919e
refactor: Reduce unused code (#1078)
sunrabbit123 Sep 9, 2023
637a99c
refactor: Remove duplicate code (#1080)
sunrabbit123 Sep 9, 2023
90f7c04
feat: Implement error emission about existing file (#1076)
sunrabbit123 Sep 10, 2023
13696ae
refactor: Use `Type::xx` as constructor for readability (#1079)
sunrabbit123 Sep 10, 2023
c5a9d98
feat: Improve optional chaining validation (#1084)
sunrabbit123 Sep 11, 2023
804a0be
refactor: Collect use of `std::time::Instant` into dedicated timer mo…
AcrylicShrimp Sep 11, 2023
7c45da4
fix: Resolve panic about module not found with `es5` (#1088)
sunrabbit123 Sep 14, 2023
f390577
fix: Fix parsing of numeric literals like `0x9E` (#1087)
sunrabbit123 Sep 14, 2023
8ac1d0d
feat: Resolve `panic!` cause by `import.meta` (#1089)
sunrabbit123 Sep 18, 2023
cf8baeb
feat: Remove panic when `main_source` contains reference comment (#1086)
sunrabbit123 Sep 22, 2023
21a0da5
refactor: Split `analyzer/types/mod.rs` (#1091)
sunrabbit123 Sep 22, 2023
174627d
fix: Freeze the return value of `access_property` (#1094)
sunrabbit123 Oct 2, 2023
796da7d
feat: Resolve private names and property signatures (#1093)
sunrabbit123 Oct 2, 2023
105ff10
chore: Update rust-toolchain to `nightly-2023-10-04` (#1095)
simonbuchan Oct 5, 2023
bec48ce
feat: Add wasm support for playground (#1082)
AcrylicShrimp Oct 6, 2023
9e4c9b3
fix: Handle `module-not-found` error occurred while preparing module …
sunrabbit123 Oct 11, 2023
b81ae80
fix: Import local type from module and namespace (#1099)
sunrabbit123 Oct 16, 2023
fa15470
feat: Remove extra error at `interfaceExtendsObjectIntersectionErrors…
sunrabbit123 Nov 14, 2023
34abe15
chore: Update TypeScript from `v4.3.5` to `v5.1.3` (#1105)
sunrabbit123 Nov 17, 2023
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
154 changes: 58 additions & 96 deletions Cargo.lock

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

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[workspace]
members = ["crates/stc", "crates/binding_wasm"]
resolver = "2"

[profile.release]
lto = "off"
Expand Down
12 changes: 12 additions & 0 deletions crates/binding_wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,15 @@ edition = "2021"
crate-type = ["cdylib", "rlib"]

[dependencies]
anyhow = "1"
serde = { version = "1.0", features = ["derive"] }
serde-wasm-bindgen = "0.5"
wasm-bindgen = { version = "0.2.87", features = ["serde"] }
stc_ts_env = { path = "../stc_ts_env" }
stc_ts_errors = { path = "../stc_ts_errors" }
stc_ts_file_analyzer = { path = "../stc_ts_file_analyzer" }
stc_ts_type_checker = { path = "../stc_ts_type_checker" }
swc_common = { version = "0.29.37", features = ["tty-emitter"] }
swc_ecma_ast = "0.100.2"
swc_ecma_loader = "0.41.39"
swc_ecma_parser = "0.130.5"
Loading
Loading