diff --git a/Cargo.lock b/Cargo.lock index 450c979..97558d4 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -56,9 +56,9 @@ dependencies = [ [[package]] name = "bitflags" -version = "2.4.1" +version = "2.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +checksum = "ed570934406eb16438a4e976b1b4500774099c13b8cb96eec99f620f05090ddf" [[package]] name = "bumpalo" @@ -147,9 +147,9 @@ dependencies = [ [[package]] name = "hstr" -version = "0.2.6" +version = "0.2.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de90d3db62411eb62eddabe402d706ac4970f7ac8d088c05f11069cad9be9857" +checksum = "17fafeca18cf0927e23ea44d7a5189c10536279dfe9094e0dfa953053fbb5377" dependencies = [ "new_debug_unreachable", "once_cell", @@ -170,9 +170,9 @@ dependencies = [ [[package]] name = "is-macro" -version = "0.3.3" +version = "0.3.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97707cce574453d050d7c53194bdd88f6e5e53d7c94d294f63f2511308af9867" +checksum = "59a85abdc13717906baccb5a1e435556ce0df215f242892f721dff62bf25288f" dependencies = [ "Inflector", "proc-macro2", @@ -180,15 +180,6 @@ dependencies = [ "syn", ] -[[package]] -name = "itertools" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" -dependencies = [ - "either", -] - [[package]] name = "itoa" version = "1.0.10" @@ -197,9 +188,9 @@ checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "js-sys" -version = "0.3.66" +version = "0.3.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" +checksum = "9a1d36f1235bc969acba30b7f5990b864423a6068a10f7c90ae8f0112e3a59d1" dependencies = [ "wasm-bindgen", ] @@ -212,9 +203,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libc" -version = "0.2.151" +version = "0.2.152" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" +checksum = "13e3bf6590cbc649f4d1a3eefc9d5d6eb746f5200ffb04e5e142700b8faa56e7" [[package]] name = "log" @@ -224,9 +215,9 @@ checksum = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" [[package]] name = "memchr" -version = "2.6.4" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "mockall" @@ -365,12 +356,11 @@ dependencies = [ [[package]] name = "predicates" -version = "3.0.4" +version = "3.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6dfc28575c2e3f19cb3c73b93af36460ae898d426eba6fc15b9bd2a5220758a0" +checksum = "68b87bfd4605926cdfefc1c3b5f8fe560e3feca9d5552cf68c466d3d8236c7e8" dependencies = [ "anstyle", - "itertools", "predicates-core", ] @@ -392,9 +382,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.76" +version = "1.0.78" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "95fc56cda0b5c3325f5fbbd7ff9fda9e02bb00bb3dac51252d2f1bfa1cb8cc8c" +checksum = "e2422ad645d89c99f8f3e6b88a9fdeca7fabeac836b1002371c4367c8f984aae" dependencies = [ "unicode-ident", ] @@ -434,9 +424,9 @@ checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" [[package]] name = "regex" -version = "1.10.2" +version = "1.10.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +checksum = "b62dbe01f0b06f9d8dc7d49e05a0785f153b00b2c227856282f671e0318c9b15" dependencies = [ "aho-corasick", "memchr", @@ -446,9 +436,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +checksum = "3b7fa1134405e2ec9353fd416b17f8dacd46c473d7d3fd1cf202706a14eb792a" dependencies = [ "aho-corasick", "memchr", @@ -529,9 +519,9 @@ checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" [[package]] name = "smallvec" -version = "1.11.2" +version = "1.13.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +checksum = "e6ecd384b10a64542d77071bd64bd7b231f4ed5940fba55e98c3de13824cf3d7" [[package]] name = "smartstring" @@ -589,9 +579,9 @@ dependencies = [ [[package]] name = "swc_common" -version = "0.33.12" +version = "0.33.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b3ae36feceded27f0178dc9dabb49399830847ffb7f866af01798844de8f973" +checksum = "3792c10fa5d3e93a705b31f13fdea4a6e68c3c20d4351e84ed1741b7864399cd" dependencies = [ "ast_node", "better_scoped_tls", @@ -614,9 +604,9 @@ dependencies = [ [[package]] name = "swc_ecma_ast" -version = "0.110.17" +version = "0.111.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "79401a45da704f4fb2552c5bf86ee2198e8636b121cb81f8036848a300edd53b" +checksum = "e12b4d0f3b31d293dac16fc13a50f8a282a3bdb658f2a000ffe09b1b638f45c9" dependencies = [ "bitflags", "is-macro", @@ -631,9 +621,9 @@ dependencies = [ [[package]] name = "swc_ecma_parser" -version = "0.141.34" +version = "0.142.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a67621d078321fb09e73ebe3084da09c352a5dfc1075c6ee833dea2c0209529" +checksum = "5c3eedda441af51ca25caebb88837649a40e2a39b763344a53cfedd869740c71" dependencies = [ "either", "new_debug_unreachable", @@ -653,9 +643,9 @@ dependencies = [ [[package]] name = "swc_ecma_visit" -version = "0.96.17" +version = "0.97.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a1d0100c383fb08b6f34911ab6f925950416a5d14404c1cd520d59fb8dfbb3bf" +checksum = "26ecefeec816318f1d449b4bac2e28a4243a167cc16620e15c3c1f2d91085770" dependencies = [ "num-bigint", "swc_atoms", @@ -782,9 +772,9 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a" [[package]] name = "unicode-bidi" -version = "0.3.14" +version = "0.3.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f2528f27a9eb2b21e69c95319b30bd0efd85d09c379741b0f78ea1d86be2416" +checksum = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" [[package]] name = "unicode-id" diff --git a/crates/does-it-throw-wasm/Cargo.toml b/crates/does-it-throw-wasm/Cargo.toml index a392f08..55d0204 100644 --- a/crates/does-it-throw-wasm/Cargo.toml +++ b/crates/does-it-throw-wasm/Cargo.toml @@ -15,9 +15,9 @@ crate-type = ["cdylib"] [dependencies] does-it-throw = { path = "../does-it-throw", version = "0.2.0"} swc_common = "0.33" -swc_ecma_parser = "0.141.34" -swc_ecma_ast = "0.110.17" -swc_ecma_visit = "0.96" +swc_ecma_parser = "0.142.1" +swc_ecma_ast = "0.111.1" +swc_ecma_visit = "0.97.1" wasm-bindgen = {version = "0.2.90"} serde-wasm-bindgen = "0.6.1" serde_json = "1.0.111" diff --git a/crates/does-it-throw/Cargo.toml b/crates/does-it-throw/Cargo.toml index 273d22d..e63e575 100644 --- a/crates/does-it-throw/Cargo.toml +++ b/crates/does-it-throw/Cargo.toml @@ -12,6 +12,6 @@ bench = false [dependencies] swc_common = "0.33" -swc_ecma_parser = "0.141" -swc_ecma_ast = "0.110" -swc_ecma_visit = "0.96" +swc_ecma_parser = "0.142.1" +swc_ecma_ast = "0.111.1" +swc_ecma_visit = "0.97.1" diff --git a/package.json b/package.json index 373c788..c635d04 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "Hint" ], "default": "Hint", - "description": "Controls the severity level (underline) of a throw statement." + "description": "Controls the severity level of a throw statement." }, "doesItThrow.functionThrowSeverity": { "scope": "resource", @@ -90,7 +90,7 @@ "Hint" ], "default": "Hint", - "description": "Controls the severity level (underline) of a function/const that throws." + "description": "Controls the severity level of a function/const that throws." }, "doesItThrow.callToThrowSeverity": { "scope": "resource", @@ -102,7 +102,7 @@ "Hint" ], "default": "Hint", - "description": "Controls the severity level (underline) of a function/const that calls a function that throws in the same file." + "description": "Controls the severity level of a function/const that calls a function that throws in the same file." }, "doesItThrow.callToImportedThrowSeverity": { "scope": "resource", @@ -114,7 +114,7 @@ "Hint" ], "default": "Hint", - "description": "Controls the severity level (underline) of a function/const that calls a function that throws in a different file." + "description": "Controls the severity level of a function/const that calls a function that throws in a different file." }, "doesItThrow.maxNumberOfProblems": { "scope": "resource", diff --git a/server/package.json b/server/package.json index 66fafc0..5070315 100644 --- a/server/package.json +++ b/server/package.json @@ -2,7 +2,7 @@ "name": "does-it-throw-lsp", "description": "Language Server for Does It Throw", "version": "0.4.0", - "//": "target-version: 0.4.1", + "//": "target-version: 0.5.0", "author": { "name": "Michael Angelo Rivera", "email": "email@michaelangelo.io"