@node-projects/jszip 4.0.1 → 4.1.0
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 +5 -4
- package/lib/index.js +1 -1
- package/lib/utils.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.1.0
|
|
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
|
|
@@ -323,6 +323,7 @@ interface JSZip {
|
|
|
323
323
|
version: string;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
declare
|
|
327
|
-
|
|
328
|
-
export default JSZip;
|
|
326
|
+
declare module "@node-projects/jszip" {
|
|
327
|
+
export var JSZip: JSZip;
|
|
328
|
+
export default JSZip;
|
|
329
|
+
}
|
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.1.0";
|
|
55
55
|
|
|
56
56
|
loadAsync(content, options) {
|
|
57
57
|
return load(this, content, options);
|
package/lib/utils.js
CHANGED
|
@@ -485,5 +485,5 @@ export function prepareContent(name, inputData, isBinary, isOptimizedBinaryStrin
|
|
|
485
485
|
};
|
|
486
486
|
|
|
487
487
|
export default {
|
|
488
|
-
newBlob, applyFromCharCode, transformTo, resolve, getTypeOf, checkSupport, pretty, delay, extend, prepareContent
|
|
488
|
+
newBlob, applyFromCharCode, transformTo, resolve, getTypeOf, checkSupport, pretty, delay, extend, prepareContent, MAX_VALUE_16BITS, MAX_VALUE_32BITS
|
|
489
489
|
}
|
package/package.json
CHANGED