commit_hash stringlengths 40 40 | author stringlengths 1 57 | date timestamp[s]date 2010-07-26 04:45:09 2026-04-14 18:21:10 | message stringlengths 8 1.39M | diff stringlengths 68 51.2k | files_changed int64 1 136 | insertions int64 0 2.35k | deletions int64 0 1.9k |
|---|---|---|---|---|---|---|---|
9bef83681ff790b81effae61c45399608b1507cf | OJ Kwon | 2022-09-02T08:28:00 | fix(swc_core): Fix reexport of ES transforms (#5716) | diff --git a/Cargo.lock b/Cargo.lock
index b9348c7e6a..99b431509f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3083,7 +3083,7 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.20.0"
+version = "0.20.1"
dependencies = [
"binding_macros",
"once_cell",
diff --git a/crates/swc_core/Cargo.toml b/crate... | 3 | 6 | 6 |
b7da69258016bb2ecbeec0db7a94b1a84d0cb2f0 | Donny/κ°λμ€ | 2022-09-01T07:44:14 | feat(bindings): Reduce size (#5708) | diff --git a/Cargo.toml b/Cargo.toml
index 2953962b59..1374aeb983 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -32,7 +32,7 @@ members = [
[profile.bench]
debug = true
-lto = true
+lto = true
# Without this, printing diff consumes more than a minute.
diff --git a/bindings/Cargo.toml b/bindings/Cargo.toml
index... | 2 | 4 | 1 |
7686faece583b06750453b5ed5027344ee9f48d0 | OJ Kwon | 2022-09-01T04:08:04 | fix(swc_core): Bump versions (#5706) | diff --git a/Cargo.lock b/Cargo.lock
index 54ae950bb8..e492c99886 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2898,7 +2898,7 @@ dependencies = [
[[package]]
name = "swc"
-version = "0.222.2"
+version = "0.222.3"
dependencies = [
"ahash",
"ansi_term",
@@ -3083,7 +3083,7 @@ dependencies = [
[[package]]
name... | 36 | 106 | 57 |
fc28242b99b350daf9ef12281b7fef3836e5a6e0 | Donny/κ°λμ€ | 2022-08-31T07:47:52 | feat(es/minifier): Exclude `JSON` from alias list (#5698) | diff --git a/crates/swc_ecma_minifier/src/alias/mod.rs b/crates/swc_ecma_minifier/src/alias/mod.rs
index 6b7b80dee4..3caf6a9740 100644
--- a/crates/swc_ecma_minifier/src/alias/mod.rs
+++ b/crates/swc_ecma_minifier/src/alias/mod.rs
@@ -63,7 +63,8 @@ impl InfectionCollector<'_> {
if self.unresolved_ctxt == Som... | 1 | 2 | 1 |
6febfe900c53010f6f0fcac87385d8e6786b369e | Donny/κ°λμ€ | 2022-08-31T06:37:29 | feat(dbg-swc): Improve minifier comparator (#5681) | diff --git a/crates/dbg-swc/src/minify/ensure_size.rs b/crates/dbg-swc/src/minify/ensure_size.rs
index 34cc59e73e..42164e09dc 100644
--- a/crates/dbg-swc/src/minify/ensure_size.rs
+++ b/crates/dbg-swc/src/minify/ensure_size.rs
@@ -62,6 +62,12 @@ impl EnsureSize {
println!();
pr... | 2 | 11 | 2 |
cfc3880379a013ec126ea48ae8a8de14a2ddeb53 | Donny/κ°λμ€ | 2022-08-30T03:27:05 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 91fd9582c3..debc54b03d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3083,7 +3083,7 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.16.0"
+version = "0.17.0"
dependencies = [
"binding_macros",
"once_cell",
@@ -3120,7 +3120,7 @@ dependencies = [
[[pac... | 13 | 58 | 58 |
6c2c2587ffebc9c7be4efea7b9567f61e8fbd40c | magic-akari | 2022-08-29T11:27:11 | perf(es/lexer): Improve keyword tokenizer (#5658) | diff --git a/crates/swc_ecma_parser/src/lexer/mod.rs b/crates/swc_ecma_parser/src/lexer/mod.rs
index c9200a2137..a49401a8a5 100644
--- a/crates/swc_ecma_parser/src/lexer/mod.rs
+++ b/crates/swc_ecma_parser/src/lexer/mod.rs
@@ -733,46 +733,82 @@ impl<'a, I: Input> Lexer<'a, I> {
debug_assert!(self.cur().is_some... | 1 | 76 | 40 |
488562baacf45a0b1c8510bed6428991effe7914 | Donny/κ°λμ€ | 2022-08-27T06:06:19 | doc(rustdoc): Document rust APIs (#5647) | diff --git a/crates/ast_node/src/lib.rs b/crates/ast_node/src/lib.rs
index c4c26b34b6..96ce23211a 100644
--- a/crates/ast_node/src/lib.rs
+++ b/crates/ast_node/src/lib.rs
@@ -11,6 +11,8 @@ mod ast_node_macro;
mod enum_deserialize;
mod spanned;
+/// Derives [`swc_common::Spanned`]. See [`swc_common::Spanned`] for
+/... | 11 | 37 | 0 |
e8edb67def8bf88dda610a2d8cc405ad36cd5b52 | Donny/κ°λμ€ | 2022-08-26T09:28:14 | feat(es): Improve APIs for plugin authors (#5632)
- All variants of `Expr` now implement `Into<Box<Expr>>`.
- All variants of `Expr` now implement `Into<PatOrExpr>`.
- All variants of `Pat` now implement `Into<PatOrExpr>`.
- All variants of `Pat` now implement `Into<Param>`.
- `StmtOrModuleItem` is improved. | diff --git a/crates/swc_ecma_ast/src/expr.rs b/crates/swc_ecma_ast/src/expr.rs
index 1d4dd1816d..30470d815c 100644
--- a/crates/swc_ecma_ast/src/expr.rs
+++ b/crates/swc_ecma_ast/src/expr.rs
@@ -265,11 +265,51 @@ impl Take for Expr {
bridge_expr_from!(Ident, Id);
bridge_expr_from!(FnExpr, Function);
-
-bridge_from!... | 3 | 105 | 11 |
71bf0aafa09e6693973d84f5d0324d800a4f04dd | Donny/κ°λμ€ | 2022-08-25T07:07:17 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index e200f41412..d9f007a51f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2878,7 +2878,7 @@ dependencies = [
[[package]]
name = "swc"
-version = "0.219.1"
+version = "0.219.2"
dependencies = [
"ahash",
"ansi_term",
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name... | 4 | 8 | 8 |
3d2ee6d0ae29899ae3a492a0e4b963e40b1d60ff | OJ Kwon | 2022-08-25T03:05:46 | feat(cli): Enable LTO by default for the plugins (#5617) | diff --git a/bindings/swc_cli/src/commands/plugin.rs b/bindings/swc_cli/src/commands/plugin.rs
index 515ebcf732..497977db98 100644
--- a/bindings/swc_cli/src/commands/plugin.rs
+++ b/bindings/swc_cli/src/commands/plugin.rs
@@ -159,6 +159,9 @@ edition = "2021"
[lib]
crate-type = ["cdylib"]
+[profile.release]
+lto = ... | 1 | 3 | 0 |
7461e404b1946cb8b421c314f4b57dc8d836721a | OJ Kwon | 2022-08-24T01:23:20 | feat(swc_core): Add css features (#5609) | diff --git a/Cargo.lock b/Cargo.lock
index 64dfb28839..4e8ef0faf5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.11.6"
+version = "0.11.7"
dependencies = [
"binding_macros",
"once_cell",
@@ -3072,6 +3072,8 @@ dependencies = [
"swc_b... | 4 | 29 | 5 |
7fcecb8e63faa64226b87e34b8cd4fdd0a6a7ab7 | OJ Kwon | 2022-08-23T06:08:37 | fix(swc_core): Re-export `swc_cached` (#5605) | diff --git a/Cargo.lock b/Cargo.lock
index 767326f117..44b06e136b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.11.5"
+version = "0.11.6"
dependencies = [
"binding_macros",
"once_cell",
diff --git a/crates/swc_core/Cargo.toml b/crate... | 3 | 8 | 2 |
52117f71e3f710af9f6095e4022b393abf7bb050 | OJ Kwon | 2022-08-23T05:17:47 | build(swc_core): Bump `swc_core` (#5604) | diff --git a/Cargo.lock b/Cargo.lock
index 4f37df946f..767326f117 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.11.4"
+version = "0.11.5"
dependencies = [
"binding_macros",
"once_cell",
diff --git a/crates/swc_core/Cargo.toml b/crate... | 2 | 3 | 3 |
633a23a13438cb3891ea1cdef349cde882672bec | OJ Kwon | 2022-08-23T03:43:01 | feat(swc_core): Expand features (#5602) | diff --git a/Cargo.lock b/Cargo.lock
index f58dc785e0..039ad96d62 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3063,16 +3063,19 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.11.3"
+version = "0.11.4"
dependencies = [
"binding_macros",
"once_cell",
"swc",
"swc_atoms",
"swc_bundler",
+ "s... | 3 | 58 | 6 |
e211ad6d10f9e05e1ccade2c3cba60e3a53dbee7 | OJ Kwon | 2022-08-23T02:58:51 | feat(bindings): Update `swc_core` (#5594) | diff --git a/bindings/Cargo.lock b/bindings/Cargo.lock
index ed9206bc0d..0b310c263c 100644
--- a/bindings/Cargo.lock
+++ b/bindings/Cargo.lock
@@ -193,9 +193,9 @@ dependencies = [
[[package]]
name = "binding_macros"
-version = "0.3.0"
+version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-ind... | 4 | 51 | 51 |
c760622964ba3d382bf083790ddc3add5d13fd95 | Donny/κ°λμ€ | 2022-08-23T02:14:17 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index da65a4766f..bd4300f7df 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2878,7 +2878,7 @@ dependencies = [
[[package]]
name = "swc"
-version = "0.218.3"
+version = "0.218.4"
dependencies = [
"ahash",
"ansi_term",
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name... | 5 | 13 | 13 |
9bc40e3d087f502904821f9fdbcfff6f8c52116f | OJ Kwon | 2022-08-23T00:21:29 | build(swc_core): Fix dependency version (#5593) | diff --git a/Cargo.lock b/Cargo.lock
index c0743066c7..4dd13d449a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.11.0"
+version = "0.11.1"
dependencies = [
"binding_macros",
"once_cell",
@@ -3241,7 +3241,7 @@ dependencies = [
[[pac... | 36 | 40 | 40 |
f688170909f20a99c1d4b7881eeea78175066357 | Donny/κ°λμ€ | 2022-08-20T12:28:27 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 5acc4d1ca0..80e9ba27f5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.8.3"
+version = "0.8.4"
dependencies = [
"binding_macros",
"once_cell",
diff --git a/crates/swc_core/Cargo.toml b/crates/... | 3 | 2 | 5 |
38d722737b83e6ee5ba769acb61d182243fce581 | Donny/κ°λμ€ | 2022-08-20T12:26:59 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 13ada8f4cf..5acc4d1ca0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.8.2"
+version = "0.8.3"
dependencies = [
"binding_macros",
"once_cell",
diff --git a/crates/swc_core/Cargo.toml b/crates/... | 3 | 6 | 25 |
76bd04b2e2a0655fbd526ccc0130c03238a4cc7f | Donny/κ°λμ€ | 2022-08-20T12:22:08 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 118b2264ee..13ada8f4cf 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.8.1"
+version = "0.8.2"
dependencies = [
"binding_macros",
"once_cell",
@@ -3454,7 +3454,7 @@ dependencies = [
[[packa... | 5 | 11 | 11 |
82cc3ca7a4f27f932ed4e8b4e620d1d8b5f41bdc | Donny/κ°λμ€ | 2022-08-20T10:48:00 | fix(es/quote): Allow cloning (#5571) | diff --git a/crates/swc_ecma_quote/src/clone.rs b/crates/swc_ecma_quote/src/clone.rs
index 1820c93d7b..bcda791c6c 100644
--- a/crates/swc_ecma_quote/src/clone.rs
+++ b/crates/swc_ecma_quote/src/clone.rs
@@ -1,35 +1,10 @@
//! Module for implicitly copyable types.
-use swc_atoms::JsWord;
-use swc_ecma_ast::*;
-
-use s... | 1 | 3 | 28 |
a3c1ac67d708b6c95ef9a9b0892df90bdb26ffe5 | Alexander Akait | 2022-08-20T01:49:27 | feat(css/ast): Make `keyword` optional (#5543) | diff --git a/crates/swc_css_ast/src/at_rule.rs b/crates/swc_css_ast/src/at_rule.rs
index 40b703e11c..0a070659fa 100644
--- a/crates/swc_css_ast/src/at_rule.rs
+++ b/crates/swc_css_ast/src/at_rule.rs
@@ -183,7 +183,7 @@ pub struct MediaQueryList {
}
#[ast_node("MediaQuery")]
-#[derive(Eq, Hash, EqIgnoreSpan)]
+#[der... | 5 | 114 | 43 |
3569b20645a57999fd09ee62e082e08d2caeebcc | brightwu | 2022-08-18T06:03:46 | fix(ast): Add attributes for `rkyv` (#5489) | diff --git a/crates/swc_css_ast/src/token.rs b/crates/swc_css_ast/src/token.rs
index a05a370054..f2e302c791 100644
--- a/crates/swc_css_ast/src/token.rs
+++ b/crates/swc_css_ast/src/token.rs
@@ -23,6 +23,18 @@ pub struct TokenAndSpan {
}
#[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, Serialize, Deserialize, Is, ... | 2 | 24 | 0 |
d46418bb470761db48cd1a3e50578d4e1e82e577 | OJ Kwon | 2022-08-17T21:54:17 | feat(es/plugin/runner): Add more traces for the plugin host (#5538) | diff --git a/crates/swc/src/plugin.rs b/crates/swc/src/plugin.rs
index ff3ada7d00..e8f63f0b72 100644
--- a/crates/swc/src/plugin.rs
+++ b/crates/swc/src/plugin.rs
@@ -159,6 +159,7 @@ impl RustPlugins {
}
#[cfg(all(feature = "plugin", target_arch = "wasm32"))]
+ #[tracing::instrument(level = "info", skip_... | 3 | 8 | 0 |
14606d92225c67145d484f30902d798297a4ffe2 | Alex Kirszenberg | 2022-08-17T08:34:32 | feat(es/react): Add `VisitMut` bound to the return type of react preset (#5499) | diff --git a/crates/swc_ecma_transforms_react/src/lib.rs b/crates/swc_ecma_transforms_react/src/lib.rs
index fb18667bf9..6d4b7afddc 100644
--- a/crates/swc_ecma_transforms_react/src/lib.rs
+++ b/crates/swc_ecma_transforms_react/src/lib.rs
@@ -1,7 +1,7 @@
#![deny(clippy::all)]
use swc_common::{chain, comments::Comme... | 1 | 2 | 2 |
75c8e09d6d412e1012a921d9f3932d6f253781e6 | Alexander van Ratingen | 2022-08-17T06:43:32 | feat(api/rust): Implement more traits for public types (#5488) | diff --git a/crates/swc_css_codegen/src/writer/basic.rs b/crates/swc_css_codegen/src/writer/basic.rs
index 7b53fd1fd4..22027ad25f 100644
--- a/crates/swc_css_codegen/src/writer/basic.rs
+++ b/crates/swc_css_codegen/src/writer/basic.rs
@@ -5,6 +5,7 @@ use swc_common::{BytePos, LineCol, Span};
use super::CssWriter;
... | 4 | 9 | 3 |
ac60c0a2a01009a29ab71e7805eb8ee2aad40b34 | OJ Kwon | 2022-08-17T06:01:53 | feat(bindings): Bump `swc_core` (#5525) | diff --git a/bindings/Cargo.lock b/bindings/Cargo.lock
index 8f93e43746..29268facc0 100644
--- a/bindings/Cargo.lock
+++ b/bindings/Cargo.lock
@@ -138,7 +138,7 @@ dependencies = [
"cfg-if 1.0.0",
"libc",
"miniz_oxide",
- "object",
+ "object 0.29.0",
"rustc-demangle",
]
@@ -199,9 +199,9 @@ dependencies = [
... | 4 | 345 | 195 |
b37b64013354d621b47bddca6e3bf6294f29b11d | OJ Kwon | 2022-08-17T01:13:22 | feat(bindings): Update `swc_core` (#5518) | diff --git a/bindings/Cargo.lock b/bindings/Cargo.lock
index f113374ccf..8f93e43746 100644
--- a/bindings/Cargo.lock
+++ b/bindings/Cargo.lock
@@ -1774,9 +1774,9 @@ checksum = "4389f1d5789befaf6029ebd9f7dac4af7f7e3d61b69d4f30e2ac02b57e7712b0"
[[package]]
name = "rkyv"
-version = "0.7.39"
+version = "0.7.38"
source... | 4 | 39 | 39 |
3bdb39c0eea3c8c5473ff6034be7f7f44d9ba9e7 | OJ Kwon | 2022-08-17T00:25:40 | fix(es/plugin/runner): Provide guest memory allocator for the sourcemap (#5517) | diff --git a/Cargo.lock b/Cargo.lock
index 8dd5c669cb..5da8ac1233 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2342,9 +2342,9 @@ checksum = "11000e6ba5020e53e7cc26f73b91ae7d5496b4977851479edb66b694c0675c21"
[[package]]
name = "rkyv"
-version = "0.7.39"
+version = "0.7.38"
source = "registry+https://github.com/rust... | 12 | 44 | 46 |
5ea921ef951cb71e8eba9884da0de5fafae76803 | Donny/κ°λμ€ | 2022-08-16T07:33:49 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 29b3556320..e982a34201 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3000,7 +3000,7 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.7.15"
+version = "0.7.16"
dependencies = [
"binding_macros",
"once_cell",
@@ -4012,7 +4012,7 @@ dependencies = [
[[pac... | 5 | 11 | 11 |
becc3aebf2469cc29ddfce0c082470d06a6117df | OJ Kwon | 2022-08-16T06:33:14 | build(swc_core): Bump up `rkyv` (#5507) | diff --git a/Cargo.lock b/Cargo.lock
index dd5ddd400d..c522a59ace 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2356,9 +2356,9 @@ checksum = "11000e6ba5020e53e7cc26f73b91ae7d5496b4977851479edb66b694c0675c21"
[[package]]
name = "rkyv"
-version = "0.7.37"
+version = "0.7.39"
source = "registry+https://github.com/rust... | 8 | 26 | 26 |
ef1f259a93495128947e2010998b0f879e59a538 | OJ Kwon | 2022-08-15T14:06:34 | fix(swc_core): Revert crate version metadata patch (#5501) | diff --git a/Cargo.lock b/Cargo.lock
index dacbd64391..f5ce56bbd6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -369,9 +369,6 @@ name = "cc"
version = "1.0.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee"
-dependencies = ... | 5 | 41 | 342 |
808e68b4b1cdbaff6a38cbec6d8b07c406d7d550 | OJ Kwon | 2022-08-15T09:41:14 | feat(swc_core): Provide build-time metadata diagnostics (#5494) | diff --git a/Cargo.lock b/Cargo.lock
index f478b40718..dacbd64391 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -369,6 +369,9 @@ name = "cc"
version = "1.0.72"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "22a9137b95ea06864e018375b72adfb7db6e6f68cfc8df5a04d00288050485ee"
+dependencies = ... | 5 | 342 | 41 |
ca82f64b0e4a550be86bd36d61b3e358b14a720a | OJ Kwon | 2022-08-15T07:59:25 | fix(plugin/proxy): Fix a compilation attribute (#5495) | diff --git a/Cargo.lock b/Cargo.lock
index 73f76d89d1..f478b40718 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -202,7 +202,7 @@ dependencies = [
"path-clean",
"serde",
"serde_json",
- "swc_core 0.7.11 (registry+https://github.com/rust-lang/crates.io-index)",
+ "swc_core 0.7.11",
"tracing",
"tracing-chrome",
... | 6 | 122 | 123 |
e5476310f816c8d16dc9c653e234737bfeb03697 | OJ Kwon | 2022-08-15T04:48:45 | build(es): Bump up bindings (#5493) | diff --git a/Cargo.lock b/Cargo.lock
index 3d1e01cbf0..ea1c6f3e83 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -202,7 +202,7 @@ dependencies = [
"path-clean",
"serde",
"serde_json",
- "swc_core 0.7.10",
+ "swc_core 0.7.11 (registry+https://github.com/rust-lang/crates.io-index)",
"tracing",
"tracing-chrome",
... | 4 | 140 | 140 |
fcd438b371286373d4a3a0d02b5b051ef83330ec | Donny/κ°λμ€ | 2022-08-14T06:36:29 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 25c2a1c9b9..775507944a 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -226,7 +226,7 @@ dependencies = [
"js-sys",
"once_cell",
"swc 0.214.6",
- "swc_common 0.27.6",
+ "swc_common 0.27.7",
"swc_ecma_ast 0.90.7",
"swc_ecma_transforms 0.183.3",
"wasm-bindgen",
@@ -244,7 ... | 4 | 117 | 117 |
04e11a577dcda1b745faa120e7bb94e8ba408d1e | OJ Kwon | 2022-08-14T06:25:54 | fix(swc_core): Bump up `swc_plugin_macro` (#5486) | diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml
index db6953c230..00c634f572 100644
--- a/crates/swc_core/Cargo.toml
+++ b/crates/swc_core/Cargo.toml
@@ -241,7 +241,7 @@ swc_node_base = { optional = true, version = "0.5.5", path = "../s
swc_node_bundler = { optional = true... | 2 | 2 | 2 |
8eb780429395f4f678799379e97bc32aa3d72743 | Donny/κ°λμ€ | 2022-08-14T06:18:36 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index a5a1f7eff6..13ca2d0ba6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3411,7 +3411,7 @@ dependencies = [
"swc_ecma_ast 0.90.7 (registry+https://github.com/rust-lang/crates.io-index)",
"swc_ecma_loader 0.39.4 (registry+https://github.com/rust-lang/crates.io-index)",
"swc_ec... | 3 | 35 | 35 |
f9b3870c128d6ecab269d522cb21a93d9485dad9 | Donny/κ°λμ€ | 2022-08-14T05:21:00 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 90aeb22ade..50afc47889 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -225,7 +225,7 @@ dependencies = [
"console_error_panic_hook",
"js-sys",
"once_cell",
- "swc 0.214.5",
+ "swc 0.214.6",
"swc_common 0.27.6",
"swc_ecma_ast 0.90.7",
"swc_ecma_transforms 0.183.3",
@@ -... | 3 | 9 | 9 |
1a0a2b584265907c965242320cace6c89f858171 | Donny/κ°λμ€ | 2022-08-14T05:09:36 | perf(es/minifier): Remove needless allocation of name mangler (#5483) | diff --git a/crates/swc_ecma_minifier/src/pass/mangle_names/mod.rs b/crates/swc_ecma_minifier/src/pass/mangle_names/mod.rs
index ab00c4389b..cd367c4db7 100644
--- a/crates/swc_ecma_minifier/src/pass/mangle_names/mod.rs
+++ b/crates/swc_ecma_minifier/src/pass/mangle_names/mod.rs
@@ -1,4 +1,4 @@
-use std::{cmp::Reverse, ... | 1 | 24 | 18 |
9d04f24c26d334f7675bbd2ebe3da04467fe6524 | OJ Kwon | 2022-08-14T01:15:56 | feat(node): Use published version of `swc_core` for node binding (#5481) | diff --git a/Cargo.lock b/Cargo.lock
index 86cfadd35a..db690936ff 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -180,8 +180,6 @@ dependencies = [
"serde",
"serde_json",
"swc_core",
- "swc_node_bundler",
- "swc_nodejs_common",
"tracing",
"tracing-chrome",
"tracing-futures",
@@ -3132,7 +3130,7 @@ dependencies =... | 16 | 131 | 99 |
8fde2ab07b56ea644850da5f9b60ed580ccb9d7f | Alexander van Ratingen | 2022-08-13T11:53:59 | chore: Typo (#5478) | diff --git a/crates/swc_css_parser/Cargo.toml b/crates/swc_css_parser/Cargo.toml
index 4fd78e0721..d579460398 100644
--- a/crates/swc_css_parser/Cargo.toml
+++ b/crates/swc_css_parser/Cargo.toml
@@ -1,6 +1,6 @@
[package]
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
-description = "CSS paresr"
+description = "C... | 1 | 1 | 1 |
b35469ab5f16f10144c799d47a93f5d546a4c67e | Donny/κ°λμ€ | 2022-08-13T10:08:39 | fix(atoms): Workaround a bug of `rkyv` (#5479) | diff --git a/crates/swc_atoms/src/lib.rs b/crates/swc_atoms/src/lib.rs
index 8362f7407c..a40f1d4449 100644
--- a/crates/swc_atoms/src/lib.rs
+++ b/crates/swc_atoms/src/lib.rs
@@ -50,11 +50,7 @@ include!(concat!(env!("OUT_DIR"), "/js_word.rs"));
/// "longer than xx" as this is a type.
/// - Raw values.
#[derive(Clo... | 1 | 17 | 38 |
4a3b4b27e21b07851daa15ab41d81e835ab3fcf0 | OJ Kwon | 2022-08-13T02:38:23 | refactor(es/compat): Respect MSRV (#5473) | diff --git a/crates/swc_ecma_transforms_compat/src/es2017/async_to_generator.rs b/crates/swc_ecma_transforms_compat/src/es2017/async_to_generator.rs
index 4e3b1a9152..fb54fba4a4 100644
--- a/crates/swc_ecma_transforms_compat/src/es2017/async_to_generator.rs
+++ b/crates/swc_ecma_transforms_compat/src/es2017/async_to_ge... | 1 | 8 | 4 |
5e428643cdf8c21beb317c0c85acabe6a70623a8 | OJ Kwon | 2022-08-13T02:09:06 | fix(swc_core): Bump version of deps (#5466) | diff --git a/Cargo.lock b/Cargo.lock
index 42b12bac27..8c7f8f9f0f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2926,7 +2926,7 @@ dependencies = [
[[package]]
name = "swc"
-version = "0.214.1"
+version = "0.214.2"
dependencies = [
"ahash",
"ansi_term",
@@ -3132,7 +3132,7 @@ dependencies = [
[[package]]
name... | 4 | 17 | 17 |
d36e48efbfbe7ebd202f65d31735d4888fbd22f5 | OJ Kwon | 2022-08-12T14:04:05 | build(plugin): Downgrade `rkyv` (#5459) | diff --git a/Cargo.lock b/Cargo.lock
index 6a88ce9fe4..2e281129fd 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2445,9 +2445,9 @@ checksum = "11000e6ba5020e53e7cc26f73b91ae7d5496b4977851479edb66b694c0675c21"
[[package]]
name = "rkyv"
-version = "0.7.39"
+version = "0.7.37"
source = "registry+https://github.com/rust... | 25 | 107 | 172 |
3760ba07b10f5d29b6fe025d6721750885bcfeec | OJ Kwon | 2022-08-12T04:36:52 | fix(swc_core): Apply plugin features (#5457) | diff --git a/Cargo.lock b/Cargo.lock
index 55b373c07c..687a3621d6 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3132,7 +3132,7 @@ dependencies = [
[[package]]
name = "swc_core"
-version = "0.6.3"
+version = "0.6.4"
dependencies = [
"binding_macros",
"once_cell",
diff --git a/crates/swc_core/Cargo.toml b/crates/... | 2 | 8 | 5 |
072eb13bf1e593f9daaa702b2034bcd5d416aee5 | OJ Kwon | 2022-08-11T23:58:00 | build(es): Bump up packages (#5451) | diff --git a/Cargo.lock b/Cargo.lock
index ebb2b3930b..55b373c07c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2926,7 +2926,7 @@ dependencies = [
[[package]]
name = "swc"
-version = "0.213.1"
+version = "0.213.2"
dependencies = [
"ahash",
"ansi_term",
@@ -2995,7 +2995,7 @@ dependencies = [
[[package]]
name... | 29 | 121 | 121 |
0e79d31a98624bb414ca5b3ddafd5080331d9898 | brightwu | 2022-08-11T02:32:00 | chore(html/utils): Fix cargo package metadata (#5439) | diff --git a/crates/swc_html_utils/Cargo.toml b/crates/swc_html_utils/Cargo.toml
index f5a469ae2a..dfee18b20d 100644
--- a/crates/swc_html_utils/Cargo.toml
+++ b/crates/swc_html_utils/Cargo.toml
@@ -6,7 +6,7 @@ authors = [
description = "Utils for HTML"
documentation = "https://rustdoc.swc.rs/swc_html_utils/"
editio... | 1 | 1 | 1 |
001607f3411825cc74fd73e0a378616c94603a9f | OJ Kwon | 2022-08-11T02:01:58 | feat(plugin): Add some tracing for plugin host (#5438) | diff --git a/Cargo.lock b/Cargo.lock
index 28a9e0bd0b..efefcc3dd9 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4158,6 +4158,8 @@ dependencies = [
"rkyv",
"swc_common",
"swc_ecma_ast",
+ "swc_trace_macro",
+ "tracing",
]
[[package]]
diff --git a/crates/swc_plugin_proxy/Cargo.toml b/crates/swc_plugin_proxy/Carg... | 15 | 71 | 7 |
6a36a8d98203f4e22a14b483a3eadda86f3587bb | OJ Kwon | 2022-08-11T01:23:00 | fix(plugin): Disable remaining `bytecheck` (#5437) | diff --git a/crates/swc_common/src/plugin/serialized.rs b/crates/swc_common/src/plugin/serialized.rs
index 004438ad1c..b8a4545780 100644
--- a/crates/swc_common/src/plugin/serialized.rs
+++ b/crates/swc_common/src/plugin/serialized.rs
@@ -1,7 +1,6 @@
use std::any::type_name;
use anyhow::Error;
-use bytecheck::Check... | 3 | 794 | 22 |
e35990390b271fffca7e4e7a89971d82df0dc2e6 | Austaras | 2022-08-10T08:26:33 | fix(es/fixer): Remove needless parens for nested `??` (#5432) | diff --git a/crates/swc_ecma_ast/src/operators.rs b/crates/swc_ecma_ast/src/operators.rs
index ea26b88c56..8d17a1ec58 100644
--- a/crates/swc_ecma_ast/src/operators.rs
+++ b/crates/swc_ecma_ast/src/operators.rs
@@ -104,6 +104,10 @@ impl BinaryOp {
BinaryOp::NullishCoalescing => 1,
}
}
+
+ ... | 3 | 17 | 12 |
f43461d6459bf351d6379552d7e2e9c55656e4c1 | OJ Kwon | 2022-08-10T05:16:49 | refactor(binding/macros): Update import references (#5431) | diff --git a/crates/binding_core_wasm/src/lib.rs b/crates/binding_core_wasm/src/lib.rs
index cedb649b54..540162cc49 100644
--- a/crates/binding_core_wasm/src/lib.rs
+++ b/crates/binding_core_wasm/src/lib.rs
@@ -2,7 +2,7 @@ use swc_core::binding_macros::{
build_minify, build_minify_sync, build_parse, build_parse_sy... | 2 | 4 | 4 |
56b10367a3acdc6e0a034ce7c6c8562bbaa9ddc6 | brightwu | 2022-08-10T03:48:35 | feat(ast): Make css/html ast serializable (#5427) | diff --git a/Cargo.lock b/Cargo.lock
index 7c8f356a20..562450367e 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3175,7 +3175,9 @@ dependencies = [
name = "swc_css_ast"
version = "0.105.0"
dependencies = [
+ "bytecheck",
"is-macro",
+ "rkyv",
"serde",
"string_enum",
"swc_atoms",
@@ -3959,7 +3961,9 @@ dependenc... | 13 | 333 | 129 |
5348195996c7ac70d584ab3be0d87a3ac931c44c | OJ Kwon | 2022-08-10T03:10:19 | feat(swc_core): Add macros for wasm bindings (#5430) | diff --git a/Cargo.lock b/Cargo.lock
index de0f1f1692..503dae1121 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -191,17 +191,23 @@ dependencies = [
[[package]]
name = "binding_core_wasm"
version = "1.2.224"
+dependencies = [
+ "swc_core",
+ "wasm-bindgen",
+]
+
+[[package]]
+name = "binding_macros"
+version = "0.1.0"
... | 10 | 462 | 311 |
53627aff442422f421a961bb72eec05ae61dabb6 | overlookmotel | 2022-08-09T14:15:45 | fix(es/ast): Fix json deserialization of `AssignExpr` (#5179) | diff --git a/crates/swc_ecma_ast/src/expr.rs b/crates/swc_ecma_ast/src/expr.rs
index d807d77849..da76837dcf 100644
--- a/crates/swc_ecma_ast/src/expr.rs
+++ b/crates/swc_ecma_ast/src/expr.rs
@@ -1,6 +1,10 @@
#![allow(clippy::vec_box)]
use is_macro::Is;
-use serde::{self, Deserialize, Serialize};
+use serde::{
+ se... | 1 | 108 | 2 |
ce3bbe4bb069b96252fde666904f593b176d6633 | OJ Kwon | 2022-08-09T01:49:06 | fix(cli): Update plugin template (#5421) | diff --git a/Cargo.lock b/Cargo.lock
index 8077389bcd..6df0427c2f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3138,6 +3138,7 @@ dependencies = [
"swc_ecma_parser",
"swc_ecma_quote_macros",
"swc_ecma_transforms",
+ "swc_ecma_transforms_testing",
"swc_ecma_utils",
"swc_ecma_visit",
"swc_node_base",
@@ -4574,... | 5 | 109 | 49 |
2b5080e291344337719035706f9ade6cdd4b4467 | OJ Kwon | 2022-08-08T02:58:08 | fix(es): Temporarily disable `bytecheck` (#5414) | diff --git a/crates/ast_node/src/lib.rs b/crates/ast_node/src/lib.rs
index 8fb4f04172..c4c26b34b6 100644
--- a/crates/ast_node/src/lib.rs
+++ b/crates/ast_node/src/lib.rs
@@ -210,10 +210,6 @@ pub fn ast_node(
feature = "rkyv",
derive(rkyv::Archive, rkyv::Serialize, rkyv::Deseri... | 17 | 0 | 130 |
d1da89939f169437e67031833ea09237968dd620 | Donny/κ°λμ€ | 2022-08-08T02:22:29 | feat(dbg-swc): Improve minifier comparator (#5411) | diff --git a/crates/dbg-swc/src/minify/ensure_size.rs b/crates/dbg-swc/src/minify/ensure_size.rs
index 2784cca29c..af89434cdd 100644
--- a/crates/dbg-swc/src/minify/ensure_size.rs
+++ b/crates/dbg-swc/src/minify/ensure_size.rs
@@ -3,7 +3,7 @@ use std::{
sync::Arc,
};
-use anyhow::{bail, Context, Result};
+use a... | 1 | 36 | 42 |
420d936c50265c958b3811772ee15fb468afcf58 | OJ Kwon | 2022-08-08T01:43:25 | fix(swc_core): Fix dep on `quote_macros` (#5415) | diff --git a/crates/swc_core/Cargo.toml b/crates/swc_core/Cargo.toml
index 036912c3d4..8a70e3754b 100644
--- a/crates/swc_core/Cargo.toml
+++ b/crates/swc_core/Cargo.toml
@@ -214,7 +214,7 @@ swc_common = { optional = true, version = "0.26.0", path = "../swc_co
swc_ecma_ast = { optional = true, vers... | 2 | 19 | 19 |
27e7e0b69b15a215a887b2a3f75a598ac01252b6 | OJ Kwon | 2022-08-07T03:33:18 | fix(swc_core): Update references for `quote!` (#5408) | diff --git a/crates/swc_core/src/quote.rs b/crates/swc_core/src/quote.rs
index d636223312..47f935e7ad 100644
--- a/crates/swc_core/src/quote.rs
+++ b/crates/swc_core/src/quote.rs
@@ -1,7 +1,5 @@
-use swc_atoms::JsWord;
-use swc_ecma_ast::*;
-
use self::private::Sealed;
+use super::{ast::*, atoms::JsWord};
/// # Sup... | 2 | 2 | 4 |
c2273255c0c2b90e606c5880b8e80a5cd8c370bf | OJ Kwon | 2022-08-07T02:43:15 | fix(es/utils): Allow `quote_ident!` working with `swc_core` (#5409) | diff --git a/crates/swc_ecma_utils/src/lib.rs b/crates/swc_ecma_utils/src/lib.rs
index 3305604750..4f87345217 100644
--- a/crates/swc_ecma_utils/src/lib.rs
+++ b/crates/swc_ecma_utils/src/lib.rs
@@ -4,6 +4,9 @@
#[doc(hidden)]
pub extern crate swc_ecma_ast;
+#[doc(hidden)]
+pub extern crate swc_common;
+
use std::{... | 2 | 9 | 7 |
e44e8b103c190206f6e79a15d50ee634ae138454 | Donny/κ°λμ€ | 2022-08-05T11:51:54 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 9cdef3d309..71f8ef65a2 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3658,7 +3658,7 @@ dependencies = [
[[package]]
name = "swc_ecma_transforms_module"
-version = "0.137.1"
+version = "0.137.2"
dependencies = [
"Inflector",
"ahash",
@@ -3813,7 +3813,7 @@ dependencies =... | 3 | 5 | 5 |
774149d29e2064b90b26bc180d4ac86e5e5c10a3 | Donny/κ°λμ€ | 2022-08-03T04:16:32 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 2d3f6d8eee..30aefb3462 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3847,7 +3847,7 @@ dependencies = [
[[package]]
name = "swc_ecmascript"
-version = "0.186.0"
+version = "0.186.1"
dependencies = [
"swc_ecma_ast",
"swc_ecma_codegen",
diff --git a/crates/swc_ecmascript... | 2 | 34 | 34 |
8b9dd6f026e13fa850a7adcca52e285d874d4390 | OJ Kwon | 2022-08-03T03:38:05 | feat(swc_core): Expand features and use it from wasm and cli (#5369) | diff --git a/Cargo.lock b/Cargo.lock
index 37bf3cae27..6a2060312c 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -211,15 +211,10 @@ dependencies = [
"serde",
"serde_json",
"swc",
- "swc_common",
- "swc_ecma_lints",
- "swc_ecmascript",
- "swc_plugin_runner",
+ "swc_core",
"tracing",
"wasm-bindgen",
"wasm-bindge... | 16 | 153 | 90 |
2a499de61decdb836a4a51bc0fa5631568b77015 | Alexander Akait | 2022-08-01T04:49:58 | perf(html/parser): Apply small memory optimizations (#5345) | diff --git a/crates/swc_html_parser/src/lexer/mod.rs b/crates/swc_html_parser/src/lexer/mod.rs
index 90e22a357c..94f119a831 100644
--- a/crates/swc_html_parser/src/lexer/mod.rs
+++ b/crates/swc_html_parser/src/lexer/mod.rs
@@ -566,9 +566,9 @@ where
fn create_start_tag_token(&mut self) {
self.current_tag_t... | 1 | 23 | 19 |
b0cb35abaad7ca2a2e58462285548959d3e2c0fc | OJ Kwon | 2022-08-01T02:32:33 | feat(wasm): Enable string interning (#5351) | diff --git a/crates/binding_core_wasm/Cargo.toml b/crates/binding_core_wasm/Cargo.toml
index d243460de0..cc82e639a2 100644
--- a/crates/binding_core_wasm/Cargo.toml
+++ b/crates/binding_core_wasm/Cargo.toml
@@ -45,7 +45,10 @@ swc_ecma_lints = { path = "../swc_ecma_lints", features = [
swc_ecmascript = { path = "../swc... | 1 | 4 | 1 |
1d10c3e83725276fa466393fb7a3139f07fa66c7 | magic-akari | 2022-07-29T04:01:37 | fix(es/utils): Fix `contains_top_level_await` (#5335) | diff --git a/crates/swc_ecma_utils/src/lib.rs b/crates/swc_ecma_utils/src/lib.rs
index bf75a761c4..2f3fa5eeab 100644
--- a/crates/swc_ecma_utils/src/lib.rs
+++ b/crates/swc_ecma_utils/src/lib.rs
@@ -2481,7 +2481,11 @@ pub struct TopLevelAwait {
impl Visit for TopLevelAwait {
noop_visit_type!();
- fn visit_st... | 1 | 57 | 1 |
5c9ea16b2a5e003a5fa0198f3101e93efceab3b0 | OJ Kwon | 2022-07-28T23:30:41 | build(cargo): Update packages (#5331) | diff --git a/Cargo.lock b/Cargo.lock
index 8044d751c6..a1d2b472b0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4117,7 +4117,7 @@ dependencies = [
[[package]]
name = "swc_plugin"
-version = "0.88.1"
+version = "0.88.2"
dependencies = [
"swc_atoms",
"swc_common",
diff --git a/crates/dbg-swc/Cargo.toml b/crates/d... | 48 | 49 | 49 |
1fddfc39497cc6ad7561a20f7332363137ccfafd | Donny/κ°λμ€ | 2022-07-28T02:45:05 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 2fd930fba7..5b80a23614 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2992,7 +2992,7 @@ dependencies = [
[[package]]
name = "swc_atoms"
-version = "0.3.0"
+version = "0.3.1"
dependencies = [
"bytecheck",
"once_cell",
diff --git a/crates/swc_atoms/Cargo.toml b/crates/swc... | 2 | 2 | 2 |
906b23dcc2262d3970da419987eb1b454d06953e | Donny/κ°λμ€ | 2022-07-27T05:54:57 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index ee96b1279a..a2bcaccecc 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3249,7 +3249,7 @@ dependencies = [
[[package]]
name = "swc_css_prefixer"
-version = "0.113.1"
+version = "0.113.2"
dependencies = [
"once_cell",
"preset_env_base",
diff --git a/crates/swc_css_prefixer... | 2 | 3 | 3 |
8896dd9a66686ddb84a444480f395dcd75a92cba | HeYunfei | 2022-07-26T10:09:23 | doc(ast_node): Remove an unnecessary comment (#5304) | diff --git a/crates/ast_node/src/lib.rs b/crates/ast_node/src/lib.rs
index 0716425eef..8fb4f04172 100644
--- a/crates/ast_node/src/lib.rs
+++ b/crates/ast_node/src/lib.rs
@@ -156,9 +156,6 @@ impl VisitMut for AddAttr {
/// `#[derive(Spanned, Fold, Clone, Debug, PartialEq)]` for a struct and
/// `#[derive(Spanned, Fol... | 1 | 0 | 3 |
35b1e7817974b0e1d7a5af1f9314444fe4070585 | OJ Kwon | 2022-07-26T01:25:37 | chore(deps): Update `bytecheck` (#5296) | diff --git a/Cargo.lock b/Cargo.lock
index 7b1ae3d3c1..01039d18d5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -294,9 +294,9 @@ checksum = "a4a45a46ab1f2412e53d3a0ade76ffad2025804294569aae387231a0cd6e0899"
[[package]]
name = "bytecheck"
-version = "0.6.8"
+version = "0.6.9"
source = "registry+https://github.com/rus... | 6 | 8 | 11 |
34210648b06c4e4e4bd7d368a1b9d203535bbc30 | Donny/κ°λμ€ | 2022-07-22T12:06:09 | chore: Fix CI | diff --git a/crates/binding_core_node/Cargo.toml b/crates/binding_core_node/Cargo.toml
index 224edf4f14..e04fe85844 100644
--- a/crates/binding_core_node/Cargo.toml
+++ b/crates/binding_core_node/Cargo.toml
@@ -51,7 +51,7 @@ path-clean = "0.1"
serde = { version = "1", features = ["derive"] }
serde_json = { version = ... | 1 | 1 | 1 |
bd1c2cc7e6dcc04c3d8b59f34b4b88be29ec1ccb | OJ Kwon | 2022-07-20T07:51:47 | feat(es/plugin): Add experimental metadata field (#5254) | diff --git a/crates/swc_plugin/src/lib.rs b/crates/swc_plugin/src/lib.rs
index 074abdb553..449e3a9b53 100644
--- a/crates/swc_plugin/src/lib.rs
+++ b/crates/swc_plugin/src/lib.rs
@@ -9,6 +9,10 @@ pub use swc_common::{
},
};
+pub mod collections {
+ pub use swc_common::collections::AHashMap;
+}
+
pub mod com... | 2 | 22 | 2 |
0d91741eb9dc9e2d3ae23f555e3b35c9c448cfc6 | OJ Kwon | 2022-07-20T03:42:04 | build(cargo): Align dependency versions (#5248) | diff --git a/crates/dbg-swc/Cargo.toml b/crates/dbg-swc/Cargo.toml
index 7dbd278931..708ede0054 100644
--- a/crates/dbg-swc/Cargo.toml
+++ b/crates/dbg-swc/Cargo.toml
@@ -17,7 +17,7 @@ clap = { version = "3", features = ["derive"] }
rayon = "1.5.2"
sha1 = "0.10.1"
swc_atoms = { version = "0.2.11", path = "../swc_ato... | 52 | 61 | 61 |
d229917588a7bfda8bf4023c42c4190552a3b0c6 | Donny/κ°λμ€ | 2022-07-19T04:37:50 | chore: Fix CI (#5251) | diff --git a/crates/swc_ecma_transforms_optimization/Cargo.toml b/crates/swc_ecma_transforms_optimization/Cargo.toml
index 887a165335..cc8b04ceac 100644
--- a/crates/swc_ecma_transforms_optimization/Cargo.toml
+++ b/crates/swc_ecma_transforms_optimization/Cargo.toml
@@ -14,7 +14,7 @@ version = "0.147.0"
bench = false
... | 1 | 17 | 17 |
ecbf9d6c36b4f86945a66deb8a7d90d7ae01dc3d | JH.Lee | 2022-07-18T02:51:50 | feat(testing/macros): Generalize test names with regex (#5242) | diff --git a/crates/testing_macros/Cargo.toml b/crates/testing_macros/Cargo.toml
index e02ee8882d..1ba8297655 100644
--- a/crates/testing_macros/Cargo.toml
+++ b/crates/testing_macros/Cargo.toml
@@ -25,3 +25,4 @@ quote = "1"
regex = "1"
relative-path = "1.3.2"
syn = {version = "1", features = ["fold", "parsing", "fu... | 2 | 12 | 10 |
df426d7b1d2ca74505051bfe78aa78a2a315e0ab | δΈδΈ | 2022-07-17T17:39:16 | chore: Typo (#5238) | diff --git a/crates/swc_ecma_transforms_base/src/hygiene/mod.rs b/crates/swc_ecma_transforms_base/src/hygiene/mod.rs
index 5871f31227..456ed5d819 100644
--- a/crates/swc_ecma_transforms_base/src/hygiene/mod.rs
+++ b/crates/swc_ecma_transforms_base/src/hygiene/mod.rs
@@ -28,7 +28,7 @@ pub fn hygiene() -> impl Fold + Vis... | 1 | 1 | 1 |
17f1cee0a8132c79712c742f645e098df9309999 | ζ»ε¨ | 2022-07-17T17:17:48 | chore: Typo (#5239) | diff --git a/crates/swc_visit_macros/src/lib.rs b/crates/swc_visit_macros/src/lib.rs
index d6fddf0e61..03072c50a1 100644
--- a/crates/swc_visit_macros/src/lib.rs
+++ b/crates/swc_visit_macros/src/lib.rs
@@ -62,7 +62,7 @@ impl Mode {
Some(match self {
Mode::VisitAll => return None,
Mod... | 1 | 1 | 1 |
de76868cad88b9afe103a60331c1456a3f02e37e | Donny/κ°λμ€ | 2022-07-17T11:22:25 | fix(testing): Allow space in file names (#5237) | diff --git a/crates/testing_macros/src/fixture.rs b/crates/testing_macros/src/fixture.rs
index feb9f0f240..24fe5960dd 100644
--- a/crates/testing_macros/src/fixture.rs
+++ b/crates/testing_macros/src/fixture.rs
@@ -147,6 +147,7 @@ pub fn expand(callee: &Ident, attr: Config) -> Result<Vec<ItemFn>, Error> {
... | 1 | 1 | 0 |
1aa022361e7918f4077eacae6e51899eac007be5 | David Campion | 2022-07-17T04:38:44 | chore(visit): Specify version of `swc_macros_common` (#5231) | diff --git a/crates/swc_visit_macros/Cargo.toml b/crates/swc_visit_macros/Cargo.toml
index 41a78ba6a7..f78aa3d967 100644
--- a/crates/swc_visit_macros/Cargo.toml
+++ b/crates/swc_visit_macros/Cargo.toml
@@ -18,5 +18,5 @@ Inflector = "0.11.4"
pmutil = "0.5.1"
proc-macro2 = "1"
quote = "1"
-swc_macros_common = {versio... | 1 | 2 | 2 |
df050df38b573cf277f20c49df54f50e5d2bf8fa | Donny/κ°λμ€ | 2022-07-16T14:35:18 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 7c3fdda1f5..3acf92f986 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2935,7 +2935,7 @@ dependencies = [
[[package]]
name = "swc"
-version = "0.208.0"
+version = "0.208.1"
dependencies = [
"ahash",
"ansi_term",
@@ -3542,7 +3542,7 @@ dependencies = [
[[package]]
name... | 4 | 9 | 9 |
d3b099661797bd13f9bdb81ed60596c0666c8fc0 | Donny/κ°λμ€ | 2022-07-16T14:30:15 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 59e4c027eb..7c3fdda1f5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -768,7 +768,7 @@ dependencies = [
[[package]]
name = "dbg-swc"
-version = "0.36.0"
+version = "0.37.0"
dependencies = [
"anyhow",
"clap 3.1.0",
@@ -2935,7 +2935,7 @@ dependencies = [
[[package]]
na... | 19 | 77 | 77 |
5f9ea38fe122916dddf2783070bd19f4a0474c41 | Donny/κ°λμ€ | 2022-07-16T14:20:58 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index eee12e45e2..59e4c027eb 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2935,7 +2935,7 @@ dependencies = [
[[package]]
name = "swc"
-version = "0.207.0"
+version = "0.207.1"
dependencies = [
"ahash",
"ansi_term",
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name... | 3 | 5 | 5 |
d693bbbf3aabb85cf6771477473403e01980142f | Donny/κ°λμ€ | 2022-07-15T17:11:12 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 48409b3fb4..507a5dd113 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4111,7 +4111,7 @@ dependencies = [
[[package]]
name = "swc_plugin"
-version = "0.81.0"
+version = "0.81.1"
dependencies = [
"swc_atoms",
"swc_common",
@@ -4123,7 +4123,7 @@ dependencies = [
[[packa... | 3 | 5 | 5 |
92c0153cb56a6b3b7d6503216a14d5ed78df71dc | OJ Kwon | 2022-07-15T01:11:17 | feat(plugin): Pass `unresolved_mark` to plugins (#5212) | diff --git a/crates/swc/src/config/mod.rs b/crates/swc/src/config/mod.rs
index 77093f01cc..b7c645b4ff 100644
--- a/crates/swc/src/config/mod.rs
+++ b/crates/swc/src/config/mod.rs
@@ -542,6 +542,7 @@ impl Options {
source_map,
experimental,
plugin_context,
+ ... | 8 | 1,101 | 8 |
3e3be80efda09ae494f8962947562b4411874061 | OJ Kwon | 2022-07-15T00:35:34 | fix(cli): Emit sourcemap with file inputs (#5213) | diff --git a/crates/swc_cli/src/commands/compile.rs b/crates/swc_cli/src/commands/compile.rs
index c03596d143..1711999e5c 100644
--- a/crates/swc_cli/src/commands/compile.rs
+++ b/crates/swc_cli/src/commands/compile.rs
@@ -54,7 +54,7 @@ pub struct CompileOptions {
/// Define the file for the source map.
#[c... | 1 | 34 | 5 |
fbfa59b5b78ed76350be246eecba86f8fe8b4234 | Donny/κ°λμ€ | 2022-07-14T05:27:26 | feat(es): Add quote to `swc_ecmascript` (#5199) | diff --git a/Cargo.lock b/Cargo.lock
index bafe4ddfe7..209a938d16 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3839,6 +3839,7 @@ dependencies = [
"swc_ecma_minifier",
"swc_ecma_parser",
"swc_ecma_preset_env",
+ "swc_ecma_quote",
"swc_ecma_transforms",
"swc_ecma_utils",
"swc_ecma_visit",
diff --git a/crates/... | 3 | 16 | 10 |
f69dee75f208a6385b64fa79147eef57bd24944e | Donny/κ°λμ€ | 2022-07-14T04:02:51 | feat(es/plugin): Print filename on failure (#5200) | diff --git a/crates/swc/src/plugin.rs b/crates/swc/src/plugin.rs
index 0ac52ae0f2..f50d6cd8cc 100644
--- a/crates/swc/src/plugin.rs
+++ b/crates/swc/src/plugin.rs
@@ -74,9 +74,21 @@ struct RustPlugins {
}
impl RustPlugins {
+ #[cfg(feature = "plugin")]
+ fn apply(&mut self, n: Program) -> Result<Program, anyh... | 1 | 14 | 2 |
ec9378370dd870c304143219afed04624075141f | magic-akari | 2022-07-13T10:55:55 | fix(es/parser): Fix parsing of export specifiers (#5190) | diff --git a/crates/swc_ecma_codegen/src/tests.rs b/crates/swc_ecma_codegen/src/tests.rs
index b7c5b37b68..d5aa335f8f 100644
--- a/crates/swc_ecma_codegen/src/tests.rs
+++ b/crates/swc_ecma_codegen/src/tests.rs
@@ -326,6 +326,7 @@ fn named_and_namespace_export_from() {
"export * as Foo, { bar } from 'foo';",
... | 4 | 137 | 73 |
1e86f3eb4ad23d0e7adf35074c6bb3781b8ce72d | Donny/κ°λμ€ | 2022-07-13T10:05:23 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index f5439db64b..25f0fe0815 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3287,7 +3287,7 @@ dependencies = [
[[package]]
name = "swc_ecma_ast"
-version = "0.85.0"
+version = "0.85.1"
dependencies = [
"arbitrary",
"bitflags",
@@ -3500,7 +3500,7 @@ dependencies = [
[[packa... | 5 | 12 | 12 |
c91abb2ca75ff98e8fad7a4740b6feccec62cd54 | Donny/κ°λμ€ | 2022-07-13T10:02:00 | feat(quote): Support different types for variables (#5194) | diff --git a/crates/swc_ecma_ast/src/ident.rs b/crates/swc_ecma_ast/src/ident.rs
index 5814873176..0a40457bac 100644
--- a/crates/swc_ecma_ast/src/ident.rs
+++ b/crates/swc_ecma_ast/src/ident.rs
@@ -36,6 +36,14 @@ pub struct BindingIdent {
pub type_ann: Option<TsTypeAnn>,
}
+impl std::ops::Deref for BindingIden... | 8 | 166 | 25 |
902ac55c6362ae4ae9fce4593e54e9dd6336a041 | Donny/κ°λμ€ | 2022-07-13T07:35:06 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index a9066b9e86..315380243d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3089,7 +3089,7 @@ dependencies = [
[[package]]
name = "swc_common"
-version = "0.24.0"
+version = "0.24.1"
dependencies = [
"ahash",
"anyhow",
@@ -4109,7 +4109,7 @@ dependencies = [
[[package]]
na... | 4 | 9 | 9 |
538b86f52f7a8d9957a7a06305dfbfd69b6b26c1 | Donny/κ°λμ€ | 2022-07-13T07:32:32 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index a3ff5cfb83..a9066b9e86 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -4109,7 +4109,7 @@ dependencies = [
[[package]]
name = "swc_plugin"
-version = "0.79.0"
+version = "0.80.0"
dependencies = [
"swc_atoms",
"swc_common",
@@ -4121,7 +4121,7 @@ dependencies = [
[[packa... | 3 | 5 | 5 |
d1418ee977428597b3f9833b8cee6ca434186ae4 | Donny/κ°λμ€ | 2022-07-13T01:34:02 | feat(visit): Implement serde for `AstParentKind` (#5191) | diff --git a/Cargo.lock b/Cargo.lock
index 49f1c6e7b6..e98984e3ac 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3278,6 +3278,7 @@ dependencies = [
name = "swc_css_visit"
version = "0.98.0"
dependencies = [
+ "serde",
"swc_atoms",
"swc_common",
"swc_css_ast",
@@ -3820,6 +3821,7 @@ name = "swc_ecma_visit"
versio... | 5 | 42 | 5 |
60ca5538f9c658a5f9bb7b9dd83d1795ed18bde3 | Alexander Akait | 2022-07-12T05:08:10 | fix(html/codegen): Fix source map generation (#5184) | diff --git a/Cargo.lock b/Cargo.lock
index 4b06a648a2..21c8ed586b 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3950,6 +3950,7 @@ version = "0.22.0"
dependencies = [
"auto_impl",
"bitflags",
+ "rustc-hash",
"swc_atoms",
"swc_common",
"swc_html_ast",
diff --git a/crates/swc_html_codegen/Cargo.toml b/crates/swc... | 6 | 127 | 55 |
7b28521d72776a33f5d51c8ac9fdc674268fa418 | Alexander Akait | 2022-07-12T02:43:24 | fix(css/parser): Avoid skipping whitespaces if not required (#5181) | diff --git a/crates/swc_css_parser/src/parser/base.rs b/crates/swc_css_parser/src/parser/base.rs
index 3234122ea4..ca5b35ebd3 100644
--- a/crates/swc_css_parser/src/parser/base.rs
+++ b/crates/swc_css_parser/src/parser/base.rs
@@ -706,9 +706,7 @@ where
fn parse(&mut self) -> PResult<Declaration> {
let spa... | 1 | 8 | 3 |
793c423a2438bff1db05162bc552bcde6d05a67c | Donny/κ°λμ€ | 2022-07-09T15:57:16 | chore: Publish crates | diff --git a/Cargo.lock b/Cargo.lock
index 04450b5398..9215adf772 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -2935,7 +2935,7 @@ dependencies = [
[[package]]
name = "swc"
-version = "0.204.0"
+version = "0.205.0"
dependencies = [
"ahash",
"ansi_term",
@@ -3063,7 +3063,7 @@ dependencies = [
[[package]]
name... | 8 | 22 | 22 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.