8000 chore: bump tsutils from 3.17.1 to 3.20.0 by dependabot[bot] · Pull Request #3029 · typescript-eslint/typescript-eslint · GitHub
[go: up one dir, main page]

Skip to content

chore: bump tsutils from 3.17.1 to 3.20.0 #3029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

dependabot[bot]
Copy link
Contributor
@dependabot dependabot bot commented on behalf of github Feb 10, 2021

⚠️ Dependabot is rebasing this PR ⚠️

If you make any changes to it yourself then they will take precedence over the rebase.


Bumps tsutils from 3.17.1 to 3.20.0.

Release notes

Sourced from tsutils's releases.

v3.20.0

Features:

  • findImports and findImportLikeNodes take an additional parameter ignoreFileName. The default value for this paramter is true to remain backwards compatible. When set to false, it matches the behavior of TypeScript, i.e. only looks for require in JavaScript files.

Bugfixes:

  • getJsDoc for EndOfFileToken now returns JSDoc comments whose contents are usable with the type checker

v3.19.1

Bugfixes:

  • getSymbolOfClassLikeDeclaration no longer crashes on anonymous mixin classes

v3.19.0

Features:

  • getSymbolOfClassLikeDeclaration to retrieve the symbol of class declarations and expressions regardless whether they have a name or not
  • getBaseOfClassLikeDeclaration to conventiently get the expression after extends
  • getBaseClassMemberOfClassElement to look up the declaration of a class member in the base class

Bugfixes:

  • getConstructorTypeOfClassLikeDeclaration now really returns the constructor type (the static side of the class), previously it returned the instance type
  • hasExhaustiveCaseClauses allows additional case clauses with null, undefined and never

v3.18.0

Features:

  • Source maps for easier debugging
  • JSDoc is preserved in declaration files
  • Comments are presered in transpiled code
  • Everything you need to handle the control flow changes of TypeScript@3.7
    • callExpressionAffectsControlFlow to determine whether a CallExpression affects control flow by returning never or asserts
    • hasExhaustiveCaseClauses to determine whether a SwitchStatement's CaseClauses handle every possible value
    • endsControlFlow and getControlFlowEnd take an optional checker parameter to recognize exhaustive SwitchStatements and control flow effects of CallExpressions
  • formatPseudoBigInt converts TypeScript's representation of a BigInt to its literal representation as you would write it in your source code
  • getAstNodeAtPosition similar to getTokenAtPosition, but only operates on AST Nodes
  • removeOptionalChainingUndefinedMarkerType and isOptionalChainingUndefinedMarkerType to handle types originating in an optional chain
  • findImports and findImportLikeNodes: prepare for import assertions
  • getTsCheckDirective as new name for getCheckJsDirective
  • getCheckJsDirective is now deprecated

Bugfixes:

  • getUsageDomain: handles NamespaceExport and NamedTupleMember
  • getPropertyName: handles parentheses and negative numeric literals, excludes RegExp literals and private identifiers
  • getSingleLateBoundPropertyNameOfPropertyName and getLateBoundPropertyNamesOfPropertyName: handles private identifiers
  • hasAccessModifier: handles JSDoc access modifier
  • hasSideEffects: correctly determines side effects of (static) property initializers

... (truncated)

Changelog

Sourced from tsutils's changelog.

3.20.0

Features:

  • findImports and findImportLikeNodes take an additional parameter ignoreFileName. The default value for this paramter is true to remain backwards compatible. When set to false, it matches the behavior of TypeScript, i.e. only looks for require in JavaScript files.

Bugfixes:

  • getJsDoc for EndOfFileToken now returns JSDoc comments whose contents are usable with the type checker

3.19.1

Bugfixes:

  • getSymbolOfClassLikeDeclaration no lo 8000 nger crashes on anonymous mixin classes

3.19.0

Features:

  • getSymbolOfClassLikeDeclaration to retrieve the symbol of class declarations and expressions regardless whether they have a name or not
  • getBaseOfClassLikeDeclaration to conventiently get the expression after extends
  • getBaseClassMemberOfClassElement to look up the declaration of a class member in the base class

Bugfixes:

  • getConstructorTypeOfClassLikeDeclaration now really returns the constructor type (the static side of the class), previously it returned the instance type
  • hasExhaustiveCaseClauses allows additional case clauses with null, undefined and never

3.18.0

Features:

  • Source maps for easier debugging
  • JSDoc is preserved in declaration files
  • Comments are presered in transpiled code
  • Everything you need to handle the control flow changes of TypeScript@3.7
    • callExpressionAffectsControlFlow to determine whether a CallExpression affects control flow by returning never or asserts
    • hasExhaustiveCaseClauses to determine whether a SwitchStatement's CaseClauses handle every possible value
    • endsControlFlow and getControlFlowEnd take an optional checker parameter to recognize exhaustive SwitchStatements and control flow effects of CallExpressions
  • formatPseudoBigInt converts TypeScript's representation of a BigInt to its literal representation as you would write it in your source code
  • getAstNodeAtPosition similar to getTokenAtPosition, but only operates on AST Nodes
  • removeOptionalChainingUndefinedMarkerType and isOptionalChainingUndefinedMarkerType to handle types originating in an optional chain
  • findImports and findImportLikeNodes: prepare for import assertions
  • getTsCheckDirective as new name for getCheckJsDirective
  • getCheckJsDirective is now deprecated

Bugfixes:

  • getUsageDomain: handles NamespaceExport and NamedTupleMember

... (truncated)

Commits
  • 1413977 v3.20.0
  • eb005d8 getJsDoc: remove special case for EOFToken
  • e677437 make findImports use file type
  • 752e802 isValidJsxIdentifier: handle colon as namespace separator
  • 0dbf99e convertAst: optimize case when first child is token
  • 2857828 refactor convertAst to use no recursive calls
  • 19eac2f add tests for convertAst
  • a9daedc hasSideEffects: handle deeply nested AST without stack overflow
  • 65e3eca avoid stack overflow in forEachToken
  • 0c2b0af more tests for exhaustive switch in control flow
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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

Bumps [tsutils](https://github.com/ajafff/tsutils) from 3.17.1 to 3.20.0.
- [Release notes](https://github.com/ajafff/tsutils/releases)
- [Changelog](https://github.com/ajafff/tsutils/blob/master/CHANGELOG.md)
- [Commits](ajafff/tsutils@v3.17.1...v3.20.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Issue about dependencies of the package label Feb 10, 2021
@typescript-eslint
Copy link
Contributor

Thanks for the PR, @dependabot[bot]!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint. As a thank you, your profile/company logo will be added to our main README which receives thousands of unique visitors per day.

@bradzacher bradzacher merged commit eeca6fc into master Feb 11, 2021
@bradzacher bradzacher deleted the dependabot/npm_and_yarn/tsutils-3.20.0 branch February 11, 2021 05:55
65B3 @github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Issue about dependencies of the package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0