6to5-brunch
Advanced tools
Comparing version 1.7.3 to 1.7.4
@@ -14,3 +14,3 @@ 'use strict'; | ||
}); | ||
this.options.sourceMaps = !!config.sourceMaps; | ||
this.options.sourceMap = !!config.sourceMaps; | ||
} | ||
@@ -30,8 +30,7 @@ | ||
} | ||
callback(null, { | ||
data: compiled.code || compiled, | ||
map: !!compiled.map && compiled.map.toJSON() | ||
}); | ||
var result = {data: compiled.code || compiled}; | ||
if (compiled.map) { result.map = JSON.stringify(compiled.map); } | ||
callback(null, result); | ||
}; | ||
module.exports = ES6to5Compiler; |
{ | ||
"name": "6to5-brunch", | ||
"version": "1.7.3", | ||
"version": "1.7.4", | ||
"description": "Brunch plugin to turn ES6 code into vanilla ES5 with no runtime required.", | ||
@@ -24,3 +24,3 @@ "author": "Elan Shanker", | ||
"dependencies": { | ||
"6to5": "^1.0.0" | ||
"6to5": "^1.9.0" | ||
}, | ||
@@ -27,0 +27,0 @@ "devDependencies": { |
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
3110
29
Updated6to5@^1.9.0