Comparing version 1.7.1 to 2.0.0
@@ -0,1 +1,16 @@ | ||
# 2.0.0 | ||
* Switch to `uglify-es` to support ES6 (@stochastical [#141]). | ||
# 1.7.1 | ||
* Fixed path processing in Windows (@raulleo [#139]). | ||
### Dependencies | ||
* `uglify-js` updated to `2.8.29` | ||
* `coa` updated to `1.0.3` | ||
* `minimatch` updated to `3.0.4` | ||
* `vow` updated to `0.4.16` | ||
# 1.7.0 | ||
@@ -2,0 +17,0 @@ |
@@ -0,1 +1,16 @@ | ||
# 2.0.0 | ||
* `uglify-js` заменен на `uglify-es` для поддержки ES6 (@stochastical [#141]). | ||
# 1.7.1 | ||
* Исправлена ошибка с формированием путей в Windows (@raulleo [#139]). | ||
### Зависимости | ||
* `uglify-js` обновлён до `2.8.29` | ||
* `coa` обновлён до `1.0.3` | ||
* `minimatch` обновлён до `3.0.4` | ||
* `vow` обновлён до `0.4.16` | ||
# 1.7.0 | ||
@@ -2,0 +17,0 @@ |
@@ -9,10 +9,12 @@ var fs = require('fs'); | ||
minimize: function(content) { | ||
var UglifyJS = require('uglify-js'); | ||
var UglifyJS = require('uglify-es'); | ||
try { | ||
var uglifyOptions = this.opts.techOptions.uglify || {}; | ||
// redefine fromString | ||
uglifyOptions.fromString = true; | ||
return UglifyJS.minify(content, uglifyOptions).code; | ||
var res = UglifyJS.minify(content, uglifyOptions); | ||
if (res.error) throw res.error; | ||
return res.code; | ||
} catch(e) { | ||
@@ -19,0 +21,0 @@ // create better error message |
{ | ||
"name": "borschik", | ||
"description": "Extendable builder for text-based file formats", | ||
"version": "1.7.1", | ||
"version": "2.0.0", | ||
"homepage": "http://github.com/borschik/borschik", | ||
@@ -23,3 +23,3 @@ "author": "Sergey Berezhnoy <veged@ya.ru> (http://github.com/veged)", | ||
"minimatch": "3.0.4", | ||
"uglify-js": "2.8.29", | ||
"uglify-es": "^3.0.22", | ||
"vow": "0.4.16", | ||
@@ -26,0 +26,0 @@ "vow-fs": "0.3.6" |
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
68482
+ Addeduglify-es@^3.0.22
+ Addedcommander@2.14.1(transitive)
+ Addedsource-map@0.6.1(transitive)
+ Addeduglify-es@3.3.10(transitive)
- Removeduglify-js@2.8.29
- Removedalign-text@0.1.4(transitive)
- Removedcamelcase@1.2.1(transitive)
- Removedcenter-align@0.1.3(transitive)
- Removedcliui@2.1.0(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removedis-buffer@1.1.6(transitive)
- Removedkind-of@3.2.2(transitive)
- Removedlazy-cache@1.0.4(transitive)
- Removedlongest@1.0.1(transitive)
- Removedrepeat-string@1.6.1(transitive)
- Removedright-align@0.1.3(transitive)
- Removeduglify-js@2.8.29(transitive)
- Removeduglify-to-browserify@1.0.2(transitive)
- Removedwindow-size@0.1.0(transitive)
- Removedwordwrap@0.0.2(transitive)
- Removedyargs@3.10.0(transitive)