SWC Bot
6c3ff01a53
chore: Publish crates
2023-05-24 07:48:00 +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
5e3d156aca
chore: Publish crates
2023-05-15 03:20:03 +00:00
OJ Kwon
bba1fad35c
feat(plugin): Add versioned wrapper struct ( #7382 )
2023-05-15 03:17:31 +00:00
SWC Bot
e88ae37a0c
chore: Publish crates
2023-05-12 00:47:49 +00:00
OJ Kwon
9b3a41c57d
refactor(common): Derive ByteCheck
for ArcString
( #7380 )
2023-05-12 09:45:59 +09:00
SWC Bot
65785bdf21
chore: Publish crates
2023-05-10 04:19:21 +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
OJ Kwon
4e278befcf
build(cargo): Update wasmer
to v3.3
( #7352 )
2023-05-05 07:26:38 +00:00
SWC Bot
923ed13b6a
chore: Publish crates
2023-04-24 09:25:42 +00:00
OJ Kwon
577f81ec40
fix(common): Workaround the Arc
and rkyv
issue ( #7321 )
...
**Description:**
Attempt to workaround #7238 .
Originally I thought this is related with oom or memory layout, then realized actual deserialization error occurs in weird position - it tries to deserialize BytePos (which is obvious type) and it fails. It made me think maybe a property next to the struct layout have some unexpected behavior, notably Arc<String>.
PR applies same workaround as Atom does, and it seems to at least pass swc-coverage-instrument's usecases. May need bit more verification with other plugins to see if we can call this out as reliable workaround.
2023-04-24 09:23:31 +00:00
SWC Bot
42c4b07f34
chore: Publish crates
2023-04-15 03:29:04 +00:00
IWANABETHATGUY
c4cce12758
build(cargo): Update bitflags
to v2 ( #7270 )
2023-04-15 03:26:56 +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
c6b28f91cc
chore: Publish crates
2023-04-05 05:17:51 +00:00
SWC Bot
b94fbed4c9
chore: Publish crates
2023-03-31 06:17:53 +00: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
47f15f9f28
chore: Publish crates
2023-03-27 06:04:11 +00: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
Donny/강동윤
28261985b0
chore(cargo): Refactor Cargo.toml
to reduce merge conflict ( #7139 )
2023-03-24 13:46:42 +09:00
SWC Bot
b178ff5661
chore: Publish crates
2023-03-23 09:19:33 +00:00
SWC Bot
42f71431bf
chore: Publish crates
2023-03-23 05:19:01 +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
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
02e9e49733
chore: Publish crates
2023-03-10 03:54:16 +00:00
Donny/강동윤
962b0fc8af
perf(es/lexer): Use string searcher for lexing line comments ( #7043 )
2023-03-10 03:52:14 +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
SWC Bot
79549c0f20
chore: Publish crates
2023-03-07 14:50:22 +00:00
Donny/강동윤
81495f5f21
feat(common): Add an API to create a SourceFile
without allocation ( #7029 )
2023-03-07 14:47:21 +00:00
SWC Bot
bbb3615af7
chore: Publish crates
2023-02-28 06:42:16 +00:00
SWC Bot
6496796c59
chore: Publish crates
2023-02-22 06:52:59 +00:00
SWC Bot
b9212cfee0
chore: Publish crates
2023-02-10 02:51:53 +00:00
SWC Bot
cade201a1f
chore: Publish crates
2023-02-10 02:30:18 +00:00