강동윤
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
강동윤
d74f74932e
Support decorators on parameters ( #775 )
...
Co-authored-by: David Sherret <dsherret@users.noreply.github.com>
2020-05-16 22:36:52 +09:00
David Sherret
8b4fc59805
Support template literals in types ( #767 )
2020-05-16 17:19:48 +09:00
강동윤
e1bf60909e
Optimize parser ( #774 )
...
Add some short-circuiting
2020-05-16 15:31:19 +09:00
강동윤
fb52c1052c
Folder for stable rust ( #773 )
2020-05-16 15:11:44 +09:00
Gurwinder Singh
8f72cac3a3
Directly map the box contents without unsafe ( #772 )
2020-05-16 14:54:02 +09:00
강동윤
ddc5ace570
dce: Separate phase for dropping imports ( #764 )
2020-05-09 12:22:45 +09:00
강동윤
14f5212d3d
Wasm ( #691 )
2020-05-07 18:17:57 +09:00
강동윤
37bfb79b02
Fix dead code elimination pass ( #762 )
2020-05-05 20:10:30 +09:00
Max Desiatov
776bb91d9b
Fix typos in ARCHITECTURE.md ( #761 )
2020-05-05 20:08:50 +09:00
강동윤
8615d69ac3
Fix bugs ( #758 )
...
swc_ecma_transforms:
- Module passes resolver pass now shares 'global' context (Closes #724 )
- TypeScript enums are treated as concrete (Closes #757 )
2020-04-30 23:48:52 +09:00