Comparing version 3.0.1 to 3.0.2
@@ -5,3 +5,3 @@ { | ||
"description": "Build Google Chrome extensions with node.js", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"homepage": "https://github.com/oncletom/crx", | ||
@@ -18,2 +18,3 @@ "bin": { | ||
"node": ">=0.7.12", | ||
"iojs": ">=1.0.0 <2.0.0", | ||
"npm": ">=1.4.6" | ||
@@ -20,0 +21,0 @@ }, |
@@ -89,3 +89,3 @@ # crx [![Build Status](https://secure.travis-ci.org/oncletom/crx.svg)](http://travis-ci.org/oncletom/crx) | ||
.then(function() { | ||
return crx.pack(function(crxBuffer){ | ||
return crx.pack().then(function(crxBuffer){ | ||
var updateXML = crx.generateUpdateXML() | ||
@@ -92,0 +92,0 @@ |
@@ -220,3 +220,7 @@ /* global require, process, Buffer, module */ | ||
archive.on('readable', function () { | ||
contents = Buffer.concat([contents, archive.read()]); | ||
var buf = archive.read(); | ||
if (buf) { | ||
contents = Buffer.concat([contents, buf]); | ||
} | ||
}); | ||
@@ -223,0 +227,0 @@ |
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
47023
22
454