Update node_modules

This commit is contained in:
crazy-max
2020-04-03 08:12:31 +00:00
parent c5091ccc7b
commit 4bcd932c28
129 changed files with 5485 additions and 3646 deletions

File diff suppressed because one or more lines are too long

View File

@@ -17,6 +17,7 @@ function unbzip2Stream() {
if(!blockSize){
blockSize = bz2.header(bitReader);
//console.error("got header of", blockSize);
streamCRC = 0;
return true;
}else{
var bufsize = 100000 * blockSize;
@@ -78,12 +79,12 @@ function unbzip2Stream() {
},
function end(x) {
//console.error(x,'last compressing with', hasBytes, 'bytes in buffer');
while (!broken && hasBytes > bitReader.bytesRead){
while (!broken && bitReader && hasBytes > bitReader.bytesRead){
decompressAndQueue(this);
}
if (!broken) {
if (streamCRC !== null)
stream.emit('error', new Error("input stream ended prematurely"));
this.emit('error', new Error("input stream ended prematurely"));
this.queue(null);
}
}

View File

@@ -358,8 +358,6 @@ bzip2.decompress = function(bits, stream, buf, bufsize, streamCRC) {
crc = (crc ^ (-1)) >>> 0;
if ((crc|0) != (crcblock|0)) message.Error("Error in bzip2: crc32 do not match");
if (streamCRC === null)
streamCRC = 0;
streamCRC = (crc ^ ((streamCRC << 1) | (streamCRC >>> 31))) & 0xFFFFFFFF;
return streamCRC;
}

View File

@@ -1,31 +1,31 @@
{
"_args": [
[
"unbzip2-stream@1.3.3",
"unbzip2-stream@1.4.0",
"/home/runner/work/ghaction-upx/ghaction-upx"
]
],
"_from": "unbzip2-stream@1.3.3",
"_id": "unbzip2-stream@1.3.3",
"_from": "unbzip2-stream@1.4.0",
"_id": "unbzip2-stream@1.4.0",
"_inBundle": false,
"_integrity": "sha512-fUlAF7U9Ah1Q6EieQ4x4zLNejrRvDWUYmxXUpN3uziFYCHapjWFaCAnreY9bGgxzaMCFAPPpYNng57CypwJVhg==",
"_integrity": "sha512-kVx7CDAsdBSWVf404Mw7oI9i09w5/mTT/Ruk+RWa64PLYKvsAucLLFHvQtnvjeADM4ZizxrvG5SHnF4Te4T2Cg==",
"_location": "/unbzip2-stream",
"_phantomChildren": {},
"_requested": {
"type": "version",
"registry": true,
"raw": "unbzip2-stream@1.3.3",
"raw": "unbzip2-stream@1.4.0",
"name": "unbzip2-stream",
"escapedName": "unbzip2-stream",
"rawSpec": "1.3.3",
"rawSpec": "1.4.0",
"saveSpec": null,
"fetchSpec": "1.3.3"
"fetchSpec": "1.4.0"
},
"_requiredBy": [
"/decompress-tarbz2"
],
"_resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.3.3.tgz",
"_spec": "1.3.3",
"_resolved": "https://registry.npmjs.org/unbzip2-stream/-/unbzip2-stream-1.4.0.tgz",
"_spec": "1.4.0",
"_where": "/home/runner/work/ghaction-upx/ghaction-upx",
"author": {
"name": "Jan Bölsche",
@@ -79,5 +79,5 @@
"prepare-long-test": "head -c 104857600 < /dev/urandom | tee test/fixtures/vmlinux.bin | bzip2 > test/fixtures/vmlinux.bin.bz2",
"test": "tape test/*.js"
},
"version": "1.3.3"
"version": "1.4.0"
}