Socket
Socket
Sign inDemoInstall

tsutils

Package Overview
Dependencies
Maintainers
1
Versions
94
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsutils - npm Package Versions

1
810

1.9.1

Diff

Changelog

Source

1.9.1

Bugfixes:

  • isObjectFlagSet now uses the correct objectFlags property
ajaff
published 1.9.0 •

Changelog

Source

1.9.0

Bugfixes:

  • getNextToken no longer omits EndOfFileToken when there is no trivia before EOF. That means the only inputs where getNextToken returns undefined are SourceFile and EndOfFileToken

Features:

  • Added typeguards for types
  • Added utilities for flag checking: isNodeFlagSet, isTypeFlagSet, isSymbolFlagSet,isObjectFlagSet, isModifierFlagSet
ajaff
published 1.8.0 •

Changelog

Source

1.8.0

Features:

  • Support peer dependency of typescript nightlies of 2.4.0
  • Added typeguards: isJsxAttributes, isIntersectionTypeNode, isTypeOperatorNode, isTypePredicateNode, isTypeQueryNode, isUnionTypeNode
ajaff
published 1.7.0 •

Changelog

Source

1.7.0

Bugfixes:

  • isFunctionScopeBoundary now handles Interfaces, TypeAliases, FunctionSignatures, etc

Features:

  • Added utilities: isThisParameter, isSameLine and isFunctionWithBody
ajaff
published 1.6.0 •

Changelog

Source

1.6.0

Features:

  • Add isValidPropertyAccess, isValidNumericLiteral and isValidPropertyName
ajaff
published 1.5.0 •

Changelog

Source

1.5.0

Features:

  • Add isValidIdentifier
ajaff
published 1.4.0 •

Changelog

Source

1.4.0

Features:

  • Add contentLength property to the result of getLineRanges
ajaff
published 1.3.0 •

Changelog

Source

1.3.0

Bugfixes:

  • canHaveLeadingTrivia:
    • Fix property access on undefined parent reference
    • Fixes: palantir/tslint#2330
  • hasOwnThisReference: now includes accessors on object literals

Features:

  • Typeguards:
    • isTypeParameterDeclaration
    • isEnitityName
ajaff
published 1.2.2 •

Changelog

Source

1.2.2

Bugfixes:

  • hasOwnThisReference:
    • exclude overload signatures of function declarations
    • add method declarations on object literals
ajaff
published 1.2.1 •

Changelog

Source

1.2.1

Bugfixes:

  • Fix name of isNumericLiteral
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc