Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

sucrase

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sucrase - npm Package Versions

1
9

3.13.0

Diff

Changelog

Source

3.13.0 (2020-03-28)

  • Properly escape file paths in the react-hot-loader transform. ([#512]) (Jan Zípek)
  • Fix nullish coalescing when the RHS is an object literal. ([#516])
  • Support reading CLI configuration from tsconfig.json. ([#509], [#519]) (Jake Verbaten)
alangpierce
published 3.12.1 •

Changelog

Source

3.12.1 (2020-01-13)

  • Fix crash when parsing asserts b TypeScript return signatures. ([#504])
alangpierce
published 3.12.0 •

Changelog

Source

3.12.0 (2020-01-01)

  • Add support for TypeScript assertion signature syntax, other parser improvements. ([#485], [#487])
  • Implement optional chaining and nullish coalescing. ([#488], [#490], [#492], [#496], [#497], [#498], tech plan)
alangpierce
published 3.11.0 •

Changelog

Source

3.11.0 (2019-12-22)

  • Add runtime validation for options. ([#468])
  • Allow .tsx and .jsx options when running sucrase from the command line. ([#448]) (Ricardo Tomasi, Alexander Mextner)
  • Fix bug where generator markers in methods were removed. ([#463]) (Bjørn Tore Håvie)
alangpierce
published 3.10.1 •

Changelog

Source

3.10.1 (2019-03-31)

  • Fix parsing of a<b>c in TypeScript. ([#438])
  • Add support for new TypeScript 3.4 syntax, other parser improvements. ([#439], [#440])
  • Elide TS import = statements that are only used as a type. ([#441])
  • Properly handle async arrow functions with multiline type parameters. ([#443])
alangpierce
published 3.10.0 •

Changelog

Source

3.10.0 (2019-03-11)

  • Fix bug where /*/ was being parsed incorrectly. ([#430])
  • Properly parse and compile JSX spread children. ([#431])
  • Implement TypeScript export elision for exported types. ([#433])
alangpierce
published 3.9.6 •

Changelog

Source

3.9.6 (2019-03-01)

  • Fix Flow bug where implements caused the class name to be incorrectly recognized. ([#409])
  • Correctly handle !: in TS variable declarations. ([#410])
  • Move more import code into helper functions in prep for some upcoming changes.
  • Fix bug where some JSX component names were incorrectly turned into strings. ([#425]) (Yang Zhang)
alangpierce
published 3.9.5 •

Changelog

Source

3.9.5 (2019-01-13)

  • Fix bug when processing a declaration that looks like an export assignment. ([#402])
  • Fix TS import elision for JSX fragments and custom pragmas. ([#403])
  • Treat reserved words as invalid identifiers when handling enums. ([#405])
alangpierce
published 3.9.4 •

Changelog

Source

3.9.4 (2019-01-07)

  • Avoid false positive when detecting if a class has a superclass. ([#399])
alangpierce
published 3.9.3 •

Changelog

Source

3.9.3 (2019-01-06)

  • Fix syntax error on arrow functions with multiline return types. ([#393])
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