Comparing version 1.0.0 to 1.0.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23084
506
90