Donny
4e003b60f7
chore: Publish crates
2021-11-03 11:25:56 +09:00
OJ Kwon
12be4b1799
fix(es/transforms/typescript): Allow (foo as any) = bar
( #2631 )
...
swc_ecma_transforms_typescript:
- `strip`: Handle paren in the LHS of assignment expressions properly. (Closes https://github.com/swc-project/swc/issues/2606 )
2021-11-03 11:25:18 +09:00
Donny/강동윤
04238d0b93
feat(swc_common): Allow dylib
( #2628 )
...
swc_common:
- Add `dylib` to `crate-type`.
2021-11-02 23:54:20 +09:00
Donny
74aa0068db
chore: Publish crates
2021-11-02 20:15:43 +09:00
Alexander Akait
cc5398b1a6
refactor(css/parser): Refactor parser for at rules ( #2617 )
...
swc_css_ast:
- Move some at-rules to own files.
swc_css_parser:
- Implement `Parse` for more types.
2021-11-02 11:13:23 +00:00
Donny
170a53a4ce
chore: Publish crates
2021-11-02 18:42:35 +09:00
Donny/강동윤
7ea4ee81c2
fix(es/minifier): Fix for react-countup
( #2625 )
...
swc_ecma_minifier:
- `analyzer`: Mark the LHS of an operator assignment as usage.
2021-11-02 18:42:05 +09:00
Donny
9a2f729322
chore: Publish crates
2021-11-02 14:53:36 +09:00
Donny
3935400a55
chore: Improve version manager script
2021-11-02 14:53:13 +09:00
OJ Kwon
d2f2409528
fix(es/transforms/strip): Strip types for typescript export equals ( #2623 )
...
swc_ecma_transforms_typescript:
- `strip`: Visit the RHS of typescript export equals.
2021-11-02 05:50:42 +00:00
Alexander Akait
c89a9ea171
fix(css/lexer): Fix some edge cases ( #2612 )
2021-11-02 05:28:19 +00:00
Donny
6644a06da6
chore: Publish crates
2021-11-02 14:00:33 +09:00
Donny
befda9752e
chore: Publish crates
2021-11-02 13:59:56 +09:00
OJ Kwon
5b141ee80a
fix(es/transforms/cjs): Allow using multiple export *
( #2598 )
...
swc_ecma_transforms_module:
- Preserve order of imports for reexports. (#2594 )
2021-11-02 13:59:33 +09:00
Pig Fang
f8c7d36ac9
chore: Update playground link in the issue form ( #2621 )
2021-11-02 13:09:35 +09:00
Donny/강동윤
9cb3bf96dc
fix(es/minifier): Fix bugs of the minifier ( #2610 )
...
swc_ecma_minifier:
- Increase max pass limit. (#2604 , #2604 )
swc:
- Change default value of `compress` and `mangle`. (#2591 )
2021-11-01 14:11:43 +00:00
Donny
fbbdeeae56
chore: Publish crates
2021-11-01 16:54:32 +09:00
Alexander Akait
b806551ade
refactor(css/lexer): Refactor lexer to follow spec ( #2593 )
2021-11-01 16:53:26 +09:00
Donny/강동윤
3280b4cd7a
refactor(es/parser): Deprecate JscTarget
( #2600 )
...
swc_ecma_parser:
- Deprecate `JscTarget`.
2021-10-31 12:25:15 +00:00
Donny/강동윤
e589d00f62
refactor: Move HANDLER
to swc_common
( #2599 )
...
swc_common:
- Add `HANDLER`.
swc_ecma_utils:
- Replace `HANDLER` with one from `swc_common`.
- Make `StmtLike` `: Send + Sync`.
2021-10-31 20:41:36 +09:00
Donny
cd2a2777d9
chore: Publish crates
2021-10-31 18:17:31 +09:00
Jeremy Grieshop
7e3fb0a0ab
fix(es/transforms/cjs): Allow mixing named exports and export stars. ( #2583 )
...
swc_ecma_transforms_module:
- `common_js`: Fix _exportNames when exporting aliases and using `export *`s . (#2548 )
2021-10-31 09:12:36 +00:00
Donny/강동윤
306cf989db
fix(es/minifier): Fix minifier ( #2597 )
...
swc_ecma_minifier:
- Fix `negate_cost`.
2021-10-31 08:43:44 +00:00
Pig Fang
c05f35d5f1
chore: Fix syntax of github issue template ( #2596 )
2021-10-31 14:32:44 +09:00
Pig Fang
a278eff5ee
chore: Use form for issues ( #2595 )
2021-10-31 13:51:30 +09:00
LongYinan
1a659d3214
ci: Sync to latest napi workflow ( #2592 )
2021-10-31 10:04:18 +09:00
Donny
e3b8e5324b
chore: Use ubuntu-18.04 for musl
2021-10-30 23:35:28 +09:00
Donny
dfd8d1ad61
chore: Fix musl target
2021-10-30 23:29:44 +09:00
Donny
344daefd16
chore: Publish
2021-10-30 23:22:05 +09:00
Donny
4328276414
chore: Publish crates
2021-10-30 21:41:20 +09:00
Donny/강동윤
db09bce687
perf(node/swc): Parse input using worker thread ( #2590 )
...
node_swc:
- Make `transform` parse the options in background.
- Make `transform` analyze the input file in background.
- Make `minify` parse the options in background.
- Make `minify` deserialize the input in background.
- Make `parse` parse the options in background.
- Make `parse` analyze the input file in background.
- Make `print` parse the options in background.
- Make `print` deserialize the input file in background.
2021-10-30 12:31:28 +00:00
Antonio Musolino
52318a4a8e
fix(es/lexer): Fix parsing of interpreter ( #2589 )
2021-10-30 21:10:45 +09:00
Donny
b197eb65af
chore(ci): Don't use push action
2021-10-30 18:29:33 +09:00
Donny
ceb025b735
chore: Fix permission issue
2021-10-30 17:50:44 +09:00
Donny
bab638c5e8
chore: Fix crate manager script
2021-10-30 16:38:44 +09:00
Donny/강동윤
d63553e5d7
chore: Fix script for managing crates ( #2588 )
2021-10-30 16:23:30 +09:00
Kaciras
4327d11d41
fix(swc): Use standard base64 charset for inlined source maps ( #2585 )
2021-10-30 16:21:29 +09:00
Donny
bb189c74ac
chore: Publish crates
2021-10-30 15:53:07 +09:00
Donny/강동윤
f997bc4889
chore: Manage crate version using github action ( #2587 )
2021-10-30 15:47:14 +09:00
Christopher Hlubek
3f5c826251
fix(es/transform/react): Allow multiple JSX pragmas in single Comment
( #2561 )
2021-10-30 15:18:43 +09:00
Alexander Akait
f77d6ceb00
feat(css/ast): Add SquareBracketBlock
( #2573 )
2021-10-30 14:53:11 +09:00
zEh-
ef3c9a7422
chore: Fix typo ( #2586 )
2021-10-30 14:18:43 +09:00
Donny/강동윤
33bc3d2b91
feat(es/transforms/regenerator): Allow configuring import path ( #2581 )
...
swc_ecma_transforms_compat:
- `regenerator`: Allow configuring import path of `regenerator-runtime`.
2021-10-29 14:36:11 +00:00
Donny/강동윤
f9a8ad386d
chore: Make cargo test --all
work ( #2580 )
2021-10-29 11:54:30 +00:00
Alexander Akait
47f7f1ad4f
fix(css/parser): Resolve some TODOs ( #2572 )
2021-10-29 19:55:02 +09:00
Alexander Akait
67c0d4cc37
feat(css/parser): Use Function
token. ( #2571 )
2021-10-29 17:48:04 +09:00
OJ Kwon
7cc51beb45
fix(es/transforms/cjs): Allow reassignment to exported functions ( #2569 )
...
swc_ecma_transforms_module:
- `common_js`: Reassign exports for the functions. (#2549 )
2021-10-29 16:03:02 +09:00
Donny/강동윤
a6af0ab30f
chore: Fix CI script for PRs ( #2575 )
2021-10-29 06:11:00 +00:00
Alexander Akait
4f0473616d
feat(css/ast): Add value
to the whitespace token ( #2533 )
2021-10-28 23:48:31 +09:00
Donny/강동윤
69cfa98c50
fix(es/minifier): Fix block unwrapping issue ( #2570 )
...
swc_ecma_minifier:
- Check more before removing `{` and `}`.
2021-10-28 10:58:26 +00:00