Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@zip.js/zip.js

Package Overview
Dependencies
Maintainers
2
Versions
275
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zip.js/zip.js - npm Package Compare versions

Comparing version 2.7.23 to 2.7.24

2

index.d.ts

@@ -1548,3 +1548,3 @@ /**

addFile(
file: File,
file: File,
options?: ZipWriterAddDataOptions,

@@ -1551,0 +1551,0 @@ ): Promise<ZipEntry>;

@@ -718,22 +718,25 @@ /*

const name = options.relativePath ? child.getRelativeName(selectedEntry) : child.getFullname();
let externalFileAttribute;
let versionMadeBy;
let comment;
let lastModDate;
let childOptions = child.options || {};
let zipEntryOptions = {};
if (child.data instanceof Entry) {
({
const {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate
} = child.data);
lastModDate,
creationDate,
lastAccessDate
} = child.data;
zipEntryOptions = {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate,
creationDate,
lastAccessDate
};
}
await zipWriter.add(name, child.reader, Object.assign({
directory: child.directory
}, Object.assign({}, options, {
externalFileAttribute,
versionMadeBy,
comment,
lastModDate,
}, Object.assign({}, options, zipEntryOptions, childOptions, {
onprogress: async indexProgress => {

@@ -749,3 +752,3 @@ if (options.onprogress) {

}
}, childOptions)));
})));
await process(zipWriter, child);

@@ -752,0 +755,0 @@ }

@@ -6,3 +6,3 @@ {

"license": "BSD-3-Clause",
"version": "2.7.23",
"version": "2.7.24",
"type": "module",

@@ -9,0 +9,0 @@ "keywords": [

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc