Comparing version 2.3.0 to 2.3.1
10
index.js
@@ -29,6 +29,8 @@ 'use strict'; | ||
function end() { | ||
try { | ||
data = babelCore.transform(data, babelConfig).code; | ||
} catch(e) { | ||
this.emit('error', '[flowify] ' + file + ': ' + e); | ||
if (!/\.json$/.test(file)) { | ||
try { | ||
data = babelCore.transform(data, babelConfig).code; | ||
} catch(e) { | ||
this.emit('error', '[flowify] ' + file + ': ' + e); | ||
} | ||
} | ||
@@ -35,0 +37,0 @@ this.queue(data); |
{ | ||
"name": "flowify", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=0.12" |
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
1876
38