강동윤
b0049c0fa6
Bump version
2020-09-18 16:10:16 +09:00
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
강동윤
0972db98a1
parser: Parse member expression is object patterns ( #1068 )
2020-09-12 18:39:25 +09:00
강동윤
1dd06d525d
Ignore /*.node
2020-09-11 16:07:48 +09:00
강동윤
9bf0be1309
Bump version
2020-09-11 15:10:35 +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
4845e9f7fd
Fix artifacts scripts ( #1044 )
2020-09-07 21:58:36 +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
강동윤
6524802ae5
fixer: Handle binary expression in callee of new ( #1030 )
2020-09-04 17:31:02 +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
강동윤
0a83809b2a
Improve type resolver ( #994 )
2020-08-24 18:48:54 +09:00
강동윤
598705882a
Bump version
2020-08-24 11:19:10 +09:00
강동윤
655fc12fcb
Make spack respect swcrc ( #964 )
2020-08-14 21:02:39 +09:00
강동윤
2fedf32747
swc_bundler ( #943 )
...
swc_bundler:
- Splitted from spack
swc_ecma_parser:
- Fix unexpected eof problem which occurs if log level is trace
swc_ecma_transforms:
- Fix bugs of dce pass
spack:
- Support cyclic dependencies
2020-08-12 22:18:47 +09:00
LongYinan
4ab3c58f6a
Strip TypeScript class properties without value assigned ( #956 )
...
Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
2020-08-11 01:58:45 +09:00
LongYinan
dde9defbe4
Fix typescript strip in class properties pass ( #954 )
...
Co-authored-by: 강동윤 <kdy1997.dev@gmail.com>
2020-08-10 20:33:25 +09:00
강동윤
e1f5d681e3
Fix typescript class properties pass ( #951 )
2020-08-10 01:22:15 +09:00
강동윤
ca246d3df7
Bump version
2020-08-09 19:07:13 +09:00
강동윤
951d52ec55
Fix target, target ( #945 )
2020-08-08 01:30:15 +09:00
강동윤
0989e73a99
Metadata for typescript decorator ( #939 )
...
swc_ecma_transforms:
- Allow emitting decorator metadata (#666 , #919 )
swc:
- change order of passes to allow decorator using type informations
2020-08-06 21:23:34 +09:00
강동윤
5fb77dbd61
Bump version
2020-08-06 14:59:13 +09:00
강동윤
5baa636a4b
Chores (coverage, documentation, etc..) ( #925 )
2020-08-02 19:10:28 +09:00
강동윤
0ac55ae68b
Improve ux for rust users ( #909 )
...
testing:
- Remove dependency on relative_path
swc_common:
- Span's byte positions are now self-contained and `GLOBALS` is not required while parsing.
- Changed `Comments` into a trait.
- Provide single-threaded implementation of `Comments`
- Cargo feature `tty-emiiter` (To remove tty related stuffs )
- Cargo feature `sourcemap` (To remove sourcemap for web assets)
- Removed dependency on dashmap
swc_ecma_parser:
- No duplicated comments.
- Removed dependency on once_cell and regex
- Add a test suite to visualize and test span of nodes.
swc_ecma_utils:
- Removed dependency on parser
swc:
- Remove dependency on derive_more and path-clean
- Add multi-threaded implementation of `Comments`
swc_ecmascript:
- A new crate contains `ast`, `codegen`, `parser`, `utils`, `visit`.
2020-07-31 18:49:07 +09:00
강동윤
ca43112d2a
codegen: Preserve quotes ( #911 )
2020-07-28 21:56:19 +09:00
강동윤
9b8bfb2455
Use stable rustc ( #886 )
2020-07-24 02:18:22 +09:00
강동윤
c0917839a5
Add empty to class member ( #875 )
2020-07-05 20:10:33 +09:00
강동윤
38adc49e7e
Bugfixes ( #873 )
...
swc_common:
- Fix new_source_file
swc_ecma_parser:
- Fix parsing of paren expr in lhs of an assignment
2020-07-01 16:31:55 +09:00
강동윤
fe260a02e2
ES2020 ( #855 )
...
Adapt es2020. API is not changed, but config for merged proposals are now noop.
2020-06-20 15:09:57 +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
강동윤
c73e454478
Fix source map ( #835 )
2020-06-11 16:26:04 +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
강동윤
f912e9493b
Add some tests for parser ( #819 )
2020-06-03 23:37:15 +09:00
강동윤
0efba88e3f
Improve typescript parser ( #811 )
2020-06-02 19:22:41 +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
강동윤
3bb22a6844
Update package.json
2020-05-28 13:09:50 +09:00
강동윤
f117fedad8
typescript_strip: Handle types used only in casts ( #794 )
2020-05-23 14:03:17 +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
강동윤
14f5212d3d
Wasm ( #691 )
2020-05-07 18:17:57 +09:00
강동윤
36aeac8639
Coverage ( #670 )
...
Add a script to calculate coverage
2020-02-16 21:06:25 +09:00
강동윤
64ed0bd801
Validate sourcemap ( #669 )
2020-02-16 16:51:42 +09:00