Commit Graph

8777 Commits

Author SHA1 Message Date
강동윤 (Donny)
8099bbe068 chore: Fix publish script 2024-05-28 14:14:56 +09:00
강동윤 (Donny)
66e25dd996 chore: Update changelog 2024-05-28 12:31:58 +09:00
강동윤 (Donny)
eb3e35dba1 chore: Publish 1.5.9 with swc_core v0.92.6 2024-05-28 12:31:56 +09:00
강동윤 (Donny)
d0c567085e chore: Fix publish action 2024-05-28 12:24:15 +09:00
SWC Bot
3f47906004 chore: Bump crates 2024-05-27 13:47:36 +00:00
Donny/강동윤
c0dc5e44ab
test(es/minifier): Update the passing terser test list (#8984) 2024-05-27 22:45:44 +09:00
SWC Bot
ab32e694a0 chore: Bump crates 2024-05-26 12:43:18 +00:00
Donny/강동윤
51e0639ede
fix(es/es2015): Fix typeof comparions with "object" (#8976)
**Related issue:**

 - Closes #8971
2024-05-26 21:41:23 +09:00
SWC Bot
7c62a79d9b chore: Bump crates 2024-05-24 05:12:45 +00:00
Donny/강동윤
a753c8d191
fix(es/minifier): Mark usage in TaggedTpl as ref (#8975)
**Related issue:**

 - Closes #8974
2024-05-24 05:11:00 +00:00
SWC Bot
a15474c331 chore: Bump crates 2024-05-24 00:18:31 +00:00
Donny/강동윤
2a43df4984
fix(es/minifier): Fix comparison of -0.0 and 0 (#8973)
**Related issue:**

 - Closes #8972
2024-05-24 09:16:42 +09:00
SWC Bot
eaffeb8dab chore: Bump crates 2024-05-23 05:20:02 +00:00
Donny/강동윤
95472e4037
test(es/decorators): Add tests written by evanw (#8967)
**Description:**

Add https://github.com/evanw/decorator-tests as partially ignored tests so we can work on decorator fixes gradually.
2024-05-23 14:18:32 +09:00
SWC Bot
0d1c3b91c9 chore: Bump crates 2024-05-23 03:14:54 +00:00
Donny/강동윤
a4567998b0
fix(es/codegen): Accept &impl Node instead of impl Node (#8969) 2024-05-23 12:13:13 +09:00
SWC Bot
85e4eaa507 chore: Bump crates 2024-05-23 02:25:14 +00:00
Donny/강동윤
e80fd41ea8
feat(es/codegen): Add to_code (#8968)
**Description:**

This is a utility function for printing an AST node as a string
2024-05-23 02:23:32 +00:00
SWC Bot
ea14fc8e59 chore: Bump crates 2024-05-22 02:29:02 +00:00
Donny/강동윤
545ec51b51
fix(es/minifier): Add type check to & and | (#8965)
**Related issue:**

 - Closes #8964
2024-05-22 11:27:00 +09:00
SWC Bot
59e310d0fe chore: Bump crates 2024-05-21 01:22:57 +00:00
Donny/강동윤
ced63a973e
feat(plugin/runner): Add description about wasi and file system (#8963)
**Description:**
 
 - x-ref:
https://vercel.slack.com/archives/C01QNLABZJ8/p1715816821287309?thread_ts=1715793483.177469&cid=C01QNLABZJ8
2024-05-21 01:21:27 +00:00
강동윤 (Donny)
36fddb7965 chore: Update changelog 2024-05-20 11:49:07 +09:00
강동윤 (Donny)
16687d9ba3 chore: Publish 1.5.8 with swc_core v0.92.5 2024-05-20 11:49:06 +09:00
SWC Bot
4fc3c66f8f chore: Bump crates 2024-05-18 01:45:56 +00:00
Donny/강동윤
9d83d50af4
chore(ci): Fix CI (#8959) 2024-05-18 10:44:19 +09:00
강동윤 (Donny)
35eac478d8 chore: Restore yarn changelog 2024-05-18 09:53:47 +09:00
Donny/강동윤
f960d52364
refactor(bindings): Make @swc/core a subpackage (#8625)
**Description:**

This is for consistency and future extensions.
2024-05-18 09:23:06 +09:00
SWC Bot
edca394374 chore: Publish 1.5.8-nightly-20240516.2 2024-05-16 02:48:21 +00:00
SWC Bot
431d8eaaad chore: Bump crates 2024-05-16 02:37:18 +00:00
Donny/강동윤
02729f24d8
fix(es/minifier): Abort property hoisting on eval (#8957)
**Description:**

 - Repro: https://github.com/kdy1/repro-next-46887-2


**Related issue:**

- https://github.com/vercel/next.js/issues/46887#issuecomment-2113264586
2024-05-16 11:35:45 +09:00
SWC Bot
f681924023 chore: Bump crates 2024-05-16 02:11:50 +00:00
Donny/강동윤
255485e373
fix(es/minifier): Abort array property inliner if the array is used as a ref (#8956)
**Description:**

Repro:
 - https://github.com/kdy1/repro-next-46887

**Related issue:**

 - https://github.com/vercel/next.js/issues/46887
2024-05-16 11:09:41 +09:00
SWC Bot
73532ac7ee chore: Publish 1.5.8-nightly-20240516.1 2024-05-16 00:07:09 +00:00
강동윤 (Donny)
4ef0b68a18 chore: Update changelog 2024-05-15 08:53:37 +09:00
강동윤 (Donny)
a5004fac0f chore: Publish 1.5.7 with swc_core v0.92.4 2024-05-15 08:53:35 +09:00
강동윤 (Donny)
1c38badecc chore: Update @swc/types 2024-05-15 08:53:02 +09:00
강동윤 (Donny)
ee09d7f40c chore: Publiush @swc/types@v0.1.7 2024-05-15 08:51:33 +09:00
SWC Bot
53e1ae2e1b chore: Bump crates 2024-05-14 00:56:51 +00:00
Donny/강동윤
ff60960afe
doc(es/typescript): Fix example (#8952)
**Related issue:**

 - Closes #8950
2024-05-14 00:55:06 +00:00
강동윤 (Donny)
3887a512cc chore: Update changelog 2024-05-14 09:27:18 +09:00
강동윤 (Donny)
5c93873660 chore: Publish 1.5.6 with swc_core v0.92.4 2024-05-14 09:27:15 +09:00
SWC Bot
23b63bc1e5 chore: Bump crates 2024-05-13 09:15:58 +00:00
Donny/강동윤
606cb677c4
fix(es): Allow input source map file to be omitted (#8951)
**Description:**

Some libraries generate source maps but do not upload them to npm, which causes SWC to fail.

**Related issue:**

- https://github.com/swc-project/swc/issues/8789#issuecomment-2105055772
2024-05-13 09:14:21 +00:00
SWC Bot
6bd0d983e2 chore: Bump crates 2024-05-13 05:01:28 +00:00
Austaras
7053bb16ce
fix(es/compat): Avoid reserved name for private method (#8949)
**Description:**

Following development should follow babel/babel#16261 to avoid separate `WeakMap` for each individual private method


**Related issue:**

 - Closes #8948.
2024-05-13 04:59:48 +00:00
SWC Bot
512559818f chore: Bump crates 2024-05-13 01:13:59 +00:00
Donny/강동윤
3046d71daa
fix(es/minifier): Abort seq inliner on ** (#8947)
**Related issue:**

 - Closes #8942
2024-05-13 01:11:46 +00:00
SWC Bot
8baa0e579c chore: Bump crates 2024-05-13 00:48:12 +00:00
Donny/강동윤
772c50fd76
fix(es/minifier): Fix evaluation of String.charCodeAt (#8946)
**Related issue:**

 - Closes #8943
2024-05-13 00:46:29 +00:00