Skip to content

Conversation

greenkeeper[bot]
Copy link
Contributor

@greenkeeper greenkeeper bot commented Jul 29, 2018

Version 3.0.0 of tsutils was just published.

Dependency tsutils
Current Version 2.29.0
Type devDependency

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.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’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper bot 🌴

@codecov-io
Copy link

codecov-io commented Jul 31, 2018

Codecov Report

Merging #82 into develop will increase coverage by 0.1%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop      #82     +/-   ##
==========================================
+ Coverage    90.14%   90.24%   +0.1%     
==========================================
  Files           63       63             
  Lines          974      974             
  Branches       172      192     +20     
==========================================
+ Hits           878      879      +1     
+ Misses          89       88      -1     
  Partials         7        7
Impacted Files Coverage Δ
src/utilities/PathHelpers.ts 100% <0%> (+8.33%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e550f7c...24d97c6. Read the comment docs.

@buehler buehler merged commit ca31f39 into develop Aug 6, 2018
@greenkeeper greenkeeper bot deleted the greenkeeper/tsutils-3.0.0 branch August 6, 2018 13:27
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