@node-projects/jszip 4.0.1 → 4.0.2
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.
- package/index.d.ts +4 -2
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Type definitions for JSZip 4.0.
|
|
1
|
+
// Type definitions for JSZip 4.0.2
|
|
2
2
|
// Project: http://stuk.github.com/jszip/, https://github.com/stuk/jszip
|
|
3
3
|
// Definitions by: mzeiher <https://github.com/mzeiher>, forabi <https://github.com/forabi>
|
|
4
4
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
@@ -325,4 +325,6 @@ interface JSZip {
|
|
|
325
325
|
|
|
326
326
|
declare var JSZip: JSZip;
|
|
327
327
|
|
|
328
|
-
|
|
328
|
+
declare module "@node-projects/jszip" {
|
|
329
|
+
export default JSZip;
|
|
330
|
+
}
|
package/lib/index.js
CHANGED
|
@@ -51,7 +51,7 @@ export class JSZip extends object {
|
|
|
51
51
|
|
|
52
52
|
// TODO find a better way to handle this version,
|
|
53
53
|
// a require('package.json').version doesn't work with webpack, see #327
|
|
54
|
-
static version = "4.0.
|
|
54
|
+
static version = "4.0.2";
|
|
55
55
|
|
|
56
56
|
loadAsync(content, options) {
|
|
57
57
|
return load(this, content, options);
|
package/package.json
CHANGED