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 Notesv3.0.0
⚠️Breaking Changes:
Dropped support for typescript@<2.8.0
Dropped support for Node.js 4
Removed deprecated APIs:
getIdentifierText, isJsxFramgment, ImportOptions
deprected overloads of isModifierFlagSet, findImports and getControlFlowEnd
control flow related symbols can no longer be imported from 'tsutils/util/util', import directly from 'tsutils/util/control-flow' or 'tsutils/util'
isFunctionScopeBoundary and isBlockScopeBoundary now return a enum member of ScopeBoundary instead of a boolean
isFunctionScopeBoundary no longer returns a truthy value for InterfaceDeclaration, TypeAliasDeclaration
Features:
added utility isTypeScopeBoundary returning ScopeBoundary.Type or ScopeBoundary.ConditionalType
added enum ScopeBoundarySelector whose members can be used to determine if a declaration belongs to a given ScopeBoundary by using bitwise AND
Bugfixes:
collectVariableUsage now correctly handles infer T nested inside function signatures or mapped types
isCompilerOptionEnabled correctly handles skipDefaultLibCHeck and suppressImplicitAnyIndexErrors
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).
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: