@zip.js/zip.js 2.6.84 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +1 -1
  2. package/index.d.ts +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@ of data. It supports notably multi-core compression, native compression with
6
6
  compression streams, files larger than 4GB with Zip64, split zip files and data
7
7
  encryption.
8
8
 
9
- ## Demo
9
+ # Demo
10
10
 
11
11
  See https://gildas-lormeau.github.io/zip-manager
12
12
 
package/index.d.ts CHANGED
@@ -864,7 +864,7 @@ export interface EntryMetaData {
864
864
  * @param options The options.
865
865
  * @returns A promise resolving to the type to data associated to `writer`.
866
866
  */
867
- getData?<Type>(writer: Writer<Type> | WritableWriter | WritableStream | AsyncGenerator<Writer<unknown> | WritableWriter | WritableStream, boolean>, options?: EntryGetDataOptions): Promise<Type>
867
+ getData?<Type>(writer: Writer<Type> | WritableWriter | WritableStream | AsyncGenerator<Writer<unknown> | WritableWriter | WritableStream | undefined | null, boolean>, options?: EntryGetDataOptions): Promise<Type | undefined>
868
868
  }
869
869
 
870
870
  /**
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A JavaScript library to zip and unzip files in the browser, Deno and Node.js",
4
4
  "author": "Gildas Lormeau",
5
5
  "license": "BSD-3-Clause",
6
- "version": "2.6.84",
6
+ "version": "2.7.0",
7
7
  "type": "module",
8
8
  "keywords": [
9
9
  "zip",