Open greenkeeper[bot] opened 6 years ago
devDependency
tsutils was updated from 2.29.0
to 3.1.0
.Update to this version instead π
Features:
isKeywordKind
and isValidJsxIdentifier
The new version differs by 8 commits.
ba6c83b
v3.1.0
ab31d24
update to typescript@3.1.3
e649ea1
add isValidJsxIdentifier utility
e631f6a
add isKeywordKind utility
a4fb5ad
usage: add test for extends clause of class
33dcfca
usage: add test for reference to parameter in function header
442597c
usage: add test for reference to parameter in function header
4e95d94
expose latest typeguards for ts@3.0
See the full diff
devDependency
tsutils was updated from 2.29.0
to 3.2.0
.Update to this version instead π
Features:
findImportLikeNodes
that works similar to findImports
but returns the import statement or expression instead of the module specifier and doesn't filter non-string module specifiersdevDependency
tsutils was updated from 2.29.0
to 3.3.0
.Update to this version instead π
Features:
isCompilerOptionEnabled
: recognizes strictBindCallApply
getTokenAtPosition
: optionally includes JSDoc during lookupBugfixes:
isCompilerOptionEnabled
: correctly implements logic for allowSyntheticDefaultImports
findImportLikeNodes
: correctly finds imports in namespacesfindImportLikeNodes
/ findImports
: finds import types in JSDoc of JS filesThe new version differs by 6 commits.
7551f24
isCompilerOptionEnabled: implement allowSyntheticDefaultImports default
d30acb4
isCompilerOptionEnabled: recognize strictBindCallApply
42cf6a9
usage: additional tests with for-loop edge cases
5e6d4a0
remove useless condition
f20e5e2
findImports: refactoring and bugfixing
6f27729
getTokenAtPosition can optionally get tokens in JSDoc
See the full diff
devDependency
tsutils was updated from 2.29.0
to 3.3.1
.Update to this version instead π
Bugfixes:
findImports
: fixed handling of ImportEqualsDeclarationdevDependency
tsutils was updated from 2.29.0
to 3.4.0
.Update to this version instead π
Features:
commentText
to get the actual text content of a comment excluding the characters needed to start and end the commentdevDependency
tsutils was updated from 2.29.0
to 3.5.0
.Update to this version instead π
Features:
isBigIntLiteral
isLiteralType
recognises BigIntgetPropertyName
adds special handling for BigIntdevDependency
tsutils was updated from 2.29.0
to 3.5.1
.Update to this version instead π
Bugfixes:
isThenableType
allows Node
instead of Expression
as parameterisBlockScopeBoundary
and isScopeBoundary
consider WithStatement
as scope boundarydevDependency
tsutils was updated from 2.29.0
to 3.5.2
.Update to this version instead π
Bugfixes:
const enum
. They are now declared as regular enums instead.devDependency
tsutils was updated from 2.29.0
to 3.6.0
.Update to this version instead π
Features:
getCheckJsDirective
utility to parse // @ts-check
and // @ts-nocheck
pragmasdevDependency
tsutils was updated from 2.29.0
to 3.9.0
.Update to this version instead π
Features:
isNullLiteral
and isBooleanLiteral
The new version differs by 12 commits.
f6e941f
v3.9.0
d0dfe05
sort exports
e17f246
Add isNullLiteral and isBooleanLiteral utility functions (#97)
a8c6da5
getLineRanges: add tests (#95)
90b97fb
v3.8.0
17fd9e0
add JSDoc comment
9583128
add isInConstContext
a945f61
add isConstAssertion
776ba6b
expose typeguards for typescript@3.2 by default
76abb41
v3.7.0
a2bd03e
add isInSingleStatementContext
0200380
add isBlockScopedDeclarationStatement
See the full diff
devDependency
tsutils was updated from 2.29.0
to 3.9.1
.Update to this version instead π
Bugfixes:
canHaveJsdoc
parseJsdocOfNode
devDependency
tsutils was updated from 2.29.0
to 3.10.0
.Update to this version instead π
Features:
isCompilerOptionEnabled
: incremental
is implicitly enabled by composite
Bugfixes:
collectVariableUsage
/getUsageDomain
: no longer treat as const
as type usagedevDependency
tsutils was updated from 2.29.0
to 3.11.0
.Update to this version instead π
Features:
isNumericOrStringLikeLiteral
, isTupleTypeReference
intersectionTypeParts
as counterpart to unionTypeParts
someTypePart
to execute a callback for each union or intersection constituent until the callback returns truegetPropertyOfType
looks up a property by its escaped nameisPropertyReadonlyInType
determines whether a property in a given type cannot be written tosymbolHasReadonlyDeclaration
determines if a Symbol has any readonly or constant declarationisNumericPropertyName
determines whether a property name would match an index signatureisBindableObjectDefinePropertyCall
returns true for statically analyzable forms of Object.defineProperty(o, 'p', {value, writable})
isReadonlyAssignmentDeclaration
determines whether an Object.defineProperty
call is known to result in a readonly propertygetLateBoundPropertyNames
returns all known property names of an expressiongetPropertyNameFromType
extracts the property name of literal typesisWellKnownSymbolLiterally
to recognize expressions in the form of Symbol.<name>
getPropertyNameOfWellKnownSymbol
returns the escaped name for a well known symbol literalunwrapParentheses
returns the first child expression that is not a ParenthesizedExpression
The new version differs by 12 commits.
4c186be
v3.11.0
e091463
micro optimization
966ea76
cleanup utilities
198367e
add missing file
cfcd2d6
rename imported module
cab93db
remove leftover debugger statement
c43a690
update typescript
6c01ac5
tests + handle index signatures in union types + enum members
7275f72
export function
f637851
detect readonly symbols
4526bcd
add isBooleanLiteralType utility
49d0d31
allow typescript@3.5 nightly builds
See the full diff
devDependency
tsutils was updated from 2.29.0
to 3.12.0
.devDependency
tsutils was updated from 2.29.0
to 3.13.0
.devDependency
tsutils was updated from 2.29.0
to 3.14.0
.devDependency
tsutils was updated from 2.29.0
to 3.14.1
.devDependency
tsutils was updated from 2.29.0
to 3.15.0
.devDependency
tsutils was updated from 2.29.0
to 3.16.0
.devDependency
tsutils was updated from 2.29.0
to 3.17.0
.devDependency
tsutils was updated from 2.29.0
to 3.17.1
.
Version 3.0.0 of tsutils was just published.
The version 3.0.0 is not covered by your current version range.
If you donβt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of tsutils.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donβt have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
v3.0.0typescript@<2.8.0
getIdentifierText
,isJsxFramgment
,ImportOptions
isModifierFlagSet
,findImports
andgetControlFlowEnd
'tsutils/util/util'
, import directly from'tsutils/util/control-flow'
or'tsutils/util'
isFunctionScopeBoundary
andisBlockScopeBoundary
now return a enum member ofScopeBoundary
instead of a booleanisFunctionScopeBoundary
no longer returns a truthy value forInterfaceDeclaration
,TypeAliasDeclaration
Features:
isTypeScopeBoundary
returningScopeBoundary.Type
orScopeBoundary.ConditionalType
ScopeBoundarySelector
whose members can be used to determine if a declaration belongs to a givenScopeBoundary
by using bitwise ANDBugfixes:
collectVariableUsage
now correctly handlesinfer T
nested inside function signatures or mapped typesisCompilerOptionEnabled
correctly handlesskipDefaultLibCHeck
andsuppressImplicitAnyIndexErrors
Commits
The new version differs by 12 commits.
4099ae6
v3.0.0
0f03549
add node version requirement to package.json
566e353
isCompilerOptionEnabled: add contraint of suppressImplicitAnyIndexErrors
ea59b1c
require typescript@2.8
359bf07
usage: InferType is correctly assiciated with ConditionalType
f4af733
use Array.prototype.includes
9636689
remove deprecated stuff
e49a4f7
Merge branch 'master' into next
a84ccaa
Add ScopeBoundary.ConditionalType
752c47c
isCompilerOptionEnabled: add relationship of skip(Default)LibCheck
5cc7276
add isTypeScopeBoundary
bd5c223
breaking changes
See the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donβt help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper bot :palm_tree: