You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was deliberated decision at the moment, however it exposes some of cons recently - as it implies, it is unsafe operation and can take down host randomly without having additional details. We could try checked instead to ensure host - plugin can exchange data as expected, and know it'll fail prior to actual serialization.
Unfortunately this is blocked by #5406, since this requires to enable bytecheck for each structs. We may carefully approach enabling bytecheck first to get there.
Babel plugin or link to the feature description
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you.
Describe the feature
We are currently doing unchecked deserialization (https://github.com/swc-project/swc/blob/main/crates/swc_common/src/plugin/serialized.rs#L124) for the plugin deserializations.
This was deliberated decision at the moment, however it exposes some of cons recently - as it implies, it is unsafe operation and can take down host randomly without having additional details. We could try
checked
instead to ensure host - plugin can exchange data as expected, and know it'll fail prior to actual serialization.Unfortunately this is blocked by #5406, since this requires to enable
bytecheck
for each structs. We may carefully approach enabling bytecheck first to get there.Babel plugin or link to the feature description
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: