Skip to content

Commit 3a197f2

Browse files
committed
Remove JSZip.version because we will never manage to keep it correct
We always load JSZip from pinned npm package so there's never ambiguity about the version. Just look at package-lock.json.
1 parent 62b25f6 commit 3a197f2

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

lib/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,6 @@ JSZip.prototype.loadAsync = require("./load");
4343
JSZip.support = require("./support");
4444
JSZip.defaults = require("./defaults");
4545

46-
// TODO find a better way to handle this version,
47-
// a require('package.json').version doesn't work with webpack, see #327
48-
JSZip.version = "3.10.1";
49-
5046
JSZip.loadAsync = function (content, options) {
5147
return new JSZip().loadAsync(content, options);
5248
};

test/asserts/version.js

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)