Donny/강동윤
4d7491d477
chore: Publish crates
2023-03-29 16:05:50 +09:00
SWC Bot
d74103739a
chore: Publish crates
2023-03-29 06:26:30 +00:00
Donny/강동윤
e445502072
build(cargo): Update rustc
to nightly-2023-03-28
( #7154 )
...
**Description:**
This PR also updates `rkyv` to `=0.7.40`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6807 .
2023-03-29 06:24:19 +00:00
SWC Bot
fca18b2c6b
chore: Publish crates
2023-03-28 08:00:32 +00:00
Donny/강동윤
6f0bf665c2
fix(css/compat): Remove usage of box_syntax
( #7153 )
2023-03-28 16:58:08 +09:00
SWC Bot
03f7a2d8d7
chore: Publish crates
2023-03-27 06:41:36 +00:00
Fy
05a2815e6c
feat(es/react): Support script within automatic runtime ( #7126 )
...
**Description:**
Inject `const { jsx: _jsx} = require("react/jsx-runtime")` when sourceType is `script`
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7119 .
2023-03-27 06:39:37 +00:00
SWC Bot
47f15f9f28
chore: Publish crates
2023-03-27 06:04:11 +00:00
Donny/강동윤
5e58b3e5f6
feat(css/parser): Add legacy_ie
to the ParserConfig
( #7109 )
2023-03-27 15:02:18 +09:00
SWC Bot
8fe52a12b3
chore: Publish crates
2023-03-27 04:31:35 +00:00
Donny/강동윤
30bc086052
refactor(ast): Make serde optional ( #7138 )
...
**Description:**
Turbopack does not use `serde` of swc AST types.
2023-03-27 13:28:42 +09:00
SWC Bot
3f2ba68d4b
chore: Publish crates
2023-03-24 04:48:48 +00:00
Donny/강동윤
28261985b0
chore(cargo): Refactor Cargo.toml
to reduce merge conflict ( #7139 )
2023-03-24 13:46:42 +09:00
SWC Bot
6635d54128
chore: Publish crates
2023-03-24 02:42:16 +00:00
Donny/강동윤
915f747cb7
refactor(es/parser): Remove EnumKind
to reduce compile time ( #7137 )
2023-03-24 11:40:26 +09:00
SWC Bot
4eef5532a4
chore: Publish crates
2023-03-23 09:42:52 +00:00
Donny/강동윤
b13eb4c811
fix(fast-graph): Use fxhash instead of ahash to make iteration order consistent ( #7133 )
...
**Description:**
Some operations of `petgraph` assumes the same iteration order.
2023-03-23 18:32:47 +09:00
SWC Bot
b178ff5661
chore: Publish crates
2023-03-23 09:19:33 +00:00
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
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
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
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
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
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
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
SWC Bot
d868434845
chore: Publish crates
2023-03-11 02:56:04 +00:00
Daiki Nishikawa
3730463874
fix(es/preset-env): Update data for core-js3 ( #7023 )
2023-03-11 02:54:09 +00:00
SWC Bot
fd26f467a1
chore: Publish crates
2023-03-11 00:32:35 +00:00
magic-akari
b78ce8b7c2
feat(es/compat): Simplify static blocks in classes ( #7056 )
2023-03-11 00:30:49 +00:00
SWC Bot
d4ebb5e6ef
chore: Publish crates
2023-03-10 06:28:00 +00:00
suxin2017
9acaf4deeb
fix(es/parser): Handle class members with accessor
as the name ( #7046 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7042 .
2023-03-10 06:26:14 +00:00
Donny/강동윤
740a78ba88
chore: Publish crates
2023-03-10 14:12:09 +09:00
SWC Bot
f46933615c
chore: Publish crates
2023-03-10 04:55:46 +00:00