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 |
|---|---|---|---|---|---|---|---|
6ad3f7b90ef1c1d54eb9e472a163ce991fc4929b | ๊ฐ๋์ค | 2021-06-23T04:18:41 | feat(es/visit): Groundwork to use VisitMut instead of Fold (#1842)
swc_ecma_transforms:
- Expose `VisitMut` if possible.
swc_ecma_visit:
- Implement `VisitMut` for` Folder<V>`.
- Implement `VisitMut` for `AndThen<A, B>`. | diff --git a/Cargo.toml b/Cargo.toml
index 46eaa65821..976631239d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,7 +11,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc"
repository = "https://github.com/swc-project/swc.git"
-version = "0.24.0"
+version = "0.24.1"
[lib]
name = "swc"
@@ -31,11 +31,11 @... | 38 | 196 | 151 |
11f75dfdcdf85c0b148fe54a87d2d621dd9e4463 | Austaras | 2021-06-20T05:33:19 | fix(es/utils): Fix detection of used variables (#1835) | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index d348dbe0c6..a948b6ec86 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.40.0"
+version... | 4 | 30 | 3 |
9ae8c47d9b696772f6027801d5e2e4316249ab7c | Andrew Bradley | 2021-06-18T03:25:05 | fix(es/transforms/module): Allow importing same module with multiple names (#1830) | diff --git a/ecmascript/transforms/module/src/util.rs b/ecmascript/transforms/module/src/util.rs
index 1602742315..048e6e5264 100644
--- a/ecmascript/transforms/module/src/util.rs
+++ b/ecmascript/transforms/module/src/util.rs
@@ -320,17 +320,15 @@ impl Scope {
.entry(import.src.value.clone())
... | 2 | 23 | 8 |
b5a7a3f57798589ec2e652968810e89d05991bc8 | ๊ฐ๋์ค | 2021-06-16T05:30:33 | fix(es/transforms/optimization): Fix dead_branch_remover (#1827)
swc_ecma_transforms_optimization:
- Preserve side effects of a while statement even if it's a infinite loop. (#1825) | diff --git a/ecmascript/transforms/optimization/Cargo.toml b/ecmascript/transforms/optimization/Cargo.toml
index 1d4fcaf6de..9f52e1c5b1 100644
--- a/ecmascript/transforms/optimization/Cargo.toml
+++ b/ecmascript/transforms/optimization/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc... | 3 | 33 | 8 |
5d219b8cd164373cb6359207232633fc00f0cdd9 | Shinobu Hayashi | 2021-05-30T06:05:14 | fix(es/codegen): Fix codegen of classes with minify enabled (#1767) | diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml
index bfee534a03..f71459a550 100644
--- a/ecmascript/codegen/Cargo.toml
+++ b/ecmascript/codegen/Cargo.toml
@@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_codegen"
repository = "https://git... | 3 | 12 | 7 |
7b9b9fe9cee9979c165ab4841cbd86daa01d5867 | muji | 2021-05-28T11:57:57 | fix(common): Fix compiler error (#1747)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/common/src/private/mod.rs b/common/src/private/mod.rs
index ff84d74599..b1c70c548a 100644
--- a/common/src/private/mod.rs
+++ b/common/src/private/mod.rs
@@ -1,3 +1,3 @@
-//! This module is private module and can be changed without notice.
+//! This module is private module and can be changed without not... | 1 | 2 | 2 |
470c8f47457ff228131834fb09e9d9051ec8fcdb | ๊ฐ๋์ค | 2021-05-20T06:09:30 | fix(es/minifier): Publish (#1716) | diff --git a/common/Cargo.toml b/common/Cargo.toml
index 8b50ce9b23..055d32dd14 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_common"
repository = "https://github.com/swc-project/swc.git"
-version = "0.10.19"
+version = "0.10.20"
[fe... | 3 | 5 | 6 |
ded8f2b5e55d7457926856fdce940c5fcbd6e0c4 | ๊ฐ๋์ค | 2021-05-20T05:23:01 | fix(es/minifier): Use log instead of stderr (#1715) | diff --git a/ecmascript/minifier/src/compress/mod.rs b/ecmascript/minifier/src/compress/mod.rs
index 338d06622a..097aa4ac06 100644
--- a/ecmascript/minifier/src/compress/mod.rs
+++ b/ecmascript/minifier/src/compress/mod.rs
@@ -125,19 +125,22 @@ impl VisitMut for Compressor<'_> {
fn visit_mut_module(&mut self, n: &... | 1 | 9 | 6 |
a0241c88b253774f085585376eb2218e5be2dfa6 | ๊ฐ๋์ค | 2021-05-18T08:47:43 | fix(es/transforms/base): Fix resolver (#1710)
swc_ecma_transforms_base:
- `ts_resolver`: Treat the type parameter of a mapped type as a binding. | diff --git a/ecmascript/transforms/base/Cargo.toml b/ecmascript/transforms/base/Cargo.toml
index 4f39df2628..a667b443ed 100644
--- a/ecmascript/transforms/base/Cargo.toml
+++ b/ecmascript/transforms/base/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_base"
reposito... | 3 | 83 | 52 |
dee82904f891ed48d4df124620e71246416c895d | ๊ฐ๋์ค | 2021-05-18T06:34:44 | fix(es): Fix bugs (#1709)
swc_ecma_transforms_base:
- `fixer`: Fix regression related to `??` and `||`. (denoland/deno#10668) | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index 8d04e1ce0c..d28b00c4a1 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -9,7 +9,7 @@ include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"]
license = "Apache-2.0/MIT"
name = "swc_bundler"
repository = "https://github.com/swc-project/sw... | 3 | 9 | 3 |
8a36435ee1897d40591b9fab77eae188d54a12dc | ๊ฐ๋์ค | 2021-05-16T07:11:35 | fix(es/transforsm/compat): Transform private field access in private methods (#1703)
swc_ecma_transforms_compat:
- `class_properties`: Handle private field accesses in private methods. (#1702) | diff --git a/ecmascript/transforms/compat/Cargo.toml b/ecmascript/transforms/compat/Cargo.toml
index 430731a5c9..290df46d22 100644
--- a/ecmascript/transforms/compat/Cargo.toml
+++ b/ecmascript/transforms/compat/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_compat"... | 3 | 73 | 13 |
2ad0af9e9182942aaf55b6aa2aa236e0baa14ce5 | ๊ฐ๋์ค | 2021-05-11T04:53:36 | fix(es/transforms/compat): Improve performance (#1673)
swc_ecma_transforms_compat:
- `classes`: Fast-path.
- `destructuring`: Fast-path.
- `sticky_regex`: Fast-path.
- `spread`: Fast-path.
- `shorthand`: Fast-path.
- `typeof_symbol`: Fast-path.
- `block_scoped_functions`: Fast path.
- `duplicate_keys`:... | diff --git a/atoms/src/lib.rs b/atoms/src/lib.rs
index 024d28f442..7c113d1788 100644
--- a/atoms/src/lib.rs
+++ b/atoms/src/lib.rs
@@ -1,3 +1,13 @@
+//! [JsWord] is an interened string.
+//!
+//! This type should be used instead of [String] for values, because lots of
+//! values are duplicated. For example, if an iden... | 16 | 283 | 160 |
9381d0dbc2b0fc80b53c2654126b2d9937253a71 | ๊ฐ๋์ค | 2021-05-10T11:39:07 | fix(es/transforms/base): Fix resolver (#1672)
swc_ecma_transforms_base:
- `resolver`: Handle variables in for in/of loop body correctly. | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index 13b18aec16..013e37acb5 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "examples/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_parser"
repository... | 4 | 29 | 4 |
de15804b89523d8126ff3bc2bbcefeeda65f96ac | ๊ฐ๋์ค | 2021-05-10T08:23:51 | Bump version | diff --git a/ecmascript/transforms/compat/Cargo.toml b/ecmascript/transforms/compat/Cargo.toml
index b99d21b014..98a5994135 100644
--- a/ecmascript/transforms/compat/Cargo.toml
+++ b/ecmascript/transforms/compat/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_compat"... | 1 | 1 | 1 |
aea08fb8c94c0d7857e8c1624566844cfca5fbba | ๊ฐ๋์ค | 2021-05-09T07:03:59 | fix(es/tranforms/base): resolver: Handle function declarations in ts modules (#1665)
swc_ecma_transforms_base:
- `resolver`: Handle function names in ts modules correctly. | diff --git a/ecmascript/transforms/base/Cargo.toml b/ecmascript/transforms/base/Cargo.toml
index a49a8d05d4..b45314b710 100644
--- a/ecmascript/transforms/base/Cargo.toml
+++ b/ecmascript/transforms/base/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_base"
reposito... | 3 | 50 | 6 |
f368c5f81c8cfd464b755c0b34c4b3c08dc89f2b | ๊ฐ๋์ค | 2021-05-07T13:21:53 | fix(es/transforms/react): Bump version | diff --git a/ecmascript/transforms/react/Cargo.toml b/ecmascript/transforms/react/Cargo.toml
index aaa5140347..26554715c0 100644
--- a/ecmascript/transforms/react/Cargo.toml
+++ b/ecmascript/transforms/react/Cargo.toml
@@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma... | 1 | 1 | 1 |
abc24c9256c27fb3e860c2fdabdc3ddb8a3344ee | ๊ฐ๋์ค | 2021-05-06T04:56:42 | fix(es/transforms/resolver): Fix setter properties (#1647)
swc_ecma_transorms_base:
- Handle parameters of a setter property correctly. | diff --git a/ecmascript/transforms/base/Cargo.toml b/ecmascript/transforms/base/Cargo.toml
index 81622ef450..fb7fbfe1f2 100644
--- a/ecmascript/transforms/base/Cargo.toml
+++ b/ecmascript/transforms/base/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_base"
reposito... | 3 | 11 | 6 |
deec1f67a338bc711600beae09099bc695ab0c55 | ๊ฐ๋์ค | 2021-05-05T18:09:03 | fix(es/transforms/resolver): Fix setter properties (#1645)
swc_ecma_transorms_base:
- Handle parameters of a setter property correctly. | diff --git a/ecmascript/transforms/base/Cargo.toml b/ecmascript/transforms/base/Cargo.toml
index 4c4fc11137..81622ef450 100644
--- a/ecmascript/transforms/base/Cargo.toml
+++ b/ecmascript/transforms/base/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_base"
reposito... | 4 | 102 | 29 |
fe107a1223bf8c2361b3ac50cc7280afa32c988c | Niklas Mischkulnig | 2021-05-05T05:13:06 | fix(es/transforms/react): Change order of passes (#1639) | diff --git a/ecmascript/transforms/react/src/lib.rs b/ecmascript/transforms/react/src/lib.rs
index 6488c0dc2e..455b2d44c3 100644
--- a/ecmascript/transforms/react/src/lib.rs
+++ b/ecmascript/transforms/react/src/lib.rs
@@ -31,11 +31,11 @@ where
let refresh_options = mem::replace(&mut options.refresh, None);
... | 1 | 4 | 4 |
27a1c30fef2948856b3cbc26ae65b69db91f3a18 | ๊ฐ๋์ค | 2021-05-04T03:11:40 | fix(es/transforms/fixer): Handle binary expressions in super class expr (#1636)
swc_ecma_transforms_base:
- Handle binary expressions in super class expressions. (denoland/deno#10487) | diff --git a/ecmascript/transforms/base/Cargo.toml b/ecmascript/transforms/base/Cargo.toml
index ceb646d0c1..4c4fc11137 100644
--- a/ecmascript/transforms/base/Cargo.toml
+++ b/ecmascript/transforms/base/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_base"
reposito... | 3 | 13 | 4 |
2724cefe2cdac5b74c8482815ce7b237133066d2 | ๊ฐ๋์ค | 2021-05-03T10:31:04 | fix(es/transforms/react): Expose `RefreshOptions` (#1635)
swc_ecma_transforms_react:
- Expose `RefreshOptions`. (#1634)
- Expose `Runtime`. | diff --git a/ecmascript/transforms/react/Cargo.toml b/ecmascript/transforms/react/Cargo.toml
index b7f82dd321..aaa5140347 100644
--- a/ecmascript/transforms/react/Cargo.toml
+++ b/ecmascript/transforms/react/Cargo.toml
@@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma... | 2 | 3 | 1 |
b6ff4d6f717dfb4bd41c62c7085e15ace868f296 | Niklas Mischkulnig | 2021-05-03T09:12:15 | fix(es/transforms/optimization): Preserve `x instanceof Object` (#1630) | diff --git a/ecmascript/transforms/optimization/src/simplify/expr/mod.rs b/ecmascript/transforms/optimization/src/simplify/expr/mod.rs
index 4a19b25fb1..d7a332a781 100644
--- a/ecmascript/transforms/optimization/src/simplify/expr/mod.rs
+++ b/ecmascript/transforms/optimization/src/simplify/expr/mod.rs
@@ -466,12 +466,2... | 2 | 13 | 1 |
d10671bbda6d591a1358d52ef5f0ed8efb360a0d | ๊ฐ๋์ค | 2021-05-03T04:34:13 | fix(swc): Fix various bugs. (#1632)
swc_ecma_transforms_typescript:
- Fix import analyzer. (denoland/deno#10462) | diff --git a/Cargo.toml b/Cargo.toml
index 076dabe7b2..31573072b0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,7 +11,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc"
repository = "https://github.com/swc-project/swc.git"
-version = "0.15.4"
+version = "0.16.0"
[lib]
name = "swc"
@@ -33,8 +33,8 @@ ... | 13 | 57 | 33 |
f943021de0ab3b37addae2d88187fcbba15c6107 | Will Binns-Smith | 2021-04-28T01:14:13 | feat(es/transforms/optimization): simplify: Preserve do-while loops with conditional stoppers (#1618) | diff --git a/ecmascript/transforms/optimization/src/simplify/branch/mod.rs b/ecmascript/transforms/optimization/src/simplify/branch/mod.rs
index dc68df6078..430ecad3f7 100644
--- a/ecmascript/transforms/optimization/src/simplify/branch/mod.rs
+++ b/ecmascript/transforms/optimization/src/simplify/branch/mod.rs
@@ -851,6... | 2 | 10 | 0 |
a24266d986b25c8412945b29501ffa4eb568a211 | Will Binns-Smith | 2021-04-27T03:46:04 | feat(es/preset-env): Make android targets fall back to chrome (#1597) | diff --git a/ecmascript/preset_env/src/version.rs b/ecmascript/preset_env/src/version.rs
index fdcb03f7a2..44af94e998 100644
--- a/ecmascript/preset_env/src/version.rs
+++ b/ecmascript/preset_env/src/version.rs
@@ -163,21 +163,41 @@ pub fn should_enable(target: Versions, feature: Versions, default: bool) -> bool
... | 1 | 36 | 16 |
1c4fa63bdcc76fa58682b9a8999f2ac945e5114e | Devon Govett | 2021-04-19T15:50:44 | fix(es/transforms/compat): Handle references to `arguments` inside arrow functions and block scoped loops (#1585)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/ecmascript/transforms/compat/Cargo.toml b/ecmascript/transforms/compat/Cargo.toml
index ed9ccf5574..97084c7527 100644
--- a/ecmascript/transforms/compat/Cargo.toml
+++ b/ecmascript/transforms/compat/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_compat"... | 6 | 458 | 27 |
efa7a9af7801c00362960b86c6e11c5bd97c21d1 | Devon Govett | 2021-04-16T15:44:36 | fix(es/transforms/compat): Fix regenerator pass for yield* expressions (#1580)
swc_ecma_transforms_compat:
- `regenerator`: Fix delegating yield expressions. | diff --git a/ecmascript/transforms/compat/src/es2015/regenerator/case.rs b/ecmascript/transforms/compat/src/es2015/regenerator/case.rs
index 74191a261d..1d95686274 100644
--- a/ecmascript/transforms/compat/src/es2015/regenerator/case.rs
+++ b/ecmascript/transforms/compat/src/es2015/regenerator/case.rs
@@ -710,6 +710,13... | 3 | 31 | 3 |
00461f3a76ed82f41f334cd34008209563c473e5 | Devon Govett | 2021-04-15T05:50:43 | fix(es/transforms/base): Fix precedence of yield expression inside ternary (#1577) | diff --git a/ecmascript/transforms/base/Cargo.toml b/ecmascript/transforms/base/Cargo.toml
index 7685a47149..ae511df38a 100644
--- a/ecmascript/transforms/base/Cargo.toml
+++ b/ecmascript/transforms/base/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_base"
reposito... | 2 | 13 | 4 |
d8a18dfd9e9e67da0ef19c5f44e847534790e58f | Devon Govett | 2021-04-14T08:42:07 | fix(es/transforms/compat): Fix block scoping of class declarations (#1569) | diff --git a/ecmascript/transforms/base/src/resolver/mod.rs b/ecmascript/transforms/base/src/resolver/mod.rs
index 0dcfda3f21..d30489cd1a 100644
--- a/ecmascript/transforms/base/src/resolver/mod.rs
+++ b/ecmascript/transforms/base/src/resolver/mod.rs
@@ -1245,6 +1245,9 @@ impl VisitMut for Hoister<'_, '_> {
}
... | 2 | 31 | 0 |
e43de77ec6740ac558f191cdcb49fd41bc45da34 | Niklas Mischkulnig | 2021-04-12T11:18:17 | fix(es/transforms/optimization): Preserve missing object members (#1567)
swc_ecma_transforms_optimization:
- Don't replace missing object members with undefined | diff --git a/ecmascript/transforms/optimization/Cargo.toml b/ecmascript/transforms/optimization/Cargo.toml
index fd9981c90a..c938a1fc55 100644
--- a/ecmascript/transforms/optimization/Cargo.toml
+++ b/ecmascript/transforms/optimization/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc... | 3 | 9 | 6 |
ee641bab630dff154fab23cdd2c9eadc772b07a2 | Devon Govett | 2021-04-08T05:15:59 | fix(es/transforms/optimization): Fix function hoisting with early return branch simplification (#1539)
swc_ecam_transforms_optimization:
- Fix function hoisting. | diff --git a/ecmascript/transforms/optimization/src/simplify/branch/mod.rs b/ecmascript/transforms/optimization/src/simplify/branch/mod.rs
index 87e2d51594..dc68df6078 100644
--- a/ecmascript/transforms/optimization/src/simplify/branch/mod.rs
+++ b/ecmascript/transforms/optimization/src/simplify/branch/mod.rs
@@ -969,1... | 2 | 44 | 9 |
645de92762241f8ce404ddad2a68b4727fefb8b9 | ๊ฐ๋์ค | 2021-04-07T03:02:35 | Bump version | diff --git a/common/Cargo.toml b/common/Cargo.toml
index 238f05fd5a..dc8a63503c 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_common"
repository = "https://github.com/swc-project/swc.git"
-version = "0.10.13"
+version = "0.10.14"
[fe... | 1 | 1 | 1 |
beeb1f90671e604aa2fe0672288757ab54869e17 | Devon Govett | 2021-04-06T04:31:11 | fix(es/transforms/base): Fix named function expression handling in resolver (#1540) | diff --git a/ecmascript/transforms/base/src/resolver/mod.rs b/ecmascript/transforms/base/src/resolver/mod.rs
index d5efba99b6..e1becdf370 100644
--- a/ecmascript/transforms/base/src/resolver/mod.rs
+++ b/ecmascript/transforms/base/src/resolver/mod.rs
@@ -510,12 +510,23 @@ impl<'a> VisitMut for Resolver<'a> {
}
... | 3 | 172 | 12 |
6cad184dfdfe0ab544c7ab923214bf37e5421bd2 | Austaras | 2021-04-04T07:18:17 | feat(es/transforms/react): Fast refresh config (#1538)
swc_ecma_transforms_react:
- Add a config for fast refresh. | diff --git a/ecmascript/transforms/react/Cargo.toml b/ecmascript/transforms/react/Cargo.toml
index 083f44a5de..85fe5cf263 100644
--- a/ecmascript/transforms/react/Cargo.toml
+++ b/ecmascript/transforms/react/Cargo.toml
@@ -11,6 +11,7 @@ version = "0.12.1"
# See more keys and their definitions at https://doc.rust-lang.... | 7 | 298 | 58 |
b9f5a50d184b2aa2c99631cea510d5762ecb1ea6 | Devon Govett | 2021-04-01T02:46:57 | fix(es/transforms/typescript): Fix TS import elision with shadowed declarations (#1521) | diff --git a/ecmascript/transforms/typescript/src/strip.rs b/ecmascript/transforms/typescript/src/strip.rs
index 29122a98ac..73cc2d1f5e 100644
--- a/ecmascript/transforms/typescript/src/strip.rs
+++ b/ecmascript/transforms/typescript/src/strip.rs
@@ -88,6 +88,7 @@ struct Strip {
///
/// This field is filled b... | 2 | 248 | 23 |
4ab7a91fe30d3c39c8ea4849e3e7f188ecaa1160 | ๊ฐ๋์ค | 2021-03-31T18:01:44 | fix(es): Fix for the type checker (#1528)
swc_ecma_codegen:
- Fix codegen of type assertions.
swc_ecma_transforms_base:
- `resolver`: Handle getter properties.
- โขresolver`: Handle setter properties. | diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml
index ca4a9ec197..794de0554b 100644
--- a/ecmascript/codegen/Cargo.toml
+++ b/ecmascript/codegen/Cargo.toml
@@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_codegen"
repository = "https://git... | 6 | 211 | 9 |
393808a8f68f134688fea3b9cd5f7504f13506a5 | Devon Govett | 2021-03-29T14:41:05 | fix(es/codegen): Fix sourcemaps of multi line block comments (#1511)
swc_ecma_codegen:
- Fix sourcemaps of multiline block comments.
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml
index 08001cb06f..ef8885d3af 100644
--- a/ecmascript/codegen/Cargo.toml
+++ b/ecmascript/codegen/Cargo.toml
@@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_codegen"
repository = "https://git... | 3 | 13 | 7 |
8eae00900f88b09cf04dc1a991f815124a07d08f | Nayeem Rahman | 2021-03-28T03:14:59 | fix(es/transforms/typescript): Precompute class field keys (#1498)
swc_ecma_transforms_typescript:
- `strip`: Precompute keys.
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/ecmascript/transforms/typescript/src/strip.rs b/ecmascript/transforms/typescript/src/strip.rs
index 65a1ae4b8b..21c109c3cb 100644
--- a/ecmascript/transforms/typescript/src/strip.rs
+++ b/ecmascript/transforms/typescript/src/strip.rs
@@ -9,7 +9,7 @@ use swc_ecma_utils::private_ident;
use swc_ecma_utils::v... | 2 | 126 | 1 |
9d53a70221a90e421b937bf2ec0d28004abe0f76 | Devon Govett | 2021-03-16T06:18:12 | fix(common): Fix column positions in generated sourcemaps (#1470)
Co-authored-by: ๊ฐ๋์ค <kdy1@dudy.kr> | diff --git a/common/Cargo.toml b/common/Cargo.toml
index ed230e3e3c..46c301acb5 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_common"
repository = "https://github.com/swc-project/swc.git"
-version = "0.10.12"
+version = "0.10.13"
[fe... | 2 | 4 | 3 |
06cb4b89cba109e8bae8739a8509c5be569d1da1 | Alexander van Ratingen | 2021-03-11T02:24:31 | fix(es/codegen): Fix SX spread props (#1463) | diff --git a/ecmascript/codegen/src/jsx.rs b/ecmascript/codegen/src/jsx.rs
index a4110c554f..a74cde0dd6 100644
--- a/ecmascript/codegen/src/jsx.rs
+++ b/ecmascript/codegen/src/jsx.rs
@@ -79,7 +79,11 @@ impl<'a> Emitter<'a> {
fn emit_jsx_attr_or_spread(&mut self, node: &JSXAttrOrSpread) -> Result {
match *... | 1 | 5 | 1 |
24dac8605b8ed6473ac5881651437c3f614bb001 | marieell | 2021-03-01T04:44:44 | chore: Typo (#1442) | diff --git a/ecmascript/parser/src/token.rs b/ecmascript/parser/src/token.rs
index 269627435d..a180642e78 100644
--- a/ecmascript/parser/src/token.rs
+++ b/ecmascript/parser/src/token.rs
@@ -1,4 +1,4 @@
-//! Ported from [babel/bablyon][]
+//! Ported from [babel/babylon][]
//!
//! [babel/babylon]:https://github.com/ba... | 1 | 1 | 1 |
f28cd51e22483b4f86b615408090e7b5845720e4 | ๊ฐ๋์ค | 2021-02-22T12:50:39 | Bump version | diff --git a/common/Cargo.toml b/common/Cargo.toml
index c1b0bb3f72..d497f4c08c 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_common"
repository = "https://github.com/swc-project/swc.git"
-version = "0.10.10"
+version = "0.10.11"
[fe... | 1 | 1 | 1 |
abfff69300e46fff8d244fe27bacf08c1545d005 | playX | 2021-02-22T12:50:19 | fix(common): Allow using with MIRI (#1426) | diff --git a/common/src/syntax_pos/analyze_source_file.rs b/common/src/syntax_pos/analyze_source_file.rs
index b7afdf70a3..57a3d55bb5 100644
--- a/common/src/syntax_pos/analyze_source_file.rs
+++ b/common/src/syntax_pos/analyze_source_file.rs
@@ -53,7 +53,7 @@ cfg_if::cfg_if! {
line... | 1 | 1 | 1 |
eecdca4e866f470781806ed287fd8480aefa8dce | ๊ฐ๋์ค | 2021-02-19T10:51:50 | fix(es/transforms/base): Fix resolver (#1414)
swc_ecma_transforms_base:
- `resolver`: Handle private class methods. (denoland/deno_lint#615) | diff --git a/ecmascript/transforms/base/Cargo.toml b/ecmascript/transforms/base/Cargo.toml
index 755ce5f402..1c94075f8f 100644
--- a/ecmascript/transforms/base/Cargo.toml
+++ b/ecmascript/transforms/base/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_base"
reposito... | 3 | 61 | 1 |
8fb0b4c30339c1d2609239b6feb093735c83b140 | ๊ฐ๋์ค | 2021-02-17T05:40:03 | fix(es/transforms/react): Use VisitMut instead of Fold (#1409)
swc_ecma_transforms_base:
- Implement `MapWithMut` for more types.
swc_ecma_transforms_react:
- Migrate to `VisitMut`. | diff --git a/ecmascript/transforms/base/Cargo.toml b/ecmascript/transforms/base/Cargo.toml
index 60019ff904..f549d2186e 100644
--- a/ecmascript/transforms/base/Cargo.toml
+++ b/ecmascript/transforms/base/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_base"
reposito... | 4 | 90 | 30 |
a53186c842bf9eb33f0834bab911a7f5a8c9b17b | Ivan Tham | 2021-02-15T14:01:37 | fix(swc): Reduce allocation (#1401) | diff --git a/spack/src/resolvers/mod.rs b/spack/src/resolvers/mod.rs
index 9bc2a793c9..a0fc81feb2 100644
--- a/spack/src/resolvers/mod.rs
+++ b/spack/src/resolvers/mod.rs
@@ -90,9 +90,7 @@ impl NodeResolver {
/// Resolve using the package.json "main" key.
fn resolve_package_main(&self, pkg_path: &PathBuf) -... | 1 | 1 | 3 |
fc2a8cb073e00759a867422b6ff3a52d2c04e429 | ๊ฐ๋์ค | 2021-02-14T17:45:50 | fix(es): Fix docs.rs (#1399) | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 57ab0be3d7..0531af60dd 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,10 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.21.0"
+versio... | 1 | 4 | 1 |
313f51fab159f2e58eef9574c95fc8546dab9782 | David Sherret | 2021-02-14T07:49:28 | feat(es/parser): Allow to look at the kind of an error (#1396)
swc_ecma_parser:
- Add a method to look at the kind of an error without destructuring it.
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/Cargo.toml b/Cargo.toml
index 38b671a743..65c16e841f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,7 +9,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc"
repository = "https://github.com/swc-project/swc.git"
-version = "0.3.0"
+version = "0.4.0"
[lib]
name = "swc"
@@ -28,11 +28,11 @@ so... | 19 | 91 | 87 |
8ef78a9e08008275c3c60090ce65ad4339220eb5 | Bartek Iwaลczuk | 2021-02-10T12:49:44 | feat: add import assertion to dep analyzer (#1387)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 24974b0f25..b725470b08 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.19.0"
+version... | 3 | 97 | 5 |
79e991bcc32c6b89e61df1db3ca6133eb0a855e3 | LongYinan | 2021-02-10T06:47:01 | chore(node-swc): Use latest napi versions (#1386) | diff --git a/native/Cargo.toml b/native/Cargo.toml
index 61dd11be84..ea1cbbe628 100644
--- a/native/Cargo.toml
+++ b/native/Cargo.toml
@@ -12,14 +12,14 @@ version = "0.1.0"
crate-type = ["cdylib"]
[build-dependencies]
-napi-build = {version = "1.0"}
+napi-build = {version = "1"}
[dependencies]
anyhow = "1"
bac... | 1 | 3 | 3 |
686c98116d0483ea73529c6ae662b0908fea9203 | ๊ฐ๋์ค | 2021-02-07T16:39:05 | fix(es): Fix for the type checker (#1381)
swc_ecma_codegen:
- Fix codegen of `TsCallSignatureDecl`.
swc_ecma_transforms_base:
- Handle `TsCallSignatureDecl`. | diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml
index 2c4d333513..f53ea1e189 100644
--- a/ecmascript/codegen/Cargo.toml
+++ b/ecmascript/codegen/Cargo.toml
@@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_codegen"
repository = "https://git... | 5 | 48 | 4 |
767f21e9ddf037cc429df7ec52ce45b94c6b9fe9 | ๊ฐ๋์ค | 2021-01-27T11:20:39 | fix(bundler): Fix pass ordering (#1363)
swc_bundler:
- Invoke iife handler before fixer. | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index 065d4188c9..0553c684e9 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -9,7 +9,7 @@ include = ["Cargo.toml", "build.rs", "src/**/*.rs", "src/**/*.js"]
license = "Apache-2.0/MIT"
name = "swc_bundler"
repository = "https://github.com/swc-project/sw... | 2 | 3 | 3 |
78e79a7acec59ae6e9a5818aa369b7b3b4cf1781 | ๊ฐ๋์ค | 2021-01-27T07:20:10 | feat(es/transforms/typescript): Strip out type-only namespaces (#1361)
swc_ecma_transforms_typescript:
- Strip out type-only namespaces. | diff --git a/ecmascript/transforms/typescript/Cargo.toml b/ecmascript/transforms/typescript/Cargo.toml
index 4e2c79064a..d16d68a28f 100644
--- a/ecmascript/transforms/typescript/Cargo.toml
+++ b/ecmascript/transforms/typescript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_tr... | 3 | 43 | 1 |
947f9c56411cb6cee6cdc8370d01f986d9825245 | ๊ฐ๋์ค | 2021-01-25T09:14:34 | fix(es/ast): Fix EqIgnoreSpan (#1360)
swc_ecma_ast:
- Make `EqIgnoreSpan` impl of` StrKind` always return true. | diff --git a/Cargo.toml b/Cargo.toml
index 4d8cb1bd13..214ee63d28 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,7 +9,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc"
repository = "https://github.com/swc-project/swc.git"
-version = "0.2.5"
+version = "0.2.6"
[lib]
name = "swc"
@@ -27,12 +27,12 @@ se... | 22 | 147 | 140 |
0469e3a33e0a379cbdd5c2fd1d8139ef2b4da42e | ๊ฐ๋์ค | 2021-01-20T10:43:56 | fix(es): Move and rename JscTarget (#1343)
swc_ecma_ast:
- Add `EsVersion`.
swc_ecma_parser:
- Remove `JscTarget`.
- Reexport `EsVersion` as `JscTarget`. | diff --git a/Cargo.toml b/Cargo.toml
index 15a02256e0..18f17f0157 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,7 +9,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc"
repository = "https://github.com/swc-project/swc.git"
-version = "0.2.1"
+version = "0.2.2"
[lib]
name = "swc"
@@ -27,12 +27,12 @@ se... | 23 | 176 | 165 |
613a5a45dd2828739ab33dbc194b91b1a0ec0c6c | ๊ฐ๋์ค | 2021-01-15T12:12:16 | fix(es): Fixes for the type checker (#1331)
swc_ecma_codegen:
- Fix codegen of typescript interfaces.
swc_ecma_transforms_base:
- ts_resolver: Handle ts module declarations. | diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml
index fe06fb3e18..82f96fe711 100644
--- a/ecmascript/codegen/Cargo.toml
+++ b/ecmascript/codegen/Cargo.toml
@@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_codegen"
repository = "https://git... | 5 | 101 | 3 |
ebc0d0a203ce683957e5aca3ab273f39a011adb8 | ๊ฐ๋์ค | 2021-01-11T11:08:39 | fix(bundler): Publish | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index f723ac16e0..174bc8de13 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -5,7 +5,7 @@ build = "build.rs"
description = "Very fast ecmascript bundler"
documentation = "https://swc.rs/rustdoc/swc_bundler/"
edition = "2018"
-include = ["Cargo.toml", "... | 1 | 1 | 1 |
f0ca499b92e92cba3cebb1d1a636a43cb0bf8ac9 | ๊ฐ๋์ค | 2021-01-11T11:03:12 | Include build.rs | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index 57903b754b..f723ac16e0 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -5,7 +5,7 @@ build = "build.rs"
description = "Very fast ecmascript bundler"
documentation = "https://swc.rs/rustdoc/swc_bundler/"
edition = "2018"
-include = ["Cargo.toml", "... | 1 | 1 | 1 |
dc0d2266849f9ea8c62dc4c0e4a6169e0b6c271d | ๊ฐ๋์ค | 2021-01-05T12:54:42 | Update cargo.toml | diff --git a/ecmascript/transforms/base/Cargo.toml b/ecmascript/transforms/base/Cargo.toml
index 8d3d2b4a9f..a1f0d33b89 100644
--- a/ecmascript/transforms/base/Cargo.toml
+++ b/ecmascript/transforms/base/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms_base"
reposito... | 1 | 2 | 2 |
5d515d9ced4fa34867a4d446a7865f87d70a9a93 | ๊ฐ๋์ค | 2021-01-05T05:59:53 | Fix deps | diff --git a/ecmascript/preset_env/Cargo.toml b/ecmascript/preset_env/Cargo.toml
index 2777ba6d09..b2b782a320 100644
--- a/ecmascript/preset_env/Cargo.toml
+++ b/ecmascript/preset_env/Cargo.toml
@@ -21,7 +21,7 @@ string_enum = {version = "0.3", path = "../../macros/string_enum"}
swc_atoms = {version = "0.2", path = ".... | 1 | 1 | 1 |
0713f98e53db896f38d3476201cac182a33ad703 | ๊ฐ๋์ค | 2021-01-01T06:28:14 | Specify version | diff --git a/Cargo.toml b/Cargo.toml
index 12f8295ab3..f0c914cac2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -38,7 +38,7 @@ swc_visit = {version = "0.2", path = "./visit"}
[dev-dependencies]
rayon = "1"
-testing = {path = "./testing"}
+testing = {version = "0.10", path = "./testing"}
walkdir = "2"
[[example]] | 1 | 1 | 1 |
35cac79f48dc68cdf9bef141d2df938fdb7cef78 | ๊ฐ๋์ค | 2021-01-01T04:30:35 | Publish swc crate (#1308) | diff --git a/Cargo.toml b/Cargo.toml
index 7e298b63f6..12f8295ab3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -25,16 +25,16 @@ regex = "1"
serde = {version = "1", features = ["derive"]}
serde_json = "1"
sourcemap = "6"
-swc_atoms = {path = "./atoms"}
-swc_common = {path = "./common", features = ["sourcemap", "concur... | 3 | 30 | 28 |
d638fc32cc9d5ed6a1e779ac6abea5381b98360c | Boris | 2020-12-30T14:13:26 | Add tests to cover comments in regex pattern (#1303) | diff --git a/ecmascript/parser/src/parser/expr/tests.rs b/ecmascript/parser/src/parser/expr/tests.rs
index adc0faa81c..0d86124838 100644
--- a/ecmascript/parser/src/parser/expr/tests.rs
+++ b/ecmascript/parser/src/parser/expr/tests.rs
@@ -34,6 +34,46 @@ fn expr(s: &'static str) -> Box<Expr> {
})
})
}
+fn... | 1 | 40 | 0 |
254efc4d5437be1a24a3d5c1ec3cefd07283fb2a | ๊ฐ๋์ค | 2020-12-29T04:04:20 | Bump version | diff --git a/ecmascript/codegen/macros/Cargo.toml b/ecmascript/codegen/macros/Cargo.toml
index eb7e937482..a32b44f3a1 100644
--- a/ecmascript/codegen/macros/Cargo.toml
+++ b/ecmascript/codegen/macros/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_codegen_macros"
repository = ... | 1 | 1 | 1 |
906390852836cb130e9eeec409cb4ec1e7fb82bd | Maxime Guerreiro | 2020-12-29T02:56:38 | feat(ecmascript/codegen): fix and use omit_trailing_semi (#1298)
swc_ecma_codegen:
- Use omit_trailing_semi in 'assert_min' tests, to identify bugs. Before this,
no code was using this method - and it had some serious bugs.
- Omit semicolons when writing punctuation, as it's permitted to do so.
- Use two macros ... | diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml
index a3d42b3c19..dd0d24fe8e 100644
--- a/ecmascript/codegen/Cargo.toml
+++ b/ecmascript/codegen/Cargo.toml
@@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_codegen"
repository = "https://git... | 10 | 197 | 162 |
08c5d83d2029dd24a60d6d296bed81b6a40531ce | ๊ฐ๋์ค | 2020-12-27T04:22:02 | Bump version | diff --git a/ecmascript/ast/Cargo.toml b/ecmascript/ast/Cargo.toml
index 39abdf4110..b4eb3bf2e0 100644
--- a/ecmascript/ast/Cargo.toml
+++ b/ecmascript/ast/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_ast"
repository = "https://github.com/swc-project/swc.git"
-version = "0.... | 1 | 1 | 1 |
b895c29909f2aed57a5460442d96f523afa4d6fe | ๊ฐ๋์ค | 2020-12-22T06:39:44 | Bump version of wasm | diff --git a/wasm/Cargo.toml b/wasm/Cargo.toml
index 69ea436dfd..95f9d53f3b 100644
--- a/wasm/Cargo.toml
+++ b/wasm/Cargo.toml
@@ -5,7 +5,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "wasm"
repository = "https://github.com/swc-project/swc.git"
-version = "1.2.40"
+version = "1.2.41"
[lib]
crate-type =... | 1 | 1 | 1 |
b760c7c9c7206dc4e59f58b929ad64f94c48f80c | Liam Murphy | 2020-12-20T13:27:31 | fix(ecmascript/codegen): TsQualifiedName has trailing dot (#1268)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/ecmascript/codegen/src/tests.rs b/ecmascript/codegen/src/tests.rs
index b1a311c7ca..827fbd6564 100644
--- a/ecmascript/codegen/src/tests.rs
+++ b/ecmascript/codegen/src/tests.rs
@@ -78,6 +78,17 @@ pub(crate) fn assert_min(from: &str, to: &str) {
assert_eq!(DebugUsingDisplay(out.trim()), DebugUsingDisp... | 2 | 24 | 1 |
ccf4c2b12cf82f22c7d26d3c3e4581dc5a2ad320 | ๊ฐ๋์ค | 2020-12-12T08:45:54 | feat(fixer): Handle ?? properly (#1270)
swc_ecma_transforms:
- Handle `??` properly. (denoland/deno#8722) | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index 95efaf2496..b8bd91519c 100644
--- a/ecmascript/transforms/Cargo.toml
+++ b/ecmascript/transforms/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecma_transforms"
repository = "https://github.com/... | 2 | 13 | 1 |
7a46c8844e1c084ebd78cd00665f96d306d831bd | David Sherret | 2020-12-12T03:45:22 | Implement Spanned for TokenAndSpan (#1269)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index bbd4ed435f..ac7d7bfc2c 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -7,7 +7,7 @@ include = ["Cargo.toml", "src/**/*.rs", "examples/**/*.rs"]
license = "Apache-2.0/MIT"
name = "swc_ecma_parser"
repository... | 2 | 9 | 2 |
8ba2ae959d0a44b368e26daf6a23657f83f3196c | Luca Casonato | 2020-12-09T02:27:09 | feat: specifier position in DependencyDescriptor (#1260)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 1393ca67a0..237eb41c1e 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.14.5"
+version... | 3 | 63 | 23 |
01b6a0a90fee6fd7639a54e1b29a3f0b71f58007 | David Sherret | 2020-12-09T01:45:33 | Add `borrow_all()` to `SingleThreadedComments` (#1262)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/common/Cargo.toml b/common/Cargo.toml
index 153a150f1e..a777f2df1c 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_common"
repository = "https://github.com/swc-project/swc.git"
-version = "0.10.6"
+version = "0.10.7"
[feat... | 2 | 19 | 3 |
718f47803bcfd0ff2d11bf72aaa7c34029cae789 | ๊ฐ๋์ค | 2020-12-08T06:21:15 | feat(visit): Add support for Arc<T> (#1256)
swc_visit:
- Support Visit and VisitAll for Arc<T> | diff --git a/visit/macros/Cargo.toml b/visit/macros/Cargo.toml
index 0bf0d26377..a8c38ee0e1 100644
--- a/visit/macros/Cargo.toml
+++ b/visit/macros/Cargo.toml
@@ -5,7 +5,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_visit_macros"
repository = "https://github.com/swc-project/swc.git"
-version = "0.2.1"... | 3 | 316 | 338 |
46b553ecc3efd3ddcaff6531535b27526dc16781 | ๊ฐ๋์ค | 2020-11-28T16:37:09 | feat(swc_common): Expose non-tty EmitterWriter (#1240)
swc_bundler:
- Expose non-tty EmitterWriter | diff --git a/common/Cargo.toml b/common/Cargo.toml
index 4bea40da7b..153a150f1e 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_common"
repository = "https://github.com/swc-project/swc.git"
-version = "0.10.5"
+version = "0.10.6"
[feat... | 6 | 24 | 52 |
cdaefcc27e3c943e6ff9b98fc4ea19f0d7a1bf23 | Linjie Ding | 2020-11-28T15:46:06 | fix(source map): fix inline source map comment slicing (#1237) | diff --git a/src/lib.rs b/src/lib.rs
index 91104bac40..4bf6e0923c 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -114,7 +114,7 @@ impl Compiler {
),
Some(v) => v,
};
- let encoded = &s[idx + s.len()..];
+ ... | 1 | 1 | 1 |
25f2ff1a45aa757511213b28612d99115f1572c4 | ๊ฐ๋์ค | 2020-11-22T09:17:55 | Bump version | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 783634cbd7..d7abde68b6 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.14.2"
+version... | 2 | 3 | 3 |
4327d91fe3a9eedac51e4cdd9ff5f8ec2ec53ffa | Brad Dunbar | 2020-11-14T16:22:35 | BigInt literal keys (#1192) | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index e68109b490..6c8b943371 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -8,7 +8,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_bundler"
repository = "https://github.com/swc-project/swc.git"
-version = "0.16.1"
+version = "0.17.0"
... | 23 | 106 | 44 |
f21a28844dd819f22cef87c9e0e285e9482afcf0 | ๊ฐ๋์ค | 2020-11-02T16:30:21 | resolver: handle class declarations (#1200)
swc_ecma_transforms:
- resolver: Handle class declarations (denoland/deno_lint#463) | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 38aac69466..2fc8d3db16 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.13.1"
+version... | 4 | 100 | 4 |
546a01cdc2f7dbe4bda06a2f3440c117136b72a8 | Bartek Iwaลczuk | 2020-11-02T02:01:48 | fix: SourceMap::span_to_lines for empty file (#1198)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/common/Cargo.toml b/common/Cargo.toml
index 377d450ac3..4bea40da7b 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_common"
repository = "https://github.com/swc-project/swc.git"
-version = "0.10.4"
+version = "0.10.5"
[feat... | 2 | 21 | 1 |
a368f66e77d9fcee1a5ee09dd2da78c18bb911ac | ๊ฐ๋์ค | 2020-10-29T06:44:12 | Bump version | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index 8980ab20f5..1b92d81916 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_bundler"
repository = "https://github.com/swc-project/swc.git"
-version = "0.13.1"
+version = "0.14.0"
... | 10 | 41 | 41 |
667a8c72c042c80caa8ef1a365fa76442dcf91f1 | Brad Dunbar | 2020-10-27T06:08:05 | Single argument arrow functions (#1186)
swc_ecma_codegen:
- Remove parens from arrow functions when possible.
- Remove space after prop keys when minifying.
- Remove line break after expressions when minifying.
- Remove space after generator `*` when minifying. | diff --git a/ecmascript/codegen/src/decl.rs b/ecmascript/codegen/src/decl.rs
index 1287bc3755..cf43863232 100644
--- a/ecmascript/codegen/src/decl.rs
+++ b/ecmascript/codegen/src/decl.rs
@@ -59,9 +59,11 @@ impl<'a> Emitter<'a> {
keyword!("function");
if node.function.is_generator {
punct!... | 4 | 48 | 17 |
6e9d06e95a31c15cb856377591d05f9be3c8b5f1 | Brad Dunbar | 2020-10-25T08:38:27 | codegen: Preserve space for postfix unary operators (#1185)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 4013932f16..212f51c16c 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.11.1"
+version... | 4 | 12 | 4 |
81caf41bf6d5201e5391d291b5450a74c530efc8 | ๊ฐ๋์ค | 2020-10-20T13:27:41 | Bump version for VisitAll | diff --git a/visit/Cargo.toml b/visit/Cargo.toml
index 894c367f85..7288657add 100644
--- a/visit/Cargo.toml
+++ b/visit/Cargo.toml
@@ -5,10 +5,10 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_visit"
repository = "https://github.com/swc-project/swc.git"
-version = "0.2.1"
+version = "0.2.2"
# See more... | 2 | 3 | 3 |
6ba64ed3591a0ccc66c1142536f820b3d7b25d58 | ๊ฐ๋์ค | 2020-10-20T13:17:28 | Bump version of swc_ecmascript | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 12afece041..4013932f16 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.11.0"
+version... | 1 | 1 | 1 |
cf01ec8277e9683f7659a8084e609a1486d2bd47 | ๊ฐ๋์ค | 2020-10-20T13:09:52 | Bump version | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index e6e2b14419..12afece041 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -26,6 +26,6 @@ swc_ecma_dep_graph = {version = "0.6.0", path = "./dep-graph", optional = true}
swc_ecma_parser = {version = "0.40.0", path = "./parser", optional = t... | 2 | 3 | 3 |
caab572d905772b186ef47cd38a87638f3c7d7f2 | ๊ฐ๋์ค | 2020-10-20T00:11:39 | Visitor refinements (#1176) | diff --git a/visit/Cargo.toml b/visit/Cargo.toml
index 96b1355841..894c367f85 100644
--- a/visit/Cargo.toml
+++ b/visit/Cargo.toml
@@ -5,7 +5,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_visit"
repository = "https://github.com/swc-project/swc.git"
-version = "0.2.0"
+version = "0.2.1"
# See more k... | 3 | 170 | 32 |
26c530b133d1c09fce7247840ec5717fbfcb1006 | Brad Dunbar | 2020-10-19T15:17:20 | Invalid template escape in ES2018+ (#1175)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index 36ebd5e394..7033de173a 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_bundler"
repository = "https://github.com/swc-project/swc.git"
-version = "0.11.3"
+version = "0.12.0"
... | 12 | 105 | 44 |
fd760fbf09e7632ba2f3f66e20377a4b5f545568 | Brad Dunbar | 2020-10-19T02:19:56 | parser: Remove unnecessary question mark (#1174) | diff --git a/ecmascript/parser/src/lexer/mod.rs b/ecmascript/parser/src/lexer/mod.rs
index b71b8eecf2..a6881da962 100644
--- a/ecmascript/parser/src/lexer/mod.rs
+++ b/ecmascript/parser/src/lexer/mod.rs
@@ -215,7 +215,6 @@ impl<'a, I: Input> Lexer<'a, I> {
'{' => LBrace,
'}' =>... | 1 | 0 | 1 |
a5e624260180c2d9c394a8dc52d192e7321317a2 | ๊ฐ๋์ค | 2020-10-14T05:39:51 | Bump version | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index ae6e2512ff..cf7c2c1555 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_bundler"
repository = "https://github.com/swc-project/swc.git"
-version = "0.10.4"
+version = "0.11.0"
... | 10 | 41 | 41 |
81490dec7ba0e5b2a39413bbc8e371ca5bf88428 | ๊ฐ๋์ค | 2020-10-04T07:00:56 | Fix unexporter (#1128)
swc_bundler:
- Make DepUnexporter unexport export declarations. | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index e154b71843..a9dfabaed5 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_bundler"
repository = "https://github.com/swc-project/swc.git"
-version = "0.9.0"
+version = "0.9.1"
# ... | 2 | 4 | 4 |
205ce4ebe2bc300f66bb4e82de7a128b91e0425c | ๊ฐ๋์ค | 2020-10-03T15:19:35 | bundler: fix extra bugs (#1127)
swc_bundler:
- Prevent invalid output like `export * as helpers`
- Prevent stack overflow which occurs while bundling `https://deno.land/x/oak@v6.2.0/mod.ts`
swc_ecma_transforms:
- Migrate inlining pass to VisitMut | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 1601fdf57c..3172818655 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -24,7 +24,7 @@ swc_ecma_ast = {version = "0.32.0", path = "./ast"}
swc_ecma_codegen = {version = "0.36.0", path = "./codegen", optional = true}
swc_ecma_dep_graph =... | 4 | 164 | 203 |
e4b8a0cc1eed8de5d7f8f9706ced5acc56f6c15e | Nayeem Rahman | 2020-10-03T08:43:09 | fix(strip): Don't treat type-only exports as concrete references (#1126)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 859c850a53..1601fdf57c 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.8.3"
+version ... | 4 | 31 | 8 |
ea091337d80760df6e09bce90ed3906ecb3e7626 | Juho Vepsรคlรคinen | 2020-10-02T08:06:02 | fix(jsx): Drop extra spaces around jsx attributes (#1121)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/ecmascript/codegen/src/jsx.rs b/ecmascript/codegen/src/jsx.rs
index cf526e0a59..a4110c554f 100644
--- a/ecmascript/codegen/src/jsx.rs
+++ b/ecmascript/codegen/src/jsx.rs
@@ -51,9 +51,7 @@ impl<'a> Emitter<'a> {
emit!(node.name);
if let Some(ref value) = node.value {
- space!(... | 2 | 1 | 3 |
a9c3072b651fec425b569829fb75012e93282115 | Nayeem Rahman | 2020-09-23T13:52:47 | fix(strip): Fix Config::import_not_used_as_values (#1101)
Co-authored-by: ๊ฐ๋์ค <kdy1997.dev@gmail.com> | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 1b3431c181..5d221c34e6 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.8.0"
+version ... | 4 | 76 | 65 |
73671ecd90900194f87a39947f37ce15a8675ea9 | ๊ฐ๋์ค | 2020-09-23T12:44:51 | chores: Bump version of wasm (#1102) | diff --git a/ecmascript/transforms/tests/es2020_optional_chaining.rs b/ecmascript/transforms/tests/es2020_optional_chaining.rs
index c473129614..38e76859c5 100644
--- a/ecmascript/transforms/tests/es2020_optional_chaining.rs
+++ b/ecmascript/transforms/tests/es2020_optional_chaining.rs
@@ -593,3 +593,24 @@ test!(
... | 2 | 22 | 1 |
6c6f1aaaa3df987f4e5e6d99a4d323b799e7713f | ๊ฐ๋์ค | 2020-09-22T07:39:00 | Fixs bugs (#1095)
spack:
- fix resolver. (#1076)
swc_common:
- preserve original sourcemap. (#1091)
swc_ecma_transforms:
- optional chaining: `a?.b.c.d.e`. (#1092)
- fixer: preserve parenthesis in `(a || b)()`. (#1093)
- compat::es2015: Change order of passes (#1036) | diff --git a/common/Cargo.toml b/common/Cargo.toml
index c82534212e..81fa5a4cd9 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_common"
repository = "https://github.com/swc-project/swc.git"
-version = "0.10.2"
+version = "0.10.3"
[feat... | 14 | 367 | 37 |
ac0a19c0e84c612b0ca0ee06b463143f4abedccf | ๊ฐ๋์ค | 2020-09-21T03:04:46 | resolver: Handle pattern in lhs of for of/in correctly (#1089) | diff --git a/ecmascript/transforms/src/resolver.rs b/ecmascript/transforms/src/resolver.rs
index 0f55cbb897..a7bd0dc9fd 100644
--- a/ecmascript/transforms/src/resolver.rs
+++ b/ecmascript/transforms/src/resolver.rs
@@ -1172,6 +1172,16 @@ impl VisitMut for Hoister<'_, '_> {
kind: VarDeclKind::Const,
... | 2 | 32 | 0 |
bc82b5567e2abb9c56aa3b537354b021f4b04a6e | ๊ฐ๋์ค | 2020-09-15T05:25:13 | typescript_strip: option to remove completely unused imports (#1060) | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index ff58f6aa17..4d515ff1ad 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.7.7"
+version ... | 5 | 94 | 11 |
4d5a0dacec80b2e0fdba1781ffef80aeaaa9cc49 | ๊ฐ๋์ค | 2020-09-12T14:56:10 | resolver: Correctly set in_type (#1071) | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 149edebeb7..ff58f6aa17 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2018"
license = "Apache-2.0/MIT"
name = "swc_ecmascript"
repository = "https://github.com/swc-project/swc.git"
-version = "0.7.6"
+version ... | 4 | 28 | 3 |
31d4a0ee73b7fa196c581748d62d091ed9ab0b46 | ๊ฐ๋์ค | 2020-09-12T13:00:06 | Bump swc_ecmascript | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index f284ad0fcb..149edebeb7 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -21,11 +21,11 @@ react = ["swc_ecma_transforms", "swc_ecma_transforms/react"]
[dependencies]
swc_ecma_ast = {version = "0.31.0", path = "./ast"}
-swc_ecma_codegen... | 1 | 4 | 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.