@node-projects/jszip 4.0.0 → 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 CHANGED
@@ -1,11 +1,9 @@
1
- // Type definitions for JSZip 3.1
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
5
5
  // TypeScript Version: 2.3
6
6
 
7
- /// <reference types="node" />
8
-
9
7
  interface JSZipSupport {
10
8
  arraybuffer: boolean;
11
9
  uint8array: boolean;
@@ -327,4 +325,6 @@ interface JSZip {
327
325
 
328
326
  declare var JSZip: JSZip;
329
327
 
330
- export = JSZip;
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.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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@node-projects/jszip",
3
- "version": "4.00.0",
3
+ "version": "4.0.2",
4
4
  "author": "Stuart Knightley <stuart@stuartk.com>",
5
5
  "description": "Create, read and edit .zip files with JavaScript http://stuartk.com/jszip",
6
6
  "scripts": {