Skip to content

Commit

Permalink
Update swc monorepo (#3268)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/cli](https://redirect.github.com/swc-project/pkgs) | [`0.5.1` -> `0.5.2`](https://renovatebot.com/diffs/npm/@swc%2fcli/0.3.12/0.5.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcli/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcli/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcli/0.3.12/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcli/0.3.12/0.5.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@swc/core](https://swc.rs) ([source](https://redirect.github.com/swc-project/swc)) | [`1.9.3` -> `1.10.0`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.4.16/1.10.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.4.16/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.4.16/1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
| [@swc/helpers](https://swc.rs) ([source](https://redirect.github.com/swc-project/swc)) | [`0.5.10` -> `0.5.15`](https://renovatebot.com/diffs/npm/@swc%2fhelpers/0.5.10/0.5.15) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fhelpers/0.5.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fhelpers/0.5.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fhelpers/0.5.10/0.5.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fhelpers/0.5.10/0.5.15?slim=true)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>swc-project/swc (@&#8203;swc/core)</summary>

### [`v1.10.0`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1100---2024-12-04)

[Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.9.3...v1.10.0)

##### Bug Fixes

-   **(es/codegen)** Use raw value for emitting JSX text ([#&#8203;9762](https://redirect.github.com/swc-project/swc/issues/9762)) ([b83c44f](https://redirect.github.com/swc-project/swc/commit/b83c44f4ad604edc30ec157aa8fb0d8755adb389))

-   **(es/compat)** Fix marker for inlined helpers ([#&#8203;9776](https://redirect.github.com/swc-project/swc/issues/9776)) ([f54ec2c](https://redirect.github.com/swc-project/swc/commit/f54ec2c5a0d36b4a43a0aef48e7c56e188795d6f))

-   **(es/minifier)** Drop `console` in optional chainings ([#&#8203;9759](https://redirect.github.com/swc-project/swc/issues/9759)) ([39271ad](https://redirect.github.com/swc-project/swc/commit/39271addde60d7b02167ce031bca4569e6d72bb8))

-   **(es/minifier)** Do not inline into the exact LHS ([#&#8203;9777](https://redirect.github.com/swc-project/swc/issues/9777)) ([985977b](https://redirect.github.com/swc-project/swc/commit/985977b750d458d0ccbdff8b2b779224a917a66b))

##### Features

-   **(es/minifier)** Support `preserve_annotations` of terser ([#&#8203;9775](https://redirect.github.com/swc-project/swc/issues/9775)) ([6e1c9fd](https://redirect.github.com/swc-project/swc/commit/6e1c9fde1f0c95a955a11c44474d6f4a57250c74))

-   **(typescript)** Align `isolatedDeclaration` implementation with tsc ([#&#8203;9715](https://redirect.github.com/swc-project/swc/issues/9715)) ([0adad25](https://redirect.github.com/swc-project/swc/commit/0adad25da123875c8cec2759004d8264237688f0))

-   Apply Wasm-breaking changes ([#&#8203;9771](https://redirect.github.com/swc-project/swc/issues/9771)) ([ed65eee](https://redirect.github.com/swc-project/swc/commit/ed65eee834a4f3ce4be1f6f57a5f76462f023c1e))

##### Miscellaneous Tasks

-   **(deps)** Update dependency magic-string to v0.30.13 ([#&#8203;9747](https://redirect.github.com/swc-project/swc/issues/9747)) ([fa80a1e](https://redirect.github.com/swc-project/swc/commit/fa80a1eb86cf4babe1d4912f28152d62f068cbbe))

-   **(deps)** Update dependency magic-string to v0.30.14 ([#&#8203;9764](https://redirect.github.com/swc-project/swc/issues/9764)) ([6e46a8b](https://redirect.github.com/swc-project/swc/commit/6e46a8b30076f9e8017a1d855093a5de9c329577))

##### Refactor

-   **(estree/compat)** Do not use nightly features ([#&#8203;9772](https://redirect.github.com/swc-project/swc/issues/9772)) ([0f12bbd](https://redirect.github.com/swc-project/swc/commit/0f12bbdcaeae3538cabe04db125ac5824da42bd5))

### [`v1.9.3`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#193---2024-11-22)

[Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.9.2...v1.9.3)

##### Bug Fixes

-   **([@&#8203;swc/types](https://redirect.github.com/swc/types))** Tsc build file ignored by npm ([#&#8203;9754](https://redirect.github.com/swc-project/swc/issues/9754)) ([14a5c1e](https://redirect.github.com/swc-project/swc/commit/14a5c1ebd233ab0e105a1affdf04d689446d80dc))

-   **(es)** Source map `super(...args)` calls in injected constructors ([#&#8203;9745](https://redirect.github.com/swc-project/swc/issues/9745)) ([35b0ca0](https://redirect.github.com/swc-project/swc/commit/35b0ca007147dea03e911795639c8b032a0fbd28))

-   **(es/plugin)** Migrate `swc plugin new` to use `.cargo/config.toml` ([#&#8203;9740](https://redirect.github.com/swc-project/swc/issues/9740)) ([4ffb21e](https://redirect.github.com/swc-project/swc/commit/4ffb21ebe6e40f85f8b7f78cd29b10965fe035b1))

-   **(es/resolver)** Ignore `VarDecl` with `declare: true` ([#&#8203;9734](https://redirect.github.com/swc-project/swc/issues/9734)) ([aa0f784](https://redirect.github.com/swc-project/swc/commit/aa0f784c7d38d106e65e6aae1f0a318f575a0f09))

##### Documentation

-   **(types)** Document `Assumptions` API ([#&#8203;9746](https://redirect.github.com/swc-project/swc/issues/9746)) ([cd4321c](https://redirect.github.com/swc-project/swc/commit/cd4321c88a97a9a6f9d0f972dcebe5e19a1326bb))

##### Features

-   **(plugin)** Bump `rkyv` to `v0.8.8` ([#&#8203;9730](https://redirect.github.com/swc-project/swc/issues/9730)) ([81ac77e](https://redirect.github.com/swc-project/swc/commit/81ac77e3ab399446a0962db1e92d8066b73b3b31))

-   **(plugin)** Update `wasmer` to `v5` ([#&#8203;9731](https://redirect.github.com/swc-project/swc/issues/9731)) ([9b74ccd](https://redirect.github.com/swc-project/swc/commit/9b74ccd92cf138d11790178f5817c89e44aa2deb))

-   **(visit)** Derive serde for `AstParentKind` ([#&#8203;9744](https://redirect.github.com/swc-project/swc/issues/9744)) ([e0fdd68](https://redirect.github.com/swc-project/swc/commit/e0fdd68183b9851050e1a03a903261275872044e))

##### Miscellaneous Tasks

-   **(bindings/node)** Format `binding.js` ([#&#8203;9738](https://redirect.github.com/swc-project/swc/issues/9738)) ([9f8c14f](https://redirect.github.com/swc-project/swc/commit/9f8c14f5f81ca66609fe2fbfdac4c970240702e4))

-   **(deps)** Update cargo (patch) ([#&#8203;9724](https://redirect.github.com/swc-project/swc/issues/9724)) ([da37439](https://redirect.github.com/swc-project/swc/commit/da37439d6b6aae31e2b21690476d93f12dc87bd3))

##### Performance

-   **(es/plugin)** Make `analyze_source_file` lazy, again ([#&#8203;9732](https://redirect.github.com/swc-project/swc/issues/9732)) ([c1d12d6](https://redirect.github.com/swc-project/swc/commit/c1d12d6e2a0ad1633652817ebea435eca404bbb8))

##### Refactor

-   **(es/compat)** Use special span instead of passing `static_blocks_mark` ([#&#8203;9725](https://redirect.github.com/swc-project/swc/issues/9725)) ([6ad0735](https://redirect.github.com/swc-project/swc/commit/6ad0735033b405c04e53c1e3c7ec56db4b8fcf93))

-   Delay Wasm-plugin breaking changes ([#&#8203;9735](https://redirect.github.com/swc-project/swc/issues/9735)) ([92faf5b](https://redirect.github.com/swc-project/swc/commit/92faf5b15df2ef5954f1a07c7376c04558efe181))

### [`v1.9.2`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#192---2024-11-11)

[Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.9.1...v1.9.2)

##### Bug Fixes

-   **(es)** Fix typo in feature name ([#&#8203;9721](https://redirect.github.com/swc-project/swc/issues/9721)) ([aff9de5](https://redirect.github.com/swc-project/swc/commit/aff9de5ea37d5d34d587b96b8044d08644936524))

##### Features

-   **(es/codegen)** Implement proper `inline_script` support ([#&#8203;9729](https://redirect.github.com/swc-project/swc/issues/9729)) ([e732a36](https://redirect.github.com/swc-project/swc/commit/e732a36373f0959a0653dc51a863230a9b3d8982))

### [`v1.9.1`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#191---2024-11-06)

[Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.9.0...v1.9.1)

##### Bug Fixes

-   **(es/codegen)** Fix `ends_with_alpha_num` ([#&#8203;9720](https://redirect.github.com/swc-project/swc/issues/9720)) ([569c799](https://redirect.github.com/swc-project/swc/commit/569c799c2e98f6104fdc4edb61a28d83f4c930eb))

### [`v1.9.0`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#190---2024-11-06)

[Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.8.0...v1.9.0)

##### Bug Fixes

-   **(es/minifier)** Avoid generating reserved mangling names ([#&#8203;9710](https://redirect.github.com/swc-project/swc/issues/9710)) ([b49317a](https://redirect.github.com/swc-project/swc/commit/b49317a40344c2c153044095f49d0a9e8a1ef3f3))

-   **(es/plugin)** Revert [#&#8203;9696](https://redirect.github.com/swc-project/swc/issues/9696) ([#&#8203;9717](https://redirect.github.com/swc-project/swc/issues/9717)) ([772f023](https://redirect.github.com/swc-project/swc/commit/772f023fd2f8bbcb336b0561a81621f0f1163622))

##### Features

-   **(typescript)** Port deno `isolatedDeclarations` updates ([#&#8203;9712](https://redirect.github.com/swc-project/swc/issues/9712)) ([6194044](https://redirect.github.com/swc-project/swc/commit/6194044b4293eec01415a1ef67541bf888c33099))

##### Miscellaneous Tasks

-   **(deps)** Update rust crate is-macro to v0.3.7 ([#&#8203;9713](https://redirect.github.com/swc-project/swc/issues/9713)) ([d48e6e8](https://redirect.github.com/swc-project/swc/commit/d48e6e838b303d97c22688706930107ace673560))

### [`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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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) ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;9665](https://redirect.github.com/swc-project/swc/issues/9665)) ([8f45eaf](https://redirect.github.com/swc-project/swc/commit/8f45eaf837d023847c478e562265e141213ce231))

-   **(bindings/node)** Add `VisitTsPropertySignature` ([#&#8203;9670](https://redirect.github.com/swc-project/swc/issues/9670)) ([715c42c](https://redirect.github.com/swc-project/swc/commit/715c42c0bfe699d822a7e9ea18751d35aac3235d))

-   **(es/codegen)** Improve EndsWithAlphaNum ([#&#8203;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 ([#&#8203;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` ([#&#8203;9678](https://redirect.github.com/swc-project/swc/issues/9678)) ([78500af](https://redirect.github.com/swc-project/swc/commit/78500af546ea3c92f016c729e173c66fccbe46ed))

##### Documentation

-   **(contributing)** Document changeset ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;9606](https://redirect.github.com/swc-project/swc/issues/9606)) ([4ee45ac](https://redirect.github.com/swc-project/swc/commit/4ee45ac1fd10da1ea982a152a458deb9f5359998))

-   **(es/testing)** Revert [#&#8203;9264](https://redirect.github.com/swc-project/swc/issues/9264) ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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` ([#&#8203;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` ([#&#8203;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` ([#&#8203;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 ([#&#8203;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` ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 `+=` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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__` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;9447](https://redirect.github.com/swc-project/swc/issues/9447)) ([05961eb](https://redirect.github.com/swc-project/swc/commit/05961eb018e2e76ed5ef95de9bad923b2fe1df88))

-   **(es)** Preserve more comments ([#&#8203;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 ([#&#8203;9450](https://redirect.github.com/swc-project/swc/issues/9450)) ([238ba8b](https://redirect.github.com/swc-project/swc/commit/238ba8b1d2220202129595185bd4411b9415cc99))

##### Refactor

-   **(visit)** Remove `VisitAll` ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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. ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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` ([#&#8203;9419](https://redirect.github.com/swc-project/swc/issues/9419)) ([1bf467d](https://redirect.github.com/swc-project/swc/commit/1bf467d99fb72ebff42136e08d7f03d50872f64e))

-   **(deps)** Update cargo (patch) ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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 ([#&#8203;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` ([#&#8203;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 ([#&#8203;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 ([#&#8203;9298](https://redirect.github.com/swc-project/swc/issues/9298)) ([567f40d](https://redirect.github.com/swc-project/swc/commit/567f40d7973f25d554770d0138323f6dcfeb67c4))

-   **(deps)** Update cargo (patch) ([#&#8203;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 ([#&#8203;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 ([#&#8203;9271](https://redirect.github.com/swc-project/swc/issues/9271)) ([9a6367b](https://redirect.github.com/swc-project/swc/commit/9a6367b0f661e500219aa3c17ca2ff037e498692))

-   **(es/typescript)** Fix typings ([#&#8203;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 ([#&#8203;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!()` ([#&#8203;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 ([#&#8203;9274](https://redirect.github.com/swc-project/swc/issues/9274)) ([a31fb58](https://redirect.github.com/swc-project/swc/commit/a31fb58399cc60ad5052d77b5accd560200a4f3d))

-   **(allocator)** Add `maybe` types ([#&#8203;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 ([#&#8203;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 ([#&#8203;9311](https://redirect.github.com/swc-project/swc/issues/9311)) ([475432e](https://redirect.github.com/swc-project/swc/commit/475432e83aad0191b8ad23e503d9fbe1835be196))

-   **(deps)** Update npm (patch) ([#&#8203;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 ([#&#8203;9322](https://redirect.github.com/swc-project/swc/issues/9322)) ([a120faf](https://redirect.github.com/swc-project/swc/commit/a120faf84b178c666b9ac785d27f426f89d10ac6))

-   **(deps)** Drop `atty` ([#&#8203;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` ([#&#8203;9281](https://redirect.github.com/swc-project/swc/issues/9281)) ([88723db](https://redirect.github.com/swc-project/swc/commit/88723dbf19a402c6395d34b71a5a8a712b4bf1bc))

-   **(es/codegen)** Use `Vec<T>` from `swc_allocator` ([#&#8203;9280](https://redirect.github.com/swc-project/swc/issues/9280)) ([c1cd0b9](https://redirect.github.com/swc-project/swc/commit/c1cd0b99c14b03c250f2d278f10480da733e0dfa))

-   **(es/codegen)** Optimize using `swc_allocator` ([#&#8203;9294](https://redirect.github.com/swc-project/swc/issues/9294)) ([07376c6](https://redirect.github.com/swc-project/swc/commit/07376c6fbbf7f945b673e4adf3f4d789c10c7781))

-   **(es/helpers)** Use `bool` instead of `AtomicBool` ([#&#8203;9321](https://redirect.github.com/swc-project/swc/issues/9321)) ([8107e98](https://redirect.github.com/swc-project/swc/commit/8107e985e13e73f408d569655119d0684c166f24))

-   **(es/minifier)** Pre-allocate collections ([#&#8203;9289](https://redirect.github.com/swc-project/swc/issues/9289)) ([76fe139](https://redirect.github.com/swc-project/swc/commit/76fe139334b64c9ba62a98dc5319523d21d633f4))

-   **(visit)** Modify `Box` and `Vec` in-place ([#&#8203;9291](https://redirect.github.com/swc-project/swc/issues/9291)) ([ae2ac05](https://redirect.github.com/swc-project/swc/commit/ae2ac05b94a6f9f6e56c26cde5c8b8e705739f1c))

-   **(visit)** Add `#[inline]` ([#&#8203;9302](https://redirect.github.com/swc-project/swc/issues/9302)) ([0b3dbb8](https://redirect.github.com/swc-project/swc/commit/0b3dbb893752952a0bc7ffc5ba9801291c65f019))

-   Enable LTO for benchmarks ([#&#8203;9279](https://redirect.github.com/swc-project/swc/issues/9279)) ([a3020b2](https://redirect.github.com/swc-project/swc/commit/a3020b2bc77d38fde772b98a14c80deb6c4a6911))

##### Refactor

-   Remove unused files ([#&#8203;9285](https://redirect.github.com/swc-project/swc/issues/9285)) ([33284c1](https://redirect.github.com/swc-project/swc/commit/33284c128ed233878b86ea5f660d9ccfc0f82c53))

##### Build

-   Update `rustc` to `nightly-2024-07-21` ([#&#8203;9319](https://redirect.github.com/swc-project/swc/issues/9319)) ([279ea91](https://redirect.github.com/swc-project/swc/commit/279ea910e001f0c7db8d06bc7a3c48e4d718fed9))

### [`v1.7.0`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#170---2024-07-18)

[Compare Source](https://redirect.github.com/swc-project/swc/compare/v1.6.13...v1.7.0)

##### Bug Fixes

-   **(allocator)** Fix allocator & add benchmark ([#&#8203;9234](https://redirect.github.com/swc-project/swc/issues/9234)) ([037dad5](https://redirect.github.com/swc-project/swc/commit/037dad52f44235590a0bcd5287d5118bca9da111))

-   **(allocator)** Remove wrong assertions and add tests ([#&#8203;9252](https://redirect.github.com/swc-project/swc/issues/9252)) ([d8e8b04](https://redirect.github.com/swc-project/swc/commit/d8e8b04cd877bcf00157eeee9b7af0b4244a1827))

-   **(ci)** Fix CI of \`peff ([#&#8203;9216](https://redirect.github.com/swc-project/swc/issues/9216)) ([602e0e5](https://redirect.github.com/swc-project/swc/commit/602e0e5aa14ecb3a7bc20bfe77aac2badaa54bb2))

-   **(es/codegen)** Fix codegen of large numeric literals ([#&#8203;9226](https://redirect.github.com/swc-project/swc/issues/9226)) ([fba79e6](https://redirect.github.com/swc-project/swc/commit/fba79e6f03da69a6ae721eabe4afeaaedc301816))

-   **(es/compat)** Consider only the variables used in the closure ([#&#8203;9151](https://redirect.github.com/swc-project/swc/issues/9151)) ([1357531](https://redirect.github.com/swc-project/swc/commit/1357531805d529b11848b02d1b59c010a02d272d))

-   **(es/compat)** Add support for destructuring with BigInts ([#&#8203;9215](https://redirect.github.com/swc-project/swc/issues/9215)) ([2cc7028](https://redirect.github.com/swc-project/swc/commit/2cc70287e0c5d87e0134990e629dad2bf544d867))

-   **(es/fixer)** Wrap `in` expr in for-in head ([#&#8203;9209](https://redirect.github.com/swc-project/swc/issues/9209)) ([5cd837f](https://redirect.github.com/swc-project/swc/commit/5cd837f39a68d28bbc02a21b715d6153fda78a8a))

-   **(es/minifier)** Fix case matching ([#&#8203;9208](https://redirect.github.com/swc-project/swc/issues/9208)) ([f81fa6e](https://redirect.github.com/swc-project/swc/commit/f81fa6e06335745ff6ab5f7956cecc38116b1343))

-   **(es/minifier)** Fix compress pow `NaN` ([#&#8203;9210](https://redirect.github.com/swc-project/swc/issues/9210)) ([2b361e6](https://redirect.github.com/swc-project/swc/commit/2b361e679a7c973177c44029dc85867f5261e902))

-   **(es/minifier)** Fix variable declaration in default branch ([#&#8203;9220](https://redirect.github.com/swc-project/swc/issues/9220)) ([a7c82bd](https://redirect.github.com/swc-project/swc/commit/a7c82bdfa98f6825143b7afba03d28d325e4a718))

-   **(es/minifier)** Check `this` in function params ([#&#8203;9229](https://redirect.github.com/swc-project/swc/issues/9229)) ([da4866d](https://redirect.github.com/swc-project/swc/commit/da4866d13b3372ca83b83fdccf6ae42dd00d6ba9))

-   **(es/minifier)** Remove optimization for array pattern ([#&#8203;9241](https://redirect.github.com/swc-project/swc/issues/9241)) ([521161e](https://redirect.github.com/swc-project/swc/commit/521161e17009e2025ed9b042579f8cd055e26816))

-   **(es/minifier)** Fix exponentiate operator ([#&#8203;9251](https://redirect.github.com/swc-project/swc/issues/9251)) ([06bb533](https://redirect.github.com/swc-project/swc/commit/06bb5338cea8aef941907933319fbff1d29f9939))

-   **(es/minifier)** Fix panic in bitwise logic and incorrect values ([#&#8203;9258](https://redirect.github.com/swc-project/swc/issues/9258)) ([baeb9e2](https://redirect.github.com/swc-project/swc/commit/baeb9e2df92892f9486c72cdc787bca8c3858f30))

-   **(es/minifier)** Collect raw str values for new Tpl element ([#&#8203;9261](https://redirect.github.com/swc-project/swc/issues/9261)) ([6ddbfa0](https://redirect.github.com/swc-project/swc/commit/6ddbfa04db63bf3afbdec5d47f5bdbf7c7ea222f))

-   **(es/modules)** Fix lint issue ([#&#8203;9206](https://redirect.github.com/swc-project/swc/issues/9206)) ([efb8636](https://redirect.github.com/swc-project/swc/commit/efb86368343e7d9909fec21cae8824edac5008e2))

-   **(es/quote)** Fix macro ([#&#8203;9270](https://redirect.github.com/swc-project/swc/issues/9270)) ([93d9e44](https://redirect.github.com/swc-project/swc/commit/93d9e44f1c7a3afea673f056d99001a026c0a6d3))

-   **(es/typescript)** Handle unicode for fast ts strip ([#&#8203;9202](https://redirect.github.com/swc-project/swc/issues/9202)) ([096bfe3](https://redirect.github.com/swc-project/swc/commit/096bfe375147bb5b663ec26f8c2bdb977ee527db))

-   **(es/typescript)** Fix `transform` mode ([#&#8203;9243](https://redirect.github.com/swc-project/swc/issues/9243)) ([0e79a5b](https://redirect.github.com/swc-project/swc/commit/0e79a5b428c811c46c69f7f4a84fcff31c98db67))

-   **(es/typescript)** Workaround `wasm-bindgen` ([#&#8203;9272](https://redirect.github.com/swc-project/swc/issues/9272)) ([6b1d2ff](https://redirect.github.com/swc-project/swc/commit/6b1d2ff66b5ef73374c3932c0c505e08b9879a18))

##### Documentation

-   **(allocator)** Mention `oxc_allocator` ([be99ce0](https://redirect.github.com/swc-project/swc/commit/be99ce0a570c41b3fd471c5d609bd63c25740b36))

-   **(contributing)** Fix deno installation url ([#&#8203;9249](https://redirect.github.com/swc-project/swc/issues/9249)) ([ff5bbda](https://redirect.github.com/swc-project/swc/commit/ff5bbdae6ad16309efe592788f4cb14956ffc3b1))

-   **(es/minifier)** Add contributing section ([e22f3ba](https://redirect.github.com/swc-project/swc/commit/e22f3ba9adf21eac057eab29284333b1631258b3))

##### Features

-   **(allocator)** Initialize package ([#&#8203;9195](https://redirect.github.com/swc-project/swc/issues/9195)) ([f3681cb](https://redirect.github.com/swc-project/swc/commit/f3

</details>

---

### 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](https://redirect.github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] If you want to rebase/retry this PR, check this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/X-oss-byte/Nextjs).
  • Loading branch information
renovate[bot] authored Dec 7, 2024
1 parent 5882719 commit 0919cfe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
"@next/third-parties": "workspace:*",
"@opentelemetry/api": "1.9.0",
"@svgr/webpack": "8.1.0",
"@swc/cli": "0.5.1",
"@swc/core": "1.9.3",
"@swc/cli": "0.5.2",
"@swc/core": "1.10.0",
"@swc/helpers": "0.5.15",
"@testing-library/react": "16.0.1",
"@types/cheerio": "0.22.35",
Expand Down

0 comments on commit 0919cfe

Please sign in to comment.