Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency @swc/core to v1.7.3 (#7763)
[![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.6.13` -> `1.7.3`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.6.13/1.7.3) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.6.13/1.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.6.13/1.7.3?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>swc-project/swc (@​swc/core)</summary> ### [`v1.7.3`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#173---2024-07-27) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.7.2...v1.7.3) ##### Bug Fixes - **(es/decorators)** Fix TypeScript syntax assertion ([#​9336](https://togithub.com/swc-project/swc/issues/9336)) ([acb3952](https://togithub.com/swc-project/swc/commit/acb3952ae324433c0049619d696f6c61bc9e475c)) ### [`v1.7.2`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#172---2024-07-25) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.7.1...v1.7.2) ##### Bug Fixes - **(es/ast)** Accept any case of EsVersion during deserialization ([#​9329](https://togithub.com/swc-project/swc/issues/9329)) ([56da6be](https://togithub.com/swc-project/swc/commit/56da6be0e9ff9701f4e0dd5e2972539843cde1cf)) - **(es/typescrupt)** Fix ASI issue in fast ts strip ([#​9332](https://togithub.com/swc-project/swc/issues/9332)) ([57146cf](https://togithub.com/swc-project/swc/commit/57146cf58acb43fb5fa526bfde206c4f147edc6d)) - **(swc_core)** Remove unused `preset_env` ([#​9333](https://togithub.com/swc-project/swc/issues/9333)) ([75bc7bf](https://togithub.com/swc-project/swc/commit/75bc7bfb52f81050f863466ff595ece765ca4fcf)) ##### Documentation - **(bindings/wasm)** Document supported TypeScript version ([#​9334](https://togithub.com/swc-project/swc/issues/9334)) ([66f31c0](https://togithub.com/swc-project/swc/commit/66f31c0af46dea60c51e4155a8887a5d2b441da3)) ### [`v1.7.1`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#171---2024-07-24) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.7.0...v1.7.1) ##### Bug Fixes - **(bindings/types)** Add missing mangle options ([#​9298](https://togithub.com/swc-project/swc/issues/9298)) ([567f40d](https://togithub.com/swc-project/swc/commit/567f40d7973f25d554770d0138323f6dcfeb67c4)) - **(deps)** Update cargo (patch) ([#​9317](https://togithub.com/swc-project/swc/issues/9317)) ([ea66e84](https://togithub.com/swc-project/swc/commit/ea66e849116aaa569a707ef03762344f0bc06cab)) - **(es/ast)** Make span of binding ident include type ann ([#​9293](https://togithub.com/swc-project/swc/issues/9293)) ([2b32481](https://togithub.com/swc-project/swc/commit/2b324812acce58726292d3053ee7ba95e01a3436)) - **(es/minifier)** Support minifying JSX ([#​9271](https://togithub.com/swc-project/swc/issues/9271)) ([9a6367b](https://togithub.com/swc-project/swc/commit/9a6367b0f661e500219aa3c17ca2ff037e498692)) - **(es/typescript)** Fix typings ([#​9301](https://togithub.com/swc-project/swc/issues/9301)) ([27ca712](https://togithub.com/swc-project/swc/commit/27ca712812421ce7cef7770b1dde790080ce09ea)) - **(es/typescript)** Preserve type assertions ([#​9328](https://togithub.com/swc-project/swc/issues/9328)) ([4d60f52](https://togithub.com/swc-project/swc/commit/4d60f528d1e7f3a1606cb2c288786491dbafbd5b)) - **(es/utils)** Use `$crate` for `quote_ident!()` ([#​9309](https://togithub.com/swc-project/swc/issues/9309)) ([bdaaf47](https://togithub.com/swc-project/swc/commit/bdaaf47cb4fc0146485a567d48449116d0e67e98)) ##### Features - **(allocator)** Feature gate `nightly` via macros ([#​9274](https://togithub.com/swc-project/swc/issues/9274)) ([a31fb58](https://togithub.com/swc-project/swc/commit/a31fb58399cc60ad5052d77b5accd560200a4f3d)) - **(allocator)** Add `maybe` types ([#​9278](https://togithub.com/swc-project/swc/issues/9278)) ([a417ff4](https://togithub.com/swc-project/swc/commit/a417ff4d868b45a2157154e2334b8e1177c369e1)) - **(es/typescript)** Add esm build for fast ts strip ([#​9286](https://togithub.com/swc-project/swc/issues/9286)) ([d10cb9f](https://togithub.com/swc-project/swc/commit/d10cb9ffa29033048d242fc3fb4a35ea5fb1bf16)) ##### Miscellaneous Tasks - **(deps)** Update actions ([#​9311](https://togithub.com/swc-project/swc/issues/9311)) ([475432e](https://togithub.com/swc-project/swc/commit/475432e83aad0191b8ad23e503d9fbe1835be196)) - **(deps)** Update npm (patch) ([#​9318](https://togithub.com/swc-project/swc/issues/9318)) ([9d983c3](https://togithub.com/swc-project/swc/commit/9d983c3864888c3402679ce5498f82e71899c210)) - **(deps)** Update `wasmer` to fix broken Windows build ([#​9322](https://togithub.com/swc-project/swc/issues/9322)) ([a120faf](https://togithub.com/swc-project/swc/commit/a120faf84b178c666b9ac785d27f426f89d10ac6)) - **(deps)** Drop `atty` ([#​9325](https://togithub.com/swc-project/swc/issues/9325)) ([831500e](https://togithub.com/swc-project/swc/commit/831500e24a25b454f496729242e5e5d54c01756a)) ##### Performance - **(allocator)** Use `std` instead of `allocator-api2` ([#​9281](https://togithub.com/swc-project/swc/issues/9281)) ([88723db](https://togithub.com/swc-project/swc/commit/88723dbf19a402c6395d34b71a5a8a712b4bf1bc)) - **(es/codegen)** Use `Vec<T>` from `swc_allocator` ([#​9280](https://togithub.com/swc-project/swc/issues/9280)) ([c1cd0b9](https://togithub.com/swc-project/swc/commit/c1cd0b99c14b03c250f2d278f10480da733e0dfa)) - **(es/codegen)** Optimize using `swc_allocator` ([#​9294](https://togithub.com/swc-project/swc/issues/9294)) ([07376c6](https://togithub.com/swc-project/swc/commit/07376c6fbbf7f945b673e4adf3f4d789c10c7781)) - **(es/helpers)** Use `bool` instead of `AtomicBool` ([#​9321](https://togithub.com/swc-project/swc/issues/9321)) ([8107e98](https://togithub.com/swc-project/swc/commit/8107e985e13e73f408d569655119d0684c166f24)) - **(es/minifier)** Pre-allocate collections ([#​9289](https://togithub.com/swc-project/swc/issues/9289)) ([76fe139](https://togithub.com/swc-project/swc/commit/76fe139334b64c9ba62a98dc5319523d21d633f4)) - **(visit)** Modify `Box` and `Vec` in-place ([#​9291](https://togithub.com/swc-project/swc/issues/9291)) ([ae2ac05](https://togithub.com/swc-project/swc/commit/ae2ac05b94a6f9f6e56c26cde5c8b8e705739f1c)) - **(visit)** Add `#[inline]` ([#​9302](https://togithub.com/swc-project/swc/issues/9302)) ([0b3dbb8](https://togithub.com/swc-project/swc/commit/0b3dbb893752952a0bc7ffc5ba9801291c65f019)) - Enable LTO for benchmarks ([#​9279](https://togithub.com/swc-project/swc/issues/9279)) ([a3020b2](https://togithub.com/swc-project/swc/commit/a3020b2bc77d38fde772b98a14c80deb6c4a6911)) ##### Refactor - Remove unused files ([#​9285](https://togithub.com/swc-project/swc/issues/9285)) ([33284c1](https://togithub.com/swc-project/swc/commit/33284c128ed233878b86ea5f660d9ccfc0f82c53)) ##### Build - Update `rustc` to `nightly-2024-07-21` ([#​9319](https://togithub.com/swc-project/swc/issues/9319)) ([279ea91](https://togithub.com/swc-project/swc/commit/279ea910e001f0c7db8d06bc7a3c48e4d718fed9)) ### [`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 ([#​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 ([#​9252](https://togithub.com/swc-project/swc/issues/9252)) ([d8e8b04](https://togithub.com/swc-project/swc/commit/d8e8b04cd877bcf00157eeee9b7af0b4244a1827)) - **(ci)** Fix CI of \`peff ([#​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 ([#​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 ([#​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 ([#​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 ([#​9209](https://togithub.com/swc-project/swc/issues/9209)) ([5cd837f](https://togithub.com/swc-project/swc/commit/5cd837f39a68d28bbc02a21b715d6153fda78a8a)) - **(es/minifier)** Fix case matching ([#​9208](https://togithub.com/swc-project/swc/issues/9208)) ([f81fa6e](https://togithub.com/swc-project/swc/commit/f81fa6e06335745ff6ab5f7956cecc38116b1343)) - **(es/minifier)** Fix compress pow `NaN` ([#​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 ([#​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 ([#​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 ([#​9241](https://togithub.com/swc-project/swc/issues/9241)) ([521161e](https://togithub.com/swc-project/swc/commit/521161e17009e2025ed9b042579f8cd055e26816)) - **(es/minifier)** Fix exponentiate operator ([#​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 ([#​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 ([#​9261](https://togithub.com/swc-project/swc/issues/9261)) ([6ddbfa0](https://togithub.com/swc-project/swc/commit/6ddbfa04db63bf3afbdec5d47f5bdbf7c7ea222f)) - **(es/modules)** Fix lint issue ([#​9206](https://togithub.com/swc-project/swc/issues/9206)) ([efb8636](https://togithub.com/swc-project/swc/commit/efb86368343e7d9909fec21cae8824edac5008e2)) - **(es/quote)** Fix macro ([#​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 ([#​9202](https://togithub.com/swc-project/swc/issues/9202)) ([096bfe3](https://togithub.com/swc-project/swc/commit/096bfe375147bb5b663ec26f8c2bdb977ee527db)) - **(es/typescript)** Fix `transform` mode ([#​9243](https://togithub.com/swc-project/swc/issues/9243)) ([0e79a5b](https://togithub.com/swc-project/swc/commit/0e79a5b428c811c46c69f7f4a84fcff31c98db67)) - **(es/typescript)** Workaround `wasm-bindgen` ([#​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 ([#​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 ([#​9195](https://togithub.com/swc-project/swc/issues/9195)) ([f3681cb](https://togithub.com/swc-project/swc/commit/f3681cb34009824725d39d25b0cbf787ec1e8bd8)) - **(allocator)** Implement `SwcAlloc` ([#​9232](https://togithub.com/swc-project/swc/issues/9232)) ([e343eb6](https://togithub.com/swc-project/swc/commit/e343eb6de2747086f9873c6444964500e40b4936)) - **(allocator)** Add a cargo feature ([#​9239](https://togithub.com/swc-project/swc/issues/9239)) ([398dc21](https://togithub.com/swc-project/swc/commit/398dc21e073d8271fa7ac4169b93ed8b96645459)) - **(allocator)** Implement `default` mode ([#​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 ([#​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` ([#​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` ([#​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 ([#​9178](https://togithub.com/swc-project/swc/issues/9178)) ([962170f](https://togithub.com/swc-project/swc/commit/962170fb704e5f0cf7a00c0a9be3e9d7cf4f6b02)) ##### Performance - **(allocator)** Drop `scoped_tls` ([#​9240](https://togithub.com/swc-project/swc/issues/9240)) ([4ce2514](https://togithub.com/swc-project/swc/commit/4ce2514d1bbf1be3972cd620c3a5f6ffd25ffa9d)) - **(bindings)** Invert Wasm size shrink ([#​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 ([#​9191](https://togithub.com/swc-project/swc/issues/9191)) ([3a23b3d](https://togithub.com/swc-project/swc/commit/3a23b3d120a14ca514204ef80bf744bb483dcfd6)) - **(es/codegen)** Use scoped allocator ([#​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 ([#​9205](https://togithub.com/swc-project/swc/issues/9205)) ([7d9364c](https://togithub.com/swc-project/swc/commit/7d9364cad3618d9039eadbab6fa8c57091ec7794)) - **(es/visit)** Introduce `standard_only_*` macros ([#​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 ([#​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` ([#​9254](https://togithub.com/swc-project/swc/issues/9254)) ([6e098ae](https://togithub.com/swc-project/swc/commit/6e098aeeb5976292e43786f72bd91f1de50a9daa)) - **(common)** Drop `SyntaxContext` from AST nodes ([#​9175](https://togithub.com/swc-project/swc/issues/9175)) ([b2491e5](https://togithub.com/swc-project/swc/commit/b2491e5461c0fea0aed04133074e34c92950845d)) - **(es)** Use `into` for AST construction ([#​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 ([#​9201](https://togithub.com/swc-project/swc/issues/9201)) ([0960b23](https://togithub.com/swc-project/swc/commit/0960b23c045658ca2d8e8d0c2636141fca108bca)) - **(es/codegen)** Revert [#​9248](https://togithub.com/swc-project/swc/issues/9248) ([#​9266](https://togithub.com/swc-project/swc/issues/9266)) ([b9b233c](https://togithub.com/swc-project/swc/commit/b9b233cacd9d326afb806d856c91e38474b237c2)) - **(es/helpers)** Remove unnecessary exports ([#​9225](https://togithub.com/swc-project/swc/issues/9225)) ([69719c2](https://togithub.com/swc-project/swc/commit/69719c2acb6f0eaacd4e3f7739ce8f9ae5d95e76)) - **(visit)** Pre-generate visitor code ([#​9262](https://togithub.com/swc-project/swc/issues/9262)) ([9c17663](https://togithub.com/swc-project/swc/commit/9c176632b1e0d6edec10929486ca514fa992415b)) ##### Testing - **(allocator)** Merge test ([#​9267](https://togithub.com/swc-project/swc/issues/9267)) ([efc3963](https://togithub.com/swc-project/swc/commit/efc396377ff95b0c464fe4bf793dc3da59abd36e)) - **(es/base)** Disable flaky benchmark ([#​9221](https://togithub.com/swc-project/swc/issues/9221)) ([bd4bef1](https://togithub.com/swc-project/swc/commit/bd4bef16fb6d21d97699d46649c8db6af1dd27df)) - Enable scoped API by default ([#​9247](https://togithub.com/swc-project/swc/issues/9247)) ([e7ce94b](https://togithub.com/swc-project/swc/commit/e7ce94b5ee713dc76383c35d99dd6a707c90339c)) ##### Pers - **(es/ast)** Introduce `IdentName` ([#​9185](https://togithub.com/swc-project/swc/issues/9185)) ([7b3e5b3](https://togithub.com/swc-project/swc/commit/7b3e5b3f613e8f9b7a6758a2453515d7c0c5f8a4)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 7pm every weekday,before 5am every weekday" in timezone Europe/Madrid, 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 was generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View the [repository job log](https://developer.mend.io/github/Unleash/unleash). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40NDAuNyIsInVwZGF0ZWRJblZlciI6IjM3LjQ0MC43IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information