Closed renovate[bot] closed 2 weeks ago
This PR contains the following updates:
1.6.13
1.8.0
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
This PR contains the following updates:
1.6.13
->1.8.0
Release Notes
swc-project/swc (@swc/core)
### [`v1.8.0`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#180---2024-11-04) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.42...v1.8.0) ##### Bug Fixes - **(es/typescript)** Handle multiline type parameters in async arrow functions ([#9704](https://redirect.github.com/swc-project/swc/issues/9704)) ([c5ed19c](https://redirect.github.com/swc-project/swc/commit/c5ed19c710fd32f5c23b2d85ff8f30cb09f58899)) - **(es/typescript)** Handle ASI hazards in fast type strip ([#9707](https://redirect.github.com/swc-project/swc/issues/9707)) ([c135f71](https://redirect.github.com/swc-project/swc/commit/c135f718ed933fcd9eb6e5e5ea9accc0179cf333)) ##### Features - **(es)** Add `es2023` and `es2024` to `EsVersion` ([#9700](https://redirect.github.com/swc-project/swc/issues/9700)) ([5a6f0e6](https://redirect.github.com/swc-project/swc/commit/5a6f0e644ebd515c9de69f8efa0e2b5c79944a1d)) - **(es/plugin)** Introduce `manual-tokio-runtmie` to `swc` crate ([#9701](https://redirect.github.com/swc-project/swc/issues/9701)) ([97298c4](https://redirect.github.com/swc-project/swc/commit/97298c4e36318674f82343b9cde2d938265ea3d8)) ##### Performance - **(common)** Make character analysis lazy ([#9696](https://redirect.github.com/swc-project/swc/issues/9696)) ([1c3eaf6](https://redirect.github.com/swc-project/swc/commit/1c3eaf684a40a22b09779db39cf68986e69147f1)) - **(es/renamer)** Modify parallel renaming threshold ([#9706](https://redirect.github.com/swc-project/swc/issues/9706)) ([91a9106](https://redirect.github.com/swc-project/swc/commit/91a9106624f999951b9eb0f424faedb131a4297a)) ### [`v1.7.42`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1742---2024-10-31) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.40...v1.7.42) ##### Bug Fixes - **(es/generator)** Fix code generation for `break` in nested while ([#9684](https://redirect.github.com/swc-project/swc/issues/9684)) ([65872af](https://redirect.github.com/swc-project/swc/commit/65872afaf151412be5f14820080325b920901bfb)) - **(es/parser)** Parse `await using()` call ([#9693](https://redirect.github.com/swc-project/swc/issues/9693)) ([bcf05de](https://redirect.github.com/swc-project/swc/commit/bcf05de2ebe755a54ec8a6b93311b1686494c578)) - **(es/resolver)** Skip resolving lowercase `JSXIdentifiers` ([#9686](https://redirect.github.com/swc-project/swc/issues/9686)) ([6ed1715](https://redirect.github.com/swc-project/swc/commit/6ed1715b93875cd4588352a784ed876bf183df5d)) - **(es/types)** Add `jsc.experimental.keepImportAssertions` to types ([#9691](https://redirect.github.com/swc-project/swc/issues/9691)) ([4b4dcfa](https://redirect.github.com/swc-project/swc/commit/4b4dcfa4d8532c84762b19737b66474e97480cef)) ##### Features - **(es/minifier)** Optimize switch with side effect and termination tests ([#9677](https://redirect.github.com/swc-project/swc/issues/9677)) ([7344a63](https://redirect.github.com/swc-project/swc/commit/7344a638b55d483571ab4b35edf56f7088de792b)) - **(es/parser)** Ability to get script's potential module errors ([#9682](https://redirect.github.com/swc-project/swc/issues/9682)) ([2bbd1e8](https://redirect.github.com/swc-project/swc/commit/2bbd1e8485ca7c152d408cc34cd51460467171a7)) ##### Miscellaneous Tasks - **(deps)** Update cargo (patch) ([#9607](https://redirect.github.com/swc-project/swc/issues/9607)) ([3597b0f](https://redirect.github.com/swc-project/swc/commit/3597b0f53d060b09b7e878e9c825321f053d189e)) ##### Performance - **(es)** Cache `current_dir()` system calls ([#9683](https://redirect.github.com/swc-project/swc/issues/9683)) ([7aab945](https://redirect.github.com/swc-project/swc/commit/7aab945a2199be06e20a35ec0d197fc817a48d9d)) - **(es/lints)** Disable lints by default ([#9689](https://redirect.github.com/swc-project/swc/issues/9689)) ([4d887d0](https://redirect.github.com/swc-project/swc/commit/4d887d062b299b42b1a6529dfac5f22c3fd49903)) - **(visit)** Introduce `Pass` API and adjust visitor APIs for it ([#9680](https://redirect.github.com/swc-project/swc/issues/9680)) ([581aafb](https://redirect.github.com/swc-project/swc/commit/581aafb4dfbbcf9b834e3b578cad83fec452a062)) ### [`v1.7.40`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1740---2024-10-26) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.39...v1.7.40) ##### Bug Fixes - **(bindings)** Update napi to handle string with `\0` ([#9665](https://redirect.github.com/swc-project/swc/issues/9665)) ([8f45eaf](https://redirect.github.com/swc-project/swc/commit/8f45eaf837d023847c478e562265e141213ce231)) - **(bindings/node)** Add `VisitTsPropertySignature` ([#9670](https://redirect.github.com/swc-project/swc/issues/9670)) ([715c42c](https://redirect.github.com/swc-project/swc/commit/715c42c0bfe699d822a7e9ea18751d35aac3235d)) - **(es/codegen)** Improve EndsWithAlphaNum ([#9675](https://redirect.github.com/swc-project/swc/issues/9675)) ([ba2a942](https://redirect.github.com/swc-project/swc/commit/ba2a942f56776e6927b48cfd185d8720052b7409)) - **(es/renamer)** Check `preserved` in normal renaming mode ([#9666](https://redirect.github.com/swc-project/swc/issues/9666)) ([87b4e10](https://redirect.github.com/swc-project/swc/commit/87b4e10e5dbeb236ee5232d85d3176472fa4a9d0)) - **(typescript)** Check whether the method is abstract when checking `is_overload` ([#9678](https://redirect.github.com/swc-project/swc/issues/9678)) ([78500af](https://redirect.github.com/swc-project/swc/commit/78500af546ea3c92f016c729e173c66fccbe46ed)) ##### Documentation - **(contributing)** Document changeset ([#9667](https://redirect.github.com/swc-project/swc/issues/9667)) ([602c667](https://redirect.github.com/swc-project/swc/commit/602c667b9d435fa9155345952379287cb11e59db)) ##### Miscellaneous Tasks - **(deps)** Update dependency swc-plugin-coverage-instrument to ^0.0.25 ([#9676](https://redirect.github.com/swc-project/swc/issues/9676)) ([b8d255b](https://redirect.github.com/swc-project/swc/commit/b8d255bf5aa65a5589331b0924269a23b3052137)) ### [`v1.7.39`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1739---2024-10-22) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.36...v1.7.39) ##### Bug Fixes - **(es/compat)** Add missing visit children for `destructuring` ([#9658](https://redirect.github.com/swc-project/swc/issues/9658)) ([32116a0](https://redirect.github.com/swc-project/swc/commit/32116a0940a5806d8ad291b5fd6d056709a396bc)) - **(es/parser)** Correct `>` and `<` when exit type context ([#9653](https://redirect.github.com/swc-project/swc/issues/9653)) ([abffc07](https://redirect.github.com/swc-project/swc/commit/abffc073561b3ba3906aa0923ef3880e5e30d538)) - **(es/proposal)** Use `tsc` version of explicit resource management ([#9585](https://redirect.github.com/swc-project/swc/issues/9585)) ([f735108](https://redirect.github.com/swc-project/swc/commit/f7351080174c61bad5950be9b30c75c4f17ebe3e)) - **(wasm-typescript)** Fix option types of functions ([#9662](https://redirect.github.com/swc-project/swc/issues/9662)) ([4cbe33c](https://redirect.github.com/swc-project/swc/commit/4cbe33c32f244e9c568d388f19c0f297bf3d74f1)) ##### Features - **(es/minifier)** Implement optional catch binding ([#9657](https://redirect.github.com/swc-project/swc/issues/9657)) ([f70b842](https://redirect.github.com/swc-project/swc/commit/f70b842c5579c945fcd6357edb712507228f5eb5)) ##### Miscellaneous Tasks - **(es/typescript)** Improve enum comments and sourcemap ([#9652](https://redirect.github.com/swc-project/swc/issues/9652)) ([31fe3b6](https://redirect.github.com/swc-project/swc/commit/31fe3b6be151cbf63fe1ff06f922f814da105d08)) ### [`v1.7.36`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1736---2024-10-15) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.35...v1.7.36) ##### Bug Fixes - **(es)** Run esnext transforms on esnext target ([#9644](https://redirect.github.com/swc-project/swc/issues/9644)) ([8a19201](https://redirect.github.com/swc-project/swc/commit/8a192018247ad7ac253c2964038de5f626acb8c4)) - **(es/codegen)** Emit space after div if rhs has leading comment ([#9631](https://redirect.github.com/swc-project/swc/issues/9631)) ([f2be26e](https://redirect.github.com/swc-project/swc/commit/f2be26efe090f5c1575f5bb9e4067f7ae531f11c)) - **(es/lints)** Correct the false positive error of TS2309 ([#9635](https://redirect.github.com/swc-project/swc/issues/9635)) ([f74c1f3](https://redirect.github.com/swc-project/swc/commit/f74c1f3e5a117c22aa87a2754715066cb8dfe0fe)) - **(es/minifier)** Only merge last if return ([#9633](https://redirect.github.com/swc-project/swc/issues/9633)) ([6f52949](https://redirect.github.com/swc-project/swc/commit/6f52949210ee2a71ed119cbcdf2db1842a2e63cb)) - **(es/minifier)** Check type of assignment target before merging assignments ([#9617](https://redirect.github.com/swc-project/swc/issues/9617)) ([4436621](https://redirect.github.com/swc-project/swc/commit/44366215644f3fff2f897e509a56b36cb5e1f8a2)) ##### Features - **(es)** Introduce `runPluginFirst` for Wasm plugins ([#9645](https://redirect.github.com/swc-project/swc/issues/9645)) ([3d3e434](https://redirect.github.com/swc-project/swc/commit/3d3e4340b33e124f551ee88b68bfaddb537a3c6a)) - **(es/minifier)** Support unary negate in `cast_to_number` ([#9642](https://redirect.github.com/swc-project/swc/issues/9642)) ([88a2186](https://redirect.github.com/swc-project/swc/commit/88a2186ba419c98c73b997ca9ea90d7a8fd128e4)) ##### Miscellaneous Tasks - **(deps)** Update dependency magic-string to v0.30.12 ([#9634](https://redirect.github.com/swc-project/swc/issues/9634)) ([085bc19](https://redirect.github.com/swc-project/swc/commit/085bc191e46d4d46efc3d4a7cd5fc1240c8474dd)) ### [`v1.7.35`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1735---2024-10-10) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.28...v1.7.35) ##### Bug Fixes - **(ci)** Fix target triples ([#9622](https://redirect.github.com/swc-project/swc/issues/9622)) ([f625035](https://redirect.github.com/swc-project/swc/commit/f625035f8a21eb6d2bc487669a534257f3ef7c7c)) - **(es/codegen)** Fix source map so it works with Sentry ([#9627](https://redirect.github.com/swc-project/swc/issues/9627)) ([9c90a73](https://redirect.github.com/swc-project/swc/commit/9c90a733691e9a15bc1c4182edabcefa8054e9d3)) - **(es/minifier)** Compress consecutive return statements properly ([#9620](https://redirect.github.com/swc-project/swc/issues/9620)) ([8263da1](https://redirect.github.com/swc-project/swc/commit/8263da17664cc7cb5d49e1a8e9fbca8037fe991f)) - **(es/module)** Allow TypeScript nodes for `Rewriter` ([#9606](https://redirect.github.com/swc-project/swc/issues/9606)) ([4ee45ac](https://redirect.github.com/swc-project/swc/commit/4ee45ac1fd10da1ea982a152a458deb9f5359998)) - **(es/testing)** Revert [#9264](https://redirect.github.com/swc-project/swc/issues/9264) ([#9621](https://redirect.github.com/swc-project/swc/issues/9621)) ([85f5e5b](https://redirect.github.com/swc-project/swc/commit/85f5e5b955f65ad6b21b9f4aee5b8dacd8a71e93)) - **(html/minifier)** Fix HTML minifier TS types ([#9615](https://redirect.github.com/swc-project/swc/issues/9615)) ([7b98bb5](https://redirect.github.com/swc-project/swc/commit/7b98bb5e93b132fa14af27b1eadbcf38f0bbcb62)) ##### Features - **(bindings/html)** Accept `Buffer|string` instead of `Buffer` ([#9625](https://redirect.github.com/swc-project/swc/issues/9625)) ([62edb36](https://redirect.github.com/swc-project/swc/commit/62edb3628b26036cdc767b31d59e109c3970497c)) - **(es/preset-env)** Update preset-env data ([#9573](https://redirect.github.com/swc-project/swc/issues/9573)) ([9a11d34](https://redirect.github.com/swc-project/swc/commit/9a11d34ee569f64e8db02fc90beacbba0f2de0cf)) - **(es/testing)** Parse test code as a `Program` instead of a `Module` ([#9264](https://redirect.github.com/swc-project/swc/issues/9264)) ([166b858](https://redirect.github.com/swc-project/swc/commit/166b8581c226b127f5d503cd21c22c0a3a8c675c)) - **(es/testing)** Parse test code as a `Program` instead of a `Module` ([#9623](https://redirect.github.com/swc-project/swc/issues/9623)) ([bfea322](https://redirect.github.com/swc-project/swc/commit/bfea3223515e378c3ebe669f4a9012919f4f9547)) ##### Miscellaneous Tasks - **(atoms)** Update `hstr` ([#9612](https://redirect.github.com/swc-project/swc/issues/9612)) ([e2e9a9c](https://redirect.github.com/swc-project/swc/commit/e2e9a9ccfce75e69546c54fc88a708b4e1dda13b)) ##### Performance - **(es)** Avoid needless string comparisons ([#9613](https://redirect.github.com/swc-project/swc/issues/9613)) ([ec0a62c](https://redirect.github.com/swc-project/swc/commit/ec0a62cbc5c9a20f02d1c558ff2708e7367922a9)) - **(es/codegen)** Reduce usage of `tracing::instrument` ([#9604](https://redirect.github.com/swc-project/swc/issues/9604)) ([2f06fc5](https://redirect.github.com/swc-project/swc/commit/2f06fc559c8e200ea89133b8b30045f970ffc20b)) - **(es/transforms)** Copy benchmarks from `oxc` ([#9602](https://redirect.github.com/swc-project/swc/issues/9602)) ([24c3a0c](https://redirect.github.com/swc-project/swc/commit/24c3a0ce138bacbf12b4660862ccfe9e3d19bdd9)) - **(es/typescript)** Reduce unnecessary visits ([#9605](https://redirect.github.com/swc-project/swc/issues/9605)) ([866af6c](https://redirect.github.com/swc-project/swc/commit/866af6c9478b92cd6be780c515ddd51d2db90ac3)) ##### Refactor - **(es/typescript)** Simplifying enum and namespace transforms ([#9558](https://redirect.github.com/swc-project/swc/issues/9558)) ([2480bb0](https://redirect.github.com/swc-project/swc/commit/2480bb00fc71d588af506eb18f33afa56622361f)) ##### Build - Update `rustc` to `nightly-2024-10-07` ([#9624](https://redirect.github.com/swc-project/swc/issues/9624)) ([6a3b0fc](https://redirect.github.com/swc-project/swc/commit/6a3b0fc1660cba4310880881f21e3bf81aceac0d)) ### [`v1.7.28`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1728---2024-09-24) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.26...v1.7.28) ##### Bug Fixes - **(ast)** Add `archive(check_bytes)` to all relevant AST types ([#9574](https://redirect.github.com/swc-project/swc/issues/9574)) ([185d6f5](https://redirect.github.com/swc-project/swc/commit/185d6f55b35f4f8323035c1199cddb9dd547f254)) - **(cli)** Exclude non-files from get_files_list ([#9560](https://redirect.github.com/swc-project/swc/issues/9560)) ([85cc2bd](https://redirect.github.com/swc-project/swc/commit/85cc2bd79c3193cb0a8b54e4fce0efc1aa15b271)) - **(es/codegen)** Fix wrong sourcemap when there are new lines in tpl ([#9578](https://redirect.github.com/swc-project/swc/issues/9578)) ([cf74382](https://redirect.github.com/swc-project/swc/commit/cf74382ba0429c0d4f04428889cf53a5231fad7f)) - **(es/compat)** Skip `getter` and `setter` as FlowHelper `function` do ([#9580](https://redirect.github.com/swc-project/swc/issues/9580)) ([14cfd70](https://redirect.github.com/swc-project/swc/commit/14cfd70ee00938497ce6b59f68332f9daa17378b)) - **(es/isolated-dts)** Preserve comments ([#9572](https://redirect.github.com/swc-project/swc/issues/9572)) ([6d15d9c](https://redirect.github.com/swc-project/swc/commit/6d15d9c2eb4397b15908cda38f2e44e02d81ebc1)) - **(es/minifier)** Avoid decl name when mangle with eval ([#9546](https://redirect.github.com/swc-project/swc/issues/9546)) ([e2242c4](https://redirect.github.com/swc-project/swc/commit/e2242c41c4d648a32119eb8141dd9990b2c8c468)) - **(es/minifier)** Check variable type while optimizing `+=` ([#9575](https://redirect.github.com/swc-project/swc/issues/9575)) ([04016e9](https://redirect.github.com/swc-project/swc/commit/04016e9687c5f02e764ffc9d7be2432d16da5dc0)) - **(es/module)** Rewrite import specifier in type declaration ([#9577](https://redirect.github.com/swc-project/swc/issues/9577)) ([fc0ba2a](https://redirect.github.com/swc-project/swc/commit/fc0ba2a08408b90f7d799cd5707dfa6827334085)) - **(plugin)** Don't panic when ast byte not match ([#9562](https://redirect.github.com/swc-project/swc/issues/9562)) ([c36871a](https://redirect.github.com/swc-project/swc/commit/c36871a84826cc125c3c10a78ee2d7a435373154)) ##### Miscellaneous Tasks - **(es)** Update `wasmer` to `v4.3.7` ([#9557](https://redirect.github.com/swc-project/swc/issues/9557)) ([190d6f0](https://redirect.github.com/swc-project/swc/commit/190d6f06d9545e4206bdb53c0f1ba2d443a5a7ab)) ##### Testing - **(es)** Add tests for arm64 windows ([#9547](https://redirect.github.com/swc-project/swc/issues/9547)) ([9dd8f6f](https://redirect.github.com/swc-project/swc/commit/9dd8f6facf29817902ddf55ec0388061585cbf7d)) ### [`v1.7.26`](https://redirect.github.com/swc-project/swc/compare/v1.7.25...v1.7.26) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.25...v1.7.26) ### [`v1.7.25`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1725---2024-09-11) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.24...v1.7.25) ##### Bug Fixes - **(es/codegen)** Handle minify number ([#9541](https://redirect.github.com/swc-project/swc/issues/9541)) ([8b1e442](https://redirect.github.com/swc-project/swc/commit/8b1e4428a3324dea76ba480a6d4cddf3865e41e8)) - **(es/codegen)** Ensure decorators are emitted first in TS paramters ([#9545](https://redirect.github.com/swc-project/swc/issues/9545)) ([47ef38d](https://redirect.github.com/swc-project/swc/commit/47ef38dc1d53918604481fd078c76554b012a82b)) ##### Features - **(es/common)** Introduce pure `Span` and `BytePos` to handle `#__PURE__` ([#9539](https://redirect.github.com/swc-project/swc/issues/9539)) ([f63a481](https://redirect.github.com/swc-project/swc/commit/f63a481833ebe9b5eae0708ee69b6a50b946ee28)) ##### Miscellaneous Tasks - **(bindings/node)** Fix type definition ([64ec111](https://redirect.github.com/swc-project/swc/commit/64ec1117697029895284e248d79698f802cf1aa8)) ### [`v1.7.24`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1724---2024-09-08) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.23...v1.7.24) ##### Bug Fixes - **(es/compat)** Handle label block in constructor ([#9528](https://redirect.github.com/swc-project/swc/issues/9528)) ([c43dbad](https://redirect.github.com/swc-project/swc/commit/c43dbad028072396390029af44e31bc3292a342a)) - **(es/decorator)** Add support for private access expressions in legacy decorators ([#9535](https://redirect.github.com/swc-project/swc/issues/9535)) ([62ed065](https://redirect.github.com/swc-project/swc/commit/62ed0655e6d9be2f4a5c641a969b41b8c0e7f75a)) - **(es/minifier)** `typeof` class should be `function` ([#9522](https://redirect.github.com/swc-project/swc/issues/9522)) ([c7fdd6b](https://redirect.github.com/swc-project/swc/commit/c7fdd6b69b129a11465125d4e11a898326b7e884)) - **(es/minifier)** Prevent removing side effects from accessing getter ([#9530](https://redirect.github.com/swc-project/swc/issues/9530)) ([8513816](https://redirect.github.com/swc-project/swc/commit/8513816139c6ceef12a906b03c1bcf9471ce0b07)) - **(es/typescript)** Handle enum in single statement ([#9532](https://redirect.github.com/swc-project/swc/issues/9532)) ([84b0043](https://redirect.github.com/swc-project/swc/commit/84b004387ba8f4135659e1d1f54e59bf1941a57a)) ### [`v1.7.23`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1723---2024-09-02) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.22...v1.7.23) ##### Bug Fixes - **(es/minifier)** Fix name mangler ([#9524](https://redirect.github.com/swc-project/swc/issues/9524)) ([5fd68f9](https://redirect.github.com/swc-project/swc/commit/5fd68f9a3a9eeef0e61627a821c52ace69a89696)) ##### Performance - **(es/compat)** Reimplement constructor transform ([#9519](https://redirect.github.com/swc-project/swc/issues/9519)) ([4b85a92](https://redirect.github.com/swc-project/swc/commit/4b85a92170576f194c2b1ad3b3ec624c4839e215)) - **(es/utils)** Rewrite inject_after_super ([#9496](https://redirect.github.com/swc-project/swc/issues/9496)) ([c562cfa](https://redirect.github.com/swc-project/swc/commit/c562cfa8af1163a4946ef79cb025d461c7e2e5e0)) ### [`v1.7.22`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1722---2024-08-30) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.21...v1.7.22) ##### Bug Fixes - **(es/minifier)** Iterate object properties in reverse direction while inlining property access ([#9507](https://redirect.github.com/swc-project/swc/issues/9507)) ([f584ef7](https://redirect.github.com/swc-project/swc/commit/f584ef76d75e86da15d0725ac94be35a88a1c946)) ### [`v1.7.21`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1721---2024-08-28) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.19...v1.7.21) ##### Bug Fixes - **(es/typescript)** Preserve more comments ([#9509](https://redirect.github.com/swc-project/swc/issues/9509)) ([3e253ec](https://redirect.github.com/swc-project/swc/commit/3e253ecc21f2028437572093b42df97ef5fe505e)) ### [`v1.7.19`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1719---2024-08-28) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.18...v1.7.19) ##### Bug Fixes - **(es/minifier)** Track if a var is used with `in` ([#9508](https://redirect.github.com/swc-project/swc/issues/9508)) ([7d6269e](https://redirect.github.com/swc-project/swc/commit/7d6269e3b826524e340edf274a5e42b2a0ea058a)) ##### Features - **(es/minifier)** Support mangle cache ([#9489](https://redirect.github.com/swc-project/swc/issues/9489)) ([af922d8](https://redirect.github.com/swc-project/swc/commit/af922d83e58596021476006564edb6270069d437)) - **(plugin/runner)** Improve error message ([#9502](https://redirect.github.com/swc-project/swc/issues/9502)) ([da52930](https://redirect.github.com/swc-project/swc/commit/da529304fe23bcb1a15c25811f928ebf91207ef0)) ##### Miscellaneous Tasks - **(es/codegen)** Bump minimum required swc_allocator version to 0.1.8 ([#9492](https://redirect.github.com/swc-project/swc/issues/9492)) ([5258763](https://redirect.github.com/swc-project/swc/commit/5258763cf673e1684808bc2766ba6ee9c84642f1)) ##### Refactor - **(es/utils)** Unify `prepend_stmts` ([#9493](https://redirect.github.com/swc-project/swc/issues/9493)) ([faec8c1](https://redirect.github.com/swc-project/swc/commit/faec8c134d950d10a9f2dce0e5680d9230f87ceb)) ### [`v1.7.18`](https://redirect.github.com/swc-project/swc/compare/v1.7.14...v1.7.18) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.14...v1.7.18) ### [`v1.7.14`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1714---2024-08-19) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.12...v1.7.14) ##### Bug Fixes - **(common)** Use `SourceMap::adjust_mappings` in correct order ([#9447](https://redirect.github.com/swc-project/swc/issues/9447)) ([05961eb](https://redirect.github.com/swc-project/swc/commit/05961eb018e2e76ed5ef95de9bad923b2fe1df88)) - **(es)** Preserve more comments ([#9449](https://redirect.github.com/swc-project/swc/issues/9449)) ([673655c](https://redirect.github.com/swc-project/swc/commit/673655c1697ff1d507f7acbfa937cbf1f58eb1d9)) ##### Features - **(es/decorators)** Groundwork for stage 3 decorator ([#9450](https://redirect.github.com/swc-project/swc/issues/9450)) ([238ba8b](https://redirect.github.com/swc-project/swc/commit/238ba8b1d2220202129595185bd4411b9415cc99)) ##### Refactor - **(visit)** Remove `VisitAll` ([#9448](https://redirect.github.com/swc-project/swc/issues/9448)) ([8845b76](https://redirect.github.com/swc-project/swc/commit/8845b76ac40b36791c79618c5ee89f05d2d08c96)) ### [`v1.7.12`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1712---2024-08-19) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.11...v1.7.12) ##### Bug Fixes - **(common)** Do not use `adjust_mappings` from `sourcemap` crate ([#9437](https://redirect.github.com/swc-project/swc/issues/9437)) ([563c162](https://redirect.github.com/swc-project/swc/commit/563c162f1ca8904e7b9a61a0c79fad952a56d624)) - **(es)** Mark TypeScript nodes as reachable from `Evaluator` ([#9440](https://redirect.github.com/swc-project/swc/issues/9440)) ([308e5ec](https://redirect.github.com/swc-project/swc/commit/308e5ec81b4e6d49c5940f2d8914d8627f838141)) - **(es/compat)** Init this in sub class constructor for async ([#9446](https://redirect.github.com/swc-project/swc/issues/9446)) ([bfaf31b](https://redirect.github.com/swc-project/swc/commit/bfaf31bc4b90ff803457bfdafdbcef0318b76189)) - **(es/decorators)** Fix metadata for accessors ([#9444](https://redirect.github.com/swc-project/swc/issues/9444)) ([99738ef](https://redirect.github.com/swc-project/swc/commit/99738ef41233211d6e26de520c3817d395492d37)) ##### Miscellaneous Tasks - **(deps)** Update rust crate arrayvec to v0.7.6 ([#9436](https://redirect.github.com/swc-project/swc/issues/9436)) ([08dd948](https://redirect.github.com/swc-project/swc/commit/08dd948289006583c6f0f76850c08808651f9135)) ### [`v1.7.11`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1711---2024-08-14) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.10...v1.7.11) ##### Bug Fixes - **(es)** Improve sourcemap url error messages. ([#9422](https://redirect.github.com/swc-project/swc/issues/9422)) ([230d1d9](https://redirect.github.com/swc-project/swc/commit/230d1d98b91bde2fa0de54e5fe06e899302e481c)) - **(visit)** Fix regression of AST paths ([#9420](https://redirect.github.com/swc-project/swc/issues/9420)) ([9751518](https://redirect.github.com/swc-project/swc/commit/9751518a0aa1cbe07e2ad4db7a32b0c6cc342641)) ##### Features - **(es/typescript)** Add ` native_class_properties ` to skip reordering of class properties inits ([#9421](https://redirect.github.com/swc-project/swc/issues/9421)) ([d2929d1](https://redirect.github.com/swc-project/swc/commit/d2929d1ce61a00360cc0596441041571a958da23)) - **(estree/compat)** Remove dependency on `rayon` ([#9393](https://redirect.github.com/swc-project/swc/issues/9393)) ([34d1b27](https://redirect.github.com/swc-project/swc/commit/34d1b27251dab3f87dc3a39d245a3498b4c2b151)) - **(html/minifier)** Support using custom css minifier ([#9425](https://redirect.github.com/swc-project/swc/issues/9425)) ([970cc81](https://redirect.github.com/swc-project/swc/commit/970cc81033b4a616643be6625bdf8da99614ba98)) ##### Miscellaneous Tasks - **(bindings/node)** Deprecate `parse` ([#9419](https://redirect.github.com/swc-project/swc/issues/9419)) ([1bf467d](https://redirect.github.com/swc-project/swc/commit/1bf467d99fb72ebff42136e08d7f03d50872f64e)) - **(deps)** Update cargo (patch) ([#9405](https://redirect.github.com/swc-project/swc/issues/9405)) ([baf4928](https://redirect.github.com/swc-project/swc/commit/baf4928ce2964e659af5ca77cd899427a8c29f60)) - **(es/preset-env)** Update core js compat data ([#9407](https://redirect.github.com/swc-project/swc/issues/9407)) ([ce761cf](https://redirect.github.com/swc-project/swc/commit/ce761cf51571f70c9378b6b67759bac3af4f4f92)) - **(es/typescript)** Remove the workaround for wasm-bindgen ([#9428](https://redirect.github.com/swc-project/swc/issues/9428)) ([55f7268](https://redirect.github.com/swc-project/swc/commit/55f72687f69eae131c6ce08d6a449afaa7357667)) ### [`v1.7.10`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1710---2024-08-09) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.9...v1.7.10) ##### Bug Fixes - **(es/typescript)** Strip optional mark and definite mark ([#9411](https://redirect.github.com/swc-project/swc/issues/9411)) ([8c161a0](https://redirect.github.com/swc-project/swc/commit/8c161a003e741320434f31617bc2de98dd2c9a8f)) - **(es/typescript)** Strip exported default overload function declaration ([#9412](https://redirect.github.com/swc-project/swc/issues/9412)) ([b395f48](https://redirect.github.com/swc-project/swc/commit/b395f483d1e0cb43b1f96126c5c17f9a8c9d0d32)) - **(es/typescript)** Strip `this` param in getter/setter ([#9414](https://redirect.github.com/swc-project/swc/issues/9414)) ([442fb7b](https://redirect.github.com/swc-project/swc/commit/442fb7b48715597d62f8d09327f93acc66f2d1b8)) - **(es/typescript)** Update ts-strip type definition ([#9415](https://redirect.github.com/swc-project/swc/issues/9415)) ([165c8fa](https://redirect.github.com/swc-project/swc/commit/165c8facd42d756077fde99defe91ffe656aede8)) ### [`v1.7.9`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#179---2024-08-09) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.6...v1.7.9) ##### Bug Fixes - **(es/typescript)** Strip class modifiers ([#9399](https://redirect.github.com/swc-project/swc/issues/9399)) ([124e5ff](https://redirect.github.com/swc-project/swc/commit/124e5ffa7bcf26215a339450f6b40161dabbe5a4)) ### [`v1.7.6`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#176---2024-08-04) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.5...v1.7.6) ##### Bug Fixes - **(es/codegen)** Print the missing `abstract` in class expression ([#9372](https://redirect.github.com/swc-project/swc/issues/9372)) ([c2e3021](https://redirect.github.com/swc-project/swc/commit/c2e302127fc80970d4b5096c93e29c9ce76a2fe4)) - **(es/decorators)** Use correct class name reference ([#9375](https://redirect.github.com/swc-project/swc/issues/9375)) ([badd6a9](https://redirect.github.com/swc-project/swc/commit/badd6a9ede5bd511763515b3e62bd222f0860968)) - **(es/typescript)** Strip declare export in strip-only mode ([#9374](https://redirect.github.com/swc-project/swc/issues/9374)) ([c53cce4](https://redirect.github.com/swc-project/swc/commit/c53cce41da69ebb3cd9b464c001902d30bdd07ba)) ### [`v1.7.5`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#175---2024-08-02) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.4...v1.7.5) ##### Bug Fixes - **(common)** Fix `StringInput.end_pos` ([#9362](https://redirect.github.com/swc-project/swc/issues/9362)) ([5368e18](https://redirect.github.com/swc-project/swc/commit/5368e189ab5227a5cfdb53dc1105b787665a1c41)) - **(es/parser)** Fix span for unterminated block comments ([#9361](https://redirect.github.com/swc-project/swc/issues/9361)) ([dc1b87e](https://redirect.github.com/swc-project/swc/commit/dc1b87e43ea628791dab48993182ac43cf98c150)) - **(es/parser)** Make `UnterminatedBlockComment` stick to the EOF ([#9366](https://redirect.github.com/swc-project/swc/issues/9366)) ([4f0fc6e](https://redirect.github.com/swc-project/swc/commit/4f0fc6eb65c2b7f7e1e0041a9228a3b7dd7e695a)) - **(es/typescript)** Handle single type statement in if/for/while ([#9364](https://redirect.github.com/swc-project/swc/issues/9364)) ([2217730](https://redirect.github.com/swc-project/swc/commit/221773069b2069ded7eb475cb75a2daa1ec4a752)) - **(es/typescript)** Handle backtick in ASI issue ([#9367](https://redirect.github.com/swc-project/swc/issues/9367)) ([6f1716c](https://redirect.github.com/swc-project/swc/commit/6f1716c4aed447c3311e41603a6399d97540e1fb)) - **(es/typescript)** Analyze import chain ([#9369](https://redirect.github.com/swc-project/swc/issues/9369)) ([4f9116f](https://redirect.github.com/swc-project/swc/commit/4f9116f9259150df3fb3947c809c304809bf5764)) ##### Miscellaneous Tasks - **(deps)** Update rust crate toml to v0.8.19 ([#9360](https://redirect.github.com/swc-project/swc/issues/9360)) ([9cd51ce](https://redirect.github.com/swc-project/swc/commit/9cd51cebdf7e9dd25ebe5057cde63ce7ee0bd0c6)) ### [`v1.7.4`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#174---2024-07-31) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.3...v1.7.4) ##### Bug Fixes - **(es/codegen)** Emit question token for class methods ([#9342](https://redirect.github.com/swc-project/swc/issues/9342)) ([636585b](https://redirect.github.com/swc-project/swc/commit/636585b44d0f74f457b44766f8d6fda68bcc4c09)) - **(es/minifier)** Fix detection of `this` ([#9339](https://redirect.github.com/swc-project/swc/issues/9339)) ([77da7cf](https://redirect.github.com/swc-project/swc/commit/77da7cf24bad5064206ab3e6dc248012d08576cf)) - **(es/minifier)** Fix analysis of for-in/of ([#9340](https://redirect.github.com/swc-project/swc/issues/9340)) ([1454ab5](https://redirect.github.com/swc-project/swc/commit/1454ab54c112c25ca03cbb866aacbd41a16ee60a)) - **(es/minifier)** Preserve flags while dropping elements of `SeqExpr` ([#8907](https://redirect.github.com/swc-project/swc/issues/8907)) ([24e8798](https://redirect.github.com/swc-project/swc/commit/24e87985d4f4cf69a1d4a184d02195c62ded5a7e)) - **(es/typescript)** Fix ASI in expression for fast strip ([#9358](https://redirect.github.com/swc-project/swc/issues/9358)) ([3ee82e2](https://redirect.github.com/swc-project/swc/commit/3ee82e223fe0ce54ad892cc5b009f573d997c60e)) ##### Documentation - **(contributing)** Add warning for `test --all` ([#9338](https://redirect.github.com/swc-project/swc/issues/9338)) ([234bb97](https://redirect.github.com/swc-project/swc/commit/234bb974bc54e9c929fd4cf810bcecab36f760ba)) ##### Miscellaneous Tasks - **(deps)** Update rust crate toml to v0.8.16 ([#9327](https://redirect.github.com/swc-project/swc/issues/9327)) ([67aadfa](https://redirect.github.com/swc-project/swc/commit/67aadfa6c976c60a3a756a1b1fcdcf193d96c51f)) - **(deps)** Update dependency magic-string to v0.30.11 ([#9345](https://redirect.github.com/swc-project/swc/issues/9345)) ([ced06e2](https://redirect.github.com/swc-project/swc/commit/ced06e2da35952c7073fee8aa69cf1a21078cc12)) - **(deps)** Update rust crate toml to v0.8.17 ([#9349](https://redirect.github.com/swc-project/swc/issues/9349)) ([d5472cc](https://redirect.github.com/swc-project/swc/commit/d5472cc344fb4099af3887e6cc1cf8ec2869c33e)) ### [`v1.7.3`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#173---2024-07-27) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.2...v1.7.3) ##### Bug Fixes - **(es/decorators)** Fix TypeScript syntax assertion ([#9336](https://redirect.github.com/swc-project/swc/issues/9336)) ([acb3952](https://redirect.github.com/swc-project/swc/commit/acb3952ae324433c0049619d696f6c61bc9e475c)) ### [`v1.7.2`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#172---2024-07-25) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.1...v1.7.2) ##### Bug Fixes - **(es/ast)** Accept any case of EsVersion during deserialization ([#9329](https://redirect.github.com/swc-project/swc/issues/9329)) ([56da6be](https://redirect.github.com/swc-project/swc/commit/56da6be0e9ff9701f4e0dd5e2972539843cde1cf)) - **(es/typescrupt)** Fix ASI issue in fast ts strip ([#9332](https://redirect.github.com/swc-project/swc/issues/9332)) ([57146cf](https://redirect.github.com/swc-project/swc/commit/57146cf58acb43fb5fa526bfde206c4f147edc6d)) - **(swc_core)** Remove unused `preset_env` ([#9333](https://redirect.github.com/swc-project/swc/issues/9333)) ([75bc7bf](https://redirect.github.com/swc-project/swc/commit/75bc7bfb52f81050f863466ff595ece765ca4fcf)) ##### Documentation - **(bindings/wasm)** Document supported TypeScript version ([#9334](https://redirect.github.com/swc-project/swc/issues/9334)) ([66f31c0](https://redirect.github.com/swc-project/swc/commit/66f31c0af46dea60c51e4155a8887a5d2b441da3)) ### [`v1.7.1`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#171---2024-07-24) [Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.7.0...v1.7.1) ##### Bug Fixes - **(bindings/types)** Add missing mangle options ([#9298](https://redirect.github.com/swc-project/swc/issues/9298)) ([567f40d](https://redirect.github.com/swc-project/swc/commit/567f40d7973f25d554770d0138323f6dcfeb67c4)) - **(deps)** Update cargo (patch) ([#9317](https://redirect.github.com/swc-project/swc/issues/9317)) ([ea66e84](https://redirect.github.com/swc-project/swc/commit/ea66e849116aaa569a707ef03762344f0bc06cab)) - **(es/ast)** Make span of binding ident include type ann ([#9293](https://redirect.github.com/swc-project/swc/issues/9293)) ([2b32481](https://redirect.github.com/swc-project/swc/commit/2b324812acce58726292d3053ee7ba95e01a3436)) - **(es/minifier)** Support minifying JSX ([#9271](https://redirect.github.com/swc-project/swc/issues/9271)) ([9a6367b](https://redirect.github.com/swc-project/swc/commit/9a6367b0f661e500219aa3c17ca2ff037e498692)) - **(es/typescript)** Fix typings ([#9301](https://redirect.github.com/swc-project/swc/issues/9301)) ([27ca712](https://redirect.github.com/swc-project/swc/commit/27ca712812421ce7cef7770b1dde790080ce09ea)) - **(es/typescript)** Preserve type assertions ([#9328](https://redirect.github.com/swc-project/swc/issues/9328)) ([4d60f52](https://redirect.github.com/swc-project/swc/commit/4d60f528d1e7f3a1606cb2c288786491dbafbd5b)) - **(es/utils)** Use `$crate` for `quote_ident!()` ([#9309](https://redirect.github.com/swc-project/swc/issues/9309)) ([bdaaf47](https://redirect.github.com/swc-project/swc/commit/bdaaf47cb4fc0146485a567d48449116d0e67e98)) ##### Features - **(allocator)** Feature gate `nightly` via macros ([#9274](https://redirect.github.com/swc-project/swc/issues/9274)) ([a31fb58](https://redirect.github.com/swc-project/swc/commit/a31fb58399cc60ad5052d77b5accd560200a4f3d)) - **(allocator)** Add `maybe` types ([#9278](https://redirect.github.com/swc-project/swc/issues/9278)) ([a417ff4](https://redirect.github.com/swc-project/swc/commit/a417ff4d868b45a2157154e2334b8e1177c369e1)) - **(es/typescript)** Add esm build for fast ts strip ([#9286](https://redirect.github.com/swc-project/swc/issues/9286)) ([d10cb9f](https://redirect.github.com/swc-project/swc/commit/d10cb9ffa29033048d242fc3fb4a35ea5fb1bf16)) ##### Miscellaneous Tasks - **(deps)** Update actions ([#9311](https://redirect.github.com/swc-project/swc/issues/9311)) ([475432e](https://redirect.github.com/swc-project/swc/commit/475432e83aad0191b8ad23e503d9fbe1835be196)) - **(deps)** Update npm (patch) ([#9318](https://redirect.github.com/swc-project/swc/issues/9318)) ([9d983c3](https://redirect.github.com/swc-project/swc/commit/9d983c3864888c3402679ce5498f82e71899c210)) - **(deps)** Update `wasmer` to fix broken Windows build ([#9322](https://redirect.github.com/swc-project/swc/issues/9322)) ([a120faf](https://redirect.github.com/swc-project/swc/commit/a120faf84b178c666b9ac785d27f426f89d10ac6)) - **(deps)** Drop `atty` ([#9325](https://redirect.github.com/swc-project/swc/issues/9325)) ([831500e](https://redirect.github.com/swc-project/swc/commit/831500e24a25b454f496729242e5e5d54c01756a)) ##### Performance - **(allocator)** Use `std` instead of `allocator-api2` ([#9281](https://redirect.github.com/swc-project/swc/issues/9281)) ([88723db](https://redirect.github.com/swc-project/swc/commit/88723dbf19a402c6395d34b71a5a8a712b4bf1bc)) - **(es/codegen)** Use `VecConfiguration
📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.