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 Compare versions

Comparing version 3.18.0 to 3.18.1

6

CHANGELOG.md

@@ -0,1 +1,6 @@

# 3.18.1 (2021-04-12)
* Fix regression causing incomplete nullish coalescing and optional chaining in
some cases. ([#610])
# 3.18.0 (2021-04-11)

@@ -337,1 +342,2 @@

[#604]: https://github.com/alangpierce/sucrase/pull/604
[#610]: https://github.com/alangpierce/sucrase/pull/610

6

dist/TokenProcessor.js

@@ -171,9 +171,7 @@ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

removeInitialToken() {
this.resultCode += this.previousWhitespaceAndComments();
this.tokenIndex++;
this.replaceToken("");
}
removeToken() {
this.resultCode += this.previousWhitespaceAndComments().replace(/[^\r\n]/g, "");
this.tokenIndex++;
this.replaceTokenTrimmingLeftWhitespace("");
}

@@ -180,0 +178,0 @@

{
"name": "sucrase",
"version": "3.18.0",
"version": "3.18.1",
"description": "Super-fast alternative to Babel for when you can target modern JS runtimes",

@@ -64,3 +64,3 @@ "author": "Alan Pierce <alangpierce@gmail.com>",

"prettier": "^2.0.5",
"sucrase": "^3.17.1",
"sucrase": "^3.18.0",
"test262-harness": "^6.5.0",

@@ -67,0 +67,0 @@ "ts-interface-builder": "^0.2.1",

Sorry, the diff of this file is not supported yet

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