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 |
|---|---|---|---|---|---|---|---|
8a0172912e963d0fa274af0ea262d27feff68ad8 | κ°λμ€ | 2020-09-12T12:52:37 | cjs: Fix import order (#1069) | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 840a16da5c..f284ad0fcb 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.5"
+version ... | 4 | 64 | 4 |
f029115914969d3949f77322519d3030fdbe17d9 | κ°λμ€ | 2020-09-12T10:23:06 | resolver: No additional scope for function child (#1070) | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index 25485a9089..ced55cc86d 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/... | 3 | 78 | 2 |
5c76aea82bd93ddaee63bef77ff667d14019a5a3 | κ°λμ€ | 2020-09-11T14:33:36 | Fix resolver (#1064)
swc_ecma_transforms:
- resolver: properly handle let and const
- resolver: handle catch parameters
- resolver: handle parameter properties
swc_ecma_visit:
- reduced compile time of debug build | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 4ae6677293..0584173e95 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.3"
+version ... | 6 | 293 | 45 |
dc4c92c9da148c4a8a4617ad7e3bafedbbd5af97 | κ°λμ€ | 2020-09-11T01:21:07 | common_js: Change order of exports (#1057)
swc_ecma_transforms:
- Update order of imports and exports (#1043) | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index f791e0997f..e9ba7a67b5 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/... | 3 | 121 | 74 |
aec155b58fdc61928f0a4e25c3405932d751a3f9 | κ°λμ€ | 2020-09-10T13:56:35 | resolver: Fix handling of constructor parameters (#1056) | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index b7cd01b505..f791e0997f 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 | 10 | 1 |
e2546e0100683b13c51345bea80affbe6941476a | κ°λμ€ | 2020-09-10T01:48:26 | resolver: Handle constructor properly (#1054) | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index e02fc04c65..b7cd01b505 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 | 14 | 4 |
9be8bf671d27033df7d535840dfe2b54a12792b2 | κ°λμ€ | 2020-09-09T03:26:10 | fixer: Handle conditional expression in callee (#1051) | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index c92b401419..32da88d542 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 | 15 | 1 |
82ae71faa142b662ac7f65eecc6f945a0c44a2e9 | κ°λμ€ | 2020-09-08T11:45:58 | Fix ts_resolver (#1049) | diff --git a/bundler/src/lib.rs b/bundler/src/lib.rs
index 8bc5dd18c9..b137bb425e 100644
--- a/bundler/src/lib.rs
+++ b/bundler/src/lib.rs
@@ -1,4 +1,3 @@
-#![cfg_attr(test, feature(track_caller))]
#![deny(unused)]
pub use self::{
diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index c7470bd12e..4ae66772... | 5 | 24 | 8 |
98f6e1dd57861c83a52290397f321cca31d87d51 | κ°λμ€ | 2020-09-07T10:25:11 | Remove wrong assertion (#1041) | diff --git a/ecmascript/transforms/src/hygiene.rs b/ecmascript/transforms/src/hygiene.rs
index b00450b007..69ee3359d7 100644
--- a/ecmascript/transforms/src/hygiene.rs
+++ b/ecmascript/transforms/src/hygiene.rs
@@ -132,13 +132,6 @@ impl<'a> Hygiene<'a> {
);
let old = declared_symbols.entry(sym.to_bo... | 1 | 0 | 7 |
108b22c0d6d719916e4b1435b8942c465d992ac2 | κ°λμ€ | 2020-09-04T07:46:59 | Fix block scoping (#1029)
swc_ecma_transforms
- block_scoping: Handle this (#1021)
- block_scoping: Handle variable mutation in for loops (#1022) | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index f0136ae46b..6ddcd85e75 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 | 368 | 26 |
3d63798c9ef8e263345095a01fe022496911cdf5 | κ°λμ€ | 2020-09-04T07:18:57 | Handle dynamic imports in non-es6 modules (#1028) | diff --git a/ecmascript/transforms/src/modules/amd.rs b/ecmascript/transforms/src/modules/amd.rs
index abc44f278a..9cc7eaea26 100644
--- a/ecmascript/transforms/src/modules/amd.rs
+++ b/ecmascript/transforms/src/modules/amd.rs
@@ -7,7 +7,7 @@ use fxhash::FxHashSet;
use serde::{Deserialize, Serialize};
use std::iter;
... | 7 | 335 | 8 |
fcc9ae7fae94c68c235954cc3a1bb4c58ad3c61d | LongYinan | 2020-09-04T00:10:48 | Upgrade to napi@0.5 (#1025) | diff --git a/native/Cargo.toml b/native/Cargo.toml
index 3f0af58f5b..f64e5bdf2c 100644
--- a/native/Cargo.toml
+++ b/native/Cargo.toml
@@ -18,8 +18,8 @@ napi-build = "0.2.1"
anyhow = "1"
backtrace = "0.3"
fxhash = "0.2"
-napi = "0.4.13"
-napi-derive = "0.4.0"
+napi = {version = "0.5.0", features = ["serde-json"]}
+n... | 5 | 6 | 467 |
613463329590c6902fb0c67552a90cdb4ac669bb | κ°λμ€ | 2020-09-03T15:50:27 | Spack should not print (#1026) | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index b76ad11e31..b8d35e6d45 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.6.1"
+version = "0.6.2"
# ... | 3 | 19 | 29 |
c4cc4334348a633ced02976c8ac584448253e63c | Bartek IwaΕczuk | 2020-09-03T14:28:25 | fix(dep_graph): top level dynamic import (#1024) | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 283ca8aafd..c7470bd12e 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.1"
+version ... | 3 | 23 | 11 |
1fd9bd63f9986969de1d8e4fa999246059456e49 | κ°λμ€ | 2020-09-03T13:51:04 | Bump version | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index e99cc24c5d..283ca8aafd 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -1,31 +1,31 @@
[package]
-name = "swc_ecmascript"
-version = "0.7.0"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
-license = "Apache-2.0/MIT"
-repository = "https://gi... | 1 | 14 | 14 |
9a073f10a58270d66b6fd745ca29f3400ea70797 | Bartek IwaΕczuk | 2020-09-03T13:46:41 | fix: expose dep_graph crate (#1023) | diff --git a/ecmascript/src/lib.rs b/ecmascript/src/lib.rs
index fb238fa91e..f16cf3753d 100644
--- a/ecmascript/src/lib.rs
+++ b/ecmascript/src/lib.rs
@@ -1,6 +1,8 @@
pub use swc_ecma_ast as ast;
#[cfg(feature = "codegen")]
pub use swc_ecma_codegen as codegen;
+#[cfg(feature = "dep_graph")]
+pub use swc_ecma_dep_gra... | 1 | 2 | 0 |
a2960810ac0be9648162fea89edddd18e3df929f | κ°λμ€ | 2020-09-03T01:50:13 | Add BigInt literal type (#1020) | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index 64bbfce3d7..d43f74841c 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -17,12 +17,12 @@ concurrent = ["swc_common/concurrent", "dashmap", "rayon"]
[dependencies]
swc_atoms = { version = "0.2", path = "../atoms" }
swc_common = { version = "0.10.0... | 15 | 52 | 38 |
b443a1e37270c118e39ad0973111635e8389d1f2 | LongYinan | 2020-08-30T04:30:50 | Test Reflect.metadata existed before use it (#1011)
Co-authored-by: κ°λμ€ <kdy1997.dev@gmail.com> | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index 2ac8f94350..e0bdc74d40 100644
--- a/ecmascript/transforms/Cargo.toml
+++ b/ecmascript/transforms/Cargo.toml
@@ -1,49 +1,49 @@
[package]
-name = "swc_ecma_transforms"
-version = "0.22.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
-li... | 3 | 96 | 60 |
8ab466aafb43363c1b0eb5d437a0aa6ef037e6d9 | Bartek IwaΕczuk | 2020-08-29T11:07:34 | Add dependency analyzer (#1010) | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 4b36644c8b..011d5faa0d 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -10,6 +10,7 @@ edition = "2018"
[features]
codegen = ["swc_ecma_codegen"]
+dep_graph = ["swc_ecma_dep_graph"]
parser = ["swc_ecma_parser"]
utils = ["swc_ecma_ut... | 3 | 371 | 0 |
274b112ef4cf34ac92da8c813b1a602ea6a0a8e3 | κ°λμ€ | 2020-08-29T11:00:34 | Bump version | diff --git a/common/Cargo.toml b/common/Cargo.toml
index 46b1ee10ba..ebeccc2b74 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.1"
+version = "0.10.2"
[feat... | 2 | 2 | 2 |
9f2120ed4b480addcf5be60c0c49f18068bd563a | κ°λμ€ | 2020-08-27T12:33:34 | Improve performance of parser (#1004) | diff --git a/common/Cargo.toml b/common/Cargo.toml
index 745a374e78..46b1ee10ba 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -1,35 +1,35 @@
[package]
-name = "swc_common"
-version = "0.10.0"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
-license = "Apache-2.0/MIT"
-repository = "https://github.com/swc-projec... | 9 | 303 | 157 |
99981f70c7ab6e0a2c28a9e4eda75951c2836906 | κ°λμ€ | 2020-08-27T11:35:28 | Add customizable api (#1006) | diff --git a/ecmascript/transforms/src/pass.rs b/ecmascript/transforms/src/pass.rs
index c220f707d9..c81588fa57 100644
--- a/ecmascript/transforms/src/pass.rs
+++ b/ecmascript/transforms/src/pass.rs
@@ -1,13 +1,24 @@
use swc_common::pass::CompilerPass;
pub use swc_common::pass::{Optional, Repeated};
+use swc_ecma_ast... | 4 | 42 | 7 |
d641c0216b053275dfcfcbed7a8e0b2d20f79f93 | κ°λμ€ | 2020-08-26T11:58:44 | Bump version | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index f0d3bcfca0..1f4b648a74 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecmascript"
-version = "0.6.0"
+version = "0.6.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2.0/MIT"
reposit... | 1 | 1 | 1 |
511dc54961e957263531639da60cd922496414be | κ°λμ€ | 2020-08-25T07:29:11 | Fix codegen of VisitMut for Option (#996)
swc_visit:
- Fix codegen of VisitMut for Option | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index dcba8a2d66..7363c4d75b 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_bundler"
-version = "0.4.1"
+version = "0.5.0"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2.0/MIT"
repository = "https://... | 14 | 65 | 70 |
6c721112abfd47a33d85b46400107a272a9829f6 | κ°λμ€ | 2020-08-24T13:50:00 | Bump version | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 1850b08e31..4d24ba779f 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecmascript"
-version = "0.5.0"
+version = "0.5.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2.0/MIT"
reposit... | 1 | 1 | 1 |
e3faea25b66e78569b755fc235420f7467bdafd4 | κ°λμ€ | 2020-08-24T01:42:12 | Improve performance of swc (#992)
swc_ecma_parser:
- Make macros uses match instead of `PartialEq`
swc_ecma_codegen:
- Move panic condition | diff --git a/ecmascript/codegen/src/lib.rs b/ecmascript/codegen/src/lib.rs
index c2eda28364..4ad61eba19 100644
--- a/ecmascript/codegen/src/lib.rs
+++ b/ecmascript/codegen/src/lib.rs
@@ -1653,7 +1653,7 @@ impl<'a> Emitter<'a> {
Pat::Ident(ref n) => emit!(n),
Pat::Object(ref n) => emit!(n),
... | 8 | 261 | 308 |
500029696704a7519eba7a37a4ab9b47c6f7af94 | κ°λμ€ | 2020-08-23T02:41:19 | Fix noop issues (#990) | diff --git a/ecmascript/visit/Cargo.toml b/ecmascript/visit/Cargo.toml
index 2ab4a8deae..b93bbf4f2d 100644
--- a/ecmascript/visit/Cargo.toml
+++ b/ecmascript/visit/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_visit"
-version = "0.15.0"
+version = "0.15.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license =... | 2 | 6 | 4 |
c475ab7f920b9791c8cb05d99557401b086833e0 | κ°λμ€ | 2020-08-21T11:06:37 | Bump versions | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index 7967f55c3c..390583fcba 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -17,12 +17,12 @@ concurrent = ["swc_common/concurrent", "dashmap", "rayon"]
[dependencies]
swc_atoms = { version = "0.2", path = "../atoms" }
swc_common = { version = "0.9", ... | 9 | 19 | 19 |
7a13aabeb735f210c8bfd220eea92d6ebad05ca5 | Bartek IwaΕczuk | 2020-08-17T12:09:12 | remove codegen::Handlers (#974) | diff --git a/bundler/examples/path.rs b/bundler/examples/path.rs
index 2a18c988b7..0a41ac7682 100644
--- a/bundler/examples/path.rs
+++ b/bundler/examples/path.rs
@@ -46,17 +46,11 @@ fn main() {
cm: cm.clone(),
comments: None,
wr: Box::new(JsWriter::new(cm.clone(), "\n", wr.lock(), None)),
- ... | 14 | 0 | 87 |
73878728aa919234f8219c912fe34981c993be13 | κ°λμ€ | 2020-08-15T09:23:14 | spack: allow using jsx (#971) | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index c10e59bf86..1320b8592a 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_bundler"
-version = "0.2.1"
+version = "0.2.2"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2.0/MIT"
repository = "https://... | 2 | 21 | 3 |
8f0713a303ffd28bbdf2bdc220a3e7ed0d046f79 | κ°λμ€ | 2020-08-14T16:47:28 | Drop fxhash (#970) | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index 6ce1998817..d0ca895599 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_bundler"
-version = "0.1.1"
+version = "0.2.0"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2.0/MIT"
repository = "https://... | 14 | 44 | 46 |
e2e5f5eba3c43979c4106316dcc52424798c3a11 | κ°λμ€ | 2020-08-14T06:09:09 | Bump version | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index 40cef53280..4ca8ae425b 100644
--- a/ecmascript/transforms/Cargo.toml
+++ b/ecmascript/transforms/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_transforms"
-version = "0.19.6"
+version = "0.19.7"
authors = ["κ°λμ€ <kdy1997.de... | 1 | 1 | 1 |
01aeec39ca2a999bc1960a45dc5407cd6f51712b | κ°λμ€ | 2020-08-14T06:08:36 | hygiene: No ref-ref conflict (#963)
swc_ecma_transforms:
- Allow referencing global idents even when it's injected (Closes #962) | diff --git a/ecmascript/transforms/src/hygiene.rs b/ecmascript/transforms/src/hygiene.rs
index 7f894afd1c..4de35d18bf 100644
--- a/ecmascript/transforms/src/hygiene.rs
+++ b/ecmascript/transforms/src/hygiene.rs
@@ -54,15 +54,21 @@ impl<'a> Hygiene<'a> {
self.rename(sym, ctxt);
}
- fn add_used_ref(&mu... | 7 | 192 | 108 |
7204b104a7ba00d76577129695a82dfb6f74702d | κ°λμ€ | 2020-08-13T14:13:21 | Decorators on parameter properties (#961)
swc_ecma_transforms:
- Support parameter decorators on properties without a value (#960) | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index 5cb51baa5c..40cef53280 100644
--- a/ecmascript/transforms/Cargo.toml
+++ b/ecmascript/transforms/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_transforms"
-version = "0.19.5"
+version = "0.19.6"
authors = ["κ°λμ€ <kdy1997.de... | 4 | 154 | 59 |
a62af5f38ff49ecdcdae47ca84d75b8cffe55b86 | κ°λμ€ | 2020-08-13T02:47:33 | Allow optional constructor property parameters (#959)
swc_ecma_transforms:
- Handle optional constructor property parameters properly (#958) | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index b1b290c3f4..aad82b24ef 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecmascript"
-version = "0.3.1"
+version = "0.3.2"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2.0/MIT"
reposit... | 5 | 37 | 4 |
fe2bcb033c41943f8885355bcb2ed8a41b6a78d7 | κ°λμ€ | 2020-08-12T16:25:38 | New version for swc_ecmascript | diff --git a/ecmascript/Cargo.toml b/ecmascript/Cargo.toml
index 9a8f4c3a24..b1b290c3f4 100644
--- a/ecmascript/Cargo.toml
+++ b/ecmascript/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecmascript"
-version = "0.3.0"
+version = "0.3.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2.0/MIT"
reposit... | 1 | 3 | 3 |
4495d849b825f9a552c2a3d01b59470b9f47b043 | κ°λμ€ | 2020-08-12T13:28:59 | Publish swc_bundler | diff --git a/bundler/Cargo.toml b/bundler/Cargo.toml
index 0159c8ba3d..e72bac5461 100644
--- a/bundler/Cargo.toml
+++ b/bundler/Cargo.toml
@@ -36,4 +36,4 @@ fxhash = "0.2.1"
is-macro = "0.1"
[dev-dependencies]
-testing = { path = "../testing" }
\ No newline at end of file
+testing = { version = "0.9.0", path = "../... | 1 | 1 | 1 |
26f49099aa6e2c5d54d5c431a27db37fd00fb079 | LongYinan | 2020-08-09T05:18:15 | Fix metadata emitted in parameters decorator (#948) | diff --git a/ecmascript/transforms/src/proposals/decorators/legacy/metadata.rs b/ecmascript/transforms/src/proposals/decorators/legacy/metadata.rs
index 5a1c71b2a0..cce57302e4 100644
--- a/ecmascript/transforms/src/proposals/decorators/legacy/metadata.rs
+++ b/ecmascript/transforms/src/proposals/decorators/legacy/metad... | 2 | 90 | 24 |
f92516867fed6428eb90068c0582c642511d6eb0 | LongYinan | 2020-08-08T02:34:26 | Fix parameters decorator metadata (#946)
Co-authored-by: κ°λμ€ <kdy1997.dev@gmail.com> | diff --git a/ecmascript/transforms/src/proposals/decorators/legacy/metadata.rs b/ecmascript/transforms/src/proposals/decorators/legacy/metadata.rs
index 21cd99c29a..5a1c71b2a0 100644
--- a/ecmascript/transforms/src/proposals/decorators/legacy/metadata.rs
+++ b/ecmascript/transforms/src/proposals/decorators/legacy/metad... | 2 | 28 | 24 |
42554d11940e2bf23ae1ad356389997828d89a79 | κ°λμ€ | 2020-08-04T03:15:38 | Fix fixer (#933)
swc_ecma_transforms:
- fixer: Preserve paren around computed constructor (#931) | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index 8b4e906018..e3b2d285b1 100644
--- a/ecmascript/transforms/Cargo.toml
+++ b/ecmascript/transforms/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_transforms"
-version = "0.18.0"
+version = "0.18.1"
authors = ["κ°λμ€ <kdy1997.de... | 2 | 59 | 33 |
54e0bfd87831c6269f9f34d6bc9e370a73936210 | κ°λμ€ | 2020-08-02T15:47:23 | Update swc_ecma_utils (#927) | diff --git a/ecmascript/transforms/tests/typescript_strip.rs b/ecmascript/transforms/tests/typescript_strip.rs
index 3a7da19afe..4e979eb852 100644
--- a/ecmascript/transforms/tests/typescript_strip.rs
+++ b/ecmascript/transforms/tests/typescript_strip.rs
@@ -679,3 +679,19 @@ to!(
}",
"export abstract class Kernel... | 3 | 28 | 12 |
d2b8916f9f7d6afdada04974a686e8b0b90327b9 | κ°λμ€ | 2020-08-02T06:06:22 | Fix more typescript bugs (#924)
swc_ecma_parser:
- Fix parsing of binding identifier `await`
swc_ecma_transforms:
- More tests for typescript::strip
- Handle export declare class properly
- Remove declared variables
- Fix enums in if statement
- Fix sequence expression in class member key
- Fix await ... | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index d479835fe2..ac7676db03 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_parser"
-version = "0.32.0"
+version = "0.32.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
lice... | 6 | 477 | 85 |
db0a56514d41c3ee10d277052667e08a76186060 | κ°λμ€ | 2020-08-01T12:32:11 | Remove TsIndexSignature from typescript::strip (#922) | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index 491bce4209..400034f828 100644
--- a/ecmascript/transforms/Cargo.toml
+++ b/ecmascript/transforms/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_transforms"
-version = "0.17.1"
+version = "0.17.2"
authors = ["κ°λμ€ <kdy1997.de... | 3 | 10 | 1 |
0a7f3a28ee76f29cd7b8cc9d22aca63eda7e5fee | LongYinan | 2020-07-31T15:55:13 | super() should be first (#918)
Co-authored-by: κ°λμ€ <kdy1997.dev@gmail.com> | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index 5b14901328..491bce4209 100644
--- a/ecmascript/transforms/Cargo.toml
+++ b/ecmascript/transforms/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_transforms"
-version = "0.17.0"
+version = "0.17.1"
authors = ["κ°λμ€ <kdy1997.de... | 3 | 20 | 1 |
a74eace7e2145831c5d8ba60ba5007f47db1f34b | κ°λμ€ | 2020-07-29T15:56:23 | Bump version | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index 98462a20b8..0e0475ae7c 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_parser"
-version = "0.31.0"
+version = "0.31.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
lice... | 1 | 1 | 1 |
891092caf258fafd91dc5e117777d7db85ef85ee | κ°λμ€ | 2020-07-27T15:55:28 | Fix typescript stripper (#905)
swc_ecma_codegen:
- Fix codegen of optional catch parameters (#904)
swc_ecma_transforms:
- Fix for nested catch clause | diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml
index 43fadaa53d..df22e6dd14 100644
--- a/ecmascript/codegen/Cargo.toml
+++ b/ecmascript/codegen/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_codegen"
-version = "0.28.2"
+version = "0.28.3"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
... | 4 | 11 | 7 |
c58b9c864900f68b209c57ee87dba3d9d67aa086 | κ°λμ€ | 2020-07-27T14:01:51 | Fix lint | diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml
index 84339218a4..43fadaa53d 100644
--- a/ecmascript/codegen/Cargo.toml
+++ b/ecmascript/codegen/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_codegen"
-version = "0.28.1"
+version = "0.28.2"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
... | 2 | 2 | 2 |
c7a5d5fef9b535aa190edaa4578337841469d2a7 | κ°λμ€ | 2020-07-24T13:02:29 | Fix class hygiene issue related to class properties (#892)
swc_ecma_transforms:
- fixed hygiene bug of class_properties pass | diff --git a/ecmascript/codegen/src/lib.rs b/ecmascript/codegen/src/lib.rs
index ed1d0e0df9..f1b8116b9c 100644
--- a/ecmascript/codegen/src/lib.rs
+++ b/ecmascript/codegen/src/lib.rs
@@ -1354,6 +1354,9 @@ impl<'a> Emitter<'a> {
} else {
// TODO: span
self.wr.write_symbol(ident.span, &... | 7 | 105 | 4 |
68799d74efc10261c4224bf992cc8db353584c2d | Divy Srivastava | 2020-07-22T09:45:12 | cleanup: `native` (#887) | diff --git a/native/src/lib.rs b/native/src/lib.rs
index 3d4405f8fb..90382ab90d 100644
--- a/native/src/lib.rs
+++ b/native/src/lib.rs
@@ -9,24 +9,19 @@ extern crate path_clean;
extern crate serde;
extern crate swc;
-use anyhow::{Context as _, Error};
+use anyhow::Error;
use backtrace::Backtrace;
use neon::prelud... | 4 | 502 | 472 |
053f81c7613a3c49e42435790a8a047e4df2e68e | Gurwinder Singh | 2020-07-17T02:11:45 | spack: remove_item is deprecated (#881) | diff --git a/spack/src/bundler/chunk/merge.rs b/spack/src/bundler/chunk/merge.rs
index 4bebd86c02..5f17752640 100644
--- a/spack/src/bundler/chunk/merge.rs
+++ b/spack/src/bundler/chunk/merge.rs
@@ -93,7 +93,10 @@ impl Bundler<'_> {
info.id, info.fm.name, src.module_id, src.src.... | 1 | 4 | 1 |
d4ede122fcc54b44d81442d07769261f349adc30 | David Sherret | 2020-07-07T03:49:36 | Fix span of MethodProp (#877)
- Fix span of MethodProp (needs to include async keyword).
Co-authored-by: κ°λμ€ <kdy1997.dev@gmail.com> | diff --git a/ecmascript/ast/Cargo.toml b/ecmascript/ast/Cargo.toml
index a82b5fe1e6..cb1eb7f59d 100644
--- a/ecmascript/ast/Cargo.toml
+++ b/ecmascript/ast/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_ast"
-version = "0.23.0"
+version = "0.23.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2... | 2 | 2 | 3 |
135149d6a81ddebf4f7e0f5361ba88ea847ce6af | κ°λμ€ | 2020-07-07T02:54:06 | Bump version | diff --git a/macros/ast_node/Cargo.toml b/macros/ast_node/Cargo.toml
index aef64acc35..feb0bf41cb 100644
--- a/macros/ast_node/Cargo.toml
+++ b/macros/ast_node/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "ast_node"
-version = "0.6.0"
+version = "0.6.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2.0... | 1 | 1 | 1 |
67bb56801889fbaf3e753e093b630f67bab0c88a | RickEvry | 2020-06-28T14:54:42 | Fixed wasm compilation errors. (#869)
Co-authored-by: rickevry <rickard@rickardnilsson.com> | diff --git a/src/config.rs b/src/config.rs
index 838f2f7557..8b3b3bc359 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -46,6 +46,10 @@ pub struct ParseOptions {
pub target: JscTarget,
}
+fn default_as_true() -> bool {
+ true
+}
+
#[derive(Debug, Clone, Default, Deserialize)]
#[serde(deny_unknown_fields,... | 1 | 9 | 0 |
403f0810585a0fb32da8fc1dc7c1f3ee9160ee18 | Yusuke Tanaka | 2020-06-25T16:00:28 | Fix typo (#860) | diff --git a/ecmascript/utils/src/lib.rs b/ecmascript/utils/src/lib.rs
index 434c021e9b..d11bcd20b0 100644
--- a/ecmascript/utils/src/lib.rs
+++ b/ecmascript/utils/src/lib.rs
@@ -637,7 +637,7 @@ pub trait ExprExt {
Expr::Array(ArrayLit { ref elems, .. }) => {
let mut first = true;
... | 1 | 1 | 1 |
a9adb0a2084524f7fc21aa5edbaa05ff7dba6ff8 | κ°λμ€ | 2020-06-22T13:03:51 | Fix parsing of comment (#857) | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index bb89489ef0..f9369c7a34 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_parser"
-version = "0.25.0"
+version = "0.25.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
lice... | 4 | 44 | 2 |
cae9286af09f35a43a0dd11c0f58030001c3579a | κ°λμ€ | 2020-06-20T08:43:24 | Bump versions | diff --git a/ecmascript/ast/Cargo.toml b/ecmascript/ast/Cargo.toml
index f4d03ded42..e102bab61f 100644
--- a/ecmascript/ast/Cargo.toml
+++ b/ecmascript/ast/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_ast"
-version = "0.20.0"
+version = "0.21.0"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2... | 6 | 6 | 6 |
92ce0231714e79a58bf12d4252fa0b2c0d54dd39 | κ°λμ€ | 2020-06-18T14:11:06 | Handle catch parameters in regenerator (#854) | diff --git a/ecmascript/transforms/src/compat/es2015/regenerator/case.rs b/ecmascript/transforms/src/compat/es2015/regenerator/case.rs
index 764d8d7911..a5e0b94a1c 100644
--- a/ecmascript/transforms/src/compat/es2015/regenerator/case.rs
+++ b/ecmascript/transforms/src/compat/es2015/regenerator/case.rs
@@ -1071,7 +1071,... | 2 | 50 | 2 |
fce0917016f7056d54850f35eb44059bbc2812e4 | κ°λμ€ | 2020-06-11T08:49:40 | Fix bigint literals (#837) | diff --git a/ecmascript/codegen/Cargo.toml b/ecmascript/codegen/Cargo.toml
index a30b1b3f49..90443ee58f 100644
--- a/ecmascript/codegen/Cargo.toml
+++ b/ecmascript/codegen/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_codegen"
-version = "0.22.1"
+version = "0.22.2"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
... | 3 | 76 | 8 |
5022999600bf443cd29ebff2b9c7bb3497da0449 | κ°λμ€ | 2020-06-10T10:39:12 | regenerator: Handle yield* correctly (#833) | diff --git a/ecmascript/transforms/src/compat/es2015/regenerator/case.rs b/ecmascript/transforms/src/compat/es2015/regenerator/case.rs
index 2b36303fef..764d8d7911 100644
--- a/ecmascript/transforms/src/compat/es2015/regenerator/case.rs
+++ b/ecmascript/transforms/src/compat/es2015/regenerator/case.rs
@@ -665,13 +665,7... | 2 | 102 | 8 |
3b1ebdd2e9e6b0d05eea477e53d0e7d9f175d54e | κ°λμ€ | 2020-06-06T06:30:40 | Allow using properties with legacy decorators (#824) | diff --git a/ecmascript/codegen/src/typescript.rs b/ecmascript/codegen/src/typescript.rs
index 4959ce23d3..ea7a7a50d2 100644
--- a/ecmascript/codegen/src/typescript.rs
+++ b/ecmascript/codegen/src/typescript.rs
@@ -761,7 +761,12 @@ impl<'a> Emitter<'a> {
fn emit_ts_const_assertion(&mut self, n: &TsConstAssertion) ... | 4 | 208 | 6 |
c7e47838375ac5306204bfb957311293dfa6790e | κ°λμ€ | 2020-06-03T16:45:23 | Fix ts enums (#821) | diff --git a/ecmascript/transforms/src/typescript.rs b/ecmascript/transforms/src/typescript.rs
index 55e52dff7b..ab5396ccbe 100644
--- a/ecmascript/transforms/src/typescript.rs
+++ b/ecmascript/transforms/src/typescript.rs
@@ -4,7 +4,9 @@ use crate::{
};
use fxhash::FxHashMap;
use swc_atoms::js_word;
-use swc_common... | 2 | 245 | 18 |
291251e2dfa6480c86a32ae1d7fe0b3ec3fcffae | κ°λμ€ | 2020-06-02T11:13:18 | Bump version | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index 7489afc6c6..bf65ac0fe7 100644
--- a/ecmascript/transforms/Cargo.toml
+++ b/ecmascript/transforms/Cargo.toml
@@ -12,7 +12,7 @@ edition = "2018"
swc_atoms = { version = "0.2.0", path ="../../atoms" }
swc_common = { version = "0.5.0",... | 2 | 2 | 2 |
58823f95900cf556f2d477b4fb41b464eabaa99f | κ°λμ€ | 2020-06-02T10:53:20 | Add examples | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index 116858b30f..8d9b83654e 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -7,7 +7,7 @@ repository = "https://github.com/swc-project/swc.git"
documentation = "https://swc-project.github.io/rustdoc/swc_ecma_parser... | 1 | 1 | 1 |
22ac51120ac8f2f1bff87118cdddbb9d18fb08c8 | κ°λμ€ | 2020-05-30T12:06:49 | Fix swc_ecma_visit (#809) | diff --git a/ecmascript/visit/Cargo.toml b/ecmascript/visit/Cargo.toml
index 8abd94df19..5e4f0c83fa 100644
--- a/ecmascript/visit/Cargo.toml
+++ b/ecmascript/visit/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_visit"
-version = "0.5.0"
+version = "0.5.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "... | 2 | 21 | 1 |
9b316e68b68dc904b918c9cd060710994a7ce8c1 | κ°λμ€ | 2020-05-28T08:01:01 | Fix new reserved_words pass (#805) | diff --git a/ecmascript/transforms/src/compat/es3/reserved_word.rs b/ecmascript/transforms/src/compat/es3/reserved_word.rs
index fb27dc0fbe..8faabd3d46 100644
--- a/ecmascript/transforms/src/compat/es3/reserved_word.rs
+++ b/ecmascript/transforms/src/compat/es3/reserved_word.rs
@@ -59,12 +59,6 @@ impl Fold<ImportNamedS... | 2 | 30 | 7 |
2b2e1c13cd638829b91a66deadbcd295cf710ce9 | κ°λμ€ | 2020-05-28T04:08:05 | FIx block scoping pass (#803) | diff --git a/ecmascript/transforms/src/compat/es2015/block_scoping.rs b/ecmascript/transforms/src/compat/es2015/block_scoping.rs
index 267538e9d5..644774540e 100644
--- a/ecmascript/transforms/src/compat/es2015/block_scoping.rs
+++ b/ecmascript/transforms/src/compat/es2015/block_scoping.rs
@@ -116,6 +116,11 @@ impl Blo... | 1 | 292 | 15 |
85f068c011aa2d80a80bc0631f51023f9d249e23 | κ°λμ€ | 2020-05-27T10:26:50 | Reduce stack usage on debug build (#799) | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index 6a4e6a36c6..2a42ce427f 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_parser"
-version = "0.23.0"
+version = "0.23.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
lice... | 3 | 5 | 7 |
84f175991004cecdffc0a95a7702875a72912cf9 | κ°λμ€ | 2020-05-25T13:53:48 | Fix folder for stable rustc (#797) | diff --git a/ecmascript/visit/Cargo.toml b/ecmascript/visit/Cargo.toml
index 74f18ab920..8abd94df19 100644
--- a/ecmascript/visit/Cargo.toml
+++ b/ecmascript/visit/Cargo.toml
@@ -13,5 +13,5 @@ edition = "2018"
swc_atoms = { version = "0.2", path = "../../atoms" }
swc_common = { version = "0.5.9", path = "../../common... | 6 | 103 | 12 |
13a67a48483e02cc91743ed1405b1c1cc24ffa3a | Bartek IwaΕczuk | 2020-05-25T11:09:34 | expose Fold in swc_ecma_visit (#796) | diff --git a/ecmascript/visit/Cargo.toml b/ecmascript/visit/Cargo.toml
index aefec6094e..74f18ab920 100644
--- a/ecmascript/visit/Cargo.toml
+++ b/ecmascript/visit/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_visit"
-version = "0.4.0"
+version = "0.5.0"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "... | 3 | 4 | 4 |
eaa51a31249dc8b6045caed3587a1095f4abeb6e | κ°λμ€ | 2020-05-23T06:36:04 | No debug info on release | diff --git a/Cargo.toml b/Cargo.toml
index 8419249dfc..aac9be4842 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -41,7 +41,7 @@ name = "usage"
[profile.release]
codegen-units = 1
lto = true
-debug = true
+# debug = true
[profile.bench]
codegen-units = 1 | 1 | 1 | 1 |
51a2913ae25e68f3f09713842890a0dd0513dede | κ°λμ€ | 2020-05-21T13:59:06 | Improve typescript stripper (#792) | diff --git a/ecmascript/transforms/src/typescript.rs b/ecmascript/transforms/src/typescript.rs
index d52a5f6044..3f786ec8b8 100644
--- a/ecmascript/transforms/src/typescript.rs
+++ b/ecmascript/transforms/src/typescript.rs
@@ -110,6 +110,12 @@ impl Strip {
}
}
+impl Fold<TsTypeAliasDecl> for Strip {
+ fn fol... | 2 | 108 | 0 |
5cc3efa851652235d10b6fbb4258c645a4edeb7c | κ°λμ€ | 2020-05-21T10:24:05 | resolver: Handle body of arrow functions correctly (#790) | diff --git a/ecmascript/transforms/src/resolver.rs b/ecmascript/transforms/src/resolver.rs
index 30ff884174..1b50d0dcc8 100644
--- a/ecmascript/transforms/src/resolver.rs
+++ b/ecmascript/transforms/src/resolver.rs
@@ -505,6 +505,16 @@ impl<'a> Fold<ArrowExpr> for Resolver<'a> {
}
}
+/// Handle body of the arro... | 2 | 32 | 0 |
ce88b8c77794ca9f3b422ae0bd5e02146c4d6909 | κ°λμ€ | 2020-05-21T05:40:44 | Type used in typescript type casting are treated as type | diff --git a/ecmascript/transforms/src/typescript.rs b/ecmascript/transforms/src/typescript.rs
index 2f90779ed5..d52a5f6044 100644
--- a/ecmascript/transforms/src/typescript.rs
+++ b/ecmascript/transforms/src/typescript.rs
@@ -661,6 +661,15 @@ type_to_none!(TsType, TsTypeAnn, TsTypeParamDecl, TsTypeParamInstantiation);... | 2 | 32 | 8 |
5f261fcd5ca7c07db15632d0e62336fe0c6cf6f8 | Gurwinder Singh | 2020-05-17T10:15:31 | Rename Import and Export Node names (#777)
Co-authored-by: κ°λμ€ <kdy1997.dev@gmail.com> | diff --git a/ecmascript/ast/Cargo.toml b/ecmascript/ast/Cargo.toml
index 198840c2e2..f1a88988b6 100644
--- a/ecmascript/ast/Cargo.toml
+++ b/ecmascript/ast/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_ast"
-version = "0.19.0"
+version = "0.20.0"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2... | 29 | 111 | 107 |
e1bf60909ec900090b06ee85e1bd9a73213c0bb3 | κ°λμ€ | 2020-05-16T06:31:19 | Optimize parser (#774)
Add some short-circuiting | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index 323aa9b991..77a86e802b 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_parser"
-version = "0.21.10"
+version = "0.21.11"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
li... | 2 | 7 | 3 |
fb52c1052c81cd27b74491ee9328f258e8b9d36b | κ°λμ€ | 2020-05-16T06:11:44 | Folder for stable rust (#773) | diff --git a/ecmascript/visit/Cargo.toml b/ecmascript/visit/Cargo.toml
index edd144cf22..8634e30cff 100644
--- a/ecmascript/visit/Cargo.toml
+++ b/ecmascript/visit/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_visit"
-version = "0.1.0"
+version = "0.2.0"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "... | 3 | 436 | 150 |
8f72cac3a3d1e63a1f73f377eeebcefe96104930 | Gurwinder Singh | 2020-05-16T05:54:02 | Directly map the box contents without unsafe (#772) | diff --git a/common/src/util/map.rs b/common/src/util/map.rs
index c6ceefa994..fd5faa2a50 100644
--- a/common/src/util/map.rs
+++ b/common/src/util/map.rs
@@ -1,5 +1,3 @@
-use std::{mem, ptr};
-
/// Copied from `syntax::ptr::P`
pub trait Map<T> {
/// Transform the inner value, consuming `self` and producing a ne... | 1 | 2 | 16 |
37bfb79b02076c538bece2fc36ba2aa3eaad2351 | κ°λμ€ | 2020-05-05T11:10:30 | Fix dead code elimination pass (#762) | diff --git a/ecmascript/transforms/src/optimization/simplify/dce/mod.rs b/ecmascript/transforms/src/optimization/simplify/dce/mod.rs
index 8347e29ae4..37cc4025f3 100644
--- a/ecmascript/transforms/src/optimization/simplify/dce/mod.rs
+++ b/ecmascript/transforms/src/optimization/simplify/dce/mod.rs
@@ -137,6 +137,8 @@ w... | 5 | 356 | 278 |
5bd432f7de611034c9681023d06d4ee06ec42f16 | David Sherret | 2020-04-29T13:09:50 | Fix ZeroFillRShift tokenized as Gt (#752)
Fixes #751 | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index 3938caa497..323aa9b991 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_parser"
-version = "0.21.9"
+version = "0.21.10"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
lic... | 3 | 41 | 4 |
e06a577096b908213b39d23222dc302b86a9d5dd | FabianWolff | 2020-04-22T03:36:33 | Preserve commits starting with "!" when minifying (#690) (#753)
Closes #690 | diff --git a/common/src/comments.rs b/common/src/comments.rs
index 422903bce4..cc9c025b5a 100644
--- a/common/src/comments.rs
+++ b/common/src/comments.rs
@@ -73,6 +73,14 @@ impl Comments {
}
}
+ pub fn retain_leading(&self, f: impl FnMut(&BytePos, &mut Vec<Comment>) -> bool) {
+ self.leading.... | 2 | 19 | 3 |
cdf1772bf1106791e5715ace007588cd6480ec20 | κ°λμ€ | 2020-04-10T13:26:29 | Fix declare (#747) | diff --git a/ecmascript/transforms/src/typescript.rs b/ecmascript/transforms/src/typescript.rs
index 563b769b5b..47a67ef118 100644
--- a/ecmascript/transforms/src/typescript.rs
+++ b/ecmascript/transforms/src/typescript.rs
@@ -595,10 +595,16 @@ impl Fold<Stmt> for Strip {
match stmt {
Stmt::Decl... | 2 | 13 | 1 |
648e87c28d8b89b8958a8182b6842377301ee9c4 | κ°λμ€ | 2020-04-05T11:45:55 | Fix exponential operator (#746) | diff --git a/ecmascript/transforms/src/compat/es2016/exponentation.rs b/ecmascript/transforms/src/compat/es2016/exponentation.rs
index 7a1914f93a..ea68550fe9 100644
--- a/ecmascript/transforms/src/compat/es2016/exponentation.rs
+++ b/ecmascript/transforms/src/compat/es2016/exponentation.rs
@@ -167,6 +167,11 @@ impl Vis... | 1 | 33 | 0 |
09279432c4ef928ac4ed52e52e26d4b4226ac73f | κ°λμ€ | 2020-04-03T01:33:35 | Do not depend on hashbrown (#744) | diff --git a/Cargo.toml b/Cargo.toml
index fd63dd5dca..f38ae86a36 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,7 +24,6 @@ serde = { version = "1", features = ["derive"] }
serde_json = "1"
path-clean = "0.1"
once_cell = "1"
-hashbrown = "0.6"
regex = "1"
either = "1"
dashmap = "=3.5.1"
diff --git a/common/Cargo... | 25 | 28 | 35 |
4d101a0ef788545d9ff423099bd896270b2c9d5c | κ°λμ€ | 2020-04-02T09:41:02 | Add metadatas | diff --git a/ecmascript/visit/macros/Cargo.toml b/ecmascript/visit/macros/Cargo.toml
index 01aca57eff..75fa648223 100644
--- a/ecmascript/visit/macros/Cargo.toml
+++ b/ecmascript/visit/macros/Cargo.toml
@@ -2,6 +2,10 @@
name = "swc_ecma_visit_macros"
version = "0.1.0"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
+licen... | 1 | 4 | 0 |
93ffb9700b182fa27a41eedcaceae909af4f8b55 | David Sherret | 2020-03-28T04:54:53 | Increase swc_ecma_parser_macros version to 0.4.1 in swc_ecma_parser (#736) | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index 3ad2b12476..3938caa497 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_parser"
-version = "0.21.8"
+version = "0.21.9"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
lice... | 1 | 2 | 2 |
706ae005232bb27851b871e45b749190e3c0dea0 | κ°λμ€ | 2020-03-28T02:59:45 | Fix deeply nested optional chaining (#735)
- Handle deeply nested optional chaining expression correctly (Closes #732) | diff --git a/ecmascript/parser/src/lib.rs b/ecmascript/parser/src/lib.rs
index 2a66e4f5d3..ced63538d7 100644
--- a/ecmascript/parser/src/lib.rs
+++ b/ecmascript/parser/src/lib.rs
@@ -112,7 +112,7 @@ mod parser;
pub mod token;
#[derive(Debug, Clone, Copy, Deserialize, Serialize)]
-#[serde(tag = "syntax")]
+#[serde(d... | 3 | 52 | 3 |
2225679ea7b11f7bdd66ab006d0be2acb5d4483b | κ°λμ€ | 2020-03-26T05:56:54 | Fix capturing (#731)
Fix token capturing (Closes #728) | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index 636543ed71..3ad2b12476 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_parser"
-version = "0.21.7"
+version = "0.21.8"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
lice... | 4 | 16 | 29 |
6a6013b14ce9e2dc321ad7e7c62d74aef895cab6 | Muslim Guseinov | 2020-03-26T01:53:35 | Fix enum default value transform (#730) | diff --git a/ecmascript/transforms/src/typescript.rs b/ecmascript/transforms/src/typescript.rs
index 394f3a84eb..563b769b5b 100644
--- a/ecmascript/transforms/src/typescript.rs
+++ b/ecmascript/transforms/src/typescript.rs
@@ -425,17 +425,15 @@ impl Strip {
has_escape: false... | 2 | 30 | 10 |
6f4e534c88a3b21a56694c964ad0cd8f5ba34347 | κ°λμ€ | 2020-03-10T01:39:42 | Bump versions | diff --git a/ecmascript/ast/Cargo.toml b/ecmascript/ast/Cargo.toml
index b60fdeb78d..cd56f5f7e8 100644
--- a/ecmascript/ast/Cargo.toml
+++ b/ecmascript/ast/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_ast"
-version = "0.18.0"
+version = "0.18.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2... | 2 | 2 | 2 |
ffbb5163aa6a4acb46c0618b4b3605e268a5532c | κ°λμ€ | 2020-03-06T02:06:45 | Bump version | diff --git a/macros/common/Cargo.toml b/macros/common/Cargo.toml
index e37ab44e2e..a81cbbb345 100644
--- a/macros/common/Cargo.toml
+++ b/macros/common/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_macros_common"
-version = "0.3.0"
+version = "0.3.1"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2.... | 1 | 1 | 1 |
759d671df19508ee8cde17187f97bc6749f46962 | κ°λμ€ | 2020-03-05T02:20:49 | Don't print | diff --git a/ecmascript/preset_env/src/lib.rs b/ecmascript/preset_env/src/lib.rs
index 30564ac138..581ae5d453 100644
--- a/ecmascript/preset_env/src/lib.rs
+++ b/ecmascript/preset_env/src/lib.rs
@@ -509,12 +509,13 @@ impl Query {
.output()
.expect("failed to collect output");
... | 1 | 6 | 5 |
e5a818aabd164699f78b998ee9383a4ce893ed90 | κ°λμ€ | 2020-03-04T07:07:17 | Fix resolver and block_scoping (#700) | diff --git a/ecmascript/transforms/src/compat/es2015/block_scoping.rs b/ecmascript/transforms/src/compat/es2015/block_scoping.rs
index 412b149542..6a705bf929 100644
--- a/ecmascript/transforms/src/compat/es2015/block_scoping.rs
+++ b/ecmascript/transforms/src/compat/es2015/block_scoping.rs
@@ -1,10 +1,11 @@
use crate:... | 3 | 130 | 18 |
165a2091f9b8eab40467324d1510142a6e32ce7f | κ°λμ€ | 2020-03-03T07:19:45 | Fix hygiene | diff --git a/common/Cargo.toml b/common/Cargo.toml
index 4ce39d986a..581405cddd 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_common"
-version = "0.5.7"
+version = "0.5.8"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2.0/MIT"
repository = "https://githu... | 2 | 8 | 2 |
99b5018ba6b2929da9f3e060e83e02488f6dc537 | κ°λμ€ | 2020-02-29T05:54:10 | Fix ts enum with initializer (#694) | diff --git a/ecmascript/transforms/src/typescript.rs b/ecmascript/transforms/src/typescript.rs
index 53cae5a239..394f3a84eb 100644
--- a/ecmascript/transforms/src/typescript.rs
+++ b/ecmascript/transforms/src/typescript.rs
@@ -425,6 +425,26 @@ impl Strip {
has_escape: false,... | 2 | 68 | 36 |
3911ab75b90f92ac4763426aaba7ae47b2bdd583 | κ°λμ€ | 2020-02-29T01:34:10 | Bump version | diff --git a/ecmascript/parser/Cargo.toml b/ecmascript/parser/Cargo.toml
index e79ac042dc..55d115a709 100644
--- a/ecmascript/parser/Cargo.toml
+++ b/ecmascript/parser/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_parser"
-version = "0.19.1"
+version = "0.19.2"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
lice... | 1 | 1 | 1 |
363b8353cf274bb134a0cbbc67ece27a63313a8b | κ°λμ€ | 2020-02-25T12:29:52 | resolver: handle hoisting correctly (#689) | diff --git a/ecmascript/transforms/src/resolver.rs b/ecmascript/transforms/src/resolver.rs
index bc2809d24e..7ddf74be9b 100644
--- a/ecmascript/transforms/src/resolver.rs
+++ b/ecmascript/transforms/src/resolver.rs
@@ -77,7 +77,8 @@ impl<'a> Resolver<'a> {
}
}
- fn mark_for(&self, sym: &JsWord) -> Op... | 3 | 119 | 10 |
1cf86b059dc0b677e7f93afd802f594f63ee266c | κ°λμ€ | 2020-02-22T05:49:04 | Fix bugs (#687)
- stript type-only export default
- allow `continue` in a for loop | diff --git a/ecmascript/transforms/Cargo.toml b/ecmascript/transforms/Cargo.toml
index f1beb076c7..a70e094162 100644
--- a/ecmascript/transforms/Cargo.toml
+++ b/ecmascript/transforms/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_ecma_transforms"
-version = "0.7.0"
+version = "0.7.1"
authors = ["κ°λμ€ <kdy1997.dev@... | 4 | 152 | 5 |
e3ca8e5d1303091be2134ae2fbb2b8d3e9f638eb | κ°λμ€ | 2020-02-20T04:06:28 | Fix bugs (#683)
- Fix block_scoping (Fix #682)
- Handle new.target in susbscript position (Fix #675) | diff --git a/ecmascript/parser/src/parser/expr.rs b/ecmascript/parser/src/parser/expr.rs
index 159cc07b25..9019466679 100644
--- a/ecmascript/parser/src/parser/expr.rs
+++ b/ecmascript/parser/src/parser/expr.rs
@@ -413,10 +413,12 @@ impl<'a, I: Tokens> Parser<'a, I> {
if eat!('.') {
let st... | 4 | 161 | 68 |
15bef97278c63670ca0a442b8ab54bfd7442d104 | κ°λμ€ | 2020-02-19T14:13:08 | VisitMut<T> and VisitMutwith<F> (#680)
This is a groundwork for dts generator. | diff --git a/common/Cargo.toml b/common/Cargo.toml
index 553b03ad13..4cf3a76b76 100644
--- a/common/Cargo.toml
+++ b/common/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "swc_common"
-version = "0.5.3"
+version = "0.5.4"
authors = ["κ°λμ€ <kdy1997.dev@gmail.com>"]
license = "Apache-2.0/MIT"
repository = "https://githu... | 11 | 378 | 87 |
f79223e98c6a133457305d39baf53ff51c2009f9 | κ°λμ€ | 2020-02-19T10:49:58 | resolver: Handle method property correctly (#679) | diff --git a/ecmascript/transforms/src/resolver.rs b/ecmascript/transforms/src/resolver.rs
index ace42e00b3..bc2809d24e 100644
--- a/ecmascript/transforms/src/resolver.rs
+++ b/ecmascript/transforms/src/resolver.rs
@@ -231,6 +231,27 @@ impl Fold<ClassMethod> for Resolver<'_> {
}
}
+impl Fold<MethodProp> for Res... | 2 | 32 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.