Skip to content

Commit e88ba4b

Browse files
committedJul 23, 2021
Update for version 3.7.0
1 parent 9046487 commit e88ba4b

File tree

4 files changed

+15
-10
lines changed

4 files changed

+15
-10
lines changed
 

‎CHANGES.md

+9-4
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,29 @@ layout: default
44
section: main
55
---
66

7-
### v3.6.0 2020 2021-02-09
7+
### v3.7.0 2021-07-23
8+
9+
- Fix: Use a null prototype object for this.files (see [#766](https://github.com/Stuk/jszip/pull/766))
10+
+ This change might break existing code if it uses prototype methods on the `.files` property of a zip object, for example `zip.files.toString()`. This approach is taken to prevent files in the zip overriding object methods that would exist on a normal object.
11+
12+
### v3.6.0 2021-02-09
813

914
- Fix: redirect main to dist on browsers (see [#742](https://github.com/Stuk/jszip/pull/742))
1015
- Fix duplicate require DataLengthProbe, utils (see [#734](https://github.com/Stuk/jszip/pull/734))
1116
- Fix small error in read_zip.md (see [#703](https://github.com/Stuk/jszip/pull/703))
1217

13-
### v3.5.0 2020 2020-05-31
18+
### v3.5.0 2020-05-31
1419

1520
- Fix 'End of data reached' error when file extra field is invalid (see [#544](https://github.com/Stuk/jszip/pull/544)).
1621
- Typescript definitions: Add null to return types of functions that may return null (see [#669](https://github.com/Stuk/jszip/pull/669)).
1722
- Typescript definitions: Correct nodeStream's type (see [#682](https://github.com/Stuk/jszip/pull/682))
1823
- Typescript definitions: Add string output type (see [#666](https://github.com/Stuk/jszip/pull/666))
1924

20-
### v3.4.0 2020 2020-04-19
25+
### v3.4.0 2020-04-19
2126

2227
- Add Typescript type definitions (see [#601](https://github.com/Stuk/jszip/pull/601)).
2328

24-
### v3.3.0 2020 2020-04-1
29+
### v3.3.0 2020-04-1
2530

2631
- Change browser module resolution to support Angular packager (see [#614](https://github.com/Stuk/jszip/pull/614)).
2732

‎dist/jszip.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎dist/jszip.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ JSZip.defaults = require('./defaults');
4545

4646
// TODO find a better way to handle this version,
4747
// a require('package.json').version doesn't work with webpack, see #327
48-
JSZip.version = "3.6.0";
48+
JSZip.version = "3.7.0";
4949

5050
JSZip.loadAsync = function (content, options) {
5151
return new JSZip().loadAsync(content, options);

0 commit comments

Comments
 (0)
Please sign in to comment.