magic-akari / swc_mut_cjs_exports

[SWC plugin] mutable CJS exports
https://www.npmjs.com/package/swc_mut_cjs_exports
MIT License
57 stars 16 forks source link

chore(deps): update swc monorepo #106

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 9 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@swc/core (source) 1.4.0 -> 1.4.8 age adoption passing confidence devDependencies patch
swc_core 0.90.6 -> 0.90.24 age adoption passing confidence dev-dependencies patch
swc_core 0.90.6 -> 0.90.24 age adoption passing confidence dependencies patch
testing 0.35.18 -> 0.35.21 age adoption passing confidence dev-dependencies patch

Release Notes

swc-project/swc (@​swc/core) ### [`v1.4.8`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#148---2024-03-14) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.7...v1.4.8) ##### Bug Fixes - **(es/module)** Fix regression of resolving relative modules ([#​8748](https://togithub.com/swc-project/swc/issues/8748)) ([f988b66](https://togithub.com/swc-project/swc/commit/f988b66e1fd921266a8abf6fe9bb997b6878e949)) - **(es/parser)** Allow `export` after decorators when valid ([#​8739](https://togithub.com/swc-project/swc/issues/8739)) ([663261b](https://togithub.com/swc-project/swc/commit/663261be97364911e7b57eab0560ee48e53d8f33)) ##### Miscellaneous Tasks - **(es)** Allow using older `tokio` ([#​8740](https://togithub.com/swc-project/swc/issues/8740)) ([9c1eb01](https://togithub.com/swc-project/swc/commit/9c1eb017fcd90bd21b43f1a988c7fc67639343c1)) ### [`v1.4.7`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#147---2024-03-13) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.6...v1.4.7) ##### Bug Fixes - **(es/minifier)** Fix eval of `toString` of array with holes ([#​8727](https://togithub.com/swc-project/swc/issues/8727)) ([f3fbd9d](https://togithub.com/swc-project/swc/commit/f3fbd9d54925b708139a37865508430cdcb98f9a)) - **(es/minifier)** Do not evaluate `slice` calls with negative index ([#​8726](https://togithub.com/swc-project/swc/issues/8726)) ([23f9635](https://togithub.com/swc-project/swc/commit/23f9635d2cb523d63e5d1611dcf55922bcc54a87)) - **(es/minifier)** Handle cyclic references while dropping unused properties ([#​8725](https://togithub.com/swc-project/swc/issues/8725)) ([102241b](https://togithub.com/swc-project/swc/commit/102241b812b8e815b59575178193bb71b4264bab)) - **(es/minifier)** Fix evaluation of array literals with `void 0` ([#​8733](https://togithub.com/swc-project/swc/issues/8733)) ([aa0154d](https://togithub.com/swc-project/swc/commit/aa0154d2d86b0bed7ffed3324c7a650ffe111c93)) - **(es/minifier)** Fix removal of array pattern bindings ([#​8730](https://togithub.com/swc-project/swc/issues/8730)) ([312f0d8](https://togithub.com/swc-project/swc/commit/312f0d8427b3c4436b491ed4265f9469dc017f8f)) - **(es/minifier)** Make `Finalizer` handle `hoisted_props` correctly ([#​8738](https://togithub.com/swc-project/swc/issues/8738)) ([95761b7](https://togithub.com/swc-project/swc/commit/95761b76bf09a4d2c09517b2bd7bf7b78ee2149f)) - **(es/proposal)** Fix var placement for using transform ([#​8732](https://togithub.com/swc-project/swc/issues/8732)) ([633cd89](https://togithub.com/swc-project/swc/commit/633cd89bacef5f0efef20f1dfa709cff1ecba36f)) ##### Features - **(es/lints)** Add `no-prototype-builtins` rule ([#​8684](https://togithub.com/swc-project/swc/issues/8684)) ([a5dbb17](https://togithub.com/swc-project/swc/commit/a5dbb17612327c66366086f99b44c6731d125ffc)) - **(es/lints)** Add `prefer-object-spread` rule ([#​8696](https://togithub.com/swc-project/swc/issues/8696)) ([aa9297b](https://togithub.com/swc-project/swc/commit/aa9297b42e001f6b7319881870f6012a56c50aef)) ##### Refactor - **(es)** Prepare `wasm32-wasi-preview1-threads` target support ([#​8724](https://togithub.com/swc-project/swc/issues/8724)) ([e3acd14](https://togithub.com/swc-project/swc/commit/e3acd1476c2428e5329a359bb7323687c06108d2)) ### [`v1.4.6`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#146---2024-03-08) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.5...v1.4.6) ##### Bug Fixes - **(es/minifier)** Do not drop used properties ([#​8703](https://togithub.com/swc-project/swc/issues/8703)) ([6069217](https://togithub.com/swc-project/swc/commit/606921700ee9fdb3747a8b54bb851e1d0df27484)) ##### Performance - **(es)** Do not create tokio runtime if not required ([#​8711](https://togithub.com/swc-project/swc/issues/8711)) ([9a1f04f](https://togithub.com/swc-project/swc/commit/9a1f04f4269f65df845897d2fb61449985bdd821)) ### [`v1.4.5`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#145---2024-03-06) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.4...v1.4.5) ##### Bug Fixes - **(es/module)** Fix relativeness check for `jsc.paths` ([#​8702](https://togithub.com/swc-project/swc/issues/8702)) ([d37125f](https://togithub.com/swc-project/swc/commit/d37125fb8ea23eb7b7fae09835c92f548fa5f0ab)) ##### Features - **(es/parser)** Support Regular Expression `v` flag ([#​8690](https://togithub.com/swc-project/swc/issues/8690)) ([4ce39eb](https://togithub.com/swc-project/swc/commit/4ce39ebf32d79982a31458b7b70d9fecde40cd35)) ### [`v1.4.4`](https://togithub.com/swc-project/swc/compare/v1.4.2...v1.4.4) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.2...v1.4.4) ### [`v1.4.2`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#142---2024-02-19) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.1...v1.4.2) ##### Bug Fixes - **(es/helpers)** Add `addInitializer` to field decorators ([#​8619](https://togithub.com/swc-project/swc/issues/8619)) ([cd38ef3](https://togithub.com/swc-project/swc/commit/cd38ef39d6a3b3f1e31d5144e2e8c11bd9144239)) - **(es/minifier)** Abort property hoister on `this` usage ([#​8647](https://togithub.com/swc-project/swc/issues/8647)) ([9715320](https://togithub.com/swc-project/swc/commit/97153206ad07c98e6f8f4f0a62b1f52eecbdf847)) - **(es/react)** Validate pragma before parsing ([#​8637](https://togithub.com/swc-project/swc/issues/8637)) ([5f1cf01](https://togithub.com/swc-project/swc/commit/5f1cf018237d12f786fc6deee48cae5d7d3d77de)) - **(es/typescript)** Handle exported JSX members ([#​8642](https://togithub.com/swc-project/swc/issues/8642)) ([22c8e2e](https://togithub.com/swc-project/swc/commit/22c8e2e1e9914ed161482dea9e63cd34504b6cbd)) ##### Features - **(es/minifier)** Remove unused parameters of arrow functions ([#​8636](https://togithub.com/swc-project/swc/issues/8636)) ([8cd4813](https://togithub.com/swc-project/swc/commit/8cd481306755fb8cd2436dabceb06ea7cbccbb78)) - **(swc_core)** Expose ES linter ([#​8635](https://togithub.com/swc-project/swc/issues/8635)) ([762959c](https://togithub.com/swc-project/swc/commit/762959c72d08994c2ad7c4f43405e591cc6af6eb)) ##### Testing - **(es/parser)** Add a test for `<<` ([#​8634](https://togithub.com/swc-project/swc/issues/8634)) ([2c63b31](https://togithub.com/swc-project/swc/commit/2c63b3114382940e5fa96ddd32ed823a78657ec7)) - **(es/transforms)** Add a test for `reserved_words` pass ([#​8638](https://togithub.com/swc-project/swc/issues/8638)) ([a0b77e0](https://togithub.com/swc-project/swc/commit/a0b77e06645f27a2ffb9f0635b2fa4c8db2fe105)) ### [`v1.4.1`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#141---2024-02-13) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.0...v1.4.1) ##### Bug Fixes - **(binding/types)** Update typings for `options.envs` to match implementation ([#​8620](https://togithub.com/swc-project/swc/issues/8620)) ([2a115cf](https://togithub.com/swc-project/swc/commit/2a115cff716b3ac9216d03a4c88649fedff73850)) - **(es/compat)** Visit AssignExpr right branch in FnEnvHoister ([#​8633](https://togithub.com/swc-project/swc/issues/8633)) ([e5d6de0](https://togithub.com/swc-project/swc/commit/e5d6de0ea9fbab0e36791f59b58d6d2c76809ea5)) - **(es/decorators)** Do not insert duplicate constructors ([#​8631](https://togithub.com/swc-project/swc/issues/8631)) ([21a447f](https://togithub.com/swc-project/swc/commit/21a447f35a79cdad4721cdefea26da1d355d34d3)) - **(es/parser)** Set class property to `abstract` or `override` even in error states ([#​8610](https://togithub.com/swc-project/swc/issues/8610)) ([5a77306](https://togithub.com/swc-project/swc/commit/5a773061dbb8674d93fab46681492a7e08f95f2c)) - **(es/parser)** Fix parsing of dynamic source phase imports ([#​8611](https://togithub.com/swc-project/swc/issues/8611)) ([7d724d8](https://togithub.com/swc-project/swc/commit/7d724d8ea3d222721ddc1c2913771c3367b6f689)) - **(es/parser)** Rescan `<<` as `<` when parsing type args ([#​8607](https://togithub.com/swc-project/swc/issues/8607)) ([9e6dad9](https://togithub.com/swc-project/swc/commit/9e6dad9baf900b44591c97c5467494c893f02661)) - **(es/parser)** Fix detection of `use strict` directive ([#​8617](https://togithub.com/swc-project/swc/issues/8617)) ([95236e9](https://togithub.com/swc-project/swc/commit/95236e9abe546c455222a775f9648e82543dfaed)) - **(es/plugin)** Fix schema version issue ([#​8621](https://togithub.com/swc-project/swc/issues/8621)) ([132be95](https://togithub.com/swc-project/swc/commit/132be951733660654b5c0992e19b5f3d414e7350)) - **(es/quote)** Allow variables typed `AssignTarget` ([#​8602](https://togithub.com/swc-project/swc/issues/8602)) ([6a48be4](https://togithub.com/swc-project/swc/commit/6a48be4b6b91c71687c2edc1cf9db9538d9f5650)) - **(es/quote)** Support `AssignTarget`, really ([#​8603](https://togithub.com/swc-project/swc/issues/8603)) ([ef91661](https://togithub.com/swc-project/swc/commit/ef916614f1b714bc765721fd7a35a4a471ac6811)) - **(es/quote)** Fix code generation of `AssignTarget` ([#​8604](https://togithub.com/swc-project/swc/issues/8604)) ([16e9d4c](https://togithub.com/swc-project/swc/commit/16e9d4ca31561caf4fb2a5182337eae78395dbe6)) ##### Features - **(es/minifier)** Implement correct `hoist_props` ([#​8593](https://togithub.com/swc-project/swc/issues/8593)) ([3122e94](https://togithub.com/swc-project/swc/commit/3122e944a8a1720584b43c7f0c4db3508f0cf915)) ##### Miscellaneous Tasks - **(config)** Remove an empty file in `swc_config` ([#​8609](https://togithub.com/swc-project/swc/issues/8609)) ([d87fef0](https://togithub.com/swc-project/swc/commit/d87fef0fea661b3a50e43af85c12db98e978bc82)) - **(preset-env)** Update `browserslist-rs` ([#​8614](https://togithub.com/swc-project/swc/issues/8614)) ([e5585e9](https://togithub.com/swc-project/swc/commit/e5585e99f120eb7c76625d90961fd6e4f12579e5)) ##### Refactor - **(bindings)** Remove bindings for experimental packages ([#​8600](https://togithub.com/swc-project/swc/issues/8600)) ([6c50ff1](https://togithub.com/swc-project/swc/commit/6c50ff1bec9c49d0883016d0b2c0cfa3941290c7)) ##### Testing - **(es)** Update `tsc` conformance test suite ([#​8615](https://togithub.com/swc-project/swc/issues/8615)) ([c0beba7](https://togithub.com/swc-project/swc/commit/c0beba7708f88320617d02ce68f079bbe0252075)) - Update `@swc/plguin-jest` used for plugin e2e testing ([#​8601](https://togithub.com/swc-project/swc/issues/8601)) ([95fe3db](https://togithub.com/swc-project/swc/commit/95fe3dbe931ec42a456fceb2d583d6a04e33edd6)) ##### Build - **(cargo)** Update `rustc` to `nightly-2024-02-06` ([#​8618](https://togithub.com/swc-project/swc/issues/8618)) ([6726b63](https://togithub.com/swc-project/swc/commit/6726b631e68cf7f14612e046c8cf057411e4a3c2)) - **(plugin)** Update `wasmer` to `v4.2.5` ([#​8624](https://togithub.com/swc-project/swc/issues/8624)) ([4e0d240](https://togithub.com/swc-project/swc/commit/4e0d24089588da8952c6986f1bfcc47bcd9f84a2))

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

xbaun commented 7 months ago

@magic-akari Can you please update swc_core by merging this PR? I have an error with the newest swc package, like the last time https://github.com/swc-project/swc/issues/8613

thread '<unnamed>' panicked at 'called `Result::unwrap()` on an `Err` value: LayoutError', /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/rkyv-0.7.42/src/impls/core/mod.rs:266:67
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread '<unnamed>' panicked at /Users/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/swc-0.273.21/src/plugin.rs:166:14: