Donny/강동윤
398dc21e07
feat(allocator): Add a cargo feature ( #9239 )
...
**Description:**
This PR is a part of https://github.com/swc-project/swc/pull/9230
2024-07-15 15:22:26 +09:00
Donny/강동윤
b2491e5461
refactor(common): Drop SyntaxContext
from AST nodes ( #9175 )
2024-07-12 13:13:20 +09:00
magic-akari
cc1432a12f
chore: Apply cargo autoinherit
( #8902 )
2024-04-29 00:54:45 +00:00
강동윤 (Donny)
0f07acbc57
chore: Publish crates
2024-04-16 20:02:16 +09:00
Donny/강동윤
ca9c76b46f
build(cargo): Update rustc to nightly-2024-04-03
( #8821 )
2024-04-16 02:20:47 +00:00
SWC Bot
34e12a2da7
chore: Bump crates
2024-04-02 07:32:06 +00:00
Donny/강동윤
0745624cb7
perf(atoms): Update hstr
( #8799 )
...
**Description:**
**Related issue:**
- https://github.com/dudykr/ddbase/pull/27
- https://github.com/dudykr/ddbase/pull/29
2024-04-02 07:30:26 +00:00
Donny/강동윤
5e40dc7d8c
chore(preset-env): Update browserslist-rs
( #8524 )
2024-01-19 15:18:08 +00:00
SWC Bot
98c47df37a
chore: Publish crates
2023-12-01 20:08:13 +00:00
David Sherret
1e8edb4769
chore(atoms): Evaluate .into()
in AtomStoreCell
eagerly ( #8363 )
...
**Related issue:**
- Closes #8362
2023-12-02 05:06:12 +09:00
SWC Bot
2d2ad1e9a1
chore: Publish crates
2023-11-09 03:48:08 +00:00
Donny/강동윤
9a4bad4e9e
refactor(atoms): Improve APIs ( #8249 )
2023-11-09 03:45:59 +00:00
SWC Bot
2effaf6f43
chore: Publish crates
2023-11-09 01:01:47 +00:00
David Sherret
a5a6eb53a5
perf(atoms): Introduce AtomStoreCell
( #8232 )
2023-11-09 09:59:20 +09:00
SWC Bot
4c2547adf2
chore: Publish crates
2023-11-07 09:55:14 +00:00
Donny/강동윤
c01454ad41
perf(atoms): Update hstr
to make global APIs fast ( #8241 )
...
**Related issue:**
- https://github.com/dudykr/ddbase/pull/14
2023-11-07 18:52:21 +09:00
SWC Bot
09b3003e58
chore: Publish crates
2023-11-07 00:54:18 +00:00
Donny/강동윤
aa22746d03
perf(atoms): Replace string-cache
with hstr
( #8126 )
...
**Description:**
`hstr` is an alternative for `string-cache` which does not support static strings and does not use a global mutex.
**Related issue:**
- Closes #4946 .
- Closes #7974 .
2023-11-07 00:51:43 +00:00
Donny/강동윤
14ea705f27
build(cargo): Update rustc to nightly-2023-11-04
( #8221 )
...
**Breaking Changes**:
- `Mark::default()` is now identical as `Mark::new()`.
**Description:**
I want to see if inlining is improved
2023-11-04 21:47:10 +00:00
SWC Bot
34e03c4661
chore: Publish crates
2023-10-08 00:41:50 +00:00
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
SWC Bot
a9a6928a4e
chore: Publish crates
2023-08-24 08:20:56 +00:00
Jason
a34f3592b3
feat(css/ast): Support @scope
at-rule ( #7837 )
...
> ### Describe the feature
> [Chrome 118 is shipping
soon](https://chromium-review.googlesource.com/c/chromium/src/+/4790561 ),
which is expected to be one of the more popular CSS features, giving new
hope for style isolation of components.
>
> * Explainer https://css.oddbird.net/scope/explainer
> * Specification https://drafts.csswg.org/css-cascade-6/#scope-atrule
>
Closed : #7836
2023-08-24 08:18:35 +00:00
SWC Bot
026101b71e
chore: Publish crates
2023-07-20 05:57:51 +00:00
Jason
cfb7b511ee
feat(css/parser): Support @starting-style
( #7677 )
2023-07-20 14:55:50 +09:00
SWC Bot
735a82d6a4
chore: Publish crates
2023-07-05 03:52:51 +00:00
SWC Bot
da0c612d85
chore: Publish crates
2023-05-16 05:18:57 +00:00
Donny/강동윤
3a0565f377
chore(plugin): Update rkyv
to v0.7.42
( #7397 )
2023-05-16 14:17:12 +09:00
SWC Bot
65785bdf21
chore: Publish crates
2023-05-10 04:19:21 +00:00
Donny/강동윤
041b491466
feat(es/parser): Implement explicit resource management ( #7322 )
...
**Description:**
- Add `UsingDecl`.
- Add `UsingDecl` to `Decl`.
- Rename `VarDeclOrPat` to `ForHead`.
- Add `UsingDecl` to `ForHead`.
- Implement parser for using declarations.
**Related issue:**
- #7316 .
2023-05-10 04:16:44 +00:00
SWC Bot
aef5ac4812
chore: Publish crates
2023-05-06 03:56:38 +00:00
OJ Kwon
d2c1f45f5a
feat(plugin): Enable bytecheck ( #7280 )
...
**Description:**
Second attempt to enable bytecheck. This PR does not have versioned struct yet, just enabling bytecheck wherever possible. Also, it is for the ast only yet, so transform metadata and others might need this later.
PR seems to be passing all the ci, but as we've experienced before, there might be some unexpected outcomes with the release. Maybe better to hold this until clear https://github.com/swc-project/swc/issues/7238 , then land as a separate release.
2023-05-06 03:54:25 +00:00
SWC Bot
e6cffb7581
chore: Publish crates
2023-04-13 08:41:47 +00:00
OJ Kwon
ff3decc7db
build(plugin): Update rkyv
( #7257 )
2023-04-13 08:39:23 +00:00
SWC Bot
8fc527343b
chore: Publish crates
2023-04-13 05:52:04 +00:00
OJ Kwon
6bd58cbcfd
refactor(plugin): Remove bytecheck
flag ( #7256 )
2023-04-13 05:49:58 +00:00
SWC Bot
8e5cb60183
chore: Publish crates
2023-04-12 12:33:03 +00:00
OJ Kwon
efad714983
feat(plugin): Enable validation ( #7250 )
2023-04-12 12:30:38 +00:00
SWC Bot
2204b7809b
chore: Publish crates
2023-04-10 03:42:39 +00:00
OJ Kwon
56bdacc72d
feat(plugin/runner): Update wasmer
to v3
( #7197 )
...
**Description:**
This PR reattempts https://github.com/swc-project/swc/pull/5456 .
Most of the changes are for the breaking changes of wasmer@3, as well as enabling rkyv's strict mode (https://github.com/swc-project/swc/pull/6922 ). This could not be seperated since wasmer@3 enables strict mode by default without a way to turn it off.
There are a couple of changes worth noting:
- Disabling in-memory module lookup: https://github.com/swc-project/swc/pull/7197/files#diff-3bda5def6ce2b7553c3b3a5ad241c0bdb7021e67b7de1e594df4cd5a54d403b3R154-R159
- Disabling plugin_runner in bindings_wasm: https://github.com/swc-project/swc/pull/7197/files#diff-dc3ded556a1fd709a129acd588e5eda651b842c6acc3f5340d40088a1f927facR310-R312
- Skipping plugin compat test: https://github.com/swc-project/swc/pull/7197/files#diff-531197dfcefba05faca53f0cf442ecc2dc6b59d5ead01979f5ffb912aa36249aR64-R66
2023-04-10 03:40:25 +00:00
SWC Bot
b94fbed4c9
chore: Publish crates
2023-03-31 06:17:53 +00:00
magic-akari
3ca954b9f9
fix(es/helpers): Use snake_case for helpers ( #7147 )
...
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/7144 .
- Closes https://github.com/swc-project/swc/issues/7118 .
2023-03-31 15:15:21 +09:00
SWC Bot
b1fb6b655f
chore: Publish crates
2023-03-30 08:08:20 +00:00
Donny/강동윤
0259a7465f
build(cargo): Update rustc
to nightly-2023-03-20
( #7170 )
...
**Description:**
This PR also updates `rkyv` to `=0.7.40`.
**Related issue:**
- Closes https://github.com/swc-project/swc/issues/6807 .
2023-03-30 08:06:02 +00:00
SWC Bot
44062d6fa5
chore: Publish crates
2023-03-29 08:50:54 +00:00
Donny/강동윤
12546c853a
build(cargo): Revert rustc upgrade ( #7162 )
...
**Description:**
The `rkyv` bug is not fixed.
2023-03-29 17:48:45 +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
56aac6783b
chore: Publish crates
2023-03-08 02:51:08 +00:00
Yoni Feng
9841f0b5d1
perf(atoms): Update string-cache
for per-bucket mutex ( #6980 )
2023-03-08 11:47:42 +09:00