Socket
Socket
Sign inDemoInstall

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.19.0

Diff

Changelog

Source

3.19.0 (2021-06-23)

  • Add option to disable ES transforms. ([#623], [#624], [#625]) (Denys Kniazevych, Alan Pierce)
alangpierce
published 3.18.2 •

Changelog

Source

3.18.2 (2021-06-07)

  • Properly handle imports like import {default as myFunc} from './myFunc'; when importing from files that are not ES modules. ([#619]) (Patrik Oldsberg)
  • Fix bug where other transforms were not being applied to enum value expressions, so enum declarations like A = EnumInOtherFile.A didn't work. ([#621])
alangpierce
published 3.18.1 •

Changelog

Source

3.18.1 (2021-04-12)

  • Fix regression causing incomplete nullish coalescing and optional chaining in some cases. ([#610])
alangpierce
published 3.18.0 •

Changelog

Source

3.18.0 (2021-04-11)

  • Add jest transform analogous to babel-plugin-jest-hoist. ([#540]) (Patrik Oldsberg)
  • When calling a register function or addHook, return a function that reverts the hook. ([#604]) (Anthony Fu)
alangpierce
published 3.17.1 •

Changelog

Source

3.17.1 (2021-01-31)

  • Fix bug where TS method overloads in a class would cause later class fields to not be handled properly. ([#593])
alangpierce
published 3.17.0 •

Changelog

Source

3.17.0 (2020-12-29)

  • Fix incorrect export removal when exporting a variable defined using a destructure declaration. ([#564])
  • Add support for new type syntax in TypeScript 4.1: template interpolations in string literal types and as to remap keys in mapped types. Also add parsing for static blocks and pass them through in the output. ([#567])
  • Allow passing pirates options matcher and ignoreNodeModules when directly calling registerJS and related functions. ([#571], [#573]) (Gordon Leigh)
  • Properly emit private class field declarations in the output code so that private fields can be used when they're supported by the target JS engine. ([#574])
  • Fix parse error when a method or field has the name declare. ([#575])
alangpierce
published 3.16.0 •

Changelog

Source

3.16.0 (2020-10-12)

  • Add support for TypeScript 4.0 type syntax: labeled tuples, catch clause unknown. ([#556]) (Patrik Oldsberg)
alangpierce
published 3.15.0 •

Changelog

Source

3.15.0 (2020-05-18)

  • Add support for declare class fields in TypeScript. ([#537])
alangpierce
published 3.14.1 •

Changelog

Source

3.14.1 (2020-05-17)

  • Add support for export type {T} from './T'; type-only export syntax. ([#533]) (Patrik Oldsberg)
alangpierce
published 3.14.0 •

Changelog

Source

3.14.0 (2020-05-10)

  • Add support for TypeScript 3.8 type-only imports and exports. ([#523], [#532])
  • Add a --production flag to the CLI. ([#529]) (Matthew Phillips)
  • Fix crash when using + or - in constructor parameter defaults. ([#531])
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