Skip to content

Update tsutils to the latest version 馃殌 - #88

Open
greenkeeper[bot] wants to merge 1 commit into
masterfrom
greenkeeper/tsutils-3.0.0
Open

Update tsutils to the latest version 馃殌#88
greenkeeper[bot] wants to merge 1 commit into
masterfrom
greenkeeper/tsutils-3.0.0

Conversation

@greenkeeper

@greenkeeper greenkeeper Bot commented Jul 29, 2018

Copy link
Copy Markdown
Contributor

Version 3.0.0 of tsutils was just published.

Dependency tsutils
Current Version 2.29.0
Type dependency

The version 3.0.0 is not covered by your current version range.

If you don鈥檛 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鈥檛 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.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
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. If those don鈥檛 help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 馃尨

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants