Milkdown / vscode

MIT License
257 stars 10 forks source link

chore(deps): update all dependencies #18

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/mocha ^8.2.2 -> ^9.0.0 age adoption passing confidence
@types/node 14.x -> 16.x age adoption passing confidence
@typescript-eslint/eslint-plugin ^4.26.0 -> ^5.0.0 age adoption passing confidence
@typescript-eslint/parser ^4.26.0 -> ^5.0.0 age adoption passing confidence
concurrently ^6.2.1 -> ^7.0.0 age adoption passing confidence
esbuild ^0.12.21 -> ^0.14.0 age adoption passing confidence
eslint (source) ^7.27.0 -> ^8.0.0 age adoption passing confidence
eslint-plugin-prettier ^3.4.0 -> ^4.0.0 age adoption passing confidence
mocha (source) ^8.4.0 -> ^9.0.0 age adoption passing confidence
postcss-cli ^8.3.1 -> ^9.0.0 age adoption passing confidence

Release Notes

typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin) ### [`v5.9.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev590v591-2022-01-10) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.9.0...v5.9.1) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v5.9.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev581v590-2022-01-03) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.8.1...v5.9.0) ##### Features - **experimental-utils:** move isTypeReadonly from eslint-plugin to experimental-utils ([#​3658](https://togithub.com/typescript-eslint/typescript-eslint/issues/3658)) ([a9eb0b9](https://togithub.com/typescript-eslint/typescript-eslint/commit/a9eb0b9eb2db291ea36065ec34f84bf5c5504b43)) #### [5.8.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.8.0...v5.8.1) (2021-12-27) ##### Bug Fixes - **eslint-plugin:** \[consistent-indexed-object-style] do not report for circular references ([#​4347](https://togithub.com/typescript-eslint/typescript-eslint/issues/4347)) ([6edebcd](https://togithub.com/typescript-eslint/typescript-eslint/commit/6edebcda00053eecf7b3e55eeb3fe5d7fb9e7db7)) - **eslint-plugin:** \[consistent-type-definitions] correct fixer with declare keyword ([#​4334](https://togithub.com/typescript-eslint/typescript-eslint/issues/4334)) ([0cd911a](https://togithub.com/typescript-eslint/typescript-eslint/commit/0cd911a916805d3b1f8043584e4685f3edd5c427)) - **eslint-plugin:** \[padding-line-between-statements] make function overloading is also processed ([#​4345](https://togithub.com/typescript-eslint/typescript-eslint/issues/4345)) ([d31ec26](https://togithub.com/typescript-eslint/typescript-eslint/commit/d31ec264fe5f5cd27e8f522a485e106889f2d380)) ### [`v5.8.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​581-httpsgithubcomtypescript-eslinttypescript-eslintcomparev580v581-2021-12-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.8.0...v5.8.1) ##### Bug Fixes - **eslint-plugin:** \[consistent-indexed-object-style] do not report for circular references ([#​4347](https://togithub.com/typescript-eslint/typescript-eslint/issues/4347)) ([6edebcd](https://togithub.com/typescript-eslint/typescript-eslint/commit/6edebcda00053eecf7b3e55eeb3fe5d7fb9e7db7)) - **eslint-plugin:** \[consistent-type-definitions] correct fixer with declare keyword ([#​4334](https://togithub.com/typescript-eslint/typescript-eslint/issues/4334)) ([0cd911a](https://togithub.com/typescript-eslint/typescript-eslint/commit/0cd911a916805d3b1f8043584e4685f3edd5c427)) - **eslint-plugin:** \[padding-line-between-statements] make function overloading is also processed ([#​4345](https://togithub.com/typescript-eslint/typescript-eslint/issues/4345)) ([d31ec26](https://togithub.com/typescript-eslint/typescript-eslint/commit/d31ec264fe5f5cd27e8f522a485e106889f2d380)) ### [`v5.8.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​580-httpsgithubcomtypescript-eslinttypescript-eslintcomparev570v580-2021-12-20) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.7.0...v5.8.0) ##### Bug Fixes - **eslint-plugin:** \[no-implied-eval] improve performance ([#​4313](https://togithub.com/typescript-eslint/typescript-eslint/issues/4313)) ([e344596](https://togithub.com/typescript-eslint/typescript-eslint/commit/e3445967de6ed73e6b2334380236aed8a0ee6e4f)) - **eslint-plugin:** \[padding-line-between-statements] `type` StatementTypes can't differenciate from variable ([#​4270](https://togithub.com/typescript-eslint/typescript-eslint/issues/4270)) ([bfc4324](https://togithub.com/typescript-eslint/typescript-eslint/commit/bfc4324f4cda24e30b2d39d5b70f7554f2b6bf81)) - **eslint-plugin:** \[strict-boolean-expression] false positive for truthy boolean ([#​4275](https://togithub.com/typescript-eslint/typescript-eslint/issues/4275)) ([72c2e41](https://togithub.com/typescript-eslint/typescript-eslint/commit/72c2e418a4180f6db5795ebb42cbc095f5c53c37)) - **eslint-plugin:** `array-type` mark `AST_NODE_TYPES.TSBigIntKeyword` as simple ([#​4274](https://togithub.com/typescript-eslint/typescript-eslint/issues/4274)) ([74e544e](https://togithub.com/typescript-eslint/typescript-eslint/commit/74e544e487328e56fcb7aef048a78beaad593ea0)) - **eslint-plugin:** handle method overloading in `semi` ([#​4318](https://togithub.com/typescript-eslint/typescript-eslint/issues/4318)) ([3b87b49](https://togithub.com/typescript-eslint/typescript-eslint/commit/3b87b49ea8d62c2f4f3bee7494500b5ad44fcbc1)) - **experimental-utils:** support immutable members ([#​3844](https://togithub.com/typescript-eslint/typescript-eslint/issues/3844)) ([3d33a77](https://togithub.com/typescript-eslint/typescript-eslint/commit/3d33a77c57e5b752edf6f35ed152038bdb230b79)) ##### Features - **eslint-plugin:** \[no-throw-literal] add options to to disallow `any`/`unknown` ([#​4207](https://togithub.com/typescript-eslint/typescript-eslint/issues/4207)) ([ff0adf9](https://togithub.com/typescript-eslint/typescript-eslint/commit/ff0adf9e0bfbf71667c51de0a84038586e4cbfd1)) - **eslint-plugin:** \[restrict-plus-operand] add allowAny option ([#​4260](https://togithub.com/typescript-eslint/typescript-eslint/issues/4260)) ([2788545](https://togithub.com/typescript-eslint/typescript-eslint/commit/27885456c577dfada52d298857f406f0f332c405)) ### [`v5.7.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​570-httpsgithubcomtypescript-eslinttypescript-eslintcomparev560v570-2021-12-13) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.6.0...v5.7.0) ##### Features - **eslint-plugin:** \[consistent-type-exports] support TS4.5 inline export specifiers ([#​4236](https://togithub.com/typescript-eslint/typescript-eslint/issues/4236)) ([be4d976](https://togithub.com/typescript-eslint/typescript-eslint/commit/be4d976215614cc032730ae596d2f6e47df67730)) - **eslint-plugin:** \[consistent-type-imports] support TS4.5 inline import specifiers ([#​4237](https://togithub.com/typescript-eslint/typescript-eslint/issues/4237)) ([f61af7c](https://togithub.com/typescript-eslint/typescript-eslint/commit/f61af7c53cca52f81e77b4334c7d6ad100609af6)) - **eslint-plugin:** \[no-shadow] support TS4.5 inline import specifiers ([#​4239](https://togithub.com/typescript-eslint/typescript-eslint/issues/4239)) ([96b7e8e](https://togithub.com/typescript-eslint/typescript-eslint/commit/96b7e8ee0f5280cab50a7205ae592e1d983a111a)) ### [`v5.6.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​560-httpsgithubcomtypescript-eslinttypescript-eslintcomparev550v560-2021-12-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) ##### Features - **scope-manager:** support TS4.5 import/export specifier kind ([#​4234](https://togithub.com/typescript-eslint/typescript-eslint/issues/4234)) ([833f822](https://togithub.com/typescript-eslint/typescript-eslint/commit/833f8221ce00aecb7d08c519bab9568353850f48)) ### [`v5.5.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​550-httpsgithubcomtypescript-eslinttypescript-eslintcomparev540v550-2021-11-29) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) ##### Bug Fixes - **eslint-plugin:** \[member-ordering] order literal names correctly in ([#​4054](https://togithub.com/typescript-eslint/typescript-eslint/issues/4054)) ([d57141a](https://togithub.com/typescript-eslint/typescript-eslint/commit/d57141a3d13fad30a93ed99a6a15f4b0b369246a)) - **eslint-plugin:** \[no-duplicate-imports] remove unnecessary type checking for `node.source` ([#​4196](https://togithub.com/typescript-eslint/typescript-eslint/issues/4196)) ([637722a](https://togithub.com/typescript-eslint/typescript-eslint/commit/637722a77667f6ed1e0cf1f0e752d61622ae8546)) - **eslint-plugin:** \[no-var-requires] do not report require created from createRequire ([#​4221](https://togithub.com/typescript-eslint/typescript-eslint/issues/4221)) ([0040186](https://togithub.com/typescript-eslint/typescript-eslint/commit/0040186aa23692724986df22a71926e8a7ff9e02)) - **eslint-plugin:** \[prefer-for-of] do nor error when iterating over this ([#​4176](https://togithub.com/typescript-eslint/typescript-eslint/issues/4176)) ([258ddb0](https://togithub.com/typescript-eslint/typescript-eslint/commit/258ddb0708b7a44959bd3ac399cbde912c8021c8)) - **eslint-plugin:** \[require-await] treat yield\* asynciterable as an await ([#​4125](https://togithub.com/typescript-eslint/typescript-eslint/issues/4125)) ([5a4ce6a](https://togithub.com/typescript-eslint/typescript-eslint/commit/5a4ce6a241b1d6c6caad87cad85c3741f0953e39)) - **eslint-plugin:** remove all whitespaces in comparison [#​4220](https://togithub.com/typescript-eslint/typescript-eslint/issues/4220) ([#​4223](https://togithub.com/typescript-eslint/typescript-eslint/issues/4223)) ([853d799](https://togithub.com/typescript-eslint/typescript-eslint/commit/853d799428a061d9bf6a2e74b01dc49a1e4f3134)) ##### Features - **eslint-plugin:** \[member-ordering] add option to sort case insensitive ([#​3896](https://togithub.com/typescript-eslint/typescript-eslint/issues/3896)) ([e3533d5](https://togithub.com/typescript-eslint/typescript-eslint/commit/e3533d5a6293a358b5eb0a6ed17da961a09b0ed3)) - **eslint-plugin:** `array-type` distinguish whether readonly or not ([#​4066](https://togithub.com/typescript-eslint/typescript-eslint/issues/4066)) ([314af44](https://togithub.com/typescript-eslint/typescript-eslint/commit/314af44bde3ccbebc620625b2931d77688525976)) ### [`v5.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​540-httpsgithubcomtypescript-eslinttypescript-eslintcomparev531v540-2021-11-15) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.3.1...v5.4.0) ##### Bug Fixes - correct issues with circular imports ([#​4140](https://togithub.com/typescript-eslint/typescript-eslint/issues/4140)) ([4c87b24](https://togithub.com/typescript-eslint/typescript-eslint/commit/4c87b2486a9c90794d972a4d093c1dc22ffb418b)) - **eslint-plugin:** \[explicit-member-accessibility] private fields cannot have accessibility modifiers ([#​4117](https://togithub.com/typescript-eslint/typescript-eslint/issues/4117)) ([81b25c1](https://togithub.com/typescript-eslint/typescript-eslint/commit/81b25c12eceae89e181a7bdb3c8298d820cfe3e3)) - **eslint-plugin:** \[no-implied-eval] ignore locally declared functions ([#​4049](https://togithub.com/typescript-eslint/typescript-eslint/issues/4049)) ([d97140e](https://togithub.com/typescript-eslint/typescript-eslint/commit/d97140ecf4aeb0a1f8b391f46a31881f21ad93c3)) - **eslint-plugin:** check optional chaining for floating promises ([#​4096](https://togithub.com/typescript-eslint/typescript-eslint/issues/4096)) ([d724777](https://togithub.com/typescript-eslint/typescript-eslint/commit/d7247770886c619263482c3e083bed9f97b22688)) ##### Features - add RuleCreator.withoutDocs ([#​4136](https://togithub.com/typescript-eslint/typescript-eslint/issues/4136)) ([87cfc6a](https://togithub.com/typescript-eslint/typescript-eslint/commit/87cfc6ad3e3312d7b6f98a592fb37e69d5d6880a)) - **typescript-estree:** support private fields in-in syntax ([#​4075](https://togithub.com/typescript-eslint/typescript-eslint/issues/4075)) ([939d8ea](https://togithub.com/typescript-eslint/typescript-eslint/commit/939d8eac547fb1734aa00f1ea01cc6eae0b4280a)) #### [5.3.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.3.0...v5.3.1) (2021-11-08) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v5.3.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​531-httpsgithubcomtypescript-eslinttypescript-eslintcomparev530v531-2021-11-08) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.3.0...v5.3.1) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v5.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​530-httpsgithubcomtypescript-eslinttypescript-eslintcomparev520v530-2021-11-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.2.0...v5.3.0) ##### Bug Fixes - **eslint-plugin:** ignore private identifiers in explicit-module-boundary-types ([#​4046](https://togithub.com/typescript-eslint/typescript-eslint/issues/4046)) ([80b853d](https://togithub.com/typescript-eslint/typescript-eslint/commit/80b853db90ae3d4e32c4b7ec9d45a5c41dc459c9)) - **eslint-plugin:** skip seenTypes for unions in isTypeReadonly ([#​4043](https://togithub.com/typescript-eslint/typescript-eslint/issues/4043)) ([6af7ca7](https://togithub.com/typescript-eslint/typescript-eslint/commit/6af7ca7d9fde230342d27ad5a75a09a58c022974)) ##### Features - **eslint-plugin:** \[no-shadow] exclude external type declaration merging ([#​3959](https://togithub.com/typescript-eslint/typescript-eslint/issues/3959)) ([a93cebf](https://togithub.com/typescript-eslint/typescript-eslint/commit/a93cebfc0f2026c50972bcb110bcd3295ba9a44d)) ### [`v5.2.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​520-httpsgithubcomtypescript-eslinttypescript-eslintcomparev510v520-2021-10-25) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.1.0...v5.2.0) ##### Bug Fixes - **eslint-plugin:** \[typedef] fix regression with class properties ([#​4034](https://togithub.com/typescript-eslint/typescript-eslint/issues/4034)) ([fe53d22](https://togithub.com/typescript-eslint/typescript-eslint/commit/fe53d22f57ad418397fb31fa89c97db0ab4cd6c0)), closes [#​4033](https://togithub.com/typescript-eslint/typescript-eslint/issues/4033) ##### Features - **eslint-plugin:** adding `consistent-type-exports` rule ([#​3936](https://togithub.com/typescript-eslint/typescript-eslint/issues/3936)) ([1971a3f](https://togithub.com/typescript-eslint/typescript-eslint/commit/1971a3f8027416cd1fb33b1d50faa035599917de)) ### [`v5.1.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​510-httpsgithubcomtypescript-eslinttypescript-eslintcomparev500v510-2021-10-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.0.0...v5.1.0) ##### Bug Fixes - **eslint-plugin:** \[no-restricted-imports]: report type-only imports properly ([#​3996](https://togithub.com/typescript-eslint/typescript-eslint/issues/3996)) ([283cdf2](https://togithub.com/typescript-eslint/typescript-eslint/commit/283cdf26e6b32985531ff6416cd13ef4cb0a3c8c)) - **eslint-plugin:** \[strict-bool-expr] treat unconstrained generic as any ([#​3981](https://togithub.com/typescript-eslint/typescript-eslint/issues/3981)) ([9b29ca7](https://togithub.com/typescript-eslint/typescript-eslint/commit/9b29ca751f496c25240c0c14b8fa432bf4443d39)) ### [`v5.0.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​500-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4330v500-2021-10-11) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.33.0...v5.0.0) ##### Bug Fixes - **eslint-plugin:** \[explicit-member-accessibility] report `TSAbstractPropertyDefinition` and `TSAbstractMethodDefinition` properly ([#​3901](https://togithub.com/typescript-eslint/typescript-eslint/issues/3901)) ([82016f9](https://togithub.com/typescript-eslint/typescript-eslint/commit/82016f99b14825c9c60e1f7eb3b4efcc492bba86)) - **eslint-plugin:** update new rules from master ([#​3840](https://togithub.com/typescript-eslint/typescript-eslint/issues/3840)) ([d88a6b4](https://togithub.com/typescript-eslint/typescript-eslint/commit/d88a6b44eedcf9dd59569160570aa118851aa86b)) - update new rules from master ([b34fb7e](https://togithub.com/typescript-eslint/typescript-eslint/commit/b34fb7eb3102ea603bb4aef0dbbf9885b3d47557)) - **eslint-plugin:** crash in no-dupe-class-members (v5) ([#​3813](https://togithub.com/typescript-eslint/typescript-eslint/issues/3813)) ([4b09644](https://togithub.com/typescript-eslint/typescript-eslint/commit/4b096442f731c0a60926ac0391a4f2c4208aa8d4)) ##### Features - **ast-spec:** bring `Node` objects in line with ESTree ([#​3771](https://togithub.com/typescript-eslint/typescript-eslint/issues/3771)) ([dd14064](https://togithub.com/typescript-eslint/typescript-eslint/commit/dd140643b457aa515cc21fcda2b3cd4acc2a1c5c)) - **eslint-plugin:** remove `object` from `ban-types`' default types ([#​3818](https://togithub.com/typescript-eslint/typescript-eslint/issues/3818)) ([ae3fa90](https://togithub.com/typescript-eslint/typescript-eslint/commit/ae3fa900d5b4e1f557a52ca58d35a7d098d9efaf)) - **eslint-plugin:** removed value from abstract property nodes ([#​3765](https://togithub.com/typescript-eslint/typescript-eslint/issues/3765)) ([5823524](https://togithub.com/typescript-eslint/typescript-eslint/commit/58235241714596b641a1e8b39c569e561e0039b4)), closes [#​3748](https://togithub.com/typescript-eslint/typescript-eslint/issues/3748) - **eslint-plugin:** update recommended configs ([#​3809](https://togithub.com/typescript-eslint/typescript-eslint/issues/3809)) ([deeb7bb](https://togithub.com/typescript-eslint/typescript-eslint/commit/deeb7bb9334d301c6af56aefd37d318231af11ef)) - align class property representation with ESTree ([#​3806](https://togithub.com/typescript-eslint/typescript-eslint/issues/3806)) ([22fa5c0](https://togithub.com/typescript-eslint/typescript-eslint/commit/22fa5c0c4705ed2898f00b7cacc5dd642d859275)), closes [#​3430](https://togithub.com/typescript-eslint/typescript-eslint/issues/3430) [#​3077](https://togithub.com/typescript-eslint/typescript-eslint/issues/3077) - remove `meta.docs.category` from rules ([#​3800](https://togithub.com/typescript-eslint/typescript-eslint/issues/3800)) ([71c9370](https://togithub.com/typescript-eslint/typescript-eslint/commit/71c93706e55f5f92a1285102b93c6ab1950c6df4)) - remove `TSParenthesizedType` ([#​3340](https://togithub.com/typescript-eslint/typescript-eslint/issues/3340)) ([c8ee432](https://togithub.com/typescript-eslint/typescript-eslint/commit/c8ee43269faea4c04ec02eaa2b81a0aa6eec5d3e)), closes [#​3136](https://togithub.com/typescript-eslint/typescript-eslint/issues/3136) - support `PrivateIdentifier` ([#​3808](https://togithub.com/typescript-eslint/typescript-eslint/issues/3808)) ([0eefe5e](https://togithub.com/typescript-eslint/typescript-eslint/commit/0eefe5e49d21af3f1e3e2d9a90c2e49929863ac2)), closes [#​3430](https://togithub.com/typescript-eslint/typescript-eslint/issues/3430) [#​2933](https://togithub.com/typescript-eslint/typescript-eslint/issues/2933) - **eslint-plugin:** \[comma-dangle] align schema with ESLint v8 ([#​3768](https://togithub.com/typescript-eslint/typescript-eslint/issues/3768)) ([0acfafc](https://togithub.com/typescript-eslint/typescript-eslint/commit/0acfafcc655e28dcfc05a5caa567c0d0217ee7ad)) - **eslint-plugin:** \[member-ordering] add support for getters and setters ([#​3611](https://togithub.com/typescript-eslint/typescript-eslint/issues/3611)) ([e264124](https://togithub.com/typescript-eslint/typescript-eslint/commit/e2641246571b69df36cde5cb7bce7c4fffc43f98)) - **eslint-plugin:** remove `no-unused-vars-experimental` ([79ae03b](https://togithub.com/typescript-eslint/typescript-eslint/commit/79ae03b8adbae2b0a86276711a9c834af01bbb61)) - support ESLint v8 ([#​3737](https://togithub.com/typescript-eslint/typescript-eslint/issues/3737)) ([4ca62ae](https://togithub.com/typescript-eslint/typescript-eslint/commit/4ca62aee6681d706e762a8db727541ca204364f2)) ##### BREAKING CHANGES - **eslint-plugin:** `ban-types` no longer reports `object` by default ### [`v4.33.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​4330-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4320v4330-2021-10-04) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.32.0...v4.33.0) ##### Bug Fixes - **eslint-plugin:** \[lines-between-class-members] fix `exceptAfterOverload` for abstract methods ([#​3943](https://togithub.com/typescript-eslint/typescript-eslint/issues/3943)) ([240fc65](https://togithub.com/typescript-eslint/typescript-eslint/commit/240fc65c307769eae9b35e611fca74ba4c35a025)) - **eslint-plugin:** \[no-confusing-void-expression] support optional chaining ([#​3937](https://togithub.com/typescript-eslint/typescript-eslint/issues/3937)) ([c40dd13](https://togithub.com/typescript-eslint/typescript-eslint/commit/c40dd13df76b77052c85254622df5533307dc07e)) - **eslint-plugin:** \[no-restricted-imports] fix crash when no options given ([#​3947](https://togithub.com/typescript-eslint/typescript-eslint/issues/3947)) ([edaa3c1](https://togithub.com/typescript-eslint/typescript-eslint/commit/edaa3c10eb67bb89f9c6a78bd1ed593925c33f16)) - **eslint-plugin:** \[non-nullable-type-assertion-style] false-positive with non-nullish `as` assertions and types ([#​3940](https://togithub.com/typescript-eslint/typescript-eslint/issues/3940)) ([40760f9](https://togithub.com/typescript-eslint/typescript-eslint/commit/40760f98da0d23c7bce3da04cf37a56c10447bde)) - **eslint-plugin:** \[padding-line-between-statements] TSModuleBlock should change scope ([#​3944](https://togithub.com/typescript-eslint/typescript-eslint/issues/3944)) ([f8f534e](https://togithub.com/typescript-eslint/typescript-eslint/commit/f8f534e42b0ec517274442422c37ab019cf3c200)) - **eslint-plugin:** \[prefer-regexp-exec] check `RegExp` without flags ([#​3946](https://togithub.com/typescript-eslint/typescript-eslint/issues/3946)) ([0868725](https://togithub.com/typescript-eslint/typescript-eslint/commit/0868725713e8102e8932303d4c680340688e1fa9)) ### [`v4.32.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​4320-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4312v4320-2021-09-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.31.2...v4.32.0) ##### Bug Fixes - **eslint-plugin:** \[consistent-type-definitions] correct fix for `export default` ([#​3899](https://togithub.com/typescript-eslint/typescript-eslint/issues/3899)) ([ebb33ed](https://togithub.com/typescript-eslint/typescript-eslint/commit/ebb33ed8bc29f69ca2a657ec5b31857c0aeb4b56)) - **eslint-plugin:** \[no-require-imports] report only global `require` ([#​3871](https://togithub.com/typescript-eslint/typescript-eslint/issues/3871)) ([8aa87a1](https://togithub.com/typescript-eslint/typescript-eslint/commit/8aa87a136e7cd7b40fbf09fcfa26bf04d1c6d5fe)) - **eslint-plugin:** \[no-shadow] ignore type-only imports properly ([#​3868](https://togithub.com/typescript-eslint/typescript-eslint/issues/3868)) ([dda9cee](https://togithub.com/typescript-eslint/typescript-eslint/commit/dda9cee68a5cd78b358a854027999c739ac623e9)) - **eslint-plugin:** \[no-var-requires] report problems within `NewExpression` ([#​3884](https://togithub.com/typescript-eslint/typescript-eslint/issues/3884)) ([ed5e459](https://togithub.com/typescript-eslint/typescript-eslint/commit/ed5e45983fa052accf3a7b5fcdbfcb15ed09490f)) - **eslint-plugin:** \[padding-line-between-statements] problems within namespaces not being reported ([#​3869](https://togithub.com/typescript-eslint/typescript-eslint/issues/3869)) ([1861356](https://togithub.com/typescript-eslint/typescript-eslint/commit/186135698b40b510ffff6a2402aa34f2726596ea)) - **eslint-plugin:** \[prefer-regexp-exec] respect flags when using `RegExp` ([#​3855](https://togithub.com/typescript-eslint/typescript-eslint/issues/3855)) ([ffdb5ff](https://togithub.com/typescript-eslint/typescript-eslint/commit/ffdb5ff9900e07374a2f3686447e3e2c78fbc38a)) - **eslint-plugin:** \[prefer-return-this-type] handle generics properly in fixer ([#​3852](https://togithub.com/typescript-eslint/typescript-eslint/issues/3852)) ([9e98b8f](https://togithub.com/typescript-eslint/typescript-eslint/commit/9e98b8f43ca6aadc9758a4e9a0d1d3c250af6cca)) - **eslint-plugin:** false-positive/negative with array index in no-unnecessary-condition ([#​3805](https://togithub.com/typescript-eslint/typescript-eslint/issues/3805)) ([bdb8f0b](https://togithub.com/typescript-eslint/typescript-eslint/commit/bdb8f0be1466e4a4b713e91199be91030650ed01)) ##### Features - **eslint-plugin:** \[no-type-alias]: add allowGenerics option ([#​3865](https://togithub.com/typescript-eslint/typescript-eslint/issues/3865)) ([4195919](https://togithub.com/typescript-eslint/typescript-eslint/commit/41959199735a6d4fe3ae7825f3087e8fb249be9f)) - **eslint-plugin:** add `no-non-null-asserted-nullish-coalescing` rule ([#​3349](https://togithub.com/typescript-eslint/typescript-eslint/issues/3349)) ([4e99961](https://togithub.com/typescript-eslint/typescript-eslint/commit/4e999614e9761f6dc7e5aa0c5bad76ab164ab3fb)) - **eslint-plugin:** add new extended rule `no-restricted-imports` ([#​3775](https://togithub.com/typescript-eslint/typescript-eslint/issues/3775)) ([ec5d506](https://togithub.com/typescript-eslint/typescript-eslint/commit/ec5d50696b249a207d322e4a2fc66582122eb010)) - **eslint-plugin-internal:** \[prefer-ast-types-enum] add `DefinitionType` enum ([#​3916](https://togithub.com/typescript-eslint/typescript-eslint/issues/3916)) ([13b7de5](https://togithub.com/typescript-eslint/typescript-eslint/commit/13b7de508e0f8eac492879ff9ab99acd8d3e977e)) #### [4.31.2](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.31.1...v4.31.2) (2021-09-20) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) #### [4.31.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.31.0...v4.31.1) (2021-09-13) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v4.31.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​4312-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4311v4312-2021-09-20) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.31.1...v4.31.2) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v4.31.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​4311-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4310v4311-2021-09-13) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.31.0...v4.31.1) **Note:** Version bump only for package [@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin) ### [`v4.31.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​4310-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4300v4310-2021-09-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.30.0...v4.31.0) ##### Bug Fixes - **utils:** support immutable arrays in `ReportFixFunction` ([#​3830](https://togithub.com/typescript-eslint/typescript-eslint/issues/3830)) ([8218055](https://togithub.com/typescript-eslint/typescript-eslint/commit/8218055d6dfd94c9e6c8645848f981d9d51ce08c)) ##### Features - **eslint-plugin:** \[prefer-readonly-parameter-types] add option treatMethodsAsReadonly ([#​3733](https://togithub.com/typescript-eslint/typescript-eslint/issues/3733)) ([a46e318](https://togithub.com/typescript-eslint/typescript-eslint/commit/a46e3182c8a0b07c914605d6d9fe28ef36a7c32a)) - **eslint-plugin:** \[restrict-template-expressions] add option to allow RegExp ([#​3709](https://togithub.com/typescript-eslint/typescript-eslint/issues/3709)) ([363b3dc](https://togithub.com/typescript-eslint/typescript-eslint/commit/363b3dc4dd0dc343311c729d75935b10f9d2fd5e)) - **eslint-plugin:** add `no-meaningless-void-operator` rule ([#​3641](https://togithub.com/typescript-eslint/typescript-eslint/issues/3641)) ([ea40ab6](https://togithub.com/typescript-eslint/typescript-eslint/commit/ea40ab659351ae7cf7235ea063d42ac155b11e5f)) - **eslint-plugin:** add extension rule `padding-line-between-statements` ([#​3418](https://togithub.com/typescript-eslint/typescript-eslint/issues/3418)) ([f79ae9b](https://togithub.com/typescript-eslint/typescript-eslint/commit/f79ae9b58e82f4fddef640a34a1d7ff92b763e65))
typescript-eslint/typescript-eslint (@​typescript-eslint/parser) ### [`v5.9.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​591-httpsgithubcomtypescript-eslinttypescript-eslintcomparev590v591-2022-01-10) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.9.0...v5.9.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.9.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​590-httpsgithubcomtypescript-eslinttypescript-eslintcomparev581v590-2022-01-03) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.8.1...v5.9.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) #### [5.8.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.8.0...v5.8.1) (2021-12-27) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.8.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​581-httpsgithubcomtypescript-eslinttypescript-eslintcomparev580v581-2021-12-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.8.0...v5.8.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.8.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​580-httpsgithubcomtypescript-eslinttypescript-eslintcomparev570v580-2021-12-20) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.7.0...v5.8.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.7.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​570-httpsgithubcomtypescript-eslinttypescript-eslintcomparev560v570-2021-12-13) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.6.0...v5.7.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.6.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​560-httpsgithubcomtypescript-eslinttypescript-eslintcomparev550v560-2021-12-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.5.0...v5.6.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.5.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​550-httpsgithubcomtypescript-eslinttypescript-eslintcomparev540v550-2021-11-29) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.4.0...v5.5.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.4.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​540-httpsgithubcomtypescript-eslinttypescript-eslintcomparev531v540-2021-11-15) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.3.1...v5.4.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) #### [5.3.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.3.0...v5.3.1) (2021-11-08) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.3.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​531-httpsgithubcomtypescript-eslinttypescript-eslintcomparev530v531-2021-11-08) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.3.0...v5.3.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.3.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​530-httpsgithubcomtypescript-eslinttypescript-eslintcomparev520v530-2021-11-01) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.2.0...v5.3.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.2.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​520-httpsgithubcomtypescript-eslinttypescript-eslintcomparev510v520-2021-10-25) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.1.0...v5.2.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.1.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​510-httpsgithubcomtypescript-eslinttypescript-eslintcomparev500v510-2021-10-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.0.0...v5.1.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.0.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​500-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4330v500-2021-10-11) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.33.0...v5.0.0) ##### Features - support ESLint v8 ([#​3737](https://togithub.com/typescript-eslint/typescript-eslint/issues/3737)) ([4ca62ae](https://togithub.com/typescript-eslint/typescript-eslint/commit/4ca62aee6681d706e762a8db727541ca204364f2)) ### [`v4.33.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​4330-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4320v4330-2021-10-04) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.32.0...v4.33.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v4.32.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​4320-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4312v4320-2021-09-27) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.31.2...v4.32.0) ##### Features - Support `'latest'` as `ecmaVersion` ([#​3873](https://togithub.com/typescript-eslint/typescript-eslint/issues/3873)) ([25a42c0](https://togithub.com/typescript-eslint/typescript-eslint/commit/25a42c0bbe92d1ecbc2e8ff9ef3a3ef413f728b0)) #### [4.31.2](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.31.1...v4.31.2) (2021-09-20) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) #### [4.31.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.31.0...v4.31.1) (2021-09-13) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v4.31.2`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​4312-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4311v4312-2021-09-20) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.31.1...v4.31.2) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v4.31.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​4311-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4310v4311-2021-09-13) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.31.0...v4.31.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v4.31.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​4310-httpsgithubcomtypescript-eslinttypescript-eslintcomparev4300v4310-2021-09-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v4.30.0...v4.31.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
open-cli-tools/concurrently ### [`v7.0.0`](https://togithub.com/open-cli-tools/concurrently/releases/v7.0.0) [Compare Source](https://togithub.com/open-cli-tools/concurrently/compare/v6.5.1...v7.0.0) πŸŽ‰ πŸ₯‚ Happy 2022! ##### Breaking changes - **Dropped support for Node 10**. Minimum version is now 12.20. - `concurrently()` API now has a different return value. [Please refer to the docs](https://togithub.com/open-cli-tools/concurrently/blob/v7.0.0/README.md#concurrentlycommands-options). ##### Functional changes - Added `--group` flag/option to run process in parallel but print output in sequence - [#​75](https://togithub.com/open-cli-tools/concurrently/issues/75), [#​79](https://togithub.com/open-cli-tools/concurrently/issues/79), [#​272](https://togithub.com/open-cli-tools/concurrently/issues/272) - Codebase converted to TypeScript. Some bugs may arise due to this, but I hope not! ##### API Changes - concurrently can now be imported as an ES Module! Just do `import concurrently from 'concurrently'`. - `concurrently()` now returns the commands alongside a promise for the result - [#​209](https://togithub.com/open-cli-tools/concurrently/issues/209) ##### New Contributors - [@​cdrini](https://togithub.com/cdrini) made their first contribution in [https://github.com/open-cli-tools/concurrently/pull/272](https://togithub.com/open-cli-tools/concurrently/pull/272) ### [`v6.5.1`](https://togithub.com/open-cli-tools/concurrently/releases/v6.5.1) [Compare Source](https://togithub.com/open-cli-tools/concurrently/compare/v6.5.0...v6.5.1) - Fix command names when using npm wildcard ([#​148](https://togithub.com/open-cli-tools/concurrently/issues/148), [#​165](https://togithub.com/open-cli-tools/concurrently/issues/165), [#​211](https://togithub.com/open-cli-tools/concurrently/issues/211), [#​212](https://togithub.com/open-cli-tools/concurrently/issues/212)) ### [`v6.5.0`](https://togithub.com/open-cli-tools/concurrently/releases/v6.5.0) [Compare Source](https://togithub.com/open-cli-tools/concurrently/compare/v6.4.0...v6.5.0) - Add support for configuring via environment variables that start with `CONCURRENTLY_` prefix ([#​289](https://togithub.com/open-cli-tools/concurrently/issues/289)) - Add `--timings` flag to show when each process started and stopped, and how long they ran for ([#​291](https://togithub.com/open-cli-tools/concurrently/issues/291), [#​295](https://togithub.com/open-cli-tools/concurrently/issues/295)) ### [`v6.4.0`](https://togithub.com/open-cli-tools/concurrently/releases/v6.4.0) [Compare Source](https://togithub.com/open-cli-tools/concurrently/compare/v6.3.0...v6.4.0) - Add `--hide` flag to hide the output of specified commands ([#​138](https://togithub.com/open-cli-tools/concurrently/issues/138), [#​173](https://togithub.com/open-cli-tools/concurrently/issues/173)) ### [`v6.3.0`](https://togithub.com/open-cli-tools/concurrently/releases/v6.3.0) [Compare Source](https://togithub.com/open-cli-tools/concurrently/compare/v6.2.2...v6.3.0) - Distribute prefix colors correctly when using npm/yarn/pnpm script expansion ([#​186](https://togithub.com/open-cli-tools/concurrently/issues/186), [#​210](https://togithub.com/open-cli-tools/concurrently/issues/210), [#​234](https://togithub.com/open-cli-tools/concurrently/issues/234), [#​286](https://togithub.com/open-cli-tools/concurrently/issues/286)) - Add new option to programmatic API, `prefixColors`, which serves as fallback for commands without a `prefixColor` ([#​286](https://togithub.com/open-cli-tools/concurrently/issues/286)) ### [`v6.2.2`](https://togithub.com/open-cli-tools/concurrently/releases/v6.2.2) [Compare Source](https://togithub.com/open-cli-tools/concurrently/compare/v6.2.1...v6.2.2) - Remove `read-pkg` dependency which had a vulnerability issue ([#​274](https://togithub.com/open-cli-tools/concurrently/issues/274))
evanw/esbuild ### [`v0.14.11`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#​01411) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.14.10...v0.14.11) - Fix a bug with enum inlining ([#​1903](https://togithub.com/evanw/esbuild/issues/1903)) The new TypeScript enum inlining behavior had a bug where it worked correctly if you used `export enum Foo` but not if you used `enum Foo` and then later `export { Foo }`. This release fixes the bug so enum inlining now works correctly in this case. - Warn about `module.exports.foo = ...` in ESM ([#​1907](https://togithub.com/evanw/esbuild/issues/1907)) The `module` variable is treated as a global variable reference instead of as a CommonJS module reference in ESM code, which can cause problems for people that try to use both CommonJS and ESM exports in the same file. There has been a warning about this since version 0.14.9. However, the warning only covered cases like `exports.foo = bar` and `module.exports = bar` but not `module.exports.foo = bar`. This last case is now handled; β–² [WARNING] The CommonJS "module" variable is treated as a global variable in an ECMAScript module and may not work as expected example.ts:2:0: 2 β”‚ module.exports.b = 1 β•΅ ~~~~~~ This file is considered to be an ECMAScript module because of the "export" keyword here: example.ts:1:0: 1 β”‚ export let a = 1 β•΅ ~~~~~~ - Enable esbuild's CLI with Deno ([#​1913](https://togithub.com/evanw/esbuild/issues/1913)) This release allows you to use Deno as an esbuild installer, without also needing to use esbuild's JavaScript API. You can now use esbuild's CLI with Deno: deno run --allow-all "https://deno.land/x/esbuild@v0.14.11/mod.js" --version ### [`v0.14.10`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#​01410) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.14.9...v0.14.10) - Enable tree shaking of classes with lowered static fields ([#​175](https://togithub.com/evanw/esbuild/issues/175)) If the configured target environment doesn't support static class fields, they are converted into a call to esbuild's `__publicField` function instead. However, esbuild's tree-shaking pass treated this call as a side effect, which meant that all classes with static fields were ineligible for tree shaking. This release fixes the problem by explicitly ignoring calls to the `__publicField` function during tree shaking side-effect determination. Tree shaking is now enabled for these classes: ```js // Original code class Foo { static foo = 'foo' } class Bar { static bar = 'bar' } new Bar() // Old output (with --tree-shaking=true --target=es6) class Foo { } __publicField(Foo, "foo", "foo"); class Bar { } __publicField(Bar, "bar", "bar"); new Bar(); // New output (with --tree-shaking=true --target=es6) class Bar { } __publicField(Bar, "bar", "bar"); new Bar(); ``` - Treat `--define:foo=undefined` as an undefined literal instead of an identifier ([#​1407](https://togithub.com/evanw/esbuild/issues/1407)) References to the global variable `undefined` are automatically replaced with the literal value for undefined, which appears as `void 0` when printed. This allows for additional optimizations such as collapsing `undefined ?? bar` into just `bar`. However, this substitution was not done for values specified via `--define:`. As a result, esbuild could potentially miss out on certain optimizations in these cases. With this release, it's now possible to use `--define:` to substitute something with an undefined literal: ```js // Original code let win = typeof window !== 'undefined' ? window : {} // Old output (with --define:window=undefined --minify) let win=typeof undefined!="undefined"?undefined:{}; // New output (with --define:window=undefined --minify) let win={}; ``` - Add the `--drop:debugger` flag ([#​1809](https://togithub.com/evanw/esbuild/issues/1809)) Passing this flag causes all [`debugger;` statements](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/debugger) to be removed from the output. This is similar to the `drop_debugger: true` flag available in the popular UglifyJS and Terser JavaScript minifiers. - Add the `--drop:console` flag ([#​28](https://togithub.com/evanw/esbuild/issues/28)) Passing this flag causes all [`console.xyz()` API calls](https://developer.mozilla.org/en-US/docs/Web/API/console#methods) to be removed from the output. This is similar to the `drop_console: true` flag available in the popular UglifyJS and Terser JavaScript minifiers. WARNING: Using this flag can introduce bugs into your code! This flag removes the entire call expression including all call arguments. If any of those arguments had important side effects, using this flag will change the behavior of your code. Be very careful when using this flag. If you want to remove console API calls without removing arguments with side effects (which does not introduce bugs), you should mark the relevant API calls as pure instead like this: `--pure:console.log --minify`. - Inline calls to certain no-op functions when minifying ([#​290](https://togithub.com/evanw/esbuild/issues/290), [#​907](https://togithub.com/evanw/esbuild/issues/907)) This release makes esbuild inline two types of no-op functions: empty functions and identity functions. These most commonly arise when most of the function body is eliminated as dead code. In the examples below, this happens because we use `--define:window.DEBUG=false` to cause dead code elimination inside the function body of the resulting `if (false)` statement. This inlining is a small code size and performance win but, more importantly, it allows for people to use these features to add useful abstractions that improve the development experience without needing to worry about the run-time performance impact. An identity function is a function that just returns its argument. Here's an example of inlining an identity function: ```js // Original code function logCalls(fn) { if (window.DEBUG) return function(...args) { console.log('calling', fn.name, 'with', args) return fn.apply(this, args) } return fn } export const foo = logCalls(function foo() {}) // Old output (with --minify --define:window.DEBUG=false --tree-shaking=true) function o(n){return n}export const foo=o(function(){}); // New output (with --minify --define:window.DEBUG=false --tree-shaking=true) export const foo=function(){}; ``` An empty function is a function with an empty body. Here's an example of inlining an empty function: ```ts // Original code function assertNotNull(val: Object | null): asserts val is Object { if (window.DEBUG && val === null) throw new Error('null assertion failed'); } export const val = getFoo(); assertNotNull(val); console.log(val.bar); // Old output (with --minify --define:window.DEBUG=false --tree-shaking=true) function l(o){}export const val=getFoo();l(val);console.log(val.bar); // New output (with --minify --define:window.DEBUG=false --tree-shaking=true) export const val=getFoo();console.log(val.bar); ``` To get this behavior you'll need to use the `function` keyword to define your function since that causes the definition to be hoisted, which eliminates concerns around initialization order. These features also work across modules, so functions are still inlined even if the definition of the function is in a separate module from the call to the function. To get cross-module function inlining to work, you'll need to have bundling enabled and use the `import` and `export` keywords to access the function so that esbuild can see which functions are called. And all of this has been added without an observable impact to compile times. I previously wasn't able to add this to esbuild easily because of esb

Configuration

πŸ“… Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» 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.