Skip to content

Commit

Permalink
chore: update swc (#336)
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.3.14`
-> `0.4.0`](https://renovatebot.com/diffs/npm/@swc%2fcli/0.3.14/0.4.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcli/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcli/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcli/0.3.14/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcli/0.3.14/0.4.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [@swc/core](https://swc.rs)
([source](https://redirect.github.com/swc-project/swc)) | [`1.5.7` ->
`1.7.24`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.5.7/1.7.24) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.7.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.7.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.5.7/1.7.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.5.7/1.7.24?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

###
[`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#1725---2024-09-11)

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

##### 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.1`](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.0...v1.7.1)

##### 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.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/f3681cb34009824725d39d25b0cbf787ec1e8bd8))

- **(allocator)** Implement `SwcAlloc`
([#&#8203;9232](https://redirect.github.com/swc-project/swc/issues/9232))
([e343eb6](https://redirect.github.com/swc-project/swc/commit/e343eb6de2747086f9873c6444964500e40b4936))

- **(allocator)** Add a cargo feature
([#&#8203;9239](https://redirect.github.com/swc-project/swc/issues/9239))
([398dc21](https://redirect.github.com/swc-project/swc/commit/398dc21e073d8271fa7ac4169b93ed8b96645459))

- **(allocator)** Implement `default` mode
([#&#8203;9242](https://redirect.github.com/swc-project/swc/issues/9242))
([b6333db](https://redirect.github.com/swc-project/swc/commit/b6333dbcfcc8f25d08a1187704796732366ac9d7))

- **(es/typescript)** Add `transform` mode back to fast TS strip
([#&#8203;9237](https://redirect.github.com/swc-project/swc/issues/9237))
([8231e3c](https://redirect.github.com/swc-project/swc/commit/8231e3cd4f72ad120735f6a21d9616e98d61eed1))

- **(es/utils)** Support for arrays using `cast_to_number`
([#&#8203;9212](https://redirect.github.com/swc-project/swc/issues/9212))
([2aef14d](https://redirect.github.com/swc-project/swc/commit/2aef14d34d22df41bd6f421633eadc50826217cc))

##### Miscellaneous Tasks

- **(es)** Bump `unicode-id-start` to `v1.2.0`
([#&#8203;9177](https://redirect.github.com/swc-project/swc/issues/9177))
([9904a53](https://redirect.github.com/swc-project/swc/commit/9904a53b7fc4c828c06071c19d08c27b5c1d9f42))

- **(es/typescript)** Improve decorator handling of fast strip
([#&#8203;9178](https://redirect.github.com/swc-project/swc/issues/9178))
([962170f](https://redirect.github.com/swc-project/swc/commit/962170fb704e5f0cf7a00c0a9be3e9d7cf4f6b02))

##### Performance

- **(allocator)** Drop `scoped_tls`
([#&#8203;9240](https://redirect.github.com/swc-project/swc/issues/9240))
([4ce2514](https://redirect.github.com/swc-project/swc/commit/4ce2514d1bbf1be3972cd620c3a5f6ffd25ffa9d))

- **(bindings)** Invert Wasm size shrink
([#&#8203;9224](https://redirect.github.com/swc-project/swc/issues/9224))
([aa7f791](https://redirect.github.com/swc-project/swc/commit/aa7f791dfdba5845c4253a4014d9bc210e5fb817))

- **(bindings/wasm)** Shrink the size of the wasm file
([#&#8203;9191](https://redirect.github.com/swc-project/swc/issues/9191))
([3a23b3d](https://redirect.github.com/swc-project/swc/commit/3a23b3d120a14ca514204ef80bf744bb483dcfd6))

- **(es/codegen)** Use scoped allocator
([#&#8203;9248](https://redirect.github.com/swc-project/swc/issues/9248))
([970f323](https://redirect.github.com/swc-project/swc/commit/970f32398c6ff444540a31e1172a33b6155ed18b))

- **(es/typescript)** Add a benchmark for fast TS strip
([#&#8203;9205](https://redirect.github.com/swc-project/swc/issues/9205))
([7d9364c](https://redirect.github.com/swc-project/swc/commit/7d9364cad3618d9039eadbab6fa8c57091ec7794))

- **(es/visit)** Introduce `standard_only_*` macros
([#&#8203;9207](https://redirect.github.com/swc-project/swc/issues/9207))
([92879b1](https://redirect.github.com/swc-project/swc/commit/92879b14fee2f74034c365b4a80ca82f2a512c4a))

##### Refactor

- **(allocator)** Use `&` instead of a thread-local
([#&#8203;9235](https://redirect.github.com/swc-project/swc/issues/9235))
([8d5670e](https://redirect.github.com/swc-project/swc/commit/8d5670e72bb930f18c5d1d4262caa80cae0be03a))

- **(allocator)** Use RAII guard instead of `scope`
([#&#8203;9254](https://redirect.github.com/swc-project/swc/issues/9254))
([6e098ae](https://redirect.github.com/swc-project/swc/commit/6e098aeeb5976292e43786f72bd91f1de50a9daa))

- **(common)** Drop `SyntaxContext` from AST nodes
([#&#8203;9175](https://redirect.github.com/swc-project/swc/issues/9175))
([b2491e5](https://redirect.github.com/swc-project/swc/commit/b2491e5461c0fea0aed04133074e34c92950845d))

- **(es)** Use `into` for AST construction
([#&#8203;9197](https://redirect.github.com/swc-project/swc/issues/9197))
([e7358e0](https://redirect.github.com/swc-project/swc/commit/e7358e0f816dd2ad985080c95093a464cdc9ca6f))

- **(es)** Use `Into` and `From` for AST construction
([#&#8203;9201](https://redirect.github.com/swc-project/swc/issues/9201))
([0960b23](https://redirect.github.com/swc-project/swc/commit/0960b23c045658ca2d8e8d0c2636141fca108bca))

- **(es/codegen)** Revert
[#&#8203;9248](https://redirect.github.com/swc-project/swc/issues/9248)
([#&#8203;9266](https://redirect.github.com/swc-project/swc/issues/9266))
([b9b233c](https://redirect.github.com/swc-project/swc/commit/b9b233cacd9d326afb806d856c91e38474b237c2))

- **(es/helpers)** Remove unnecessary exports
([#&#8203;9225](https://redirect.github.com/swc-project/swc/issues/9225))
([69719c2](https://redirect.github.com/swc-project/swc/commit/69719c2acb6f0eaacd4e3f7739ce8f9ae5d95e76))

- **(visit)** Pre-generate visitor code
([#&#8203;9262](https://redirect.github.com/swc-project/swc/issues/9262))
([9c17663](https://redirect.github.com/swc-project/swc/commit/9c176632b1e0d6edec10929486ca514fa992415b))

##### Testing

- **(allocator)** Merge test
([#&#8203;9267](https://redirect.github.com/swc-project/swc/issues/9267))
([efc3963](https://redirect.github.com/swc-project/swc/commit/efc396377ff95b0c464fe4bf793dc3da59abd36e))

- **(es/base)** Disable flaky benchmark
([#&#8203;9221](https://redirect.github.com/swc-project/swc/issues/9221))
([bd4bef1](https://redirect.github.com/swc-project/swc/commit/bd4bef16fb6d21d97699d46649c8db6af1dd27df))

- Enable scoped API by default
([#&#8203;9247](https://redirect.github.com/swc-project/swc/issues/9247))
([e7ce94b](https://redirect.github.com/swc-project/swc/commit/e7ce94b5ee713dc76383c35d99dd6a707c90339c))

##### Pers

- **(es/ast)** Introduce `IdentName`
([#&#8203;9185](https://redirect.github.com/swc-project/swc/issues/9185))
([7b3e5b3](https://redirect.github.com/swc-project/swc/commit/7b3e5b3f613e8f9b7a6758a2453515d7c0c5f8a4))

###
[`v1.6.13`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1613---2024-07-06)

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

##### Bug Fixes

- **(es/parser)** Revert
[#&#8203;9141](https://redirect.github.com/swc-project/swc/issues/9141)
([#&#8203;9171](https://redirect.github.com/swc-project/swc/issues/9171))
([8b66d5e](https://redirect.github.com/swc-project/swc/commit/8b66d5e89b3489da0339de33a439ba365a60d2ce))

- **(es/testing)** Fix `PluginCommentProxy`
([#&#8203;9170](https://redirect.github.com/swc-project/swc/issues/9170))
([d86ca2d](https://redirect.github.com/swc-project/swc/commit/d86ca2d49ec72614ec8c2493a28f27267e6f8b8f))

##### Features

- **(es/typescript)** Improve fast TS strip
([#&#8203;9166](https://redirect.github.com/swc-project/swc/issues/9166))
([ee8dc28](https://redirect.github.com/swc-project/swc/commit/ee8dc28d4d5399b1996bc0eba066270a582d04b6))

- **(es/typescript)** Improve fast TS strip
([#&#8203;9167](https://redirect.github.com/swc-project/swc/issues/9167))
([98af589](https://redirect.github.com/swc-project/swc/commit/98af5890dac03a9acac4e62ddb62bc1f3495d9a2))

##### Testing

- **(es/minfiier)** Improve comment testing
([#&#8203;9164](https://redirect.github.com/swc-project/swc/issues/9164))
([f90574d](https://redirect.github.com/swc-project/swc/commit/f90574d04571023f5ccfe694003e6a25ef89cafb))

###
[`v1.6.12`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1612---2024-07-06)

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

##### Bug Fixes

- **(ci)** Restore disabled CI checks
([#&#8203;9002](https://redirect.github.com/swc-project/swc/issues/9002))
([cdfd4c8](https://redirect.github.com/swc-project/swc/commit/cdfd4c85e42e912767893d1f3c1ed5d4867a51af))

- **(es/decorators)** Fix bugs of `2022-03` implementation
([#&#8203;9145](https://redirect.github.com/swc-project/swc/issues/9145))
([8a3ae44](https://redirect.github.com/swc-project/swc/commit/8a3ae4437096d23aeeabadaefb5416f7a6a94644))

- **(es/loader)** Exclude `.json` from default extension list
([#&#8203;9134](https://redirect.github.com/swc-project/swc/issues/9134))
([e94e5e7](https://redirect.github.com/swc-project/swc/commit/e94e5e70c377fae13cd5575f7d4ce84d9d5f10f7))

- **(es/minifier)** Fix `undefined` judgement
([#&#8203;9146](https://redirect.github.com/swc-project/swc/issues/9146))
([1a739b7](https://redirect.github.com/swc-project/swc/commit/1a739b79286aab3ccfd2b4597f11a79776b024b3))

- **(es/renamer)** Fix renaming of default-exported declarations
([#&#8203;9135](https://redirect.github.com/swc-project/swc/issues/9135))
([45f671d](https://redirect.github.com/swc-project/swc/commit/45f671d8d85b0c3955c88ec3cf3d68d8fa6134c5))

- **(es/renamer)** Remove `FastJsWord`
([#&#8203;9136](https://redirect.github.com/swc-project/swc/issues/9136))
([42b4caf](https://redirect.github.com/swc-project/swc/commit/42b4caf5735bc0a025024cf968ef16cd06d9f0dc))

- **(es/typescript)** Fix tricky cases in TS fast strip
([#&#8203;9159](https://redirect.github.com/swc-project/swc/issues/9159))
([2bc51b8](https://redirect.github.com/swc-project/swc/commit/2bc51b8ab25130f355cc1bad4c60d58376485698))

- **(es/typescript)** Fix replacement logic of fast TS strip
([#&#8203;9163](https://redirect.github.com/swc-project/swc/issues/9163))
([c5acafe](https://redirect.github.com/swc-project/swc/commit/c5acafe3869084a3f192a4aac0f120d5bb69e524))

##### Features

- **(bindings/ts)** Add transform/strip-only mode
([#&#8203;9138](https://redirect.github.com/swc-project/swc/issues/9138))
([a08bb46](https://redirect.github.com/swc-project/swc/commit/a08bb46ebd50734b150a1fff100b8312223372a2))

- **(es/testing)** Improve comment testing story
([#&#8203;9150](https://redirect.github.com/swc-project/swc/issues/9150))
([3638e97](https://redirect.github.com/swc-project/swc/commit/3638e97c8083a607a9ce295c7465501a7dc379f8))

- **(es/typescript)** Add `swc_fast_ts_strip`
([#&#8203;9143](https://redirect.github.com/swc-project/swc/issues/9143))
([b129343](https://redirect.github.com/swc-project/swc/commit/b129343c949c43c0ad3eb4ad4676e75dc37067e3))

- **(es/typescript)** Improve fast TS stripper
([#&#8203;9152](https://redirect.github.com/swc-project/swc/issues/9152))
([9fca4ab](https://redirect.github.com/swc-project/swc/commit/9fca4ab5557be4f92ba425b39fdc417a4da9a587))

- **(es/typescript)** Improve fast TS stripper
([#&#8203;9153](https://redirect.github.com/swc-project/swc/issues/9153))
([732d748](https://redirect.github.com/swc-project/swc/commit/732d748d4eb7c19d11e37b06f5064d4eca5bf4d8))

- **(es/typescript)** Improve fast TS strip
([#&#8203;9154](https://redirect.github.com/swc-project/swc/issues/9154))
([05c7210](https://redirect.github.com/swc-project/swc/commit/05c721030a0b419058524bff99367aa80ce29536))

##### Performance

- **(es)** Reduce allocations for dynamic stacks
([#&#8203;9133](https://redirect.github.com/swc-project/swc/issues/9133))
([648830a](https://redirect.github.com/swc-project/swc/commit/648830a9a9a65915226d2a250e3dfd61684a79b1))

##### Refactor

- **(bindings/ts)** Inline Wasm file into `wasm.js`
([#&#8203;9139](https://redirect.github.com/swc-project/swc/issues/9139))
([307b6f2](https://redirect.github.com/swc-project/swc/commit/307b6f27a6860c65f835776549e96cd658cfc817))

- **(es/parser)** Improve readability
([#&#8203;9141](https://redirect.github.com/swc-project/swc/issues/9141))
([9d9fe66](https://redirect.github.com/swc-project/swc/commit/9d9fe6625bd4a7e05e9f29971e8f1a5c5e2470a8))

###
[`v1.6.7`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#167---2024-07-03)

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

##### Bug Fixes

- **(es/compat)** Do not reuse span
([#&#8203;9117](https://redirect.github.com/swc-project/swc/issues/9117))
([6520052](https://redirect.github.com/swc-project/swc/commit/652005243260f46074595a6c031f7b82fa85302d))

##### Documentation

- Use `@swc/counter` for 3rd-party download count
([026ff7e](https://redirect.github.com/swc-project/swc/commit/026ff7ef0c64379fc34df206eb9880920eda99ee))

##### Features

- **(binding)** Create Wasm package for stripping only TypeScript
([#&#8203;9124](https://redirect.github.com/swc-project/swc/issues/9124))
([6b3c0da](https://redirect.github.com/swc-project/swc/commit/6b3c0da755b29022327adf7a5dc9a7c96142ceb2))

- **(es/minifier)** Handle more indexing expression
([#&#8203;8750](https://redirect.github.com/swc-project/swc/issues/8750))
([570c47a](https://redirect.github.com/swc-project/swc/commit/570c47a9acd7363428f58dfea2f41c097f73ec1f))

- **(preset-env)** Upgrade `browserslist-rs`
([#&#8203;9023](https://redirect.github.com/swc-project/swc/issues/9023))
([18d6277](https://redirect.github.com/swc-project/swc/commit/18d6277e4c68474333349a5b413ad30e59813483))

##### Performance

- **(es/lexer)** Do not use `memchr::memmem` in parser
([#&#8203;9118](https://redirect.github.com/swc-project/swc/issues/9118))
([72021de](https://redirect.github.com/swc-project/swc/commit/72021def15225c7355f80b72b16ab3bfd99f51ad))

##### Refactor

- **(es/typescript)** Extract type annotation proposal out
([#&#8203;9127](https://redirect.github.com/swc-project/swc/issues/9127))
([dfee5f8](https://redirect.github.com/swc-project/swc/commit/dfee5f838b76dae012393e207902effa0a69dd0d))

##### Testing

- **(bindings/ts)** Test Wasm binding
([#&#8203;9128](https://redirect.github.com/swc-project/swc/issues/9128))
([c6d6db3](https://redirect.github.com/swc-project/swc/commit/c6d6db3661ec93b9ebb8ca55ff88726f66b3d5e5))

- **(es/decorators)** Split `decorator-tests`
([#&#8203;9119](https://redirect.github.com/swc-project/swc/issues/9119))
([07c3054](https://redirect.github.com/swc-project/swc/commit/07c3054847947bd4c39ca828a7471d990b77ee7c))

##### Build

- **(bindings)** Fix build of typescript binding
([#&#8203;9125](https://redirect.github.com/swc-project/swc/issues/9125))
([f409bc0](https://redirect.github.com/swc-project/swc/commit/f409bc09d5613db8342e98552efc520f9c2c393c))

###
[`v1.6.6`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#166---2024-06-29)

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

##### Bug Fixes

- **(es/lexer)** Fix lexing of `\r\n` in JSX
([#&#8203;9112](https://redirect.github.com/swc-project/swc/issues/9112))
([2a0ebec](https://redirect.github.com/swc-project/swc/commit/2a0ebec0f5e51d5cba1c1981215a893834c63255))

##### Performance

- **(es/parser)** Optimize macros
([#&#8203;9100](https://redirect.github.com/swc-project/swc/issues/9100))
([719b7c5](https://redirect.github.com/swc-project/swc/commit/719b7c54f69ef276270dc39fbcb8bbdbf52899bf))

- **(es/parser)** Remove unnecessary check
([#&#8203;9102](https://redirect.github.com/swc-project/swc/issues/9102))
([2a490ad](https://redirect.github.com/swc-project/swc/commit/2a490ad0b2f9f89260742e653ba9ca086c1a9798))

- **(es/parser)** Add a check before numeric operations
([#&#8203;9105](https://redirect.github.com/swc-project/swc/issues/9105))
([c0602c8](https://redirect.github.com/swc-project/swc/commit/c0602c81db55777be726cd8fe2fd074e34bd4d96))

- **(es/parser)** Increase token context size
([#&#8203;9104](https://redirect.github.com/swc-project/swc/issues/9104))
([8ef30cc](https://redirect.github.com/swc-project/swc/commit/8ef30cc08c86251bb8bebf66286949805e332b6c))

###
[`v1.6.5`](https://redirect.github.com/swc-project/swc/compare/v1.6.4...v1.6.5)

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

###
[`v1.6.4`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#164---2024-06-22)

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

##### Features

- **(cli)** Support generating `.d.ts` files
([#&#8203;9097](https://redirect.github.com/swc-project/swc/issues/9097))
([e71b6d3](https://redirect.github.com/swc-project/swc/commit/e71b6d31b1179dffb8a6e2d652b394273a6d7852))

- **(common)** Add fallible methods to `swc_common::SourceMap`
([#&#8203;9090](https://redirect.github.com/swc-project/swc/issues/9090))
([e423d1b](https://redirect.github.com/swc-project/swc/commit/e423d1bcedc24803eaeeed4c72cc84fe9a938f65))

- **(es/transform)** Add experimental `.d.ts` generation
([#&#8203;9093](https://redirect.github.com/swc-project/swc/issues/9093))
([51a2702](https://redirect.github.com/swc-project/swc/commit/51a27022b9a3fa8767797813b23803ea1ecad3e2))

- **(swc_core)** Reexport `swc_typescript`
([#&#8203;9092](https://redirect.github.com/swc-project/swc/issues/9092))
([a2645e2](https://redirect.github.com/swc-project/swc/commit/a2645e2fa0a55c4dbe519b6f8baa9e83a69bb2f0))

- **(typescript)** Implement Isolated Declaration
([#&#8203;9086](https://redirect.github.com/swc-project/swc/issues/9086))
([a855159](https://redirect.github.com/swc-project/swc/commit/a8551592b29bb1a1a0518e3724ad54acacca888a))

##### Miscellaneous Tasks

- **(deps)** Replace `sha-1` with `sha1`
([#&#8203;9091](https://redirect.github.com/swc-project/swc/issues/9091))
([5a2c968](https://redirect.github.com/swc-project/swc/commit/5a2c968720141b115ec2055ea13ae6d025175e95))

##### Performance

- **(es/lexer)** Apply various optimizations
([#&#8203;9095](https://redirect.github.com/swc-project/swc/issues/9095))
([2f02630](https://redirect.github.com/swc-project/swc/commit/2f02630b1e597692ce5a3d946f8d498ca33709dd))

- **(es/lexer)** Use `memchr::memmem` for lexing block comments
([#&#8203;9096](https://redirect.github.com/swc-project/swc/issues/9096))
([1b3672f](https://redirect.github.com/swc-project/swc/commit/1b3672f1e7d38a0039b1ba0ebc136133dd8c907f))

##### Refactor

- **(es/parser)** Rename `EsConfig` and `TsConfig`
([#&#8203;9094](https://redirect.github.com/swc-project/swc/issues/9094))
([5520b23](https://redirect.github.com/swc-project/swc/commit/5520b236dd40fdd579c99cb6d66eef094cabc3fc))

###
[`v1.6.3`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#163---2024-06-19)

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

##### Bug Fixes

- **(css/minifier)** Don't tranform rotate deg
([#&#8203;9072](https://redirect.github.com/swc-project/swc/issues/9072))
([8d37dae](https://redirect.github.com/swc-project/swc/commit/8d37daedf10cbf5fa7ac8ceeb4192ddd6241e310))

- **(es/decorators)** Reduce the number of sourcemap mappings
([#&#8203;9074](https://redirect.github.com/swc-project/swc/issues/9074))
([cfe3ba3](https://redirect.github.com/swc-project/swc/commit/cfe3ba306dc709149c496f67dbb7f35dc4f86819))

##### Performance

- **(common)** Use `Chars` in `StringInput`
([#&#8203;9073](https://redirect.github.com/swc-project/swc/issues/9073))
([7698eaa](https://redirect.github.com/swc-project/swc/commit/7698eaa006d2951df0e0e0cb5680fe531d64dcf4))

- **(es/lexer)** Optimize lexer
([#&#8203;9075](https://redirect.github.com/swc-project/swc/issues/9075))
([6426928](https://redirect.github.com/swc-project/swc/commit/6426928b912baa6573b902d7d3c85bcd49b2e823))

- **(es/lexer)** Make lexing of string literals faster
([#&#8203;9077](https://redirect.github.com/swc-project/swc/issues/9077))
([373bac5](https://redirect.github.com/swc-project/swc/commit/373bac55aaffbe1f6e001c7c6d490797de45114e))

- **(es/lexer)** Reduce allocation while lexing identifiers
([#&#8203;9076](https://redirect.github.com/swc-project/swc/issues/9076))
([69f00b8](https://redirect.github.com/swc-project/swc/commit/69f00b85d465e882ec33642d6e8ed22dbe3c3fb2))

- **(es/lexer)** Add a fast-path to template literal lexer
([#&#8203;9080](https://redirect.github.com/swc-project/swc/issues/9080))
([238f1c5](https://redirect.github.com/swc-project/swc/commit/238f1c50e5b27a8655e10ac2b2be723b62233931))

- **(es/lexer)** Add fast-path to jsx lexer
([#&#8203;9081](https://redirect.github.com/swc-project/swc/issues/9081))
([af58606](https://redirect.github.com/swc-project/swc/commit/af586069a922525dc24b5f59aefaf53daed7759a))

##### Refactor

- **(common)** Simplify `StringInput` implementation
([#&#8203;9071](https://redirect.github.com/swc-project/swc/issues/9071))
([c3a8c0b](https://redirect.github.com/swc-project/swc/commit/c3a8c0b56755f17d0611f6559689a5cfb3185c33))

###
[`v1.6.1`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1613---2024-07-06)

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

##### Bug Fixes

- **(es/parser)** Revert
[#&#8203;9141](https://redirect.github.com/swc-project/swc/issues/9141)
([#&#8203;9171](https://redirect.github.com/swc-project/swc/issues/9171))
([8b66d5e](https://redirect.github.com/swc-project/swc/commit/8b66d5e89b3489da0339de33a439ba365a60d2ce))

- **(es/testing)** Fix `PluginCommentProxy`
([#&#8203;9170](https://redirect.github.com/swc-project/swc/issues/9170))
([d86ca2d](https://redirect.github.com/swc-project/swc/commit/d86ca2d49ec72614ec8c2493a28f27267e6f8b8f))

##### Features

- **(es/typescript)** Improve fast TS strip
([#&#8203;9166](https://redirect.github.com/swc-project/swc/issues/9166))
([ee8dc28](https://redirect.github.com/swc-project/swc/commit/ee8dc28d4d5399b1996bc0eba066270a582d04b6))

- **(es/typescript)** Improve fast TS strip
([#&#8203;9167](https://redirect.github.com/swc-project/swc/issues/9167))
([98af589](https://redirect.github.com/swc-project/swc/commit/98af5890dac03a9acac4e62ddb62bc1f3495d9a2))

##### Testing

- **(es/minfiier)** Improve comment testing
([#&#8203;9164](https://redirect.github.com/swc-project/swc/issues/9164))
([f90574d](https://redirect.github.com/swc-project/swc/commit/f90574d04571023f5ccfe694003e6a25ef89cafb))

###
[`v1.6.0`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#160---2024-06-15)

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

##### Features

- **(common)** Use `SourceMap::adjust_mappings`
([#&#8203;9052](https://redirect.github.com/swc-project/swc/issues/9052))
([eda2e45](https://redirect.github.com/swc-project/swc/commit/eda2e456915cf1c0bfc8e4e833bcd2b9c6c36a41))

- **(es/ast)** Add more utilities
([#&#8203;9054](https://redirect.github.com/swc-project/swc/issues/9054))
([ab226dc](https://redirect.github.com/swc-project/swc/commit/ab226dcfb7abea0b14430697c53c0002bd823866))

##### Performance

- **(es/lints)** Avoid needless allocations in `no-dupe-args`
([#&#8203;9041](https://redirect.github.com/swc-project/swc/issues/9041))
([e560198](https://redirect.github.com/swc-project/swc/commit/e5601989a1fa699c3d4f7f120bd14f946eee01fa))

- **(es/parser)** Do not track `raw` by hand
([#&#8203;9047](https://redirect.github.com/swc-project/swc/issues/9047))
([60fe5f0](https://redirect.github.com/swc-project/swc/commit/60fe5f0effdcc45f0cfd363fd0ff4e6f4dba5b33))

- **(es/parser)** Reduce allocations for `raw` while lexing numbers
([#&#8203;9056](https://redirect.github.com/swc-project/swc/issues/9056))
([bc8ec62](https://redirect.github.com/swc-project/swc/commit/bc8ec625ecee8a077fe84de371c490be14a1a033))

##### Refactor

- **(es/ast)** Remove unused fields of `TsPropertySignature`
([#&#8203;8955](https://redirect.github.com/swc-project/swc/issues/8955))
([6306778](https://redirect.github.com/swc-project/swc/commit/63067785127a0bf311c3bac2731df447a3cd614a))

- **(es/parser)** Remove unused `raw: Raw` params
([#&#8203;9048](https://redirect.github.com/swc-project/swc/issues/9048))
([32e23ed](https://redirect.github.com/swc-project/swc/commit/32e23edd8591784bda2b49f941611b01a60e9a80))

- **(es/utils)** Refine some APIs
([#&#8203;9049](https://redirect.github.com/swc-project/swc/issues/9049))
([e856478](https://redirect.github.com/swc-project/swc/commit/e8564780600d367a717e7b90a33bfd34275f5a19))

##### Testing

- **(es/parser)** Add benchmarks
([#&#8203;9044](https://redirect.github.com/swc-project/swc/issues/9044))
([11bba26](https://redirect.github.com/swc-project/swc/commit/11bba262f555b284087a0a27ad3cbefdbd1b1c24))

###
[`v1.5.29`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1529---2024-06-13)

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

##### Bug Fixes

- **(ci)** Make publish action upload cli artifacts
([#&#8203;9040](https://redirect.github.com/swc-project/swc/issues/9040))
([3337bb2](https://redirect.github.com/swc-project/swc/commit/3337bb26f9b00352c3f03c625f1429ee15ebc070))

- **(es)** Make `output` field optional
([#&#8203;9033](https://redirect.github.com/swc-project/swc/issues/9033))
([39654bf](https://redirect.github.com/swc-project/swc/commit/39654bf1e7136077d2db2f85a93591708b4cfe8c))

- **(es/codegen)** Emit named type in mapped types
([#&#8203;9038](https://redirect.github.com/swc-project/swc/issues/9038))
([91e92ec](https://redirect.github.com/swc-project/swc/commit/91e92ececab33c2258eeb659803da9a549e7591a))

- **(es/minifier)** Visit RHS while hoisting properties
([#&#8203;9032](https://redirect.github.com/swc-project/swc/issues/9032))
([cb16994](https://redirect.github.com/swc-project/swc/commit/cb16994a8d7a203e923b52e444d265bad0fa9e6e))

- **(xtask)** Fix `nightly` action
([#&#8203;9042](https://redirect.github.com/swc-project/swc/issues/9042))
([733dcc6](https://redirect.github.com/swc-project/swc/commit/733dcc6b83e77a2571a3fee307a73fc0c17bd44c))

##### Performance

- **(es/minifier)** Do not visit var init multiple times
([#&#8203;9039](https://redirect.github.com/swc-project/swc/issues/9039))
([675916c](https://redirect.github.com/swc-project/swc/commit/675916ccbd378d3b0334ffeb7ad0759538856ddd))

- **(es/parser)** Optimize lexing of template literals
([#&#8203;9036](https://redirect.github.com/swc-project/swc/issues/9036))
([6ab19a1](https://redirect.github.com/swc-project/swc/commit/6ab19a1b5f37e7f485f392ef3b63af024ae9e644))

- **(es/parser)** Optimize lexing of template literals, again
([#&#8203;9037](https://redirect.github.com/swc-project/swc/issues/9037))
([5bffd0f](https://redirect.github.com/swc-project/swc/commit/5bffd0ff9b9548e1585b7e791a3f35ad0a83e1e0))

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

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

##### Bug Fixes

- **(es/minifier)** Fix typescript enum detection
([#&#8203;9031](https://redirect.github.com/swc-project/swc/issues/9031))
([6669343](https://redirect.github.com/swc-project/swc/commit/6669343b4aaaaca5cb4f4ee5753f86aea71974b1))

###
[`v1.5.27`](https://redirect.github.com/swc-project/swc/compare/v1.5.25...v1.5.27)

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

###
[`v1.5.25`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1525---2024-06-05)

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

##### Bug Fixes

- **(es/es2015)** Fix injection location of `this` for getter/setter
properties
([#&#8203;8993](https://redirect.github.com/swc-project/swc/issues/8993))
([09121a6](https://redirect.github.com/swc-project/swc/commit/09121a61cc5bf390b627e548c471bfc39ccb1c0f))

- **(es/minifier)** Preserve unused special properties
([#&#8203;9005](https://redirect.github.com/swc-project/swc/issues/9005))
([e764ff6](https://redirect.github.com/swc-project/swc/commit/e764ff6f64d4e528a2af3e3ad7859ab3f8a2fe48))

- **(es/minifier)** Fix comparison of `-0.0`
([#&#8203;9012](https://redirect.github.com/swc-project/swc/issues/9012))
([8a29577](https://redirect.github.com/swc-project/swc/commit/8a29577cc5bd3842d3bccfdbbffa45e4c9944d7f))

- **(es/minifier)** Do not index a string with a surrogate pair
([#&#8203;9013](https://redirect.github.com/swc-project/swc/issues/9013))
([2879a4d](https://redirect.github.com/swc-project/swc/commit/2879a4d42b18e7e9d6bc12119a799c6a8c95e108))

- **(es/minifier)** Fix evaluation of `-0` as a string
([#&#8203;9011](https://redirect.github.com/swc-project/swc/issues/9011))
([9f8e24a](https://redirect.github.com/swc-project/swc/commit/9f8e24a76c00b8f4470aadf22f071a60f409a13d))

- **(es/resolver)** Fix hoisting of `const` and `let`
([#&#8203;8987](https://redirect.github.com/swc-project/swc/issues/8987))
([0d9ecf3](https://redirect.github.com/swc-project/swc/commit/0d9ecf39c1f452be1f2e583f72cebc6986a8088b))

##### Features

- **(es/minifier)** Detect TypeScript enum initialization pattern
([#&#8203;8986](https://redirect.github.com/swc-project/swc/issues/8986))
([cc8c155](https://redirect.github.com/swc-project/swc/commit/cc8c1550ddd8f45712039663487fe07b8dfa2599))

- **(x)** Initialize project
([#&#8203;8999](https://redirect.github.com/swc-project/swc/issues/8999))
([da70ebe](https://redirect.github.com/swc-project/swc/commit/da70ebed692d734ac4c042cd6a67fee9da793731))

##### Performance

- **(es/parser)** Add feature named `tracing-spans`
([#&#8203;9019](https://redirect.github.com/swc-project/swc/issues/9019))
([3bf3114](https://redirect.github.com/swc-project/swc/commit/3bf31148ba5058323ee89bb2ca74b641c52c0669))

###
[`v1.5.24`](https://redirect.github.com/swc-project/swc/compare/v1.5.23...v1.5.24)

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

###
[`v1.5.23`](https://redirect.github.com/swc-project/swc/blob/HEAD/CHANGELOG.md#1523---2024-05-30)

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

##### Bug Fixes

- **(bindings/node)** Fix regression of JS APIs
([#&#8203;8998](https://redirect.github.com/swc-project/swc/issues/8998))
([125ddd2](https://redirect.github.com/swc-project/swc/commit/125ddd2dd98e882f9e10b7d94f766eae85143d71))

- **(es/jest)** Handle `@jest/globals`
([#&#8203;8994](https://redirect.github.com/swc-project/swc/issues/8994))
([a81a01f](https://redirect.github.com/swc-project/swc/commit/a81a01f629613a624798693e60f9796904a8dce1))

###
[`v1.5.22`](https://redirect.github.com/swc-project/swc/compare/v1.5.20...v1.5.22)

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

###
[`v1.5.20`](https://redirect.github.com/swc-project/swc/compare/v1.5.19...v1.5.20)

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

###
[`v1.5.19`](https://redirect.github.com/swc-project/swc/compare/v1.5.11...v1.5.19)

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

###
[`v1.5.11`](https://redirect.github.com/swc-project/swc/compare/v1.5.7...v1.5.11)

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

</details>

---

### Configuration

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

🚦 **Automerge**: Enabled.

♻ **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.

---

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

---

This PR has been generated by [Renovate
Bot](https://redirect.github.com/renovatebot/renovate).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzcuMyIsInRhcmdldEJyYW5jaCI6ImRldmVsb3AiLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19-->

Co-authored-by: tsang-bot[bot] <146107447+tsang-bot[bot]@users.noreply.github.com>
  • Loading branch information
tsang-bot[bot] authored Sep 13, 2024
1 parent 0251cfd commit 1acf2a3
Show file tree
Hide file tree
Showing 2 changed files with 105 additions and 143 deletions.
Loading

0 comments on commit 1acf2a3

Please sign in to comment.