Commit Graph

950 Commits

Author SHA1 Message Date
LongYinan
4795b65b10
Fix musl config (#1074) 2020-09-14 00:25:22 +09:00
강동윤
26595d97a5 Real fix 2020-09-13 21:12:53 +09:00
강동윤
d75b4004c1 Fix dep issue 2020-09-13 21:04:40 +09:00
강동윤
ddc340a352 Fix 2020-09-13 20:51:28 +09:00
강동윤
ab4eb20d48 v1.2.28 2020-09-13 20:41:28 +09:00
강동윤
2b12594cf2
Add musl support (#1072) 2020-09-13 18:27:26 +09:00
강동윤
4d5a0dacec
resolver: Correctly set in_type (#1071) 2020-09-12 23:56:10 +09:00
강동윤
31d4a0ee73 Bump swc_ecmascript 2020-09-12 22:00:06 +09:00
강동윤
8a0172912e
cjs: Fix import order (#1069) 2020-09-12 21:52:37 +09:00
강동윤
f029115914
resolver: No additional scope for function child (#1070) 2020-09-12 19:23:06 +09:00
강동윤
0972db98a1
parser: Parse member expression is object patterns (#1068) 2020-09-12 18:39:25 +09:00
강동윤
5c76aea82b
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
2020-09-11 23:33:36 +09:00
강동윤
1dd06d525d Ignore /*.node 2020-09-11 16:07:48 +09:00
강동윤
9bf0be1309 Bump version 2020-09-11 15:10:35 +09:00
강동윤
2fff66d985
codegen: Don't emit newline after a block comment (#1062) 2020-09-11 15:09:35 +09:00
강동윤
09e3f96a3e
jsdoc: Fix parser (#1059) 2020-09-11 12:52:57 +09:00
강동윤
dc4c92c9da
common_js: Change order of exports (#1057)
swc_ecma_transforms:
 - Update order of imports and exports (#1043)
2020-09-11 10:21:07 +09:00
강동윤
aec155b58f
resolver: Fix handling of constructor parameters (#1056) 2020-09-10 22:56:35 +09:00
강동윤
e2546e0100
resolver: Handle constructor properly (#1054) 2020-09-10 10:48:26 +09:00
강동윤
3a26d3d34d
Do not rename keywords in meta properties (#1053) 2020-09-09 15:16:44 +09:00
강동윤
9be8bf671d
fixer: Handle conditional expression in callee (#1051) 2020-09-09 12:26:10 +09:00
강동윤
82ae71faa1
Fix ts_resolver (#1049) 2020-09-08 20:45:58 +09:00
강동윤
9e28088345 v1.2.24 2020-09-08 15:19:16 +09:00
강동윤
68012dada6 v1.2.23 2020-09-08 02:00:28 +09:00
LongYinan
3bae92788e
Fix missing GITHUB_TOKEN in publish stage (#1046) 2020-09-08 01:14:05 +09:00
LongYinan
4845e9f7fd
Fix artifacts scripts (#1044) 2020-09-07 21:58:36 +09:00
강동윤
350973553a
Fix spack, third step (#1034)
swc_bundler:
 - Add support for common js modules
2020-09-07 20:36:17 +09:00
강동윤
98f6e1dd57
Remove wrong assertion (#1041) 2020-09-07 19:25:11 +09:00
LongYinan
791ba2f5d8
Fix macos 10.13 compatible problem (#1040) 2020-09-07 12:45:11 +09:00
강동윤
57112fc42b
Improve transforms (#1035)
swc_ecma_transforms:
 - Fix `this` in optional chaining expression. (https://github.com/Brooooooklyn/swc-node/issues/62)
 - Optimize typescript stripper
 - Optimize fixer
2020-09-06 19:47:15 +09:00
강동윤
eb2162cbd2
Fix stack overflow (#1032)
swc_ecma_codegen:
 - Fix codegen of large binary expressions.

swc_ecma_parser:
 - Fix stack overflow while parsing large binary expressions.

swc_ecma_transforms:
 - typescrip::strip: Fix stack overflow while handling large binary operations.
 - hygiene: Fix stack overflow by migrating it to `VisitMut`.
 - hygiene: Improve performance.
 - fixer: Fix stack overflow by migrating it to `VisitMut`.
 - resolver: Migrate to `VisitMut`.
2020-09-06 15:09:02 +09:00
LongYinan
c0cb9e4401
Upgrade to napi-rs@0.3 cli (#1033) 2020-09-05 17:48:22 +09:00
강동윤
468abb9832
Fix spack, second step (#1031)
swc_bundler:
 - Support almost all kind of imports / exports (except computed key access to an es module)
 - Parallelize processing of exports
2020-09-04 22:40:03 +09:00
강동윤
6524802ae5
fixer: Handle binary expression in callee of new (#1030) 2020-09-04 17:31:02 +09:00
강동윤
108b22c0d6
Fix block scoping (#1029)
swc_ecma_transforms
 - block_scoping: Handle this (#1021)
 - block_scoping: Handle variable mutation in for loops (#1022)
2020-09-04 16:46:59 +09:00
강동윤
3d63798c9e
Handle dynamic imports in non-es6 modules (#1028) 2020-09-04 16:18:57 +09:00
LongYinan
fcc9ae7fae
Upgrade to napi@0.5 (#1025) 2020-09-04 09:10:48 +09:00
강동윤
6134633295
Spack should not print (#1026) 2020-09-04 00:50:27 +09:00
Bartek Iwańczuk
c4cc433434
fix(dep_graph): top level dynamic import (#1024) 2020-09-03 23:28:25 +09:00
강동윤
1fd9bd63f9 Bump version 2020-09-03 22:51:04 +09:00
Bartek Iwańczuk
9a073f10a5
fix: expose dep_graph crate (#1023) 2020-09-03 22:46:41 +09:00
강동윤
8a01e2b7b6
Fix spack (#1016)
swc_ecma_transforms:
 - Add tests for #898 
 - dce preserves `export * from 'foo';`

swc_bundler:
 - Fix some concurrency bugs
 - Run dce only once
 - Handle `export * from 'foo'`
 - Handle namespace imports with computed key
 - Add some unit tests for `plan`
 - Handle export default decl
 - Handle simple coomon dependencies properly
2020-09-03 22:45:42 +09:00
강동윤
a2960810ac
Add BigInt literal type (#1020) 2020-09-03 10:50:13 +09:00
강동윤
578d64a398
Support jsx pragma (#1015)
swc_ecma_transforms
 - Support jsx pragma (#107, #838)
2020-08-30 20:32:45 +09:00
강동윤
a60b0a9cd4 v1.2.22 2020-08-30 18:02:48 +09:00
강동윤
c1676c9d99
v1.2.22-alpha.2 (#1014)
- Fix prepublish script
2020-08-30 16:50:27 +09:00
강동윤
8e237288d7
Migrate to napi (#1009) 2020-08-30 15:29:42 +09:00
LongYinan
b443a1e372
Test Reflect.metadata existed before use it (#1011)
Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
2020-08-30 13:30:50 +09:00
Bartek Iwańczuk
8ab466aafb
Add dependency analyzer (#1010) 2020-08-29 20:07:34 +09:00
강동윤
274b112ef4 Bump version 2020-08-29 20:00:34 +09:00