Closed renovate[bot] closed 2 years ago
This PR contains the following updates:
1.2.160
1.2.163
5.16.0
5.17.0
2.6.1
2.6.2
2.12.1
2.12.2
{/w/.test(s)}
📅 Schedule: "before 8:00am on monday" (UTC).
🚦 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 if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.
This PR contains the following updates:
1.2.160
->1.2.163
5.16.0
->5.17.0
5.16.0
->5.17.0
2.6.1
->2.6.2
2.12.1
->2.12.2
Release Notes
swc-project/swc
### [`v1.2.163`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#12163---2022-04-03) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.2.162...v1.2.163) ##### Bug Fixes - **(cli)** Update plugin template ([#4222](https://togithub.com/swc-project/swc/issues/4222)) ([69cb512](https://togithub.com/swc-project/swc/commit/69cb512e571de1f8b245fdc538cf9a09c51823f2)) - **(css/prefixer)** Fix flex box ([#4212](https://togithub.com/swc-project/swc/issues/4212)) ([75b0ed5](https://togithub.com/swc-project/swc/commit/75b0ed55f6c352ab2cd918ac746ceef99fa0f124)) - **(es/preset-env)** Change order of passes ([7eea95b](https://togithub.com/swc-project/swc/commit/7eea95be7a08d27d999e9f8a698077bf08b12d12)) ##### Features - **(css/ast)** Derive more traits ([#4220](https://togithub.com/swc-project/swc/issues/4220)) ([def2826](https://togithub.com/swc-project/swc/commit/def2826029fcc405ac73283b3559415105266ad2)) - **(es/ast)** Add `raw` to `BigInt` ([#4218](https://togithub.com/swc-project/swc/issues/4218)) ([e91f271](https://togithub.com/swc-project/swc/commit/e91f2718730b87d7318f45ecfe4ac0c03a52c6fd)) - **(es/compat)** Support more regex expressions ([#4205](https://togithub.com/swc-project/swc/issues/4205)) ([b793aa0](https://togithub.com/swc-project/swc/commit/b793aa020095d797a76e2c19f42ab5822ee2ef03)) - **(plugin)** Implement plugin api for comments ([#4229](https://togithub.com/swc-project/swc/issues/4229)) ([6ea66cf](https://togithub.com/swc-project/swc/commit/6ea66cf001754bb88604a824a2290a3360a798b8)) ##### Performance - **(es/minifier)** Add fast-path for sequences pass ([#4217](https://togithub.com/swc-project/swc/issues/4217)) ([688f653](https://togithub.com/swc-project/swc/commit/688f653323cc9480f9c262040e0bc3861a2ffff9)) - **(es/parser)** Improve performance by using `#[cold]` ([#4215](https://togithub.com/swc-project/swc/issues/4215)) ([1645562](https://togithub.com/swc-project/swc/commit/164556290b03cd530ad5158947cd28310c18fb12)) ##### Refactor - **(css/ast)** Union all at-rules to one at-rule in AST ([#4189](https://togithub.com/swc-project/swc/issues/4189)) ([6696a93](https://togithub.com/swc-project/swc/commit/6696a93b5c7d005bb35be97e3f3ec52c1fe235aa)) ##### Testing - **(es)** Add a test to ensure that an issue is not a bug of swc ([#4227](https://togithub.com/swc-project/swc/issues/4227)) ([bbbaf15](https://togithub.com/swc-project/swc/commit/bbbaf15bbae204030d7c781ca4155987d324c16a)) ### [`v1.2.162`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#12162---2022-03-31) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.2.161...v1.2.162) ##### Bug Fixes - **(es/compat)** Handle spreads of string literials ([#4191](https://togithub.com/swc-project/swc/issues/4191)) ([4f5c5cf](https://togithub.com/swc-project/swc/commit/4f5c5cf8429bb6c10b48aefdc3440b563f21d836)) - **(es/compat)** Handle `new.target` in getter/setter properties ([#4194](https://togithub.com/swc-project/swc/issues/4194)) ([3426dda](https://togithub.com/swc-project/swc/commit/3426dda4f7d662c758d7cb9a15527029f369779f)) - **(es/compat)** Fix label handling of `block_scoping` ([#4198](https://togithub.com/swc-project/swc/issues/4198)) ([c946236](https://togithub.com/swc-project/swc/commit/c946236fcc911da8bdc213dc8674b48c5d0a41e7)) - **(es/compat)** Hoist env in function params ([#4210](https://togithub.com/swc-project/swc/issues/4210)) ([6a27a0c](https://togithub.com/swc-project/swc/commit/6a27a0ce882269df7da71c431a8f8026b698cd60)) - **(es/minifier)** Fix `react-ace` ([#4183](https://togithub.com/swc-project/swc/issues/4183)) ([9a9a4f3](https://togithub.com/swc-project/swc/commit/9a9a4f37d82336f53bf6efbdf4ee38a63d45e278)) - **(es/minifier)** Fix evaluation of IIFEs ([#4207](https://togithub.com/swc-project/swc/issues/4207)) ([1071854](https://togithub.com/swc-project/swc/commit/10718547e0724271f7b8e06292647ec6faa035f7)) - **(es/optimization)** Support jsx in `dce` ([#4203](https://togithub.com/swc-project/swc/issues/4203)) ([073751f](https://togithub.com/swc-project/swc/commit/073751f70d7eb557d0f865aa997cbc36396d923d)) - **(es/parser)** Fix parsing of an arrow and a conditional expression ([#4199](https://togithub.com/swc-project/swc/issues/4199)) ([99a0d34](https://togithub.com/swc-project/swc/commit/99a0d34a1e13a69f5bc1ecf51a6279adab6c20cc)) - **(node-swc)** Initialize custom trace subscriber only once ([#4209](https://togithub.com/swc-project/swc/issues/4209)) ([eecda21](https://togithub.com/swc-project/swc/commit/eecda21d9a36fc2c4b98c2cae4933adb300cdaa0)) ##### Features - **(common/preset-env)** Dedup `arrayvec` ([#4201](https://togithub.com/swc-project/swc/issues/4201)) ([1ad357c](https://togithub.com/swc-project/swc/commit/1ad357cb32147ea95ccce534076b87ea5ae76ebd)) - **(es/minifier)** Evaluate trivial expressions ([#4179](https://togithub.com/swc-project/swc/issues/4179)) ([a6f6799](https://togithub.com/swc-project/swc/commit/a6f679981140867bd36e887249ae63d75186ca5a)) - **(es/minifier)** Optimize switches more correctly ([#4180](https://togithub.com/swc-project/swc/issues/4180)) ([6d3ea17](https://togithub.com/swc-project/swc/commit/6d3ea17aa6b708c7819a6769dccd920bd3fe2efe)) - **(es/minifier)** Evaluate more iifes ([#4200](https://togithub.com/swc-project/swc/issues/4200)) ([11fe5fa](https://togithub.com/swc-project/swc/commit/11fe5fabd8280f7cf2c3ef0d6a12e0f3803ef3e8)) - **(es/parser)** Allow parsing files with missing close braces ([#4187](https://togithub.com/swc-project/swc/issues/4187)) ([cffe5ca](https://togithub.com/swc-project/swc/commit/cffe5ca58e933253f69eb9befd77243c9b81775f)) - **(plugin)** Implement PoC of comments api ([#4206](https://togithub.com/swc-project/swc/issues/4206)) ([536a190](https://togithub.com/swc-project/swc/commit/536a190dc940b89ebb21aa3ee78b90dfbadbf622)) ##### Miscellaneous Tasks - **(es/parser)** Add span tests back ([#4186](https://togithub.com/swc-project/swc/issues/4186)) ([1759567](https://togithub.com/swc-project/swc/commit/1759567fc46c93f963b2fbe54997197f00bc884a)) ##### Refactor - **(\*)** Remove `fastmem` ([#4211](https://togithub.com/swc-project/swc/issues/4211)) ([3b1da22](https://togithub.com/swc-project/swc/commit/3b1da220e2c148725a646064519165f2be2a0036)) - **(cli)** Alias plugin build with wasm target ([#4181](https://togithub.com/swc-project/swc/issues/4181)) ([8ca4e67](https://togithub.com/swc-project/swc/commit/8ca4e674515b77341f77f180235fcfb396dac26d)) ### [`v1.2.161`](https://togithub.com/swc-project/swc/blob/HEAD/CHANGELOG.md#12161---2022-03-28) [Compare Source](https://togithub.com/swc-project/swc/compare/v1.2.160...v1.2.161) ##### Bug Fixes - **(cli)** Fix executable permission ([#4154](https://togithub.com/swc-project/swc/issues/4154)) ([e1d1d82](https://togithub.com/swc-project/swc/commit/e1d1d82fdb6504f3d6d53a0a8dbc3f3ec3eead70)) - **(es)** Make `ErrorConfig.filename` default to true ([#4150](https://togithub.com/swc-project/swc/issues/4150)) ([7a1dcb1](https://togithub.com/swc-project/swc/commit/7a1dcb1b933308fe237f992ff38650c15875c4c5)) - **(es)** Consume surrogate pairs ([#4115](https://togithub.com/swc-project/swc/issues/4115)) ([fcf67c4](https://togithub.com/swc-project/swc/commit/fcf67c45706419127bd5cb3f5a4e65ef08bd9ba6)) - **(es/codegen)** Fix codegen of template literals ([#4124](https://togithub.com/swc-project/swc/issues/4124)) ([f5a5217](https://togithub.com/swc-project/swc/commit/f5a5217506dd18b4ad49920d2e82026eb85dfd73)) - **(es/codegen)** Emit sourcemap of key-value properties correctly ([#4166](https://togithub.com/swc-project/swc/issues/4166)) ([ea0de90](https://togithub.com/swc-project/swc/commit/ea0de9013768bac03d60beb984aa177e0d943694)) - **(es/lints)** Ignore type-only imports while checking duplicates ([#4163](https://togithub.com/swc-project/swc/issues/4163)) ([fce554c](https://togithub.com/swc-project/swc/commit/fce554cfb02d034942ab64114ea212020c51e570)) - **(es/parser)** Allow arrows without parenthesized param in typescript ([#4138](https://togithub.com/swc-project/swc/issues/4138)) ([ab4ea9f](https://togithub.com/swc-project/swc/commit/ab4ea9f0cb202d79b3713b9418271b19a64dd23a)) - **(es/parser)** Fix logic for consuming ts modifiers ([#4137](https://togithub.com/swc-project/swc/issues/4137)) ([f5ce79a](https://togithub.com/swc-project/swc/commit/f5ce79a72c947e255830281151c4f7fe14baa45b)) ##### Features - **(cli)** Implements some compile flags ([#4125](https://togithub.com/swc-project/swc/issues/4125)) ([a6f39d3](https://togithub.com/swc-project/swc/commit/a6f39d3bd6e7bc57203e1cf4f2cadc12e4396e9f)) - **(css/minifier)** Compress more properties ([#4130](https://togithub.com/swc-project/swc/issues/4130)) ([93866d0](https://togithub.com/swc-project/swc/commit/93866d0be5cf08a1c0a78c3a8c6b907a31525926)) - **(css/minifier)** Remove `@charset` at-rule if possible ([#4135](https://togithub.com/swc-project/swc/issues/4135)) ([6b6664a](https://togithub.com/swc-project/swc/commit/6b6664a92df62338c1152fbe9baa5227eb3075a4)) - **(css/minifier)** Compress more properties ([#4155](https://togithub.com/swc-project/swc/issues/4155)) ([364ebd9](https://togithub.com/swc-project/swc/commit/364ebd951a49c5dcc2f8b04b1b9521422ad772fc)) - **(css/prefixer)** Prefix more properties ([#4153](https://togithub.com/swc-project/swc/issues/4153)) ([46c35da](https://togithub.com/swc-project/swc/commit/46c35dab25f9e54c8c25e5176cd127ad2f91b380)) - **(es/codegen)** Compress `\t` in string literals more ([#4131](https://togithub.com/swc-project/swc/issues/4131)) ([48f3dc8](https://togithub.com/swc-project/swc/commit/48f3dc8cc439fa5970b68a28c7db26cb88dacca7)) - **(es/lints)** Use `Str.raw` instead of source map ([#4139](https://togithub.com/swc-project/swc/issues/4139)) ([d8a988e](https://togithub.com/swc-project/swc/commit/d8a988ef3d5dfba839af0866ead73faf54f205dc)) - **(es/lints)** Improve error messages ([#4142](https://togithub.com/swc-project/swc/issues/4142)) ([0f92eda](https://togithub.com/swc-project/swc/commit/0f92eda0c78277d3de83ae85cf8a5c04e9c437bf)) - **(es/lints)** Implement `no-param-reassign` rule ([#4134](https://togithub.com/swc-project/swc/issues/4134)) ([47712de](https://togithub.com/swc-project/swc/commit/47712de0da0a923dfebe52ebd98070924303f4d0)) - **(es/lints)** Remove source map accesses ([#4147](https://togithub.com/swc-project/swc/issues/4147)) ([7a06c5b](https://togithub.com/swc-project/swc/commit/7a06c5b3d888418098dfe55d030645087e11b5e8)) - **(es/lints)** Implement `symbol-description` rule ([#4161](https://togithub.com/swc-project/swc/issues/4161)) ([10851ec](https://togithub.com/swc-project/swc/commit/10851ece981b7d71bf33b5f9a5391b59d4841b57)) - **(es/lints)** Implement `no-obj-calls` rule ([#4168](https://togithub.com/swc-project/swc/issues/4168)) ([a88d56e](https://togithub.com/swc-project/swc/commit/a88d56ee08c29b1f9f4cf5028fe2113d15b2efcf)) - **(es/minifier)** Implement some unsafe evaluation rules ([#4133](https://togithub.com/swc-project/swc/issues/4133)) ([1d3763d](https://togithub.com/swc-project/swc/commit/1d3763d96c94638bb0828110cc90bd123f96e327)) - **(es/minifier)** Implement more rules for optimizing for-if-break ([#4140](https://togithub.com/swc-project/swc/issues/4140)) ([ee5c48c](https://togithub.com/swc-project/swc/commit/ee5c48c935b3cd8fa237680dd02f6bcb4faf8a82)) - **(es/minifier)** Implement rules for optimizing loops ([#4157](https://togithub.com/swc-project/swc/issues/4157)) ([b37dafb](https://togithub.com/swc-project/swc/commit/b37dafbd2789ee8e5194ef2593c460f056c2b70f)) - **(es/minifier)** Implement more rules for dropping unused assignemnts ([#4171](https://togithub.com/swc-project/swc/issues/4171)) ([6f25e57](https://togithub.com/swc-project/swc/commit/6f25e5774b3ac228b64da47cb370053ed1511b86)) - **(es/parser)** Report more errors for invalid patterns ([#4145](https://togithub.com/swc-project/swc/issues/4145)) ([cd7112b](https://togithub.com/swc-project/swc/commit/cd7112b18bcc98b704846adbd32c1d63557dcffe)) - **(es/plugin)** Make `quote` optional ([#4160](https://togithub.com/swc-project/swc/issues/4160)) ([5de3141](https://togithub.com/swc-project/swc/commit/5de31416be579a4257789d0ad927db15eec9a73c)) - **(es/typescript)** Support optional variance annotations ([#4008](https://togithub.com/swc-project/swc/issues/4008)) ([bf1924d](https://togithub.com/swc-project/swc/commit/bf1924d1a8cc2039b624eecd9730d012c1e47321)) - **(plugin/runner)** Implement initial loading for wasm32 ([#4151](https://togithub.com/swc-project/swc/issues/4151)) ([161353c](https://togithub.com/swc-project/swc/commit/161353cf25c32777cc8fff971b978b1424235cda)) - **(wasm/plugin)** Implement initial plugin interface for wasm runtimes ([#4123](https://togithub.com/swc-project/swc/issues/4123)) ([50f7f46](https://togithub.com/swc-project/swc/commit/50f7f465f9181ef6bcb63ee5457aa42f5e6ee29c)) ##### Miscellaneous Tasks - **(deps)** Update `string-cache` ([#4169](https://togithub.com/swc-project/swc/issues/4169)) ([b473414](https://togithub.com/swc-project/swc/commit/b473414b3cbc5b66ae362f0ad670430be5a7d451)) - **(es/minifier)** Add logging ([#4156](https://togithub.com/swc-project/swc/issues/4156)) ([97dfcb9](https://togithub.com/swc-project/swc/commit/97dfcb9ccb39620576d6e63c195ec588ff4c5790)) ##### Refactor - **(css/prefixer)** Rename crate ([#4159](https://togithub.com/swc-project/swc/issues/4159)) ([7817547](https://togithub.com/swc-project/swc/commit/78175473fa10cb5298b226c083da0efab38db997)) - **(es/lints)** Use util for parens ([#4167](https://togithub.com/swc-project/swc/issues/4167)) ([2a9cb2d](https://togithub.com/swc-project/swc/commit/2a9cb2d12ac0957c0d1ae0f64d2b2f8dc72de12a)) ##### Testing - **(es)** Organize tests ([#4129](https://togithub.com/swc-project/swc/issues/4129)) ([ede6e02](https://togithub.com/swc-project/swc/commit/ede6e027c2965478459840967713e910344b2521))typescript-eslint/typescript-eslint (@typescript-eslint/eslint-plugin)
### [`v5.17.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#5170-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5160v5170-2022-03-28) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.16.0...v5.17.0) ##### Features - **eslint-plugin:** \[no-unused-vars] add destructuredArrayIgnorePattern options ([#4748](https://togithub.com/typescript-eslint/typescript-eslint/issues/4748)) ([6f8db8b](https://togithub.com/typescript-eslint/typescript-eslint/commit/6f8db8b64821d280fff408c1704a9adde682ed69))typescript-eslint/typescript-eslint (@typescript-eslint/parser)
### [`v5.17.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#5170-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5160v5170-2022-03-28) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.16.0...v5.17.0) **Note:** Version bump only for package [@typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)prettier/prettier
### [`v2.6.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#262) [Compare Source](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2) [diff](https://togithub.com/prettier/prettier/compare/2.6.1...2.6.2) ##### Fix LESS/SCSS format error ([#12536](https://togithub.com/prettier/prettier/pull/12536) by [@fisker](https://togithub.com/fisker)) ```less // Input .background-gradient(@cut) { background: linear-gradient( to right, @white 0%, @white (@cut - 0.01%), @portal-background @cut, @portal-background 100% ); } // Prettier 2.6.1 TypeError: Cannot read properties of undefined (reading 'endOffset') // Prettier 2.6.2 .background-gradient(@cut) { background: linear-gradient( to right, @white 0%, @white (@cut - 0.01%), @portal-background @cut, @portal-background 100% ); } ``` ##### Update `meriyah` to fix several bugs ([#12567](https://togithub.com/prettier/prettier/pull/12567) by [@fisker](https://togithub.com/fisker), fixes in [`meriyah`](https://togithub.com/meriyah/meriyah/) by [@3cp](https://togithub.com/3cp)) Fixes bugs when parsing following valid code: ```js foo(await bar()); ``` ```js const regex = /.*/ms; ``` ```js const element ={/w/.test(s)}
; ``` ```js class A extends B { #privateMethod() { super.method(); } } ```sindresorhus/type-fest
### [`v2.12.2`](https://togithub.com/sindresorhus/type-fest/releases/v2.12.2) [Compare Source](https://togithub.com/sindresorhus/type-fest/compare/v2.12.1...v2.12.2) - `Get`: Fix TypeScript 4.7 compatibility ([#388](https://togithub.com/sindresorhus/type-fest/issues/388)) [`6c7ac47`](https://togithub.com/sindresorhus/type-fest/commit/6c7ac47) - `TsConfig`: Add `watchOptions` field ([#384](https://togithub.com/sindresorhus/type-fest/issues/384)) [`7aa0605`](https://togithub.com/sindresorhus/type-fest/commit/7aa0605) - `Jsonify`: Handle `undefined` in array ([#310](https://togithub.com/sindresorhus/type-fest/issues/310)) [`17b0235`](https://togithub.com/sindresorhus/type-fest/commit/17b0235)Configuration
📅 Schedule: "before 8:00am on monday" (UTC).
🚦 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 if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.