Commit Graph

3211 Commits

Author SHA1 Message Date
LongYinan
db9b988845
feat(node-swc): Add libc field in Linux platform packages (#4046) 2022-03-16 18:58:24 +09:00
Donny/강동윤
da1fd033b8 chore: Fix CI 2022-03-16 17:30:28 +09:00
Donny/강동윤
702e0e124c chore: Publish v1.2.156 2022-03-16 17:14:41 +09:00
SWC Bot
8eb9476cfb chore: Publish crates 2022-03-16 08:13:01 +00:00
Donny/강동윤
834cd4f7b6
fix(es/modules): Use correct span for ExportAlls (#4038) 2022-03-16 17:10:47 +09:00
SWC Bot
721ff07a56 chore: Publish crates 2022-03-16 06:07:52 +00:00
OJ Kwon
a1308c9a16
build(tsconfig): Set tsbuildinfo filename (#4042) 2022-03-16 06:05:28 +00:00
SWC Bot
5824571a3f chore: Publish crates 2022-03-16 04:22:52 +00:00
Donny/강동윤
ba1c854fb1
fix(es/lints): Fix false-positive of duplicate-exports (#4041) 2022-03-16 04:20:45 +00:00
SWC Bot
9206fc8c23 chore: Publish crates 2022-03-16 02:04:00 +00:00
OJ Kwon
eee8e0f7bb
chore(ci): Revert package scripts to fix publish action (#4039) 2022-03-16 11:01:39 +09:00
SWC Bot
c6d781916f chore: Publish crates 2022-03-15 22:48:06 +00:00
OJ Kwon
dab2002a2e
refactor(plugin/runner): Split modules and introduce feature flags (#4035) 2022-03-15 22:45:40 +00:00
SWC Bot
62c1e944aa chore: Publish crates 2022-03-15 20:40:46 +00:00
Donny/강동윤
71f7cf2011
test(es): Add tests for fixed issues (#4036) 2022-03-15 20:38:31 +00:00
SWC Bot
bcd08f6838 chore: Publish crates 2022-03-15 20:09:43 +00:00
Donny/강동윤
3a4704fe77
feat(es/transforms/base): Add paren_remover (#4034) 2022-03-15 20:07:04 +00:00
SWC Bot
0d6fb99384 chore: Publish crates 2022-03-15 16:20:51 +00:00
Austaras
120d2a534e
fix(es/parser): Emit an error for multiple constructors with body (#4031) 2022-03-15 16:18:19 +00:00
SWC Bot
60df339915 chore: Publish crates 2022-03-15 15:10:43 +00:00
Donny/강동윤
bba5a33415
fix(node-swc): Disable logging of warn level by default (#4033) 2022-03-15 15:07:56 +00:00
SWC Bot
cc2aa361fa chore: Publish crates 2022-03-15 14:19:50 +00:00
Donny/강동윤
e19a60aad4
fix(es/compat): Change pass ordering of es2015 (#4029)
**Description:**

We should apply `regenerator` after `block_scoping` because `regenerator` does not know how to handle `const`s.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/3006
2022-03-15 14:17:03 +00:00
SWC Bot
5e89d18370 chore: Publish crates 2022-03-15 12:23:49 +00:00
Austaras
0c76696ed2
fix(es/decorator): Insert initializer to constructor with body (#4028) 2022-03-15 12:21:17 +00:00
SWC Bot
6d5541ccbe chore: Publish crates 2022-03-15 11:00:48 +00:00
Lennart
25e5ccc548
fix(es/parser): Allow building with stable rustc (#4024) 2022-03-15 19:58:29 +09:00
SWC Bot
b12a2f3ba5 chore: Publish crates 2022-03-15 09:47:41 +00:00
Donny/강동윤
73c91d34d5
fix(es/helpers): Inject helpers for scripts (#4025)
**Description:**

This PR adds support for helpers in script mode. For now, we does not support `externalHelpers` for scripts, as there is no standard for importing other files from a script.

**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/2385
2022-03-15 09:43:57 +00:00
SWC Bot
2f6f829405 chore: Publish crates 2022-03-15 09:17:09 +00:00
Donny/강동윤
0c8c3d7d51
fix(es/decorator): Remove noop_fold_type (#4022) 2022-03-15 09:14:47 +00:00
SWC Bot
531762ae71 chore: Publish crates 2022-03-15 08:45:12 +00:00
Donny/강동윤
3173047f58
refactor(es/minifier): Cleanup (#4020)
**Description:**

 - `Optimizer.data`: `Option<ProgramData>` => `ProgramData`.
 - `Optimizer.done`: Remvoed.
 - `Optimzer.done_ctxt`: Removed.
 - `Pure`: Add `data: Option<&'a ProgramData>`.
2022-03-15 08:42:50 +00:00
SWC Bot
1902682bed chore: Publish crates 2022-03-15 08:15:34 +00:00
OJ Kwon
629709e1b1
feat(cli/compile): Support out-file (#4016) 2022-03-15 08:13:15 +00:00
Donny/강동윤
9b8b111264 chore(ci): Fix auto-rebase script 2022-03-15 16:46:15 +09:00
SWC Bot
9f9a0624e3 chore: Publish crates 2022-03-15 07:33:42 +00:00
Donny/강동윤
be09ea6991
feat(es/minifier): Drop noop calls (#4019) 2022-03-15 16:23:32 +09:00
SWC Bot
abd94c8df2 chore: Publish crates 2022-03-15 07:02:06 +00:00
Alexander Akait
4f6f244170
feat(css/prefixer): Implement more rules for prefixer (#4013) 2022-03-15 06:58:22 +00:00
SWC Bot
677a7f7649 chore: Publish crates 2022-03-15 06:22:04 +00:00
Donny/강동윤
c27b84c3f6
chore(ci): Make bump-command check lazy (#4018) 2022-03-15 15:17:20 +09:00
SWC Bot
5800737752 chore: Publish crates 2022-03-15 05:53:53 +00:00
David Campion
b337c2e2d4
fix(es): Sort spans while preserving comments (#4011) 2022-03-15 05:51:44 +00:00
SWC Bot
957a20d383 chore: Publish crates 2022-03-15 05:26:28 +00:00
Sahil mobaidin
f8d6127dd1
fix(es/parser): Report an error if LeftHandSideExpression is invalid (#4001) 2022-03-15 14:24:19 +09:00
SWC Bot
9d6a57c6e5 chore: Publish crates 2022-03-14 14:32:45 +00:00
Alexander Akait
a4bc0927a0
feat(css): Supports more color notations (#4009) 2022-03-14 14:30:09 +00:00
Donny/강동윤
afa97f63df chore: Publish v1.2.155 2022-03-14 19:27:27 +09:00
SWC Bot
db62bb6415 chore: Publish crates 2022-03-14 10:01:39 +00:00