Commit Graph

7109 Commits

Author SHA1 Message Date
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
SWC Bot
b14e6b9e54 chore: Publish crates 2023-03-15 02:33:33 +00:00
Donny/강동윤
86295ba8f2
fix(es/minifier): Preserve delete of unresolved variables (#7072)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7045.
2023-03-15 02:31:08 +00:00
SWC Bot
769ebaf7c3 chore: Publish crates 2023-03-14 04:58:19 +00:00
Donny/강동윤
963c460613
refactor: Fix lints using clippy from nightly-2023-03-13 (#6920) 2023-03-14 04:56:21 +00:00
SWC Bot
cef9515025 chore: Publish crates 2023-03-14 03:49:51 +00:00
realtimetodie
7bbec92d23
fix(bindings/cli): Change order of checking inputs to workaround a Windows issue (#7077) 2023-03-14 03:47:52 +00:00
SWC Bot
afe5c70f44 chore: Publish crates 2023-03-14 01:21:14 +00:00
Donny/강동윤
7849a2d75d
fix(css/codegen): Respect raw of Str (#7078) 2023-03-14 01:19:09 +00:00
SWC Bot
6bf5f03884 chore: Publish crates 2023-03-13 08:34:46 +00:00
Donny/강동윤
f854d51343
perf(es/lexer): Use jump table for skip_space (#7073) 2023-03-13 08:32:49 +00:00
Donny/강동윤
9c29666402 chore: Publish crates 2023-03-13 13:30:09 +09:00
Donny/강동윤
06071b9fa0
chore: Publish v1.3.40 with swc_core v0.69.3 (#7069) 2023-03-13 13:29:16 +09:00
SWC Bot
8ab307c79a chore: Publish crates 2023-03-13 04:03:35 +00:00
magic-akari
11d4874a2e
fix(es): Respect the value of assumptions (#7065) 2023-03-13 13:01:30 +09:00
SWC Bot
3da6d18d47 chore: Publish crates 2023-03-13 03:27:50 +00:00
Donny/강동윤
97945d02b8
chore(ci): Fix CI (#7070) 2023-03-13 12:26:07 +09:00
SWC Bot
45fba897c6 chore: Publish crates 2023-03-13 01:59:04 +00:00
magic-akari
ae348e32e1
fix(es/compat): Insert the variable declaration nearest to the available statements (#7067)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7064.
2023-03-13 01:57:14 +00:00
SWC Bot
136c498c80 chore: Publish crates 2023-03-12 04:52:09 +00:00
Donny/강동윤
085c6f35f1
fix(es/ast): Fix memory layout (#7062)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7061.
2023-03-12 04:50:28 +00:00
SWC Bot
4015714633 chore: Publish crates 2023-03-12 03:57:57 +00:00
magic-akari
bb6dde7943
fix(es/compat): Handle useDefineForClassFields: false (#7055)
**BREAKING CHANGE:**

IMPORTANT NOTE: Users of decorators are recommended to configure `"useDefineForClassFields": false` to ensure that your code is properly transpiled.


**Related issue:**
 - Closes https://github.com/swc-project/swc/issues/6985.
2023-03-12 12:56:10 +09:00
SWC Bot
caaf29db66 chore: Publish crates 2023-03-12 00:48:40 +00:00
Donny/강동윤
1b40689c3a
fix(bindings/cli): Update swc_ecma_ast (#7060) 2023-03-12 00:46:46 +00:00
SWC Bot
2486e6b6bf chore: Publish crates 2023-03-11 12:14:51 +00:00
Donny/강동윤
9beefaa1d5
perf(es/lexer): Use jump table for read_token (#7058) 2023-03-11 12:13:00 +00:00
SWC Bot
fa627e178a chore: Publish crates 2023-03-11 10:43:53 +00:00
Donny/강동윤
fbb3016870
fix(es): Support stable rustc again (#7057)
**Related issue:**

 - Closes https://github.com/swc-project/swc/issues/7039.
2023-03-11 10:42:04 +00:00
SWC Bot
0b0e61beb6 chore: Publish crates 2023-03-11 03:44:48 +00:00
Donny/강동윤
d1d0607158
perf(es/lexer): Make lexer faster (#7052) 2023-03-11 03:43:06 +00:00