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 1.0.0 to 1.0.1

14

dist/index.js

@@ -95,6 +95,12 @@ "use strict";

if (matches(['{'])) {
// Interpolated expression.
replaceToken(', ');
processBalancedCode();
replaceToken('');
if (matches(['{', '}'])) {
replaceToken('');
replaceToken('');
}
else {
// Interpolated expression.
replaceToken(', ');
processBalancedCode();
replaceToken('');
}
}

@@ -101,0 +107,0 @@ else if (matches(['jsxTagStart'])) {

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

@@ -5,0 +5,0 @@ "author": "Alan Pierce <alangpierce@gmail.com>",

# Sucrase
[![npm version](https://badge.fury.io/js/sucrase.svg)](https://www.npmjs.com/package/sucrase)
[![MIT License](https://img.shields.io/npm/l/express.svg?maxAge=2592000)](LICENSE)
Sucrase is an alternative to Babel that allows super-fast development builds.

@@ -4,0 +7,0 @@ Instead of compiling a large range of JS features down to ES5, Sucrase assumes

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