flex-combo
Advanced tools
Comparing version 0.10.6 to 0.10.8
@@ -22,3 +22,5 @@ var urlLib = require("url"); | ||
this.res = null; | ||
this.engines = []; | ||
this.engines = FlexCombo.prototype.engines.map(function(i) { | ||
return i; | ||
}); | ||
this.param = Helper.clone(require("./lib/param")); | ||
@@ -126,4 +128,2 @@ this.query = {}; | ||
this.engines = FlexCombo.prototype.engines.concat(this.engines); | ||
for (var i = 0, len = this.engines.length; i < len; i++) { | ||
@@ -297,3 +297,3 @@ suffix.push(this.engines[i].rule); | ||
.on("end", function () { | ||
var buff = Helper.joinBuffer(buffer); | ||
var buff = Buffer.concat(buffer); | ||
self.cacheFile(_url, buff); | ||
@@ -300,0 +300,0 @@ self.result[_url] = buff; |
var fsLib = require("fs"); | ||
var pathLib = require("path"); | ||
var crypto = require("crypto"); | ||
var utilLib = require("mace")(module); | ||
@@ -72,6 +73,7 @@ var DAC = require("dac"); | ||
exports.merge = utilLib.merge; | ||
exports.MD5 = utilLib.MD5; | ||
exports.mkdirPSync = utilLib.mkdirPSync; | ||
exports.joinBuffer = utilLib.joinBuffer; | ||
exports.clone = utilLib.clone; | ||
exports.MD5 = function (str) { | ||
return crypto.createHash("md5").update(str).digest('hex'); | ||
}; | ||
@@ -78,0 +80,0 @@ /* Log */ |
{ | ||
"name": "flex-combo", | ||
"version": "0.10.6", | ||
"version": "0.10.8", | ||
"description": "A combo tool designed for web front-end developer, which support various kinds of combo format by modify configuration(eg. yahoo combo).", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
51028
692