Chevrotain / chevrotain

Parser Building Toolkit for JavaScript
https://chevrotain.io
Apache License 2.0
2.44k stars 200 forks source link

chore(deps): update all non-major dev dependencies #1780

Closed renovate[bot] closed 2 years ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@commitlint/cli (source) 16.2.1 -> 16.3.0 age adoption passing confidence
@commitlint/config-conventional (source) 16.2.1 -> 16.2.4 age adoption passing confidence
@types/chai 4.3.0 -> 4.3.1 age adoption passing confidence
@types/lodash 4.14.179 -> 4.14.182 age adoption passing confidence
@types/mocha 9.1.0 -> 9.1.1 age adoption passing confidence
@typescript-eslint/eslint-plugin 5.13.0 -> 5.28.0 age adoption passing confidence
@typescript-eslint/parser 5.13.0 -> 5.28.0 age adoption passing confidence
error-stack-parser (source) 2.0.7 -> 2.1.4 age adoption passing confidence
esbuild 0.14.25 -> 0.14.45 age adoption passing confidence
eslint (source) 8.10.0 -> 8.18.0 age adoption passing confidence
fs-extra 10.0.1 -> 10.1.0 age adoption passing confidence
glob 7.2.0 -> 7.2.3 age adoption passing confidence
lint-staged 12.3.5 -> 12.5.0 age adoption passing confidence
mocha (source) 9.2.1 -> 9.2.2 age adoption passing confidence
prettier (source) 2.5.1 -> 2.7.1 age adoption passing confidence
sinon (source) 13.0.1 -> 13.0.2 age adoption passing confidence
typescript (source) 4.6.2 -> 4.7.4 age adoption passing confidence
webpack 5.70.0 -> 5.73.0 age adoption passing confidence
webpack-cli 4.9.2 -> 4.10.0 age adoption passing confidence
xregexp (source) 5.1.0 -> 5.1.1 age adoption passing confidence

Release Notes

