chore(deps): update dependency tsutils to ~3.21.0 #16
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
~3.17.0
->~3.21.0
Release Notes
ajafff/tsutils (tsutils)
v3.21.0
Compare Source
Features:
getWellKnownSymbolPropertyOfType
to reliably get symbol named properties due to changes in [email protected]getPropertyNameOfWellKnownSymbol
is now deprecatedv3.20.0
Compare Source
Features:
findImports
andfindImportLikeNodes
take an additional parameterignoreFileName
. The default value for this paramter istrue
to remain backwards compatible. When set tofalse
, it matches the behavior of TypeScript, i.e. only looks forrequire
in JavaScript files.Bugfixes:
getJsDoc
forEndOfFileToken
now returnsJSDoc
comments whose contents are usable with the type checkerv3.19.1
Compare Source
Bugfixes:
getSymbolOfClassLikeDeclaration
no longer crashes on anonymous mixin classesv3.19.0
Compare Source
Features:
getSymbolOfClassLikeDeclaration
to retrieve the symbol of class declarations and expressions regardless whether they have a name or notgetBaseOfClassLikeDeclaration
to conventiently get the expression afterextends
getBaseClassMemberOfClassElement
to look up the declaration of a class member in the base classBugfixes:
getConstructorTypeOfClassLikeDeclaration
now really returns the constructor type (the static side of the class), previously it returned the instance typehasExhaustiveCaseClauses
allows additional case clauses withnull
,undefined
andnever
v3.18.0
Compare Source
Features:
callExpressionAffectsControlFlow
to determine whether a CallExpression affects control flow by returningnever
orasserts
hasExhaustiveCaseClauses
to determine whether a SwitchStatement's CaseClauses handle every possible valueendsControlFlow
andgetControlFlowEnd
take an optionalchecker
parameter to recognize exhaustive SwitchStatements and control flow effects of CallExpressionsformatPseudoBigInt
converts TypeScript's representation of a BigInt to its literal representation as you would write it in your source codegetAstNodeAtPosition
similar togetTokenAtPosition
, but only operates on AST NodesremoveOptionalChainingUndefinedMarkerType
andisOptionalChainingUndefinedMarkerType
to handle types originating in an optional chainfindImports
andfindImportLikeNodes
: prepare for import assertionsgetTsCheckDirective
as new name forgetCheckJsDirective
getCheckJsDirective
is now deprecatedBugfixes:
getUsageDomain
: handles NamespaceExport and NamedTupleMembergetPropertyName
: handles parentheses and negative numeric literals, excludes RegExp literals and private identifiersgetSingleLateBoundPropertyNameOfPropertyName
andgetLateBoundPropertyNamesOfPropertyName
: handles private identifiershasAccessModifier
: handles JSDoc access modifierhasSideEffects
: correctly determines side effects of (static) property initializersisExpressionValueUsed
: handle nullish coalescing and conditional assignment operatorscanHaveJsDoc
: aligned with upstream changes in TypeScriptisCompilerOptionEnabled
:noUncheckedIndexedAccess
requiresstrictNullChecks
checkJs
impliesallowJs
emitDeclarationOnly
requiresdeclaration
isInConstContext
: handle template string interpolationsConfiguration
📅 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.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.