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
Donny/강동윤
4b2903e3b4
fix(es/minifier): Fix minifier ( #2564 )
...
swc_ecma_minifier:
- Don't change depth of function while negating if statements. (#2558 )
swc_ecma_transforms_optimization:
- `dead_branch_remover`: Preserve `this`. (#2465 , #2466 )
swc:
- Make `toplevel` default to true if `module` is true. (#2254 )
2021-10-28 04:35:45 +00:00
Donny/강동윤
0364f9a2ae
feat(es/transforms/testing): Reduce CI time by caching execution result ( #2565 )
...
swc_ecma_transforms_testing:
- Cache execution test result on CI.
2021-10-28 04:00:25 +00:00
Donny/강동윤
7e29685a17
chore: Fix failing tests and improve CI scripts ( #2563 )
2021-10-28 02:55:49 +00:00
Donny
ac02f3f3fa
chore: Fix publish scripts
2021-10-28 10:40:32 +09:00
Donny
54694571b9
chore: Fix typo
2021-10-28 10:03:29 +09:00
Donny
a6fcfe1ddd
chore: Fix ci script
2021-10-28 09:57:17 +09:00
Donny
7fae0bb979
chore: Pulbish
2021-10-28 09:25:30 +09:00
David Sherret
7b4af435f2
feat(es/parser): Enable ergonomic brand checks for TypeScript ( #2562 )
2021-10-28 09:22:51 +09:00
Alexander Akait
303cecbefc
feat(css/ast): Add raw
to the hash value ( #2535 )
2021-10-27 23:15:11 +09:00
Donny/강동윤
79a426e0d8
fix(es/minifier): Don't treat catch clause as a scope ( #2557 )
...
swc_ecma_minifier:
- Don't treat a catch clause as a scope.
2021-10-27 11:19:30 +00:00
Donny
e3869f1d27
chore: Disable freebsd build to publish
2021-10-27 18:39:15 +09:00
OJ Kwon
97b5a738c2
fix(es/fixer): Preserve more parens ( #2553 )
...
swc_ecma_transforms_base:
- `fixer`: Preserve parens of a binary expression if the LHS is an object literal. (#2550 )
2021-10-27 16:56:45 +09:00
Donny/강동윤
5f0524c54e
fix(es/transforms/react): Revert #2542 ( #2552 )
2021-10-27 04:42:12 +00:00
Donny/강동윤
f81b60fd1b
fix(es/minifier): Fix minifier ( #2551 )
...
swc_ecma_minifier:
- `hoist_props`: Check for infection. (#2506 )
2021-10-27 04:19:14 +00:00
Donny
2febd77c56
chore: Configure kodiak
2021-10-27 08:58:33 +09:00
Donny/강동윤
8494f6583c
fix(swc): Allow overriding specified parser config using .swcrc
( #2547 )
...
swc:
- Merge parser config by enabling each feature. (#2546 )
2021-10-26 22:39:06 +00:00
Alexander Akait
0e458778ec
refactor(css/ast): Rename types ( #2532 )
2021-10-27 03:38:05 +09:00
Donny/강동윤
70f55833e9
feat(es/transforms/react): Improve development more ( #2542 )
...
swc_ecma_transforms_react:
- `jsx_src`: Add column to `__source`.
- `jsx`: Support `jsxDEV`.
- `jsx`: Handle `__source` and `__self` specially.
2021-10-26 11:09:09 +00:00