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
10

2.28.0

Diff

Changelog

Source

2.28.0

Typeguards are now split into multiple submodules for each version of TypeScript (starting with 2.8.0). That means you can now import directly from "tsutils/typeguard/2.8" to get compatible declaraton files for TypeScript@2.8. For more information please read the relevant section in README.md.

Features:

  • added typeguards: isTupleType, isOptionalTypeNode, isRestTypeNode, isSyntheticExpression (currently available from "tsutils/typeguard/3.0")
  • added utility isStrictCompilerOptionEnabled
ajaff
published 2.27.2 •

Changelog

Source

2.27.2

Avoid crash caused by removed function in typescript@3.0.0.

ajaff
published 2.27.1 •

Changelog

Source

2.27.1

Added support for TypeScript@3.0.0 nightly builds.

ajaff
published 2.27.0 •

Changelog

Source

2.27.0

Features:

  • added getIIFE utility
ajaff
published 2.26.2 •

Changelog

Source

2.26.2

Bugfixes:

  • forEachComment and forEachTokenWithTrivia no longer duplicate comments around missing nodes
ajaff
published 2.26.1 •

Changelog

Source

2.26.1

Bugfixes:

  • fixed crash in hasSideEffects with tagged template literal without substitution: tag`template`
ajaff
published 2.26.0 •

Changelog

Source

2.26.0

Features:

  • added typeguard isLiteralTypeNode
  • added support for type imports (type T = import('foo')) to findImports via ImportKind.ImportType
ajaff
published 2.25.1 •

Changelog

Source

2.25.1

Bugfixes:

ajaff
published 2.25.0 •

Changelog

Source

2.25.0

Features:

  • added utilities: isStatementInAmbientContext and isAmbientModuleBlock
ajaff
published 2.24.0 •

Changelog

Source

2.24.0

Features:

  • added typeguards for typescript@2.8: isConditionalTypeNode, isInferTypeNode, isConditionalType, isInstantiableType, isSubstitutionType
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