Comparing version 1.2.0 to 1.3.0
@@ -47,2 +47,5 @@ 'use strict'; | ||
}).forEach(function (adapter) { | ||
if (adapter.engineName === 'babel') { | ||
adapter.extensions = adapter.extensions.concat(['es6', 'babel']); | ||
} | ||
loadedAdapters.push(adapter); | ||
@@ -49,0 +52,0 @@ var extensions = adapter.extensions.map(function (extension) { return '.' + extension; }); |
@@ -40,3 +40,11 @@ 'use strict'; | ||
} | ||
var ug = UglifyJS.minify(compiled.result, options); | ||
var ug; | ||
try { | ||
ug = UglifyJS.minify(compiled.result, options); | ||
} catch (err) { | ||
err.filename = compiled.inputPath; | ||
throw err; | ||
} | ||
// Remove sourceMappingURL comment line | ||
@@ -43,0 +51,0 @@ ug.code = ug.code.substring(0, ug.code.lastIndexOf('\n')); |
{ | ||
"name": "baby-tolk", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "A file reader that promises to translate non-web assets to web assets given the available transpilers, sourcemaps and all", | ||
@@ -41,3 +41,3 @@ "main": "lib/baby-tolk.js", | ||
"dependencies": { | ||
"accord": "0.20.3", | ||
"accord": "davej/accord#patch-1-build", | ||
"clean-css": "3.4.6", | ||
@@ -44,0 +44,0 @@ "es6-promise": "3.0.2", |
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
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
11821
206
1
1
- Removedaccord@0.20.3(transitive)
- Removedconvert-source-map@1.9.0(transitive)
- Removedfobject@0.0.3(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedglob@5.0.15(transitive)
- Removedgraceful-fs@3.0.12(transitive)
- Removedhasown@2.0.2(transitive)
- Removedindx@0.2.3(transitive)
- Removedis-core-module@2.16.1(transitive)
- Removedlodash@3.10.1(transitive)
- Removednatives@1.1.6(transitive)
- Removedpath-parse@1.0.7(transitive)
- Removedresolve@1.22.10(transitive)
- Removedsemver@4.3.6(transitive)
- Removedsupports-preserve-symlinks-flag@1.0.0(transitive)