@zip.js/zip.js 2.7.58 → 2.7.59

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.
@@ -1,3 +1,5 @@
1
+ /// <reference types="./../index.d.ts" />
2
+
1
3
  /*
2
4
  Copyright (c) 2022 Gildas Lormeau. All rights reserved.
3
5
 
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A JavaScript library to zip and unzip files in the browser, Deno and Node.js",
4
4
  "author": "Gildas Lormeau",
5
5
  "license": "BSD-3-Clause",
6
- "version": "2.7.58",
6
+ "version": "2.7.59",
7
7
  "type": "module",
8
8
  "keywords": [
9
9
  "zip",
@@ -37,7 +37,7 @@
37
37
  "build-fflate": "npm i --no-save fflate && npx rollup -c rollup-fflate.config.js",
38
38
  "build-fflate-dev": "npm i --no-save fflate && npx rollup -c rollup-fflate.config.dev.js",
39
39
  "build-doc-api": "npx typedoc",
40
- "build-markdown-docs": "npx typedoc --plugin typedoc-plugin-markdown --out ./docs",
40
+ "build-doc-markdown": "npx typedoc --plugin typedoc-plugin-markdown --out ./docs",
41
41
  "test-deno": "cd ./tests && deno test --allow-read ./deno-runner.js",
42
42
  "test-node": "cd ./tests && node ./node-runner.js",
43
43
  "test-bun": "cd ./tests && bun test ./bun-runner.js",
@@ -49,7 +49,6 @@
49
49
  "types": "./index.d.ts",
50
50
  "exports": {
51
51
  "./package.json": "./package.json",
52
- "./index.min.js": "./index.min.js",
53
52
  ".": {
54
53
  "import": {
55
54
  "types": "./index.d.ts",
@@ -60,13 +59,64 @@
60
59
  "default": "./index.cjs"
61
60
  }
62
61
  },
63
- "./data-uri.js": "./lib/zip-data-uri.js",
64
- "./lib/zip-fs.js": "./lib/zip-fs.js",
65
- "./lib/zip-full.js": "./lib/zip-full.js",
66
- "./lib/zip-no-worker-deflate.js": "./lib/zip-no-worker-deflate.js",
67
- "./lib/zip-no-worker-inflate.js": "./lib/zip-no-worker-inflate.js",
68
- "./lib/zip-no-worker.js": "./lib/zip-no-worker.js",
69
- "./lib/zip.js": "./lib/zip.js"
62
+ "./legacy-5.6": {
63
+ "import": {
64
+ "types": "./index-legacy-5.6.d.ts",
65
+ "default": "./index.js"
66
+ },
67
+ "require": {
68
+ "types": "./index-legacy-5.6.d.ts",
69
+ "default": "./index.cjs"
70
+ }
71
+ },
72
+ "./index.min.js": {
73
+ "import": {
74
+ "types": "./index.d.ts",
75
+ "default": "./index.min.js"
76
+ }
77
+ },
78
+ "./data-uri.js": {
79
+ "import": {
80
+ "types": "./index.d.ts",
81
+ "default": "./lib/zip-data-uri.js"
82
+ }
83
+ },
84
+ "./lib/zip-fs.js": {
85
+ "import": {
86
+ "types": "./lib/zip-fs.d.ts",
87
+ "default": "./lib/zip-fs.js"
88
+ }
89
+ },
90
+ "./lib/zip-full.js": {
91
+ "import": {
92
+ "types": "./lib/zip-full.d.ts",
93
+ "default": "./lib/zip-full.js"
94
+ }
95
+ },
96
+ "./lib/zip-no-worker-deflate.js": {
97
+ "import": {
98
+ "types": "./lib/zip-no-worker-deflate.d.ts",
99
+ "default": "./lib/zip-no-worker-deflate.js"
100
+ }
101
+ },
102
+ "./lib/zip-no-worker-inflate.js": {
103
+ "import": {
104
+ "types": "./lib/zip-no-worker-inflate.d.ts",
105
+ "default": "./lib/zip-no-worker-inflate.js"
106
+ }
107
+ },
108
+ "./lib/zip-no-worker.js": {
109
+ "import": {
110
+ "types": "./lib/zip-no-worker.d.ts",
111
+ "default": "./lib/zip-no-worker.js"
112
+ }
113
+ },
114
+ "./lib/zip.js": {
115
+ "import": {
116
+ "types": "./lib/zip.d.ts",
117
+ "default": "./lib/zip.js"
118
+ }
119
+ }
70
120
  },
71
121
  "repository": {
72
122
  "type": "git",
@@ -82,8 +132,8 @@
82
132
  "@rollup/plugin-terser": "^0.4.4",
83
133
  "eslint": "^9.23.0",
84
134
  "http-server": "^14.1.1",
85
- "rollup": "^4.37.0",
135
+ "rollup": "^4.38.0",
86
136
  "typedoc": "^0.28.1",
87
137
  "typedoc-plugin-markdown": "^4.6.0"
88
138
  }
89
- }
139
+ }