Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tsutils to the latest version 🚀 #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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 dependency

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 🌴

@ahanriat
Copy link

Friendly ping 🙂

@ajafff
Copy link
Owner

ajafff commented Aug 14, 2018

@ahanriat why is this important to you? there is only one small bug fix that is relevant for rules in this package.

@ahanriat
Copy link

ahanriat commented Aug 15, 2018

Thanks @ajafff 🤗
We are moving to Typescript 3.0.1 and it looks like we had issues due to tsutils dependency 🙂

Should Fix #90

greenkeeper bot added a commit that referenced this pull request Oct 14, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 14, 2018

  • The dependency tsutils was updated from 2.29.0 to 3.1.0.

Update to this version instead 🚀

Release Notes for v3.1.0

Features:

  • added utilities: isKeywordKind and isValidJsxIdentifier
  • exposes typeguards for typescript@3.0 by default
Commits

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

greenkeeper bot added a commit that referenced this pull request Oct 22, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Oct 22, 2018

  • The dependency tsutils was updated from 2.29.0 to 3.2.0.

Update to this version instead 🚀

Release Notes for v3.2.0

Features:

  • added utility 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 specifiers
Commits

The new version differs by 4 commits.

  • 79382c7 v3.2.0
  • 552720a add utility to find all importlike nodes
  • a5e1fcc usage: add test for export as namespace
  • 328b4ff update fimbullinter

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 3, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 3, 2018

  • The dependency tsutils was updated from 2.29.0 to 3.3.0.

Update to this version instead 🚀

Release Notes for v3.3.0

Features:

  • isCompilerOptionEnabled: recognizes strictBindCallApply
  • getTokenAtPosition: optionally includes JSDoc during lookup

Bugfixes:

  • isCompilerOptionEnabled: correctly implements logic for allowSyntheticDefaultImports
  • findImportLikeNodes: correctly finds imports in namespaces
  • findImportLikeNodes / findImports: finds import types in JSDoc of JS files
Commits

The 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

greenkeeper bot added a commit that referenced this pull request Nov 5, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 5, 2018

  • The dependency tsutils was updated from 2.29.0 to 3.3.1.

Update to this version instead 🚀

Release Notes for v3.3.1

Bugfixes:

  • findImports: fixed handling of ImportEqualsDeclaration
Commits

The new version differs by 3 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 8, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 8, 2018

  • The dependency tsutils was updated from 2.29.0 to 3.4.0.

Update to this version instead 🚀

Release Notes for v3.4.0

Features:

  • added utility commentText to get the actual text content of a comment excluding the characters needed to start and end the comment
Commits

The new version differs by 4 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 12, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 12, 2018

  • The dependency tsutils was updated from 2.29.0 to 3.5.0.

Update to this version instead 🚀

Release Notes for v3.5.0

Features:

  • correctly handle BigInt literals
    • added typeguard isBigIntLiteral
    • isLiteralType recognises BigInt
    • getPropertyName adds special handling for BigInt
Commits

The new version differs by 3 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Nov 23, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 23, 2018

  • The dependency tsutils was updated from 2.29.0 to 3.5.1.

Update to this version instead 🚀

Release Notes for v3.5.1

Bugfixes:

  • isThenableType allows Node instead of Expression as parameter
  • isBlockScopeBoundary and isScopeBoundary consider WithStatement as scope boundary
Commits

The new version differs by 4 commits.

  • 01d570d v3.5.1
  • d7c9750 build: no longer inline source maps
  • b4ee4dd isThenableType: allow any Node as input
  • a2e772c added WithStatement as BlockScopeBoundary

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 2, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 2, 2018

  • The dependency tsutils was updated from 2.29.0 to 3.5.2.

Update to this version instead 🚀

Release Notes for v3.5.2

Bugfixes:

  • Published declaration files no longer contain const enum. They are now declared as regular enums instead.
Commits

The new version differs by 5 commits.

  • d6ecbef v3.5.2
  • d5e8593 convert 'const enum' to regular enum in declaration files
  • d7793d7 getDeclarationDomain: return undefined for 'this' parameter
  • ae9b57f isAmbientModule: add doc comment
  • 9a781aa added isAmbientModule

See the full diff

greenkeeper bot added a commit that referenced this pull request Dec 31, 2018
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Dec 31, 2018

  • The dependency tsutils was updated from 2.29.0 to 3.6.0.

Update to this version instead 🚀

Release Notes for v3.6.0

Features:

  • added getCheckJsDirective utility to parse // @ts-check and // @ts-nocheck pragmas
Commits

The new version differs by 4 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 10, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 10, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.9.0.

Update to this version instead 🚀

Release Notes for v3.9.0

Features:

  • added typeguards: isNullLiteral and isBooleanLiteral
Commits

The new version differs by 12 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Mar 13, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Mar 13, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.9.1.

Update to this version instead 🚀

Release Notes for v3.9.1

Bugfixes:

  • reverted invalid deprecation of canHaveJsdoc
  • fixed condition in parseJsdocOfNode
Commits

The new version differs by 1 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request Apr 2, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 2, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.10.0.

Update to this version instead 🚀

Release Notes for v3.10.0

Features:

  • isCompilerOptionEnabled: incremental is implicitly enabled by composite

Bugfixes:

  • collectVariableUsage/getUsageDomain: no longer treat as const as type usage
Commits

The new version differs by 8 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request May 28, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 28, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.11.0.

Update to this version instead 🚀

Release Notes for v3.11.0

Features:

  • typeguards: isNumericOrStringLikeLiteral, isTupleTypeReference
  • intersectionTypeParts as counterpart to unionTypeParts
  • someTypePart to execute a callback for each union or intersection constituent until the callback returns true
  • getPropertyOfType looks up a property by its escaped name
  • isPropertyReadonlyInType determines whether a property in a given type cannot be written to
  • symbolHasReadonlyDeclaration determines if a Symbol has any readonly or constant declaration
  • isNumericPropertyName determines whether a property name would match an index signature
  • isBindableObjectDefinePropertyCall 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 property
  • getLateBoundPropertyNames returns all known property names of an expression
  • getPropertyNameFromType extracts the property name of literal types
  • isWellKnownSymbolLiterally to recognize expressions in the form of Symbol.<name>
  • getPropertyNameOfWellKnownSymbol returns the escaped name for a well known symbol literal
  • unwrapParentheses returns the first child expression that is not a ParenthesizedExpression
Commits

The new version differs by 12 commits.

See the full diff

greenkeeper bot added a commit that referenced this pull request May 29, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 29, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.12.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 1, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 1, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.13.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jun 3, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jun 3, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.14.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Jul 25, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jul 25, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.14.1.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Aug 4, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 4, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.15.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Aug 5, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 5, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.16.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Aug 5, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 5, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.17.0.

Update to this version instead 🚀

greenkeeper bot added a commit that referenced this pull request Aug 7, 2019
@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Aug 7, 2019

  • The dependency tsutils was updated from 2.29.0 to 3.17.1.

Update to this version instead 🚀

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