Comparing version 2.0.1 to 2.1.0
@@ -52,3 +52,3 @@ const parser = require('babylon'); | ||
const SEP = /(,\s+)[^{]/.test(esm) ? RegExp.$1 : ', '; | ||
const EOL = /;$/.test(esm) ? ';' : ''; | ||
const EOL = ';'; // /;$/.test(esm) ? ';' : ''; | ||
const imported = []; | ||
@@ -123,3 +123,3 @@ const specifiers = []; | ||
const esm = slice(code, item); | ||
const EOL = /;$/.test(esm) ? ';\n' : '\n'; | ||
const EOL = ';\n'; // /;$/.test(esm) ? ';\n' : '\n'; | ||
let cjs = source ? '(m => {\n' : ''; | ||
@@ -126,0 +126,0 @@ item.specifiers.forEach(specifier => { |
{ | ||
"name": "ascjs", | ||
"version": "2.0.1", | ||
"version": "2.1.0", | ||
"description": "ES2015 to CommonJS import/export transformer", | ||
@@ -5,0 +5,0 @@ "bin": "bin.js", |
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
12823
1070