@zip.js/zip.js 2.8.20 → 2.8.21
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/deno.json +1 -1
- package/dist/zip-core.js +5 -0
- package/dist/zip-core.min.js +1 -1
- package/dist/zip-fs-core.js +5 -0
- package/dist/zip-fs-core.min.js +1 -1
- package/dist/zip-fs-native.js +5 -0
- package/dist/zip-fs-native.min.js +1 -1
- package/dist/zip-fs.js +5 -0
- package/dist/zip-fs.min.js +1 -1
- package/dist/zip-legacy.js +5 -0
- package/dist/zip-legacy.min.js +1 -1
- package/dist/zip-native.js +5 -0
- package/dist/zip-native.min.js +1 -1
- package/dist/zip.js +5 -0
- package/dist/zip.min.js +1 -1
- package/index-native.cjs +5 -0
- package/index-native.min.js +1 -1
- package/index.cjs +5 -0
- package/index.min.js +1 -1
- package/lib/core/codec-worker.js +5 -0
- package/package.json +2 -2
package/dist/zip-fs.js
CHANGED
|
@@ -1969,6 +1969,11 @@
|
|
|
1969
1969
|
|
|
1970
1970
|
let webWorkerSupported, webWorkerURI, webWorkerOptions;
|
|
1971
1971
|
let transferStreamsSupported = true;
|
|
1972
|
+
try {
|
|
1973
|
+
transferStreamsSupported = typeof structuredClone == FUNCTION_TYPE && structuredClone(new DOMException("", "AbortError")).code !== UNDEFINED_VALUE;
|
|
1974
|
+
} catch {
|
|
1975
|
+
// ignored
|
|
1976
|
+
}
|
|
1972
1977
|
let initModule$1 = () => { };
|
|
1973
1978
|
|
|
1974
1979
|
function configureWorker({ initModule: initModuleFunction }) {
|