conventional-changelog/commitlint (@​commitlint/cli) ### [`v16.3.0`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#​1630-httpsgithubcomconventional-changelogcommitlintcomparev1624v1630-2022-05-14) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v16.2.4...v16.3.0) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [16.2.4](https://togithub.com/conventional-changelog/commitlint/compare/v16.2.3...v16.2.4) (2022-04-28) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [16.2.3](https://togithub.com/conventional-changelog/commitlint/compare/v16.2.2...v16.2.3) (2022-03-16) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) #### [16.2.1](https://togithub.com/conventional-changelog/commitlint/compare/v16.2.0...v16.2.1) (2022-02-13) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) ### [`v16.2.4`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#​1624-httpsgithubcomconventional-changelogcommitlintcomparev1623v1624-2022-04-28) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v16.2.3...v16.2.4) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli) ### [`v16.2.3`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/cli/CHANGELOG.md#​1623-httpsgithubcomconventional-changelogcommitlintcomparev1622v1623-2022-03-16) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v16.2.1...v16.2.3) **Note:** Version bump only for package [@​commitlint/cli](https://togithub.com/commitlint/cli)
conventional-changelog/commitlint (@​commitlint/config-conventional) ### [`v16.2.4`](https://togithub.com/conventional-changelog/commitlint/blob/HEAD/@​commitlint/config-conventional/CHANGELOG.md#​1624-httpsgithubcomconventional-changelogcommitlintcomparev1623v1624-2022-04-28) [Compare Source](https://togithub.com/conventional-changelog/commitlint/compare/v16.2.1...v16.2.4) **Note:** Version bump only for package [@​commitlint/config-conventional](https://togithub.com/commitlint/config-conventional)
typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin) ### [`v5.28.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5280-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5271v5280-2022-06-13) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.27.1...v5.28.0) ##### Bug Fixes - \[TS4.7] allow visiting of typeParameters in TSTypeQuery ([#​5166](https://togithub.com/typescript-eslint/typescript-eslint/issues/5166)) ([dc1f930](https://togithub.com/typescript-eslint/typescript-eslint/commit/dc1f9309cf04aa7314e758980ac687558482f47f)) - **eslint-plugin:** \[space-infix-ops] support for optional property without type ([#​5155](https://togithub.com/typescript-eslint/typescript-eslint/issues/5155)) ([1f25daf](https://togithub.com/typescript-eslint/typescript-eslint/commit/1f25daf74e5d45077199f9ee9fa9bf31107f4089)) ##### Features - **eslint-plugin:** \[consistent-generic-constructors] add rule ([#​4924](https://togithub.com/typescript-eslint/typescript-eslint/issues/4924)) ([921cdf1](https://togithub.com/typescript-eslint/typescript-eslint/commit/921cdf17e548845311d0591249616ec844503926)) #### [5.27.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.27.0...v5.27.1) (2022-06-06) ##### Bug Fixes - **eslint-plugin:** \[space-infix-ops] correct PropertyDefinition with typeAnnotation ([#​5113](https://togithub.com/typescript-eslint/typescript-eslint/issues/5113)) ([d320174](https://togithub.com/typescript-eslint/typescript-eslint/commit/d320174f40a74b34e6b6e4c88128ef6e736311d8)) - **eslint-plugin:** \[space-infix-ops] regression fix for conditional types ([#​5135](https://togithub.com/typescript-eslint/typescript-eslint/issues/5135)) ([e5238c8](https://togithub.com/typescript-eslint/typescript-eslint/commit/e5238c84e56e7c34174b2c6f1e3ea59456797c2f)) - **eslint-plugin:** \[space-infix-ops] regression fix for type aliases ([#​5138](https://togithub.com/typescript-eslint/typescript-eslint/issues/5138)) ([4e13deb](https://togithub.com/typescript-eslint/typescript-eslint/commit/4e13deb05fbd8724996156b15b65f6a66794a7cc)) ### [`v5.27.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5271-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5270v5271-2022-06-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.27.0...v5.27.1) ##### Bug Fixes - **eslint-plugin:** \[space-infix-ops] correct PropertyDefinition with typeAnnotation ([#​5113](https://togithub.com/typescript-eslint/typescript-eslint/issues/5113)) ([d320174](https://togithub.com/typescript-eslint/typescript-eslint/commit/d320174f40a74b34e6b6e4c88128ef6e736311d8)) - **eslint-plugin:** \[space-infix-ops] regression fix for conditional types ([#​5135](https://togithub.com/typescript-eslint/typescript-eslint/issues/5135)) ([e5238c8](https://togithub.com/typescript-eslint/typescript-eslint/commit/e5238c84e56e7c34174b2c6f1e3ea59456797c2f)) - **eslint-plugin:** \[space-infix-ops] regression fix for type aliases ([#​5138](https://togithub.com/typescript-eslint/typescript-eslint/issues/5138)) ([4e13deb](https://togithub.com/typescript-eslint/typescript-eslint/commit/4e13deb05fbd8724996156b15b65f6a66794a7cc)) ### [`v5.27.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5270-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5260v5270-2022-05-30) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.26.0...v5.27.0) ##### Bug Fixes - **eslint-plugin:** \[no-type-alias] handle Template Literal Types ([#​5092](https://togithub.com/typescript-eslint/typescript-eslint/issues/5092)) ([8febf11](https://togithub.com/typescript-eslint/typescript-eslint/commit/8febf11a9296d1c0d7ccdf91ef9ab92ec8dfc39c)) ##### Features - \[4.7] support new extensions ([#​5027](https://togithub.com/typescript-eslint/typescript-eslint/issues/5027)) ([efc147b](https://togithub.com/typescript-eslint/typescript-eslint/commit/efc147b04dce52ab17415b6a4ae4076b944b9036)) - **eslint-plugin:** \[ban-ts-comment] add descriptionFormat option ([#​5026](https://togithub.com/typescript-eslint/typescript-eslint/issues/5026)) ([1fb31a4](https://togithub.com/typescript-eslint/typescript-eslint/commit/1fb31a4b3e05734f801ade0450fea33494e4d5e6)) - **eslint-plugin:** \[no-misused-promises] warn when spreading promises ([#​5053](https://togithub.com/typescript-eslint/typescript-eslint/issues/5053)) ([61ffa9e](https://togithub.com/typescript-eslint/typescript-eslint/commit/61ffa9ed70e3cac6eca50a6c3cc5a0f1e7dec11c)) - **eslint-plugin:** \[space-infix-ops] missing error report for conditional types ([#​5041](https://togithub.com/typescript-eslint/typescript-eslint/issues/5041)) ([0bfab6c](https://togithub.com/typescript-eslint/typescript-eslint/commit/0bfab6c9f5c5e243268200cf9368acf39ea099f8)) ### [`v5.26.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5260-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5250v5260-2022-05-23) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.25.0...v5.26.0) ##### Bug Fixes - **eslint-plugin:** \[member-delimiter-style] autofixer result is not as expected when comments after the delimiter with option `delimiter: 'none'` ([#​5029](https://togithub.com/typescript-eslint/typescript-eslint/issues/5029)) ([ed7b5f6](https://togithub.com/typescript-eslint/typescript-eslint/commit/ed7b5f61d93799fec3e38a87935ab9caa3abe279)) - **eslint-plugin:** \[member-delimiter-style] autofixer result is not as expected with option `delimiter: 'none'` ([#​5023](https://togithub.com/typescript-eslint/typescript-eslint/issues/5023)) ([9e97a11](https://togithub.com/typescript-eslint/typescript-eslint/commit/9e97a11ecd80be5c63c980bfe8d8e57400221cec)) - **eslint-plugin:** \[prefer-readonly] correct issue with anonymus functions ([#​4974](https://togithub.com/typescript-eslint/typescript-eslint/issues/4974)) ([952e2f0](https://togithub.com/typescript-eslint/typescript-eslint/commit/952e2f068862dde089ec03d3eb5452d1ee3e9271)), closes [#​2590](https://togithub.com/typescript-eslint/typescript-eslint/issues/2590) ### [`v5.25.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5250-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5240v5250-2022-05-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.24.0...v5.25.0) ##### Bug Fixes - **eslint-plugin:** \[typedef] stop enforcing rule for assignment expressions ([#​4958](https://togithub.com/typescript-eslint/typescript-eslint/issues/4958)) ([04a216c](https://togithub.com/typescript-eslint/typescript-eslint/commit/04a216c39c02085fe5d555ce81bdced0e563a7c4)) - **eslint-plugin:** strict config should not extend recommended ([#​5005](https://togithub.com/typescript-eslint/typescript-eslint/issues/5005)) ([05d71c2](https://togithub.com/typescript-eslint/typescript-eslint/commit/05d71c2ebd8e072aa4e8ee3ea8521de00e47d4ca)) - **website:** correct Presets link to be Configs ([#​5004](https://togithub.com/typescript-eslint/typescript-eslint/issues/5004)) ([e18e91c](https://togithub.com/typescript-eslint/typescript-eslint/commit/e18e91c6cfb1ee93bfff3770ea4d8f807d5ced0b)) ##### Features - **eslint-plugin:** \[no-empty-function] new allow option overrideMethods ([#​4923](https://togithub.com/typescript-eslint/typescript-eslint/issues/4923)) ([13c05ae](https://togithub.com/typescript-eslint/typescript-eslint/commit/13c05aefb0e6531d320629e04b7207a3baebacb0)) - **eslint-plugin:** deprecate `no-duplicate-imports` in favour of `import/no-duplicates` ([#​4973](https://togithub.com/typescript-eslint/typescript-eslint/issues/4973)) ([1d2e41a](https://togithub.com/typescript-eslint/typescript-eslint/commit/1d2e41ada1979c081130d19b229c82bf1a69b7b4)) - update to TypeScript 4.7-rc ([#​4829](https://togithub.com/typescript-eslint/typescript-eslint/issues/4829)) ([6fe783c](https://togithub.com/typescript-eslint/typescript-eslint/commit/6fe783c20aebe26ef42b526e4a59a9be84dd5643)) ### [`v5.24.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5240-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5230v5240-2022-05-16) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.23.0...v5.24.0) ##### Bug Fixes - **eslint-plugin:** \[array-type] in fixer add missing parens for constructor types [#​4756](https://togithub.com/typescript-eslint/typescript-eslint/issues/4756) ([#​4971](https://togithub.com/typescript-eslint/typescript-eslint/issues/4971)) ([0377070](https://togithub.com/typescript-eslint/typescript-eslint/commit/03770708900da663eb64c19465b3f937bab55b3d)) ##### Features - **eslint-plugin:** Add BigInt object type to default ban-types list ([#​4970](https://togithub.com/typescript-eslint/typescript-eslint/issues/4970)) ([1867728](https://togithub.com/typescript-eslint/typescript-eslint/commit/1867728ba104a6a21941ed300828110964a43b96)) - **eslint-plugin:** add new 'strict' config ([#​4706](https://togithub.com/typescript-eslint/typescript-eslint/issues/4706)) ([4a500b2](https://togithub.com/typescript-eslint/typescript-eslint/commit/4a500b2d92a91873dbb729793d1ee1c36ef06ed8)) ### [`v5.23.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5230-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5220v5230-2022-05-09) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.22.0...v5.23.0) ##### Bug Fixes - **eslint-plugin:** \[no-restricted-imports] allow type import as long as there's one matching pattern ([#​4898](https://togithub.com/typescript-eslint/typescript-eslint/issues/4898)) ([0419d28](https://togithub.com/typescript-eslint/typescript-eslint/commit/0419d287b637e805c33036a45760badc2498e19b)) - **eslint-plugin:** \[no-unnecessary-type-constraint] change to suggestion fix, fix multiple trailing comma failures ([#​4901](https://togithub.com/typescript-eslint/typescript-eslint/issues/4901)) ([4507ac8](https://togithub.com/typescript-eslint/typescript-eslint/commit/4507ac84c76da0ced43b6679305afe1891e7afca)) ### [`v5.22.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5220-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5210v5220-2022-05-02) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.21.0...v5.22.0) ##### Bug Fixes - **eslint-plugin:** \[comma-spacing] verify `nextToken` exists ([#​4868](https://togithub.com/typescript-eslint/typescript-eslint/issues/4868)) ([23746f8](https://togithub.com/typescript-eslint/typescript-eslint/commit/23746f8babace7c2354368d6fb0881be26e19c41)) ##### Features - **eslint-plugin:** \[no-duplicate-enum-values] add rule ([#​4833](https://togithub.com/typescript-eslint/typescript-eslint/issues/4833)) ([5899164](https://togithub.com/typescript-eslint/typescript-eslint/commit/5899164b35d91106512a2720b23ba92e1893132f)) ### [`v5.21.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5210-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5200v5210-2022-04-25) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.20.0...v5.21.0) ##### Bug Fixes - **eslint-plugin:** \[no-misused-promises] prioritize false returns when checking whether a function returns only void ([#​4841](https://togithub.com/typescript-eslint/typescript-eslint/issues/4841)) ([ccadb60](https://togithub.com/typescript-eslint/typescript-eslint/commit/ccadb6075d6977c4921ffc09fa40f515f4d497c5)) - **eslint-plugin:** \[no-namespace] fix false positive for exported namespaces when allowDeclarations=true ([#​4844](https://togithub.com/typescript-eslint/typescript-eslint/issues/4844)) ([4e7c9be](https://togithub.com/typescript-eslint/typescript-eslint/commit/4e7c9be6ff7e2448f4151563d7921cd285c2e349)) - **eslint-plugin:** \[space-infix-ops] fix no error when right type is function ([#​4848](https://togithub.com/typescript-eslint/typescript-eslint/issues/4848)) ([d74d559](https://togithub.com/typescript-eslint/typescript-eslint/commit/d74d559c25e336c3ebe917bf5c43e14ffa2de694)) ##### Features - **eslint-plugin:** \[parameter-properties] add rule to replace `no-parameter-properties` ([#​4622](https://togithub.com/typescript-eslint/typescript-eslint/issues/4622)) ([88ed9ec](https://togithub.com/typescript-eslint/typescript-eslint/commit/88ed9ec9d6b971a9533565920fdcd6890ea941e9)) ### [`v5.20.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5200-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5190v5200-2022-04-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.19.0...v5.20.0) ##### Features - **eslint-plugin:** \[no-magic-numbers] ignoreTypeIndexes option ([#​4789](https://togithub.com/typescript-eslint/typescript-eslint/issues/4789)) ([5e79451](https://togithub.com/typescript-eslint/typescript-eslint/commit/5e794512bf124c39de76d4e2cf8a3d6cfb08f1a8)) ### [`v5.19.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5190-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5180v5190-2022-04-11) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.18.0...v5.19.0) ##### Bug Fixes - **eslint-plugin:** update code to use estree range instead of ts pos/end [#​4723](https://togithub.com/typescript-eslint/typescript-eslint/issues/4723) ([#​4790](https://togithub.com/typescript-eslint/typescript-eslint/issues/4790)) ([a1e9fc4](https://togithub.com/typescript-eslint/typescript-eslint/commit/a1e9fc4cb19e7655613ebe6f4dd911b5427b0367)) ##### Features - **eslint-plugin:** \[unified-signatures] add `ignoreDifferentlyNamedParameters` option ([#​4659](https://togithub.com/typescript-eslint/typescript-eslint/issues/4659)) ([fdf95e0](https://togithub.com/typescript-eslint/typescript-eslint/commit/fdf95e02c45e137325c9ddd9d30e7f6b404f4514)) - **eslint-plugin:** add support for valid number and bigint intersections in restrict-plus-operands rule ([#​4795](https://togithub.com/typescript-eslint/typescript-eslint/issues/4795)) ([19c600a](https://togithub.com/typescript-eslint/typescript-eslint/commit/19c600a3dd485669cb87ae8f81b010e65eee1df8)) ### [`v5.18.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5180-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5170v5180-2022-04-04) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.17.0...v5.18.0) ##### Bug Fixes - **eslint-plugin:** method-signature-style respect getter signature ([#​4777](https://togithub.com/typescript-eslint/typescript-eslint/issues/4777)) ([12dd670](https://togithub.com/typescript-eslint/typescript-eslint/commit/12dd670bc8621867c5105d8892dba9f9550a2f35)) ##### Features - **eslint-plugin:** \[no-shadow] ignoreOnInitialization option ([#​4603](https://togithub.com/typescript-eslint/typescript-eslint/issues/4603)) ([068ea9b](https://togithub.com/typescript-eslint/typescript-eslint/commit/068ea9b8eb3072fb46a6035f29c68ce96a69008d)) - **eslint-plugin:** \[no-this-alias] report on assignment expressions ([#​4718](https://togithub.com/typescript-eslint/typescript-eslint/issues/4718)) ([8329498](https://togithub.com/typescript-eslint/typescript-eslint/commit/83294989dad543351a26e95be8d11a91d348679a)) ### [`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)) ### [`v5.16.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5160-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5150v5160-2022-03-21) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.15.0...v5.16.0) ##### Bug Fixes - **eslint-plugin:** \[consistent-type-assertions] enforce assertionStyle for `const` assertions ([#​4685](https://togithub.com/typescript-eslint/typescript-eslint/issues/4685)) ([8ec05be](https://togithub.com/typescript-eslint/typescript-eslint/commit/8ec05bed0fed0dcd48b087acd5ab5a6132bf3b09)) ##### Features - **eslint-plugin:** \[prefer-optional-chain] support logical with empty object ([#​4430](https://togithub.com/typescript-eslint/typescript-eslint/issues/4430)) ([d21cfe0](https://togithub.com/typescript-eslint/typescript-eslint/commit/d21cfe0f4b7d3041948b1b6e0cd56c5ec34b2b3f)) ### [`v5.15.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5150-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5140v5150-2022-03-14) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.14.0...v5.15.0) ##### Features - **parser:** add `parserOptions.emitDecoratorMetadata` ([#​4646](https://togithub.com/typescript-eslint/typescript-eslint/issues/4646)) ([e3dd343](https://togithub.com/typescript-eslint/typescript-eslint/commit/e3dd343e51e3b7772e825a609735a04c921c1ec5)) ### [`v5.14.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#​5140-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5130v5140-2022-03-07) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.13.0...v5.14.0) ##### Bug Fixes - **eslint-plugin:** \[naming-convention] cover case that requires quotes ([#​4582](https://togithub.com/typescript-eslint/typescript-eslint/issues/4582)) ([3ea0947](https://togithub.com/typescript-eslint/typescript-eslint/commit/3ea09477debec9f1593e4d3857e153570b488f4d)) - **eslint-plugin:** \[no-misused-promises] factor thenable returning function overload signatures ([#​4620](https://togithub.com/typescript-eslint/typescript-eslint/issues/4620)) ([56a09e9](https://togithub.com/typescript-eslint/typescript-eslint/commit/56a09e98f171662d25ae2692be703a8bbbd3a3a5)) - **eslint-plugin:** \[prefer-readonly-parameter-types] handle class sharp private field and member without throwing error ([#​4343](https://togithub.com/typescript-eslint/typescript-eslint/issues/4343)) ([a65713a](https://togithub.com/typescript-eslint/typescript-eslint/commit/a65713ae138e56555d01a9e8e5179221a2f39e75)) - **eslint-plugin:** \[return-await] correct autofixer in binary expression ([#​4401](https://togithub.com/typescript-eslint/typescript-eslint/issues/4401)) ([5fa2fad](https://togithub.com/typescript-eslint/typescript-eslint/commit/5fa2fade385cc526a962212b94410c58e4c31078)) ##### Features - **eslint-plugin:** \[no-misused-promises] add granular options within `checksVoidReturns` ([#​4623](https://togithub.com/typescript-eslint/typescript-eslint/issues/4623)) ([1085177](https://togithub.com/typescript-eslint/typescript-eslint/commit/10851772696f982b585e0dade728f7980fdc6cc0))
typescript-eslint/typescript-eslint (@​typescript-eslint/parser) ### [`v5.28.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5280-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5271v5280-2022-06-13) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.27.1...v5.28.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) #### [5.27.1](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.27.0...v5.27.1) (2022-06-06) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.27.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5271-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5270v5271-2022-06-06) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.27.0...v5.27.1) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.27.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5270-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5260v5270-2022-05-30) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.26.0...v5.27.0) ##### Bug Fixes - **types:** remove leftovers from removal of useJSXTextNode ([#​5091](https://togithub.com/typescript-eslint/typescript-eslint/issues/5091)) ([f9c3647](https://togithub.com/typescript-eslint/typescript-eslint/commit/f9c3647cb637c8d1ee461b471da9d817ccbde77c)) ##### Features - \[4.7] support new extensions ([#​5027](https://togithub.com/typescript-eslint/typescript-eslint/issues/5027)) ([efc147b](https://togithub.com/typescript-eslint/typescript-eslint/commit/efc147b04dce52ab17415b6a4ae4076b944b9036)) ### [`v5.26.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5260-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5250v5260-2022-05-23) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.25.0...v5.26.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.25.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5250-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5240v5250-2022-05-17) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.24.0...v5.25.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.24.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5240-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5230v5240-2022-05-16) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.23.0...v5.24.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.23.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5230-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5220v5230-2022-05-09) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.22.0...v5.23.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.22.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5220-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5210v5220-2022-05-02) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.21.0...v5.22.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.21.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5210-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5200v5210-2022-04-25) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.20.0...v5.21.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.20.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5200-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5190v5200-2022-04-18) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.19.0...v5.20.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.19.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5190-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5180v5190-2022-04-11) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.18.0...v5.19.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.18.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5180-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5170v5180-2022-04-04) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.17.0...v5.18.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/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) ### [`v5.16.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5160-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5150v5160-2022-03-21) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.15.0...v5.16.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) ### [`v5.15.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5150-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5140v5150-2022-03-14) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.14.0...v5.15.0) ##### Features - **parser:** add `parserOptions.emitDecoratorMetadata` ([#​4646](https://togithub.com/typescript-eslint/typescript-eslint/issues/4646)) ([e3dd343](https://togithub.com/typescript-eslint/typescript-eslint/commit/e3dd343e51e3b7772e825a609735a04c921c1ec5)) ### [`v5.14.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#​5140-httpsgithubcomtypescript-eslinttypescript-eslintcomparev5130v5140-2022-03-07) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v5.13.0...v5.14.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser)
stacktracejs/error-stack-parser ### [`v2.1.4`](https://togithub.com/stacktracejs/error-stack-parser/releases/tag/v2.1.4) [Compare Source](https://togithub.com/stacktracejs/error-stack-parser/compare/v2.1.3...v2.1.4) - Revert "Fix comment in typescript definition" [`2a82186`](https://togithub.com/stacktracejs/error-stack-parser/commit/2a82186) - Revert "Use default export for ErrorStackParser module" [`5265364`](https://togithub.com/stacktracejs/error-stack-parser/commit/5265364) ### [`v2.1.3`](https://togithub.com/stacktracejs/error-stack-parser/compare/v2.1.2...v2.1.3) [Compare Source](https://togithub.com/stacktracejs/error-stack-parser/compare/v2.1.2...v2.1.3) ### [`v2.1.2`](https://togithub.com/stacktracejs/error-stack-parser/compare/v2.1.1...v2.1.2) [Compare Source](https://togithub.com/stacktracejs/error-stack-parser/compare/v2.1.1...v2.1.2) ### [`v2.1.1`](https://togithub.com/stacktracejs/error-stack-parser/compare/v2.1.0...v2.1.1) [Compare Source](https://togithub.com/stacktracejs/error-stack-parser/compare/v2.1.0...v2.1.1) ### [`v2.1.0`](https://togithub.com/stacktracejs/error-stack-parser/releases/tag/v2.1.0) [Compare Source](https://togithub.com/stacktracejs/error-stack-parser/compare/v2.0.7...v2.1.0) ##### What's Changed - Update `stackframe` dependency from `1.1.1` to `1.3.0` - Update typescript definitions to prevent partial import and maximize compatibility - Re-export StackFrame type for backwards compatibility by [@​andersk](https://togithub.com/andersk) in [https://github.com/stacktracejs/error-stack-parser/pull/72](https://togithub.com/stacktracejs/error-stack-parser/pull/72) - Update types to reflect [issue#​45](https://togithub.com/issue/error-stack-parser/issues/45) by [@​alessioprestileo](https://togithub.com/alessioprestileo) in [https://github.com/stacktracejs/error-stack-parser/pull/74](https://togithub.com/stacktracejs/error-stack-parser/pull/74) - Various dev dependency updates ##### New Contributors - [@​alessioprestileo](https://togithub.com/alessioprestileo) made their first contribution in [https://github.com/stacktracejs/error-stack-parser/pull/74](https://togithub.com/stacktracejs/error-stack-parser/pull/74) **Full Changelog**: https://github.com/stacktracejs/error-stack-parser/compare/v2.0.7...v2.1.0
evanw/esbuild ### [`v0.14.45`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#​01445) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.14.44...v0.14.45) - Add a log message for ambiguous re-exports ([#​2322](https://togithub.com/evanw/esbuild/issues/2322)) In JavaScript, you can re-export symbols from another file using `export * from './another-file'`. When you do this from multiple files that export different symbols with the same name, this creates an ambiguous export which is causes that name to not be exported. This is harmless if you don't plan on using the ambiguous export name, so esbuild doesn't have a warning for this. But if you do want a warning for this (or if you want to make it an error), you can now opt-in to seeing this log message with `--log-override:ambiguous-reexport=warning` or `--log-override:ambiguous-reexport=error`. The log message looks like this: ▲ [WARNING] Re-export of "common" in "example.js" is ambiguous and has been removed [ambiguous-reexport] One definition of "common" comes from "a.js" here: a.js:2:11: 2 │ export let common = 2 ╵ ~~~~~~ Another definition of "common" comes from "b.js" here: b.js:3:14: 3 │ export { b as common } ╵ ~~~~~~ - Optimize the output of the JSON loader ([#​2161](https://togithub.com/evanw/esbuild/issues/2161)) The `json` loader (which is enabled by default for `.json` files) parses the file as JSON and generates a JavaScript file with the parsed expression as the `default` export. This behavior is standard and works in both node and the browser (well, as long as you use an [import assertion](https://v8.dev/features/import-assertions)). As an extension, esbuild also allows you to import additional top-level properties of the JSON object directly as a named export. This is beneficial for tree shaking. For example: ```js import { version } from 'esbuild/package.json' console.log(version) ``` If you bundle the above code with esbuild, you'll get something like the following: ```js // node_modules/esbuild/package.json var version = "0.14.44"; // example.js console.log(version); ``` Most of the `package.json` file is irrelevant and has been omitted from the output due to tree shaking. The way esbuild implements this is to have the JavaScript file that's generated from the JSON look something like this with a separate exported variable for each property on the top-level object: ```js // node_modules/esbuild/package.json export var name = "esbuild"; export var version = "0.14.44"; export var repository = "https://github.com/evanw/esbuild"; export var bin = { esbuild: "bin/esbuild" }; ... export default { name, version, repository, bin, ... }; ``` However, this means that if you import the `default` export instead of a named export, you will get non-optimal output. The `default` export references all top-level properties, leading to many unnecessary variables in the output. With this release esbuild will now optimize this case to only generate additional variables for top-level object properties that are actually imported: ```js // Original code import all, { bar } from 'data:application/json,{"foo":[1,2,3],"bar":[4,5,6]}' console.log(all, bar) // Old output (with --bundle --minify --format=esm) var a=[1,2,3],l=[4,5,6],r={foo:a,bar:l};console.log(r,l); // New output (with --bundle --minify --format=esm) var l=[4,5,6],r={foo:[1,2,3],bar:l};console.log(r,l); ``` Notice how there is no longer an unnecessary generated variable for `foo` since it's never imported. And if you only import the `default` export, esbuild will now reproduce the original JSON object in the output with all top-level properties compactly inline. - Add `id` to warnings returned from the API With this release, warnings returned from esbuild's API now have an `id` property. This identifies which kind of log message it is, which can be used to more easily filter out certain warnings. For example, reassigning a `const` variable will generate a message with an `id` of `"assign-to-constant"`. This also gives you the identifier you need to apply a log override for that kind of message: https://esbuild.github.io/api/#log-override. ### [`v0.14.44`](https://togithub.com/evanw/esbuild/blob/HEAD/CHANGELOG.md#​01444) [Compare Source](https://togithub.com/evanw/esbuild/compare/v0.14.43...v0.14.44) - Add a `copy` loader ([#​2255](https://togithub.com/evanw/esbuild/issues/2255)) You can configure the "loader" for a specific file extension in esbuild, which is a way of telling esbuild how it should treat that file. For example, the `text` loader means the file is imported as a string while the `binary` loader means the file is imported as a `Uint8Array`. If you want the imported file to stay a separate file, the only option was previously the `file` loader (which is intended to be similar to Webpack's [`file-loader`](https://v4.webpack.js.org/loaders/file-loader/) package). This loader copies the file to the output directory and imports the path to that output file as a string. This is useful for a web application because you can refer to resources such as `.png` images by importing them for their URL. However, it's not helpful if you need the imported file to stay a separate file but to still behave the way it normally would when the code is run without bundling. With this release, there is now a new loader called `copy` that copies the loaded file to the output directory and then rewrites the path of the import statement or `require()` call to point to the copied file instead of the original file. This will automatically add a content hash to the output name by default (which can be configured with the `--asset-names=` setting). You can use this by specifying `copy` for a specific file extension, such as with `--loader:.png=copy`. - Fix a regression in arrow function lowering ([#​2302](https://togithub.com/evanw/esbuild/pull/2302)) This release fixes a regression with lowering arrow functions to function expressions in ES5. This feature was introduced in version 0.7.2 and regressed in version 0.14.30. In JavaScript, regular `function` expressions treat `this` as an implicit argument that is determined by how the function is called, but arrow functions treat `this` as a variable that is captured in the closure from the surrounding lexical scope. This is emulated in esbuild by storing the value of `this` in a variable before changing the arrow function into a function expression. However, the code that did this didn't treat `this` expressions as a usage of that generated variable. Version 0.14.30 began omitting unused generated variables, which caused the transformation of `this` to break. This regression happened due to missing test coverage. With this release, the problem has been fixed: ```js // Original code function foo() { return () => this } // Old output (with --target=es5) function foo() { return function() { return _this; }; } // New output (with --target=es5) function foo() { var _this = this; return function() { return _this; }; } ``` This fix was contributed by [@​nkeynes](https://togithub.com/nkeynes). - Allow entity names as define values ([#​2292](https://togithub.com/evanw/esbuild/issues/2292)) The "define" feature allows you to replace certain expressions with certain other expressions at compile time. For example, you might want to replace the global identifier `IS_PRODUCTION` with the boolean value `true` when building for production. Previously the only expressions you could substitute in were either identifier expressions or anything that is valid JSON syntax. This limitation exists because supporting more complex expressions is more complex (for example, substituting in a `require()` call could potentially pull in additional files, which would need to be handled). With this release, you can now also now define something as a member expression chain of the form `foo.abc.xyz`. - Implement package self-references ([#​2312](https://togithub.com/evanw/esbuild/issues/2312)) This release implements a rarely-used feature in node where a package can import itself by name instead of using relative imports. You can read more about this feature here: https://nodejs.org/api/packages.html#self-referencing-a-package-using-its-name. For example, assuming the `package.json` in a given package looks like this: ```json // package.json { "name": "a-package", "exports": { ".": "./main.mjs", "./foo": "./foo.js" } } ``` Then any module in that package can reference an export in the package itself: ```js // ./a-module.mjs import { something } from 'a-package'; // Imports "something" from ./main.mjs. ``` Self-referencing is also available when using `require`, both in an ES module, and in a CommonJS one. For example, this code will also work: ```js // ./a-module.js const { something } = require('a-package/foo'); // Loads from ./foo.js. ``` - Add a warning for assigning to an import ([#​2319](https://togithub.com/evanw/esbuild/issues/2319)) Import bindings are immutable in JavaScript, and assigning to them will throw an error. So instead of doing this: ```js import { foo } from 'foo' foo++ ``` You need to do something like this instead: ```js import { foo, setFoo } from 'foo' setFoo(foo + 1) ``` This is already an error if you try to bundle this code with esbuild. However, this was previously allowed silently when bundling is disabled, which can lead to confusion for people who don't know about this aspect of how JavaScript works. So with this release, there is now a warning when you do this: ▲ [WARNING] This assignment will throw because "foo" is an import [assign-to-import] example.js:2:0: 2 │ foo++ ╵ ~~~ Imports are immutable in JavaScript. To modify the value of this import, you must export a setter function in the imported file (e.g. "setFoo") and then import and call that function here instead. This new warning can be turned off with `--log-override:assign-to-import=silent` if you don't want to see it. - Implement `alwaysStrict` in `tsconfig.json` ([#​2264](https://togithub.com/evanw/esbuild/issues/2264)) This

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Mend Renovate. View repository job log here.