Skip to content

Commit

Permalink
fix(deps): update dependency @swc/core to v1.7.0 (#11012)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@swc/core](https://swc.rs)
([source](https://togithub.com/swc-project/swc)) | [`1.5.27` ->
`1.7.0`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.5.27/1.7.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.5.27/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.5.27/1.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

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

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

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

##### Bug Fixes

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

##### Documentation

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

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

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

##### Features

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

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

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

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

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

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

##### Miscellaneous Tasks

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

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

##### Performance

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

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

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

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

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

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

##### Refactor

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

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

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

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

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

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

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

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

##### Testing

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

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

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

##### Pers

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

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

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

##### Bug Fixes

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

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

##### Features

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

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

##### Testing

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

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

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

##### Bug Fixes

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

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

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

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

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

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

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

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

##### Features

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

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

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

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

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

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

##### Performance

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

##### Refactor

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

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

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

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

##### Bug Fixes

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

##### Documentation

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

##### Features

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

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

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

##### Performance

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

##### Refactor

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

##### Testing

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

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

##### Build

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

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

[Compare
Source](https://togithub.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://togithub.com/swc-project/swc/issues/9112))
([2a0ebec](https://togithub.com/swc-project/swc/commit/2a0ebec0f5e51d5cba1c1981215a893834c63255))

##### Performance

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

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

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

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

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

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

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

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

##### Features

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

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

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

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

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

##### Miscellaneous Tasks

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

##### Performance

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

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

##### Refactor

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

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

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

##### Bug Fixes

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

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

##### Performance

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

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

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

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

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

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

##### Refactor

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

###
[`v1.6.1`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#161---2024-06-16)

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

##### Bug Fixes

- **(common)** Revert `Use SourceMap::adjust_mappings`
([#&#8203;9058](https://togithub.com/swc-project/swc/issues/9058))
([cdd20cd](https://togithub.com/swc-project/swc/commit/cdd20cd16370342f645a181198432a3dc3b6c7ab))

##### Performance

- **(es/parser)** Reduce allocations while lexing numbers
([#&#8203;9057](https://togithub.com/swc-project/swc/issues/9057))
([ca26eb7](https://togithub.com/swc-project/swc/commit/ca26eb796b1aefa150ccab7b16822ecb748aca7b))

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

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

##### Features

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

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

##### Performance

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

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

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

##### Refactor

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

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

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

##### Testing

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

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

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

##### Bug Fixes

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

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

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

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

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

##### Performance

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

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

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

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

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

##### Bug Fixes

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

</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.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/redwoodjs/redwood).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MzEuNCIsInVwZGF0ZWRJblZlciI6IjM3LjQzMS40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Jul 20, 2024
1 parent f3bc121 commit e625081
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 52 deletions.
2 changes: 1 addition & 1 deletion packages/vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"@redwoodjs/project-config": "workspace:*",
"@redwoodjs/server-store": "workspace:*",
"@redwoodjs/web": "workspace:*",
"@swc/core": "1.5.27",
"@swc/core": "1.7.0",
"@vitejs/plugin-react": "4.3.1",
"@whatwg-node/fetch": "0.9.17",
"@whatwg-node/server": "0.9.36",
Expand Down
102 changes: 51 additions & 51 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8666,7 +8666,7 @@ __metadata:
"@redwoodjs/project-config": "workspace:*"
"@redwoodjs/server-store": "workspace:*"
"@redwoodjs/web": "workspace:*"
"@swc/core": "npm:1.5.27"
"@swc/core": "npm:1.7.0"
"@types/busboy": "npm:^1"
"@types/cookie": "npm:^0"
"@types/express": "npm:4"
Expand Down Expand Up @@ -10030,92 +10030,92 @@ __metadata:
languageName: node
linkType: hard

"@swc/core-darwin-arm64@npm:1.5.27":
version: 1.5.27
resolution: "@swc/core-darwin-arm64@npm:1.5.27"
"@swc/core-darwin-arm64@npm:1.7.0":
version: 1.7.0
resolution: "@swc/core-darwin-arm64@npm:1.7.0"
conditions: os=darwin & cpu=arm64
languageName: node
linkType: hard

"@swc/core-darwin-x64@npm:1.5.27":
version: 1.5.27
resolution: "@swc/core-darwin-x64@npm:1.5.27"
"@swc/core-darwin-x64@npm:1.7.0":
version: 1.7.0
resolution: "@swc/core-darwin-x64@npm:1.7.0"
conditions: os=darwin & cpu=x64
languageName: node
linkType: hard

"@swc/core-linux-arm-gnueabihf@npm:1.5.27":
version: 1.5.27
resolution: "@swc/core-linux-arm-gnueabihf@npm:1.5.27"
"@swc/core-linux-arm-gnueabihf@npm:1.7.0":
version: 1.7.0
resolution: "@swc/core-linux-arm-gnueabihf@npm:1.7.0"
conditions: os=linux & cpu=arm
languageName: node
linkType: hard

"@swc/core-linux-arm64-gnu@npm:1.5.27":
version: 1.5.27
resolution: "@swc/core-linux-arm64-gnu@npm:1.5.27"
"@swc/core-linux-arm64-gnu@npm:1.7.0":
version: 1.7.0
resolution: "@swc/core-linux-arm64-gnu@npm:1.7.0"
conditions: os=linux & cpu=arm64 & libc=glibc
languageName: node
linkType: hard

"@swc/core-linux-arm64-musl@npm:1.5.27":
version: 1.5.27
resolution: "@swc/core-linux-arm64-musl@npm:1.5.27"
"@swc/core-linux-arm64-musl@npm:1.7.0":
version: 1.7.0
resolution: "@swc/core-linux-arm64-musl@npm:1.7.0"
conditions: os=linux & cpu=arm64 & libc=musl
languageName: node
linkType: hard

"@swc/core-linux-x64-gnu@npm:1.5.27":
version: 1.5.27
resolution: "@swc/core-linux-x64-gnu@npm:1.5.27"
"@swc/core-linux-x64-gnu@npm:1.7.0":
version: 1.7.0
resolution: "@swc/core-linux-x64-gnu@npm:1.7.0"
conditions: os=linux & cpu=x64 & libc=glibc
languageName: node
linkType: hard

"@swc/core-linux-x64-musl@npm:1.5.27":
version: 1.5.27
resolution: "@swc/core-linux-x64-musl@npm:1.5.27"
"@swc/core-linux-x64-musl@npm:1.7.0":
version: 1.7.0
resolution: "@swc/core-linux-x64-musl@npm:1.7.0"
conditions: os=linux & cpu=x64 & libc=musl
languageName: node
linkType: hard

"@swc/core-win32-arm64-msvc@npm:1.5.27":
version: 1.5.27
resolution: "@swc/core-win32-arm64-msvc@npm:1.5.27"
"@swc/core-win32-arm64-msvc@npm:1.7.0":
version: 1.7.0
resolution: "@swc/core-win32-arm64-msvc@npm:1.7.0"
conditions: os=win32 & cpu=arm64
languageName: node
linkType: hard

"@swc/core-win32-ia32-msvc@npm:1.5.27":
version: 1.5.27
resolution: "@swc/core-win32-ia32-msvc@npm:1.5.27"
"@swc/core-win32-ia32-msvc@npm:1.7.0":
version: 1.7.0
resolution: "@swc/core-win32-ia32-msvc@npm:1.7.0"
conditions: os=win32 & cpu=ia32
languageName: node
linkType: hard

"@swc/core-win32-x64-msvc@npm:1.5.27":
version: 1.5.27
resolution: "@swc/core-win32-x64-msvc@npm:1.5.27"
"@swc/core-win32-x64-msvc@npm:1.7.0":
version: 1.7.0
resolution: "@swc/core-win32-x64-msvc@npm:1.7.0"
conditions: os=win32 & cpu=x64
languageName: node
linkType: hard

"@swc/core@npm:1.5.27":
version: 1.5.27
resolution: "@swc/core@npm:1.5.27"
dependencies:
"@swc/core-darwin-arm64": "npm:1.5.27"
"@swc/core-darwin-x64": "npm:1.5.27"
"@swc/core-linux-arm-gnueabihf": "npm:1.5.27"
"@swc/core-linux-arm64-gnu": "npm:1.5.27"
"@swc/core-linux-arm64-musl": "npm:1.5.27"
"@swc/core-linux-x64-gnu": "npm:1.5.27"
"@swc/core-linux-x64-musl": "npm:1.5.27"
"@swc/core-win32-arm64-msvc": "npm:1.5.27"
"@swc/core-win32-ia32-msvc": "npm:1.5.27"
"@swc/core-win32-x64-msvc": "npm:1.5.27"
"@swc/core@npm:1.7.0":
version: 1.7.0
resolution: "@swc/core@npm:1.7.0"
dependencies:
"@swc/core-darwin-arm64": "npm:1.7.0"
"@swc/core-darwin-x64": "npm:1.7.0"
"@swc/core-linux-arm-gnueabihf": "npm:1.7.0"
"@swc/core-linux-arm64-gnu": "npm:1.7.0"
"@swc/core-linux-arm64-musl": "npm:1.7.0"
"@swc/core-linux-x64-gnu": "npm:1.7.0"
"@swc/core-linux-x64-musl": "npm:1.7.0"
"@swc/core-win32-arm64-msvc": "npm:1.7.0"
"@swc/core-win32-ia32-msvc": "npm:1.7.0"
"@swc/core-win32-x64-msvc": "npm:1.7.0"
"@swc/counter": "npm:^0.1.3"
"@swc/types": "npm:^0.1.8"
"@swc/types": "npm:^0.1.9"
peerDependencies:
"@swc/helpers": "*"
dependenciesMeta:
Expand All @@ -10142,7 +10142,7 @@ __metadata:
peerDependenciesMeta:
"@swc/helpers":
optional: true
checksum: 10c0/c9466b9120a3fbffc151c0fe095369bdbd23eeb9ca091e3767dfa8588290ccaeb2bc83796e8a5dded6a89beae59c9a387b0fc2fb3f2e2833797dd0d415a96f9b
checksum: 10c0/8c98bd94dcf1bb002c84cbb66cce7c656f5e71c8bbe439669af9c24a3d58f7c768b8cdd8d779f9683d9beb14bac1ce56a231b0ebf1f5b24563e7fac46cd5dbb7
languageName: node
linkType: hard

Expand All @@ -10153,12 +10153,12 @@ __metadata:
languageName: node
linkType: hard

"@swc/types@npm:^0.1.8":
version: 0.1.8
resolution: "@swc/types@npm:0.1.8"
"@swc/types@npm:^0.1.9":
version: 0.1.9
resolution: "@swc/types@npm:0.1.9"
dependencies:
"@swc/counter": "npm:^0.1.3"
checksum: 10c0/a3bb7145d8f01d58f93683645ef530c479243f04c2a79a15020e2a1ac69003643bc1cad1075225f3992b2a5e55be43f264eaea88620263d90ada98a4107fb872
checksum: 10c0/e47db2a06189f100696837ac3d56feaf67e8e68541b236c2de497e066689230f5cbb538fc0ca77c04739ae7653c20a2d79c7ab57ecf7506e2d008cb5e523f724
languageName: node
linkType: hard

Expand Down

0 comments on commit e625081

Please sign in to comment.