Releases: fpsqdb/zip-lib
Releases · fpsqdb/zip-lib
v0.5.0
v0.4.2
v0.4.1
- Ignore any other errors if the
cancel
method has been called - Add validation for entry name and compatibility with backslashes
\\
- Make sure to close the zip file when any errors occur
- When
overwrite
is set to true, the extract target folder cannot be the root directory. For examplec:
or/
v0.4.0
v0.3.1
- Remove the
overwrite
inIZipOptions
. Archive is always an overwrite operation. - Fix: When archiving an empty folder with metadataPath, the generated zip does not contain the metadataPath folder.
- Fix: If the zip content is empty, the extract method will never return.
v0.3.0
- Breaking change and new feature: The
onEntry
's parameter is now changed to anIEntryEvent
object. TheIEntryEvent
provides apreventDefault
method that can be used to prevent extraction of the current item. By calling this method we can control which items can be extracted.
See Unzip and exclude specified entries for more details.