Commit Graph

716 Commits

Author SHA1 Message Date
강동윤
92ce023171
Handle catch parameters in regenerator (#854) 2020-06-18 23:11:06 +09:00
강동윤
ff440157a0
Fix regenerator (#851)
swc_ecma_transforms:
 - Fix regenerator scoping issue.
2020-06-18 17:04:49 +09:00
강동윤
66d42adf7e
spack: modules (#848)
spack:
 - Better es6 module detection
 - Recursive merging
 - Support for common js modules
 - Support for node js core modules
 - Inject helpers

swc_ecma_transforms:
 - Fix dce
2020-06-17 23:48:34 +09:00
강동윤
31020e46d8
spack: enhancement (#845)
- Handle modules (via swcrc)
 - swc.bundle([conf1, conf2])
 - Correct chunking
2020-06-15 23:28:15 +09:00
강동윤
aea757d369
spack: More extensions for node resolver (#842) 2020-06-14 22:53:45 +09:00
강동윤
4db9f65976 Fix & bump version 2020-06-14 14:39:19 +09:00
강동윤
2d1fad5ca3 Bump version
I'm changing this due to the behavior of npm install
2020-06-14 12:05:11 +09:00
강동윤
fcef201695
spack: super-fast bundler (#825)
Version is alpha as it's not complete
2020-06-13 23:09:45 +09:00
강동윤
28456d0b49
Default value for options.jsc.parser.syntax (#840) 2020-06-13 02:05:49 +09:00
강동윤
fce0917016
Fix bigint literals (#837) 2020-06-11 17:49:40 +09:00
강동윤
c73e454478
Fix source map (#835) 2020-06-11 16:26:04 +09:00
강동윤
5022999600
regenerator: Handle yield* correctly (#833) 2020-06-10 19:39:12 +09:00
강동윤
54b36927f9
Fix inline source map (#832) 2020-06-10 17:36:02 +09:00
강동윤
88edb71e0a
Handle input source map correctly (#830) 2020-06-09 20:20:20 +09:00
강동윤
d1117350a9 Bump version 2020-06-06 15:31:15 +09:00
강동윤
3b1ebdd2e9
Allow using properties with legacy decorators (#824) 2020-06-06 15:30:40 +09:00
강동윤
d82e6ab69d
Fix parsing of class member named declare (#822) 2020-06-04 02:52:40 +09:00
강동윤
c7e4783837
Fix ts enums (#821) 2020-06-04 01:45:23 +09:00
강동윤
f912e9493b
Add some tests for parser (#819) 2020-06-03 23:37:15 +09:00
David Sherret
99c164b628
Fix type-only import declaration with empty named imports being parsed as having a default import specifier (#817)
Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
2020-06-03 15:41:24 +09:00
강동윤
d7bb5c18ae
Fix parsing of type annotation (#816) 2020-06-03 12:19:05 +09:00
Vladimir Guguiev
ab7c9b1287
Implement codegen of export foo as Foo from foo; (#815)
Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
2020-06-03 11:05:29 +09:00
강동윤
291251e2df Bump version 2020-06-02 20:13:18 +09:00
강동윤
58823f9590 Add examples 2020-06-02 19:53:20 +09:00
강동윤
0efba88e3f
Improve typescript parser (#811) 2020-06-02 19:22:41 +09:00
강동윤
22ac51120a
Fix swc_ecma_visit (#809) 2020-05-30 21:06:49 +09:00
강동윤
e62ea09935
Test with real-world codes (#806)
The purpose of the commit is to prevent my mistake like the one in `v1.1.49`.
2020-05-28 22:23:53 +09:00
강동윤
d35430e15b
v1.1.50 2020-05-28 17:01:47 +09:00
강동윤
9b316e68b6
Fix new reserved_words pass (#805) 2020-05-28 17:01:01 +09:00
강동윤
3bb22a6844
Update package.json 2020-05-28 13:09:50 +09:00
강동윤
2b2e1c13cd
FIx block scoping pass (#803) 2020-05-28 13:08:05 +09:00
강동윤
283825c91a
Fix typescript_strip and handle reserved word (#802) 2020-05-28 12:00:34 +09:00
강동윤
85f068c011
Reduce stack usage on debug build (#799) 2020-05-27 19:26:50 +09:00
강동윤
84f1759910
Fix folder for stable rustc (#797) 2020-05-25 22:53:48 +09:00
Bartek Iwańczuk
13a67a4848
expose Fold in swc_ecma_visit (#796) 2020-05-25 20:09:34 +09:00
Veetaha
db1d54940b
Remove comma separators in benchmark presentation (#795) 2020-05-24 18:51:57 +09:00
강동윤
1f89160986 Fix swc 2020-05-24 00:52:25 +09:00
강동윤
598c179007 Correct coverage script 2020-05-23 20:15:41 +09:00
강동윤
eaa51a3124 No debug info on release 2020-05-23 15:36:04 +09:00
강동윤
f117fedad8
typescript_strip: Handle types used only in casts (#794) 2020-05-23 14:03:17 +09:00
강동윤
14da542093
Downgrade rustc
nightly-2020-05-14 does not contain rustc for os x
2020-05-22 22:13:00 +09:00
강동윤
3a372ad29a
Move node-swc into the repository (#789)
The commit will help

 - Better testing
 - Preventing regression like #785.
 - **Implementing spack** (It requires access to neon api because of the plugin system)
2020-05-22 20:36:39 +09:00
강동윤
51a2913ae2
Improve typescript stripper (#792) 2020-05-21 22:59:06 +09:00
강동윤
5cc3efa851
resolver: Handle body of arrow functions correctly (#790) 2020-05-21 19:24:05 +09:00
강동윤
ce88b8c777
Type used in typescript type casting are treated as type 2020-05-21 14:40:44 +09:00
강동윤
f1900da246
Fix .swcrc (env and error message) (#784)
FIx preset-env and better error message for invalid config
2020-05-19 20:24:00 +09:00
강동윤
59ee0aac2c
Pin rust toolchain (#782)
Currently cargo fmt is not supported in latest nightly.
This breaks ci and my workflow, so I'll pin the version.
2020-05-19 15:05:22 +09:00
강동윤
71ea61e6c4
Make require of regenerator use global mark (#780) 2020-05-18 23:25:41 +09:00
Gurwinder Singh
5f261fcd5c
Rename Import and Export Node names (#777)
Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
2020-05-17 19:15:31 +09:00
강동윤
65f2faa339
Reduce stack usage (#776) 2020-05-17 18:50:52 +09:00