Update checked-in dependencies
This commit is contained in:
parent
66736a1775
commit
ea1261a218
433 changed files with 3684 additions and 1810 deletions
3
node_modules/adm-zip/zipFile.js
generated
vendored
3
node_modules/adm-zip/zipFile.js
generated
vendored
|
|
@ -8,6 +8,7 @@ module.exports = function (/*Buffer|null*/ inBuffer, /** object */ options) {
|
|||
_comment = Buffer.alloc(0),
|
||||
mainHeader = new Headers.MainHeader(),
|
||||
loadedEntries = false;
|
||||
var password = null;
|
||||
|
||||
// assign options
|
||||
const opts = Object.assign(Object.create(null), options);
|
||||
|
|
@ -259,7 +260,7 @@ module.exports = function (/*Buffer|null*/ inBuffer, /** object */ options) {
|
|||
// 1.2. postheader - data after data header
|
||||
const postHeader = Buffer.alloc(entryNameLen + entry.extra.length);
|
||||
entry.rawEntryName.copy(postHeader, 0);
|
||||
postHeader.copy(entry.extra, entryNameLen);
|
||||
entry.extra.copy(postHeader, entryNameLen);
|
||||
|
||||
// 2. offsets
|
||||
const dataLength = dataHeader.length + postHeader.length + compressedData.length;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue