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 swc monorepo (#425)
[![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.3.100` -> `1.4.8`](https://renovatebot.com/diffs/npm/@swc%2fcore/1.3.100/1.4.8) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@swc%2fcore/1.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@swc%2fcore/1.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@swc%2fcore/1.3.100/1.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@swc%2fcore/1.3.100/1.4.8?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [swc-loader](https://togithub.com/swc-project/pkgs) | [`0.2.3` -> `0.2.6`](https://renovatebot.com/diffs/npm/swc-loader/0.2.3/0.2.6) | [![age](https://developer.mend.io/api/mc/badges/age/npm/swc-loader/0.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/swc-loader/0.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/swc-loader/0.2.3/0.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/swc-loader/0.2.3/0.2.6?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>swc-project/swc (@​swc/core)</summary> ### [`v1.4.8`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#148---2024-03-14) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.7...v1.4.8) ##### Bug Fixes - **(es/module)** Fix regression of resolving relative modules ([#​8748](https://togithub.com/swc-project/swc/issues/8748)) ([f988b66](https://togithub.com/swc-project/swc/commit/f988b66e1fd921266a8abf6fe9bb997b6878e949)) - **(es/parser)** Allow `export` after decorators when valid ([#​8739](https://togithub.com/swc-project/swc/issues/8739)) ([663261b](https://togithub.com/swc-project/swc/commit/663261be97364911e7b57eab0560ee48e53d8f33)) ##### Miscellaneous Tasks - **(es)** Allow using older `tokio` ([#​8740](https://togithub.com/swc-project/swc/issues/8740)) ([9c1eb01](https://togithub.com/swc-project/swc/commit/9c1eb017fcd90bd21b43f1a988c7fc67639343c1)) ### [`v1.4.7`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#147---2024-03-13) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.6...v1.4.7) ##### Bug Fixes - **(es/minifier)** Fix eval of `toString` of array with holes ([#​8727](https://togithub.com/swc-project/swc/issues/8727)) ([f3fbd9d](https://togithub.com/swc-project/swc/commit/f3fbd9d54925b708139a37865508430cdcb98f9a)) - **(es/minifier)** Do not evaluate `slice` calls with negative index ([#​8726](https://togithub.com/swc-project/swc/issues/8726)) ([23f9635](https://togithub.com/swc-project/swc/commit/23f9635d2cb523d63e5d1611dcf55922bcc54a87)) - **(es/minifier)** Handle cyclic references while dropping unused properties ([#​8725](https://togithub.com/swc-project/swc/issues/8725)) ([102241b](https://togithub.com/swc-project/swc/commit/102241b812b8e815b59575178193bb71b4264bab)) - **(es/minifier)** Fix evaluation of array literals with `void 0` ([#​8733](https://togithub.com/swc-project/swc/issues/8733)) ([aa0154d](https://togithub.com/swc-project/swc/commit/aa0154d2d86b0bed7ffed3324c7a650ffe111c93)) - **(es/minifier)** Fix removal of array pattern bindings ([#​8730](https://togithub.com/swc-project/swc/issues/8730)) ([312f0d8](https://togithub.com/swc-project/swc/commit/312f0d8427b3c4436b491ed4265f9469dc017f8f)) - **(es/minifier)** Make `Finalizer` handle `hoisted_props` correctly ([#​8738](https://togithub.com/swc-project/swc/issues/8738)) ([95761b7](https://togithub.com/swc-project/swc/commit/95761b76bf09a4d2c09517b2bd7bf7b78ee2149f)) - **(es/proposal)** Fix var placement for using transform ([#​8732](https://togithub.com/swc-project/swc/issues/8732)) ([633cd89](https://togithub.com/swc-project/swc/commit/633cd89bacef5f0efef20f1dfa709cff1ecba36f)) ##### Features - **(es/lints)** Add `no-prototype-builtins` rule ([#​8684](https://togithub.com/swc-project/swc/issues/8684)) ([a5dbb17](https://togithub.com/swc-project/swc/commit/a5dbb17612327c66366086f99b44c6731d125ffc)) - **(es/lints)** Add `prefer-object-spread` rule ([#​8696](https://togithub.com/swc-project/swc/issues/8696)) ([aa9297b](https://togithub.com/swc-project/swc/commit/aa9297b42e001f6b7319881870f6012a56c50aef)) ##### Refactor - **(es)** Prepare `wasm32-wasi-preview1-threads` target support ([#​8724](https://togithub.com/swc-project/swc/issues/8724)) ([e3acd14](https://togithub.com/swc-project/swc/commit/e3acd1476c2428e5329a359bb7323687c06108d2)) ### [`v1.4.6`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#146---2024-03-08) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.5...v1.4.6) ##### Bug Fixes - **(es/minifier)** Do not drop used properties ([#​8703](https://togithub.com/swc-project/swc/issues/8703)) ([6069217](https://togithub.com/swc-project/swc/commit/606921700ee9fdb3747a8b54bb851e1d0df27484)) ##### Performance - **(es)** Do not create tokio runtime if not required ([#​8711](https://togithub.com/swc-project/swc/issues/8711)) ([9a1f04f](https://togithub.com/swc-project/swc/commit/9a1f04f4269f65df845897d2fb61449985bdd821)) ### [`v1.4.5`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#145---2024-03-06) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.4...v1.4.5) ##### Bug Fixes - **(es/module)** Fix relativeness check for `jsc.paths` ([#​8702](https://togithub.com/swc-project/swc/issues/8702)) ([d37125f](https://togithub.com/swc-project/swc/commit/d37125fb8ea23eb7b7fae09835c92f548fa5f0ab)) ##### Features - **(es/parser)** Support Regular Expression `v` flag ([#​8690](https://togithub.com/swc-project/swc/issues/8690)) ([4ce39eb](https://togithub.com/swc-project/swc/commit/4ce39ebf32d79982a31458b7b70d9fecde40cd35)) ### [`v1.4.4`](https://togithub.com/swc-project/swc/compare/v1.4.2...v1.4.4) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.2...v1.4.4) ### [`v1.4.2`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#142---2024-02-19) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.1...v1.4.2) ##### Bug Fixes - **(es/helpers)** Add `addInitializer` to field decorators ([#​8619](https://togithub.com/swc-project/swc/issues/8619)) ([cd38ef3](https://togithub.com/swc-project/swc/commit/cd38ef39d6a3b3f1e31d5144e2e8c11bd9144239)) - **(es/minifier)** Abort property hoister on `this` usage ([#​8647](https://togithub.com/swc-project/swc/issues/8647)) ([9715320](https://togithub.com/swc-project/swc/commit/97153206ad07c98e6f8f4f0a62b1f52eecbdf847)) - **(es/react)** Validate pragma before parsing ([#​8637](https://togithub.com/swc-project/swc/issues/8637)) ([5f1cf01](https://togithub.com/swc-project/swc/commit/5f1cf018237d12f786fc6deee48cae5d7d3d77de)) - **(es/typescript)** Handle exported JSX members ([#​8642](https://togithub.com/swc-project/swc/issues/8642)) ([22c8e2e](https://togithub.com/swc-project/swc/commit/22c8e2e1e9914ed161482dea9e63cd34504b6cbd)) ##### Features - **(es/minifier)** Remove unused parameters of arrow functions ([#​8636](https://togithub.com/swc-project/swc/issues/8636)) ([8cd4813](https://togithub.com/swc-project/swc/commit/8cd481306755fb8cd2436dabceb06ea7cbccbb78)) - **(swc_core)** Expose ES linter ([#​8635](https://togithub.com/swc-project/swc/issues/8635)) ([762959c](https://togithub.com/swc-project/swc/commit/762959c72d08994c2ad7c4f43405e591cc6af6eb)) ##### Testing - **(es/parser)** Add a test for `<<` ([#​8634](https://togithub.com/swc-project/swc/issues/8634)) ([2c63b31](https://togithub.com/swc-project/swc/commit/2c63b3114382940e5fa96ddd32ed823a78657ec7)) - **(es/transforms)** Add a test for `reserved_words` pass ([#​8638](https://togithub.com/swc-project/swc/issues/8638)) ([a0b77e0](https://togithub.com/swc-project/swc/commit/a0b77e06645f27a2ffb9f0635b2fa4c8db2fe105)) ### [`v1.4.1`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#141---2024-02-13) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.4.0...v1.4.1) ##### Bug Fixes - **(binding/types)** Update typings for `options.envs` to match implementation ([#​8620](https://togithub.com/swc-project/swc/issues/8620)) ([2a115cf](https://togithub.com/swc-project/swc/commit/2a115cff716b3ac9216d03a4c88649fedff73850)) - **(es/compat)** Visit AssignExpr right branch in FnEnvHoister ([#​8633](https://togithub.com/swc-project/swc/issues/8633)) ([e5d6de0](https://togithub.com/swc-project/swc/commit/e5d6de0ea9fbab0e36791f59b58d6d2c76809ea5)) - **(es/decorators)** Do not insert duplicate constructors ([#​8631](https://togithub.com/swc-project/swc/issues/8631)) ([21a447f](https://togithub.com/swc-project/swc/commit/21a447f35a79cdad4721cdefea26da1d355d34d3)) - **(es/parser)** Set class property to `abstract` or `override` even in error states ([#​8610](https://togithub.com/swc-project/swc/issues/8610)) ([5a77306](https://togithub.com/swc-project/swc/commit/5a773061dbb8674d93fab46681492a7e08f95f2c)) - **(es/parser)** Fix parsing of dynamic source phase imports ([#​8611](https://togithub.com/swc-project/swc/issues/8611)) ([7d724d8](https://togithub.com/swc-project/swc/commit/7d724d8ea3d222721ddc1c2913771c3367b6f689)) - **(es/parser)** Rescan `<<` as `<` when parsing type args ([#​8607](https://togithub.com/swc-project/swc/issues/8607)) ([9e6dad9](https://togithub.com/swc-project/swc/commit/9e6dad9baf900b44591c97c5467494c893f02661)) - **(es/parser)** Fix detection of `use strict` directive ([#​8617](https://togithub.com/swc-project/swc/issues/8617)) ([95236e9](https://togithub.com/swc-project/swc/commit/95236e9abe546c455222a775f9648e82543dfaed)) - **(es/plugin)** Fix schema version issue ([#​8621](https://togithub.com/swc-project/swc/issues/8621)) ([132be95](https://togithub.com/swc-project/swc/commit/132be951733660654b5c0992e19b5f3d414e7350)) - **(es/quote)** Allow variables typed `AssignTarget` ([#​8602](https://togithub.com/swc-project/swc/issues/8602)) ([6a48be4](https://togithub.com/swc-project/swc/commit/6a48be4b6b91c71687c2edc1cf9db9538d9f5650)) - **(es/quote)** Support `AssignTarget`, really ([#​8603](https://togithub.com/swc-project/swc/issues/8603)) ([ef91661](https://togithub.com/swc-project/swc/commit/ef916614f1b714bc765721fd7a35a4a471ac6811)) - **(es/quote)** Fix code generation of `AssignTarget` ([#​8604](https://togithub.com/swc-project/swc/issues/8604)) ([16e9d4c](https://togithub.com/swc-project/swc/commit/16e9d4ca31561caf4fb2a5182337eae78395dbe6)) ##### Features - **(es/minifier)** Implement correct `hoist_props` ([#​8593](https://togithub.com/swc-project/swc/issues/8593)) ([3122e94](https://togithub.com/swc-project/swc/commit/3122e944a8a1720584b43c7f0c4db3508f0cf915)) ##### Miscellaneous Tasks - **(config)** Remove an empty file in `swc_config` ([#​8609](https://togithub.com/swc-project/swc/issues/8609)) ([d87fef0](https://togithub.com/swc-project/swc/commit/d87fef0fea661b3a50e43af85c12db98e978bc82)) - **(preset-env)** Update `browserslist-rs` ([#​8614](https://togithub.com/swc-project/swc/issues/8614)) ([e5585e9](https://togithub.com/swc-project/swc/commit/e5585e99f120eb7c76625d90961fd6e4f12579e5)) ##### Refactor - **(bindings)** Remove bindings for experimental packages ([#​8600](https://togithub.com/swc-project/swc/issues/8600)) ([6c50ff1](https://togithub.com/swc-project/swc/commit/6c50ff1bec9c49d0883016d0b2c0cfa3941290c7)) ##### Testing - **(es)** Update `tsc` conformance test suite ([#​8615](https://togithub.com/swc-project/swc/issues/8615)) ([c0beba7](https://togithub.com/swc-project/swc/commit/c0beba7708f88320617d02ce68f079bbe0252075)) - Update `@swc/plguin-jest` used for plugin e2e testing ([#​8601](https://togithub.com/swc-project/swc/issues/8601)) ([95fe3db](https://togithub.com/swc-project/swc/commit/95fe3dbe931ec42a456fceb2d583d6a04e33edd6)) ##### Build - **(cargo)** Update `rustc` to `nightly-2024-02-06` ([#​8618](https://togithub.com/swc-project/swc/issues/8618)) ([6726b63](https://togithub.com/swc-project/swc/commit/6726b631e68cf7f14612e046c8cf057411e4a3c2)) - **(plugin)** Update `wasmer` to `v4.2.5` ([#​8624](https://togithub.com/swc-project/swc/issues/8624)) ([4e0d240](https://togithub.com/swc-project/swc/commit/4e0d24089588da8952c6986f1bfcc47bcd9f84a2)) ### [`v1.4.0`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#140---2024-02-05) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.107...v1.4.0) ##### Bug Fixes - **(cli)** Make Rust CLI use sourcemap code from the `swc` crate ([#​8576](https://togithub.com/swc-project/swc/issues/8576)) ([82bc061](https://togithub.com/swc-project/swc/commit/82bc061b8caad9b240f3c2ab75c2a53aed502297)) - **(es/codegen)** Fix codegen of async methods with decorators ([#​8575](https://togithub.com/swc-project/swc/issues/8575)) ([8c32225](https://togithub.com/swc-project/swc/commit/8c322250b7276f002fc0848bbb5c53bdb8802c00)) - **(es/lexer)** Fix typo in `package` keyword ([#​8589](https://togithub.com/swc-project/swc/issues/8589)) ([8413a6c](https://togithub.com/swc-project/swc/commit/8413a6c48e94613b9ba264210acab4f7f1787057)) - **(es/minifier)** Fix top-level check ([#​8583](https://togithub.com/swc-project/swc/issues/8583)) ([a7c5255](https://togithub.com/swc-project/swc/commit/a7c5255ad1ad98c183b676af5caaf9057a9eccf1)) - **(es/proposals)** Support using `using` keyword with functions ([#​8574](https://togithub.com/swc-project/swc/issues/8574)) ([d81596c](https://togithub.com/swc-project/swc/commit/d81596cd2b03ab7523937ae3206797a9c3b819bf)) - **(es/resolver)** Skip property in JSX member ([#​8598](https://togithub.com/swc-project/swc/issues/8598)) ([d480ab9](https://togithub.com/swc-project/swc/commit/d480ab9ae8226fd8330376e33f0ad556c50d5b75)) - **(es/testing)** Make `test_inline!` not read output as a file ([#​8569](https://togithub.com/swc-project/swc/issues/8569)) ([d683089](https://togithub.com/swc-project/swc/commit/d683089be1116f7944fcd3dbd4536b343becdf5e)) - **(es/typescript)** Handle exported JSX binding name in TypeScript namespace ([#​8596](https://togithub.com/swc-project/swc/issues/8596)) ([2a70a6b](https://togithub.com/swc-project/swc/commit/2a70a6b1d477db5ae31c5c9412d299acaea10880)) ##### Features - **(es/minifier)** Inline more IIFE arguments ([#​8584](https://togithub.com/swc-project/swc/issues/8584)) ([18e0b53](https://togithub.com/swc-project/swc/commit/18e0b53fbb19eb016fe3695a169ac7f0708c96d3)) - **(es/minifier)** Respect more options ([#​8582](https://togithub.com/swc-project/swc/issues/8582)) ([fd997d3](https://togithub.com/swc-project/swc/commit/fd997d3712cf83d5de5bb63b3e2ac38871c4b736)) ##### Refactor - **(es/ast)** Improve type definitions of patterns ([#​8532](https://togithub.com/swc-project/swc/issues/8532)) ([7f2a2c1](https://togithub.com/swc-project/swc/commit/7f2a2c1e406021b8907b8fd35da456bfdc5f55ac)) ##### Testing - **(es/minifer)** Update the passing terser test list ([#​8573](https://togithub.com/swc-project/swc/issues/8573)) ([8b86638](https://togithub.com/swc-project/swc/commit/8b86638970797fe352db40128aabfb6a8cf9a43e)) - **(es/testing)** Ensure that `test_inline!` is working properly ([#​8590](https://togithub.com/swc-project/swc/issues/8590)) ([872a47b](https://togithub.com/swc-project/swc/commit/872a47b851504f4c0095f7c9f2729d50451c97a6)) ### [`v1.3.107`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13107---2024-01-28) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.106...v1.3.107) ##### Bug Fixes - **(es/codegen)** Do not produce octal literals ([#​8565](https://togithub.com/swc-project/swc/issues/8565)) ([07634a0](https://togithub.com/swc-project/swc/commit/07634a05ba9b989d68502953a69a40a2806e93d0)) - **(es/decorator)** Skip TypeScript class method/prop declarations ([#​8555](https://togithub.com/swc-project/swc/issues/8555)) ([6a8dd8c](https://togithub.com/swc-project/swc/commit/6a8dd8cbb384372657923d4c1094e8053661aa56)) - **(es/decorator)** Preserve state while traversing the `module_items` scope ([#​8556](https://togithub.com/swc-project/swc/issues/8556)) ([f416aff](https://togithub.com/swc-project/swc/commit/f416aff7d7036de72509132603d9b423a0b95f68)) - **(es/loader)** Make `tsc` resolver work for bare specifier ([#​8550](https://togithub.com/swc-project/swc/issues/8550)) ([d6a4615](https://togithub.com/swc-project/swc/commit/d6a46158987d0e96d6184d41c2fdd73df92d6681)) ### [`v1.3.106`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13106---2024-01-25) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.105...v1.3.106) ##### Bug Fixes - **(binding/types)** Add `bugfixes` field to EnvConfig ([#​8538](https://togithub.com/swc-project/swc/issues/8538)) ([49ebdf9](https://togithub.com/swc-project/swc/commit/49ebdf9fb7c9228c711c303c822add29bc3c8364)) - **(common)** Fix source map generation with `inputSourceMap` ([#​8546](https://togithub.com/swc-project/swc/issues/8546)) ([043ee85](https://togithub.com/swc-project/swc/commit/043ee85d0852c7c7d6193ad699074a599326aeec)) - **(es/ast)** Add `definite` and `is_override` to `AutoAccessor` ([#​8436](https://togithub.com/swc-project/swc/issues/8436)) ([572bcae](https://togithub.com/swc-project/swc/commit/572bcaefc1b6ba9f92c57a35ede61fec9f3221bd)) - **(es/ast)** Fix definition of `SetterProp` ([#​8314](https://togithub.com/swc-project/swc/issues/8314)) ([bc38ac9](https://togithub.com/swc-project/swc/commit/bc38ac906c427ba060f3da47c64726fe417162ed)) - **(es/codegen)** Set `sourceRoot` of sourcemaps ([#​6086](https://togithub.com/swc-project/swc/issues/6086)) ([ae78669](https://togithub.com/swc-project/swc/commit/ae786692a0d20254bc233472a23035ba1be25e46)) - **(es/compat)** Support vars from `reserved_word` pass ([#​8543](https://togithub.com/swc-project/swc/issues/8543)) ([fc929e9](https://togithub.com/swc-project/swc/commit/fc929e962ba18afa98ae4523e50ff630527a218f)) - **(es/loader)** Don't use browser versions for `jsc.paths` ([#​8548](https://togithub.com/swc-project/swc/issues/8548)) ([fab27da](https://togithub.com/swc-project/swc/commit/fab27dabed3a4d0478b28c86809cc06482b2c45c)) - **(es/minifier)** Fix a bug related to inliner and the variable scoping ([#​8542](https://togithub.com/swc-project/swc/issues/8542)) ([aa70131](https://togithub.com/swc-project/swc/commit/aa70131c558158abd3dcd3fca53dfe444c511ae1)) - **(es/module)** Fix resolving of dependencies ([#​8533](https://togithub.com/swc-project/swc/issues/8533)) ([71fb5c1](https://togithub.com/swc-project/swc/commit/71fb5c12a75bec27cc775069f83b576019d261f2)) - **(es/module)** Fix handling of `*` in `jsc.paths` ([#​8535](https://togithub.com/swc-project/swc/issues/8535)) ([2d8bd9e](https://togithub.com/swc-project/swc/commit/2d8bd9ed894cbc2e0e9063f6a1ab723c3d3bfdc6)) - **(es/quote)** Add support for import phase to quote macro ([#​8536](https://togithub.com/swc-project/swc/issues/8536)) ([71930ff](https://togithub.com/swc-project/swc/commit/71930ffb5625fb58fab3200764ea98b05abab8ba)) ##### Features - **(css/parser)** Implement error reporting for `@value` of CSS Modules ([#​8547](https://togithub.com/swc-project/swc/issues/8547)) ([00619b1](https://togithub.com/swc-project/swc/commit/00619b17082e857d1d5822f04b9ee82b0a295cc3)) - **(es/ast)** Support import phase ([#​8279](https://togithub.com/swc-project/swc/issues/8279)) ([72048ae](https://togithub.com/swc-project/swc/commit/72048ae1ced64b6d9d326e6d436a60b1191bc266)) - **(swc_core)** Expose `preset_env_base` ([#​8537](https://togithub.com/swc-project/swc/issues/8537)) ([793f265](https://togithub.com/swc-project/swc/commit/793f2651a8c44c43cde8b83d4f98eda6e274676c)) ##### Miscellaneous Tasks - **(common)** Update `sourcemap` ([#​8544](https://togithub.com/swc-project/swc/issues/8544)) ([4630426](https://togithub.com/swc-project/swc/commit/4630426d6aa77af992787456e476b8862c25a45e)) ### [`v1.3.105`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13105---2024-01-21) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.104...v1.3.105) ##### Bug Fixes - **(common)** Remove `<` and `>` from `Display` impl of `FileName::Custom` ([#​8530](https://togithub.com/swc-project/swc/issues/8530)) ([014a6cd](https://togithub.com/swc-project/swc/commit/014a6cda8205183f6c3a5e395b6f89cbf7b388b9)) - **(es/codegen)** Fix codegen of `\\0` ([#​8433](https://togithub.com/swc-project/swc/issues/8433)) ([9f1ce3a](https://togithub.com/swc-project/swc/commit/9f1ce3acd6965302afb3a65713f429fd1ddf4a2b)) - **(es/minifier)** Fix a bug in tpl string <-> string logic ([#​8510](https://togithub.com/swc-project/swc/issues/8510)) ([4946a11](https://togithub.com/swc-project/swc/commit/4946a111377cfb7da5eee3df88a06e2365aac0c2)) - **(es/typescript)** Fix panic on invalid jsx pragma ([#​8513](https://togithub.com/swc-project/swc/issues/8513)) ([f40f59b](https://togithub.com/swc-project/swc/commit/f40f59bd707a9d21d8eb41e42b5c6a1c95f0bb7e)) ##### Miscellaneous Tasks - **(preset-env)** Update `browserslist-rs` ([#​8524](https://togithub.com/swc-project/swc/issues/8524)) ([5e40dc7](https://togithub.com/swc-project/swc/commit/5e40dc7d8c7d7b979c3765fbaa2f9c9b41cf49a0)) ##### Testing - **(es/codegen)** Add tests for `@ctrl/tinycolor` ([#​8518](https://togithub.com/swc-project/swc/issues/8518)) ([1c4eb1f](https://togithub.com/swc-project/swc/commit/1c4eb1f54fbecef8f955172cba725c27eb4e2b7e)) - **(es/codegen)** Add a JS test for ascii-only mode ([#​8519](https://togithub.com/swc-project/swc/issues/8519)) ([974c6a0](https://togithub.com/swc-project/swc/commit/974c6a0036c5ef3e3d12c81c7310758046ff0a0d)) - **(es/minifier)** Add a test for a fixed issue ([#​8520](https://togithub.com/swc-project/swc/issues/8520)) ([8fac2bb](https://togithub.com/swc-project/swc/commit/8fac2bb03ce63eb66774fa007285fa8ae8575038)) - **(es/module)** Add a test for a fixed issue ([#​8521](https://togithub.com/swc-project/swc/issues/8521)) ([4b4a0a2](https://togithub.com/swc-project/swc/commit/4b4a0a244deef02a86165b8fd0a070408abfa654)) ### [`v1.3.104`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13104---2024-01-17) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.103...v1.3.104) ##### Bug Fixes - **(es)** Fix plugin template & restore `test!` as `test_inline!` ([#​8508](https://togithub.com/swc-project/swc/issues/8508)) ([10449e0](https://togithub.com/swc-project/swc/commit/10449e08d9459af2c313eb7146005bcff016d169)) - **(es/systemjs)** Handle top level this ([#​8506](https://togithub.com/swc-project/swc/issues/8506)) ([0f94c8c](https://togithub.com/swc-project/swc/commit/0f94c8cf051f7a7526f6a3e7742fc079146e0af2)) - **(plugin)** Set `swc_common::errors::HANDLER` while invoking plugins ([#​8511](https://togithub.com/swc-project/swc/issues/8511)) ([ba753f1](https://togithub.com/swc-project/swc/commit/ba753f12885c4c3062afa5782dc7f6652981a659)) ### [`v1.3.103`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13103---2024-01-15) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.102...v1.3.103) ##### Bug Fixes - **(binding/types)** Add type for `decoratorVersion` ([#​8468](https://togithub.com/swc-project/swc/issues/8468)) ([79438e6](https://togithub.com/swc-project/swc/commit/79438e6dc24735fae1adc98e9a74ab6cecd502de)) - **(es/codegen)** Emit abstract keyword ([#​8479](https://togithub.com/swc-project/swc/issues/8479)) ([a12eaae](https://togithub.com/swc-project/swc/commit/a12eaae0e544d7e485ce7ce11e56591e7ff34108)) - **(es/codegen)** Emit declare keyword for class properties ([#​8478](https://togithub.com/swc-project/swc/issues/8478)) ([2076ef8](https://togithub.com/swc-project/swc/commit/2076ef8f359941ad511c860000ec3eaa74410cac)) - **(es/codegen)** Emit implements clause with commas ([#​8477](https://togithub.com/swc-project/swc/issues/8477)) ([d98a282](https://togithub.com/swc-project/swc/commit/d98a28290b1c439abbd0cdec30436ef25a256ebd)) - **(es/codegen)** Emit `?` for an optional computed property ([#​8481](https://togithub.com/swc-project/swc/issues/8481)) ([e0bdc0f](https://togithub.com/swc-project/swc/commit/e0bdc0f7c210c73f0291ab72e380743fe5f03b72)) - **(es/codegen)** Fix codegen of a property key in ascii-only mode ([#​8493](https://togithub.com/swc-project/swc/issues/8493)) ([8d9bf4c](https://togithub.com/swc-project/swc/commit/8d9bf4cfaaeef9a9f3307b53c3349bff1359ccdf)) - **(es/compat)** Set inserted var inside export class in destructing ([#​8470](https://togithub.com/swc-project/swc/issues/8470)) ([4416077](https://togithub.com/swc-project/swc/commit/4416077f4ac1afb74575b9a0e836bb66b8dc8b9a)) - **(es/compat)** Correctly handle `this` in arrow function parameters ([#​8489](https://togithub.com/swc-project/swc/issues/8489)) ([52a8f05](https://togithub.com/swc-project/swc/commit/52a8f05fe419e905465e31b493d2007a1511276c)) - **(es/minifier)** Correctly escape more characters ([#​8490](https://togithub.com/swc-project/swc/issues/8490)) ([f7c4934](https://togithub.com/swc-project/swc/commit/f7c4934e591bc14bc965cb28bc6b9ca1d8ac1350)) - **(es/module)** Fix resolving of `.js` files ([#​8480](https://togithub.com/swc-project/swc/issues/8480)) ([b70e96f](https://togithub.com/swc-project/swc/commit/b70e96ffe93d3ed59420d5c66a0a4258f6bf1de7)) - **(es/parser)** Correctly parse the keyword ([#​8483](https://togithub.com/swc-project/swc/issues/8483)) ([740e6f3](https://togithub.com/swc-project/swc/commit/740e6f390a8a5327cc320c9582dbe8afbc8b5a27)) - **(es/resolver)** Resolve top-level `undefined`, `NaN`, and `Infinity` correctly ([#​8471](https://togithub.com/swc-project/swc/issues/8471)) ([82bd807](https://togithub.com/swc-project/swc/commit/82bd8070cb276d8020ba688f1b781b7b46b6ce0c)) ##### Documentation - Replace `string_cache` with `hstr` in `ARCHITECTURE.md` ([#​8487](https://togithub.com/swc-project/swc/issues/8487)) ([abd7c51](https://togithub.com/swc-project/swc/commit/abd7c51583dff82816a910d46e894eddea3c1aff)) ##### Features - **(html/parser)** Allow self-closing `/>` on non-void HTML elements via a flag ([#​8460](https://togithub.com/swc-project/swc/issues/8460)) ([566063d](https://togithub.com/swc-project/swc/commit/566063dca5fe73834cdf5e0acf7c7f344a9806a5)) ##### Refactor - **(css/parser)** Remove value normalization ([#​8434](https://togithub.com/swc-project/swc/issues/8434)) ([85be8a4](https://togithub.com/swc-project/swc/commit/85be8a4de1d8407421aadeb5769d414b9938f693)) ##### Testing - **(es/minifier)** Enable non esm mode for tests ([#​8472](https://togithub.com/swc-project/swc/issues/8472)) ([1120336](https://togithub.com/swc-project/swc/commit/1120336f23a75e8c236f088d56b6dea04311d2ed)) - **(es/minifier)** Enable script mode for `terser_exec` and `mangle` ([#​8474](https://togithub.com/swc-project/swc/issues/8474)) ([b676e75](https://togithub.com/swc-project/swc/commit/b676e75cdd8ae6b4b3637152e39e982637221701)) ### [`v1.3.102`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#13102---2023-12-31) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.101...v1.3.102) ##### Bug Fixes - **(css/parser)** Fix parsing of `hsla(var(--foo), 1)` ([#​8443](https://togithub.com/swc-project/swc/issues/8443)) ([d89b60a](https://togithub.com/swc-project/swc/commit/d89b60a000e6a40a6d624ba3903743f9c80170d1)) - **(es)** Apply `paren_remover` for minify ([#​8442](https://togithub.com/swc-project/swc/issues/8442)) ([e68720a](https://togithub.com/swc-project/swc/commit/e68720a76cf8146befa26ff147a812e9ba2959aa)) - **(es/codegen)** Fix codegen of type-only export declarations ([#​8447](https://togithub.com/swc-project/swc/issues/8447)) ([65dec90](https://togithub.com/swc-project/swc/commit/65dec905c076c8e95341ada23b140a538d37abce)) - **(es/codegen)** Emit `override` keyword ([#​8449](https://togithub.com/swc-project/swc/issues/8449)) ([0dd96f8](https://togithub.com/swc-project/swc/commit/0dd96f85e2215f5c18849bdfb150dc95006399e8)) - **(es/compat)** Use correct `span.lo` in class transforms ([#​8439](https://togithub.com/swc-project/swc/issues/8439)) ([a06d5b2](https://togithub.com/swc-project/swc/commit/a06d5b23416d8f4f45334e5edaed3da53f9f5777)) - **(es/minifier)** Add WeakRef as a safe global reference ([#​8458](https://togithub.com/swc-project/swc/issues/8458)) ([d681785](https://togithub.com/swc-project/swc/commit/d681785b428b7958e7652dc3a7c709ad85b298f9)) - **(es/parser)** Disallowing await as an identifier in class static block ([#​8450](https://togithub.com/swc-project/swc/issues/8450)) ([0b188cc](https://togithub.com/swc-project/swc/commit/0b188ccdff487bc5c344b0e70b102ce1d9ba308d)) - **(es/renamer)** Correctly check top level ([#​8456](https://togithub.com/swc-project/swc/issues/8456)) ([1e44e57](https://togithub.com/swc-project/swc/commit/1e44e57a095c151fc52685b9580c083620342fe7)) ### [`v1.3.101`](https://togithub.com/swc-project/swc/compare/v1.3.100...v1.3.101) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.3.100...v1.3.101) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.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 [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/bazelbuild/examples). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNDUuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI0NS4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->
- Loading branch information