Commit Graph

7709 Commits

Author SHA1 Message Date
Donny/강동윤
84cec8766d
refactor(atoms): Remove usage of js_word! to drop string-cache (#7976)
**Description:**

This PR is to prepare removal of `string-cache`. Actually, this PR does not remove it. Instead, this PR only removes direct usages of `js_word!`s, especially in patterns.



**Related issue:**

 - #4946.
2023-10-08 00:39:51 +00:00
강동윤 (Donny)
2da1037748 chore: Publish @swc/helpers@v0.5.3 2023-10-07 23:37:18 +09:00
SWC Bot
d716dc823b chore: Publish crates 2023-10-07 14:22:43 +00:00
magic-akari
1346528477
fix(es/helpers): Override mistake in _interop_require_wildcard (#8076)
**Related issue:**

 - https://github.com/babel/babel/issues/15995
2023-10-07 14:20:39 +00:00
SWC Bot
4843266545 chore: Publish crates 2023-10-06 14:46:52 +00:00
Donny/강동윤
a5621bb30a
chore(xtask): Migrate scripts to xtask (#8072)
This PR adds

 - `xtask clean`
 - `xtask bench`
2023-10-06 14:44:53 +00:00
SWC Bot
5c6c82bc6a chore: Publish crates 2023-10-06 12:41:57 +00:00
Edward Faulkner
6f45b4693e
fix(es/codegen): Fix codegen of type-only imports (#8070) 2023-10-06 12:39:56 +00:00
SWC Bot
a6527bf9ab chore: Publish crates 2023-10-06 00:12:18 +00:00
Donny/강동윤
9b9bc51c28
refactor(es/parser): Introduce TokenKind along with Token (#8071)
**Description:**

This is extracted from https://github.com/swc-project/swc/pull/7790 because this PR is extremely large PR. I'll switch to `TokenKind` gradually.
2023-10-06 00:09:48 +00:00
SWC Bot
da9bee9776 chore: Publish crates 2023-10-05 09:17:21 +00:00
magic-akari
3e5b062cd2
refactor(es/module): Reimplement some functions of module/typescript (#8063) 2023-10-05 09:15:27 +00:00
SWC Bot
70ec648a63 chore: Publish crates 2023-10-05 08:36:48 +00:00
Donny/강동윤
6420aefca5
chore: Use cargo xtask (#8068) 2023-10-05 08:34:51 +00:00
강동윤 (Donny)
a35fed015f chore: Publish crates 2023-10-05 16:29:43 +09:00
Donny/강동윤
28af875811
chore: Publish v1.3.92 with swc_core v0.83.38 (#8067) 2023-10-05 07:27:16 +00:00
강동윤 (Donny)
c26ee63839 chore: Add evanw.github.io to the allowed repro hosts 2023-10-05 16:18:46 +09:00
SWC Bot
0edd36842b chore: Publish crates 2023-10-03 16:49:03 +00:00
Balázs Orbán
a2f1010b4e
chore: Update nissuer.yml (#8060)
See https://github.com/swc-project/swc/issues/8059#issuecomment-1744960852
2023-10-03 16:47:13 +00:00
SWC Bot
89676946e6 chore: Publish crates 2023-10-03 06:04:32 +00:00
Donny/강동윤
8318ea82c2
fix(es/compat): Use async and await correctly in block-scoping pass (#8056)
**Related issue:**

 - Closes #7989
2023-10-03 06:02:42 +00:00
강동윤 (Donny)
c6e0a18292 chore: Mark reproduction link required 2023-10-03 12:46:58 +09:00
강동윤 (Donny)
a5558236b7 chore: Configure issue validator 2023-10-03 12:42:09 +09:00
SWC Bot
4abfbaacc4 chore: Publish crates 2023-10-03 03:35:46 +00:00
Donny/강동윤
2a508bcb9a
chore: Configure nissuer (#8053)
**Description:**

Add https://github.com/marketplace/actions/nissuer to the repository.
2023-10-03 03:33:37 +00:00
SWC Bot
b3a59613ab chore: Publish crates 2023-10-02 17:32:00 +00:00
Alessandro Chitolina
a751f1cfaf
fix(es/compat): Transform default-exported class decorators correctly (#8050)
**Description:**

Process decorators on the class expression on `export default` declaration and ensure to execute tests for the feature.

**Related issue:**

 - Closes #8049
2023-10-02 17:30:13 +00:00
SWC Bot
c53a655154 chore: Publish crates 2023-10-02 16:45:51 +00:00
magic-akari
4d8e1013bb
fix(es/module): Handle directives (#8048)
**Related issue:**

 - Closes: #8047
2023-10-02 16:44:05 +00:00
강동윤 (Donny)
0c8d8a3f4a chore: Fix CI 2023-10-03 01:08:43 +09:00
강동윤 (Donny)
9c9c03b76b chore: Fix CI condition 2023-10-03 01:06:49 +09:00
SWC Bot
92c6be7681 chore: Publish crates 2023-10-02 15:48:04 +00:00
Donny/강동윤
f717cf21cc
refactor(cli): Make CLI testable/managable with swc-bump (#8045)
**Description:**

It was hard to maintain CLI because actual logic was in `./bindings`.
2023-10-02 15:46:14 +00:00
SWC Bot
2bf935c68b chore: Publish crates 2023-10-02 06:18:14 +00:00
Donny/강동윤
96a7a4d045
fix(es/compat): Fix scoping of explicit-resource-management (#8044)
**Related issue:**

 - Closes #8020
2023-10-02 06:16:08 +00:00
강동윤 (Donny)
77b8591d86 chore(ci): Fix publish action for minifier 2023-10-02 14:09:02 +09:00
SWC Bot
63387672d7 chore: Publish crates 2023-10-02 04:48:01 +00:00
Donny/강동윤
f2bc6a3fcc
chore(ci): Prepare multi-package repository (#8043) 2023-10-02 04:41:21 +00:00
강동윤 (Donny)
8ddb0dafa2 chore(ci): Fix publish action 2023-10-02 12:41:23 +09:00
강동윤 (Donny)
13161c45cd chore: Publish crates 2023-10-01 20:52:47 +09:00
Donny/강동윤
020027d5d9
chore: Publish v1.3.91 with swc_core v0.83.34 (#8040) 2023-10-01 11:51:50 +00:00
SWC Bot
203b2297c3 chore: Publish crates 2023-09-30 11:42:29 +00:00
Austaras
01391e3c13
fix(es/minifier): Check if object shorthand is skippable for seq inliner (#8036)
**Related issue:**

 - Closes #7984
2023-09-30 11:40:46 +00:00
강동윤 (Donny)
c0625361a1 chore: Fix yarn lockfile 2023-09-30 06:43:54 +09:00
SWC Bot
3fd6f64e60 chore: Publish crates 2023-09-29 21:35:08 +00:00
Austaras
06b6eb9999
fix(es/compat): Generate OptCall for OptCall for private fields (#8031)
**Related issue:**

 - Closes #8003
2023-09-29 21:32:48 +00:00
강동윤 (Donny)
7f91274208 chore: Fix yarn lockfile 2023-09-30 05:57:06 +09:00
강동윤 (Donny)
dec68c3212 chore(ci): Remove wrong ifs 2023-09-30 05:54:53 +09:00
SWC Bot
8f445f49c9 chore: Publish crates 2023-09-29 20:54:50 +00:00
Donny/강동윤
186ecfadb5
chore(ci): Expose more crates to JS (#8033) 2023-09-29 20:52:40 +00:00