Commit Graph

6989 Commits

Author SHA1 Message Date
Donny/강동윤
2154a3f117
refactor(macros): Reduce compile time (#7132)
**Description:**

 - Reduce usage of generics in proc-macros.
 - Remove needless operations like parsing tokens as an AST node.
2023-03-23 18:16:50 +09:00
SWC Bot
d1ae6bb3d9 chore: Publish crates 2023-03-23 09:14:02 +00:00
Donny/강동윤
150c2b6fba
fix(css/codegen): Preserve raw of numbers (#7131)
**Description:**

x-ref: https://vercel.slack.com/archives/C03EWR7LGEN/p1679513958649249
2023-03-23 09:12:07 +00:00
SWC Bot
42f71431bf chore: Publish crates 2023-03-23 05:19:01 +00:00
Donny/강동윤
dfe1a3f496
refactor(es): Remove needless build scripts to reduce compile time (#7129) 2023-03-23 05:15:59 +00:00
SWC Bot
e77bc0a62f chore: Publish crates 2023-03-23 04:39:01 +00:00
Donny/강동윤
08fa94fc73
refactor(es/codegen): Extract code from generic functions to reduce compile time (#7127) 2023-03-23 04:37:02 +00:00
SWC Bot
f81ac50c2a chore: Publish crates 2023-03-23 04:00:14 +00:00
magic-akari
5d7acfd9cb
fix(es/react): Respect import_source in new jsx (#7128)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6987.
2023-03-23 03:58:28 +00:00
SWC Bot
aaaa9caafc chore: Publish crates 2023-03-22 12:27:14 +00:00
Crayon
1e4abcb11d
doc(es): Fix doc url (#7123) 2023-03-22 12:25:17 +00:00
SWC Bot
0195f536ef chore: Publish crates 2023-03-22 11:50:07 +00:00
Fy
d50689eab0
fix(es/visit): Fix handling of Program of AndThen (#7120) 2023-03-22 11:48:13 +00:00
SWC Bot
8c5a1f140a chore: Publish crates 2023-03-22 06:33:46 +00:00
Donny/강동윤
6d9763e8c0
fix(es/renamer): Don't use symbols used by declarations if eval exists (#7116)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/6971.
 - Closes https://github.com/swc-project/swc/issues/7094.
2023-03-22 06:31:43 +00:00
Donny/강동윤
737f2adc0f chore: Publish crates 2023-03-22 12:00:04 +09:00
Donny/강동윤
6795dc89c0
chore: Publish v1.3.42 with swc_core v0.69.20 (#7117) 2023-03-22 11:58:59 +09:00
SWC Bot
e37666bb6e chore: Publish crates 2023-03-22 02:26:23 +00:00
Donny/강동윤
610e1bb581
fix(es/minifier): Don't inline into arrow heads (#7099)
**Related issue:**

 - https://github.com/vercel/next.js/issues/47005
2023-03-22 02:24:13 +00:00
SWC Bot
1aa9a98b27 chore: Publish crates 2023-03-21 09:29:42 +00:00
Donny/강동윤
2bc631df87
fix(es/compat): Don't modify private fields from reserved_words pass (#7113)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7106.
2023-03-21 09:27:31 +00:00
SWC Bot
212af9b0a7 chore: Publish crates 2023-03-21 08:48:30 +00:00
Donny/강동윤
6a570a334c
fix(es/ast): Fix EqIgnoreSpan impl of Number (#7112)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7111.
2023-03-21 08:46:22 +00:00
SWC Bot
39d47b8c62 chore: Publish crates 2023-03-21 08:06:42 +00:00
Ivan Zakharchanka
a4d1af18de
fix(bindings/node): Fix loading of spack.config.js (#7105) 2023-03-21 08:04:55 +00:00
SWC Bot
cda09e44c3 chore: Publish crates 2023-03-21 07:21:46 +00:00
Crayon
dd2b16db9e
fix(es/parser): Fix parsing of static accessors (#7108)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7107.
2023-03-21 07:19:45 +00:00
SWC Bot
6e9be45ab9 chore: Publish crates 2023-03-21 02:59:40 +00:00
Chen Yangjian
6a1201cfc4
fix(es/minifier): Pass keep_* in config to compress and mangle (#7102) 2023-03-21 02:57:57 +00:00
SWC Bot
3315419038 chore: Publish crates 2023-03-20 14:17:19 +00:00
Vincent Ricard
df09d2fd4b
feat(css/minifier) Follow the CSS spec more rigorously (#6291)
**Description:**

Full refactor of the "calc" simplification to be more compliant with the spec.
2023-03-20 14:14:51 +00:00
SWC Bot
f40175b960 chore: Publish crates 2023-03-20 05:30:14 +00:00
Austaras
f250f243cb
refactor(es/fixer): Move comments with the insertion order (#7097) 2023-03-20 05:28:08 +00:00
SWC Bot
85c51a81e7 chore: Publish crates 2023-03-20 02:03:09 +00:00
Austaras
c114f006b4
refactor(es/resolver): Make syntax context for unresolved and top-level stable (#7096) 2023-03-20 11:01:19 +09:00
SWC Bot
d6cc123d62 chore: Publish crates 2023-03-19 02:59:07 +00:00
Austaras
0f09e356c3
feat(es/resolver): Make scope context identical to the vars (#7095) 2023-03-19 11:57:14 +09:00
Donny/강동윤
4006df1665 chore: Publish crates 2023-03-17 16:12:14 +09:00
realtimetodie
4e6b44cef9
chore: Publish v1.3.41 with swc_core v0.69.11 (#7093) 2023-03-17 16:11:02 +09:00
SWC Bot
17356bca25 chore: Publish crates 2023-03-17 03:24:05 +00:00
Anders Kaseorg
493a4f7042
fix(es/minifier): Remove wrong optimization of new RegExp(…) (#7091) 2023-03-17 03:22:02 +00:00
SWC Bot
8902741084 chore: Publish crates 2023-03-17 02:40:31 +00:00
magic-akari
8353accb13
fix(es/codegen): Emit type_params for TsConstructSignatureDecl (#7080)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7079.
2023-03-17 02:38:45 +00:00
SWC Bot
32b4d7b8ad chore: Publish crates 2023-03-16 09:40:18 +00:00
Chen Yangjian
00869147d3
fix(es/minifier): Accept keep_fnames and keep_classnames (#7090) 2023-03-16 09:38:06 +00:00
SWC Bot
5f4fea2a5b chore: Publish crates 2023-03-16 03:37:09 +00:00
magic-akari
7b491a69a5
fix(es/react): Align to babel@8 behavior (#7081)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7044.
2023-03-16 03:35:17 +00:00
SWC Bot
60ccdab60e chore: Publish crates 2023-03-16 02:20:24 +00:00
Justin Ridgewell
1c254b1c44
fix(testing): Ignore non_snake_case for generated test names (#7087) 2023-03-16 11:18:28 +09:00
Donny/강동윤
60f74ea076
fix(css/parser): Fix parsing of :global(> *) (#7082) 2023-03-16 11:17:02 +09:00