@zip.js/zip.js 2.7.47 → 2.7.48
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-fs-full.js +7 -1
- package/dist/zip-fs-full.min.js +1 -1
- package/dist/zip-fs.js +7 -1
- package/dist/zip-fs.min.js +1 -1
- package/dist/zip-full.js +7 -1
- package/dist/zip-full.min.js +1 -1
- package/dist/zip-no-worker-deflate.min.js +1 -1
- package/dist/zip-no-worker.min.js +1 -1
- package/dist/zip.js +7 -1
- package/dist/zip.min.js +1 -1
- package/index.cjs +7 -1
- package/index.d.ts +9 -1
- package/index.min.js +1 -1
- package/lib/core/zip-writer.js +7 -1
- package/package.json +1 -1
package/deno.json
CHANGED
package/dist/zip-fs-full.js
CHANGED
|
@@ -10082,6 +10082,7 @@
|
|
|
10082
10082
|
const bufferedWrite = getOptionValue(zipWriter, options, "bufferedWrite");
|
|
10083
10083
|
const dataDescriptorSignature = getOptionValue(zipWriter, options, "dataDescriptorSignature", false);
|
|
10084
10084
|
const signal = getOptionValue(zipWriter, options, "signal");
|
|
10085
|
+
const useUnicodeFileNames = getOptionValue(zipWriter, options, "useUnicodeFileNames", true);
|
|
10085
10086
|
const useCompressionStream = getOptionValue(zipWriter, options, "useCompressionStream");
|
|
10086
10087
|
let dataDescriptor = getOptionValue(zipWriter, options, "dataDescriptor", true);
|
|
10087
10088
|
let zip64 = getOptionValue(zipWriter, options, PROPERTY_NAME_ZIP64);
|
|
@@ -10163,6 +10164,7 @@
|
|
|
10163
10164
|
zipCrypto,
|
|
10164
10165
|
bufferedWrite,
|
|
10165
10166
|
keepOrder,
|
|
10167
|
+
useUnicodeFileNames,
|
|
10166
10168
|
dataDescriptor,
|
|
10167
10169
|
dataDescriptorSignature,
|
|
10168
10170
|
signal,
|
|
@@ -10501,6 +10503,7 @@
|
|
|
10501
10503
|
level,
|
|
10502
10504
|
zip64,
|
|
10503
10505
|
zipCrypto,
|
|
10506
|
+
useUnicodeFileNames,
|
|
10504
10507
|
dataDescriptor,
|
|
10505
10508
|
directory,
|
|
10506
10509
|
rawExtraField,
|
|
@@ -10557,7 +10560,10 @@
|
|
|
10557
10560
|
} else {
|
|
10558
10561
|
rawExtraFieldNTFS = rawExtraFieldExtendedTimestamp = new Uint8Array();
|
|
10559
10562
|
}
|
|
10560
|
-
let bitFlag =
|
|
10563
|
+
let bitFlag = 0;
|
|
10564
|
+
if (useUnicodeFileNames) {
|
|
10565
|
+
bitFlag = bitFlag | BITFLAG_LANG_ENCODING_FLAG;
|
|
10566
|
+
}
|
|
10561
10567
|
if (dataDescriptor) {
|
|
10562
10568
|
bitFlag = bitFlag | BITFLAG_DATA_DESCRIPTOR;
|
|
10563
10569
|
}
|