Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump @typescript-eslint/parser from 5.59.7 to 6.0.0 (coderabbitai#354)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.59.7 to 6.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/releases"><code>@typescript-eslint/parser</code>'s releases</a>.</em></p> <blockquote> <h2>v6.0.0</h2> <p>See <a href="https://typescript-eslint.io/blog/announcing-typescript-eslint-v6">the announcement blog post</a> for a friendly description of all changes and <a href="">CHANGELOG.md</a> for a full organized list of them. 🎉</p> <h2>What's Changed</h2> <ul> <li>feat: made BaseNode.parent non-optional by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/5252">typescript-eslint/typescript-eslint#5252</a></li> <li>feat(experimental-utils): console.warn on import of experimental-utils by <a href="https://github.com/kball"><code>@kball</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6179">typescript-eslint/typescript-eslint#6179</a></li> <li>chore(eslint-plugin): remove deprecated rules for v6 by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6112">typescript-eslint/typescript-eslint#6112</a></li> <li>feat: remove partial type-information program by <a href="https://github.com/bradzacher"><code>@bradzacher</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6066">typescript-eslint/typescript-eslint#6066</a></li> <li>chore(typescript-estree): remove unnecessary this.inTypeMode field by <a href="https://github.com/bradzacher"><code>@bradzacher</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6375">typescript-eslint/typescript-eslint#6375</a></li> <li>feat(eslint-plugin): deprecate no-type-alias by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6229">typescript-eslint/typescript-eslint#6229</a></li> <li>chore(typescript-estree): remove visitor-keys backwards compat export by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6242">typescript-eslint/typescript-eslint#6242</a></li> <li>fix(typescript-estree): wrap import = declaration in an export node by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/5885">typescript-eslint/typescript-eslint#5885</a></li> <li>feat(typescript-estree): add type checker wrapper APIs to ParserServicesWithTypeInformation by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6404">typescript-eslint/typescript-eslint#6404</a></li> <li>fix: replace tsutils with ts-api-tools by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6428">typescript-eslint/typescript-eslint#6428</a></li> <li>feat: bump ts-api-utils to v0.0.21 by <a href="https://github.com/bradzacher"><code>@bradzacher</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6459">typescript-eslint/typescript-eslint#6459</a></li> <li>feat(eslint-plugin): rework configs: recommended, strict, stylistic; -type-checked by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/5251">typescript-eslint/typescript-eslint#5251</a></li> <li>feat: remove <code>experimental-utils</code> by <a href="https://github.com/bradzacher"><code>@bradzacher</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6468">typescript-eslint/typescript-eslint#6468</a></li> <li>fix(ast-spec): remove more invalid properties by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6243">typescript-eslint/typescript-eslint#6243</a></li> <li>feat(eslint-plugin): add config that disables type-aware linting by <a href="https://github.com/bradzacher"><code>@bradzacher</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6470">typescript-eslint/typescript-eslint#6470</a></li> <li>chore: update downlevel-dts config to target TS4.2 by <a href="https://github.com/bradzacher"><code>@bradzacher</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6471">typescript-eslint/typescript-eslint#6471</a></li> <li>feat: bump ts-api-utils to v0.0.22 by <a href="https://github.com/bradzacher"><code>@bradzacher</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6472">typescript-eslint/typescript-eslint#6472</a></li> <li>chore: cleanup repo lint + typechecking by <a href="https://github.com/bradzacher"><code>@bradzacher</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6473">typescript-eslint/typescript-eslint#6473</a></li> <li>test: allow to execute tests on windows by <a href="https://github.com/armano2"><code>@armano2</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6488">typescript-eslint/typescript-eslint#6488</a></li> <li>fix(typescript-estree): account for namespace nesting in AST conversion by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6272">typescript-eslint/typescript-eslint#6272</a></li> <li>feat: add package.json exports for public packages by <a href="https://github.com/bradzacher"><code>@bradzacher</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6458">typescript-eslint/typescript-eslint#6458</a></li> <li>fix: bumped ts-api-utils to 0.0.39 by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6497">typescript-eslint/typescript-eslint#6497</a></li> <li>fix: rename typeParameters to typeArguments where needed by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/5384">typescript-eslint/typescript-eslint#5384</a></li> <li>feat(typescript-estree): remove optionality from AST boolean properties by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6274">typescript-eslint/typescript-eslint#6274</a></li> <li>chore: remove no-longer-necessary ts-api-utils package patch by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6526">typescript-eslint/typescript-eslint#6526</a></li> <li>test(ast-spec): snapshot codeframe of error by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6555">typescript-eslint/typescript-eslint#6555</a></li> <li>feat(typescript-estree): added allowInvalidAST option to not throw on invalid tokens by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6247">typescript-eslint/typescript-eslint#6247</a></li> <li>fix: update <code>exports</code> field in package.json files by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6550">typescript-eslint/typescript-eslint#6550</a></li> <li>feat: improve error location by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6556">typescript-eslint/typescript-eslint#6556</a></li> <li>feat(typescript-estree): throw errors on interface with implements by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6551">typescript-eslint/typescript-eslint#6551</a></li> <li>feat(typescript-estree): strict class heritage clauses check by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6576">typescript-eslint/typescript-eslint#6576</a></li> <li>feat(typescript-estree): check for illegal decorators on function declarations by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6590">typescript-eslint/typescript-eslint#6590</a></li> <li>feat(typescript-estree): throw errors for object methods without function bodies by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6589">typescript-eslint/typescript-eslint#6589</a></li> <li>fix(typescript-estree): fix error handling on <code>ImportExpression</code> by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6587">typescript-eslint/typescript-eslint#6587</a></li> <li>feat: remove moduleResolver API by <a href="https://github.com/bradzacher"><code>@bradzacher</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6609">typescript-eslint/typescript-eslint#6609</a></li> <li>feat(typescript-estree): warn on deprecated AST property accesses by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6525">typescript-eslint/typescript-eslint#6525</a></li> <li>fix(eslint-plugin): allow parser@^6.0.0 by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6630">typescript-eslint/typescript-eslint#6630</a></li> <li>feat(typescript-estree): check modifiers on every node by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6615">typescript-eslint/typescript-eslint#6615</a></li> <li>feat(typescript-estree): throw errors when abstract property has initializer by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6613">typescript-eslint/typescript-eslint#6613</a></li> <li>chore: bump ts-api-utils to v0.0.44 by <a href="https://github.com/bradzacher"><code>@bradzacher</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6659">typescript-eslint/typescript-eslint#6659</a></li> <li>fix(typescript-estree): allow writing to deprecated node properties by <a href="https://github.com/JoshuaKGoldberg"><code>@JoshuaKGoldberg</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6670">typescript-eslint/typescript-eslint#6670</a></li> <li>feat(eslint-plugin): [prefer-readonly-parameter-types] added an optional type allowlist by <a href="https://github.com/marekdedic"><code>@marekdedic</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/4436">typescript-eslint/typescript-eslint#4436</a></li> <li>fix(typescript-estree): forbid <code>override</code> on non-constructor function/methods by <a href="https://github.com/fisker"><code>@fisker</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6729">typescript-eslint/typescript-eslint#6729</a></li> <li>chore(website): migrate from lzstring.ts to lz-string package by <a href="https://github.com/armano2"><code>@armano2</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6727">typescript-eslint/typescript-eslint#6727</a></li> <li>chore(website): [playground] regression fix for parsing comments by <a href="https://github.com/armano2"><code>@armano2</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6768">typescript-eslint/typescript-eslint#6768</a></li> <li>chore(website): [playground] add tabs to ast viewer and update design by <a href="https://github.com/armano2"><code>@armano2</code></a> in <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/pull/6735">typescript-eslint/typescript-eslint#6735</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md"><code>@typescript-eslint/parser</code>'s changelog</a>.</em></p> <blockquote> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.62.0...v6.0.0">6.0.0</a> (2023-07-10)</h1> <h3>Bug Fixes</h3> <ul> <li>update <code>exports</code> field in package.json files (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6550">#6550</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/53776c244f8bbdc852d57c7b313b0935e755ddc4">53776c2</a>)</li> </ul> <h3>chore</h3> <ul> <li>drop support for node v14.17, v17 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/5971">#5971</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/cc62015b8ae5f207912ff8988e2a0b3fe9a79243">cc62015</a>)</li> </ul> <h3>Features</h3> <ul> <li>add new package <code>rule-tester</code> (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6777">#6777</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/2ce1c1d22c799a1ca027674fcb9b3a7ab0107428">2ce1c1d</a>)</li> <li>add package.json exports for public packages (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6458">#6458</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/d6766838a05259556029acaac57dc7839b68c592">d676683</a>)</li> <li>drop support for ESLint v6 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/5972">#5972</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/bda806d78ee46133587d9383baff52d796a594e5">bda806d</a>)</li> <li>drop support for node v12 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/5918">#5918</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/7e3fe9a67abd394b0a114f2deb466edf5c9759ac">7e3fe9a</a>)</li> <li>drop support for node v14 and test against node v20 (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/7022">#7022</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/e6235bf61b781066653581b57b7cd976c9c4f905">e6235bf</a>)</li> <li>remove partial type-information program (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6066">#6066</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/7fc062abc30a73093cd943c2cb808ae373fe12d9">7fc062a</a>)</li> <li><strong>scope-manager:</strong> ignore ECMA version (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/5889">#5889</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/f2330f79739eb93e3c290ccc6e810a01e097eda0">f2330f7</a>), closes <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/5834">#5834</a> <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/5882">#5882</a> <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/5864">#5864</a> <a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/5883">#5883</a></li> <li><strong>typescript-estree:</strong> added allowInvalidAST option to not throw on invalid tokens (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6247">#6247</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/a3b177d59adaf8ea76b205befc8b12d86447f1fb">a3b177d</a>)</li> <li><strong>typescript-estree:</strong> allow providing code as a ts.SourceFile (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/5892">#5892</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/af41b7fa7b9b8f3023fdabd40846598d5d4d4f61">af41b7f</a>)</li> <li><strong>typescript-estree:</strong> deprecate createDefaultProgram (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/5890">#5890</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/426d6b647e6df3e312d1cef3e28dadaef6675fd3">426d6b6</a>)</li> <li><strong>typescript-estree:</strong> remove optionality from AST boolean properties (<a href="https://redirect.github.com/typescript-eslint/typescript-eslint/issues/6274">#6274</a>) (<a href="https://github.com/typescript-eslint/typescript-eslint/commit/df131e258c93e5714c88c0373cfeb2e1e75afc75">df131e2</a>)</li> </ul> <h3>BREAKING CHANGES</h3> <ul> <li>drop support for ESLint v6</li> <li>drops support for node v17</li> <li>drops support for node v12</li> </ul> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> <h1><a href="https://github.com/typescript-eslint/typescript-eslint/compare/v5.61.0...v5.62.0">5.62.0</a> (2023-07-10)</h1> <p><strong>Note:</strong> Version bump only for package <code>@typescript-eslint/parser</code></p> <p>You can read about our <a href="https://main--typescript-eslint.netlify.app/users/versioning">versioning strategy</a> and <a href="https://main--typescript-eslint.netlify.app/users/releases">releases</a> on our website.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/6ae1fa74b18af8a2d4baa0d3d4b43997cf9a9781"><code>6ae1fa7</code></a> chore: publish v6.0.0</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/980bda3f81f581adbb0d9538de613df229042aa4"><code>980bda3</code></a> Merge branch 'main' (I swear this had better be the last one</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/cba0d113bba1bbcee69149c954dc6bd4c658c714"><code>cba0d11</code></a> chore: publish v5.62.0</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/c23365292631b1c3db7c439c9d962234084f66b7"><code>c233652</code></a> Merge branch 'main'</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/2f46341a14ca6f05334301315bc54dd20129c408"><code>2f46341</code></a> chore: publish v5.61.0</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/f74862cbfb5c74ba958ba27d1ea2ca5046821818"><code>f74862c</code></a> chore: publish v5.60.1</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/3cdf5c93163036fdc60325129d9746ff57574336"><code>3cdf5c9</code></a> chore: enable sort-type-constituents internally (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser/issues/7028">#7028</a>)</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/cc3380444896e7ea5678f7763f007d9b1d29a8df"><code>cc33804</code></a> docs: reorganise release/version docs (<a href="https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser/issues/7033">#7033</a>)</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/371fc26f7f948f725d412919560d02b0119ee6a6"><code>371fc26</code></a> Merge branch 'main' into v6</li> <li><a href="https://github.com/typescript-eslint/typescript-eslint/commit/c09b1c0252cbbf58e94ca5d671b6e05f29511144"><code>c09b1c0</code></a> chore: publish v5.60.0</li> <li>Additional commits viewable in <a href="https://github.com/typescript-eslint/typescript-eslint/commits/v6.0.0/packages/parser">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=@typescript-eslint/parser&package-manager=npm_and_yarn&previous-version=5.59.7&new-version=6.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information