test(es): Update test cases (#5334)

This commit is contained in:
OJ Kwon 2022-07-28 19:02:10 -07:00 committed by GitHub
parent ae250e71ea
commit add1b75f61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 3845 additions and 7657 deletions

View File

@ -722,9 +722,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
[[package]] [[package]]
name = "swc_atoms" name = "swc_atoms"
version = "0.3.0" version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f7c7709078e8f8f34a2f277d9d5f6e95ea5f18752ee9a9986d0eff3dcafea3f3" checksum = "66e252fe697709a0fc8710b5b9dee2d72fd9852d3f5fd1a057ce808b6987ccba"
dependencies = [ dependencies = [
"bytecheck", "bytecheck",
"once_cell", "once_cell",
@ -871,9 +871,9 @@ dependencies = [
[[package]] [[package]]
name = "swc_plugin" name = "swc_plugin"
version = "0.88.1" version = "0.88.2"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f3ff2465764b9c99f0a6c80b5a288f6ecdd76647c9a0bd06d6fc7e9eb1408ca8" checksum = "f2a9c487212e99a336641ecbbd2bd23697b2dac0008335231009ab610bdf24af"
dependencies = [ dependencies = [
"swc_atoms", "swc_atoms",
"swc_common", "swc_common",

View File

@ -14,6 +14,6 @@ serde = "1.0.140"
# Intentionally referencing published version, known to not contain new AST struct changes. # Intentionally referencing published version, known to not contain new AST struct changes.
# Be careful to change this dependency version. Unless there isn't explicit reason to do so, # Be careful to change this dependency version. Unless there isn't explicit reason to do so,
# do not change. # do not change.
swc_plugin = { version = "0.88.1", default-features = false, features = [ swc_plugin = { version = "0.88.2", default-features = false, features = [
"plugin_transform_schema_v1", "plugin_transform_schema_v1",
] } ] }

View File

@ -631,18 +631,18 @@ checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b"
[[package]] [[package]]
name = "serde" name = "serde"
version = "1.0.139" version = "1.0.140"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0171ebb889e45aa68b44aee0859b3eede84c6f5f5c228e6f140c0b2a0a46cad6" checksum = "fc855a42c7967b7c369eb5860f7164ef1f6f81c20c7cc1141f2a604e18723b03"
dependencies = [ dependencies = [
"serde_derive", "serde_derive",
] ]
[[package]] [[package]]
name = "serde_derive" name = "serde_derive"
version = "1.0.139" version = "1.0.140"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dc1d3230c1de7932af58ad8ffbe1d784bd55efd5a9d84ac24f69c72d83543dfb" checksum = "6f2122636b9fe3b81f1cb25099fcf2d3f542cdb1d45940d56c713158884a05da"
dependencies = [ dependencies = [
"proc-macro2", "proc-macro2",
"quote", "quote",
@ -843,7 +843,7 @@ dependencies = [
[[package]] [[package]]
name = "swc_plugin" name = "swc_plugin"
version = "0.88.1" version = "0.88.2"
dependencies = [ dependencies = [
"swc_atoms", "swc_atoms",
"swc_common", "swc_common",

View File

@ -10,5 +10,5 @@ version = "0.1.0"
crate-type = ["cdylib"] crate-type = ["cdylib"]
[dependencies] [dependencies]
serde = "1" serde = "1.0.140"
swc_plugin = { path = "../../../../crates/swc_plugin", default-features = false, features = ["plugin_transform_schema_vtest"] } swc_plugin = { path = "../../../../crates/swc_plugin", default-features = false, features = ["plugin_transform_schema_vtest"] }

View File

@ -96,7 +96,7 @@
"@babel/preset-typescript": "^7.13.0", "@babel/preset-typescript": "^7.13.0",
"@babel/types": "^7.14.0", "@babel/types": "^7.14.0",
"@napi-rs/cli": "^2.10.0", "@napi-rs/cli": "^2.10.0",
"@swc/core": "^1.2.219", "@swc/core": "^1.2.220",
"@swc/helpers": "^0.4.2", "@swc/helpers": "^0.4.2",
"@taplo/cli": "^0.3.2", "@taplo/cli": "^0.3.2",
"@types/jest": "^28.1.4", "@types/jest": "^28.1.4",

11478
yarn.lock

File diff suppressed because it is too large Load Diff