@shipstatic/drop 0.1.10 → 0.1.11
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/dist/index.cjs +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -9
- package/dist/index.d.ts +18 -9
- package/dist/index.js +4 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -11798,15 +11798,12 @@ async function createProcessedFile(file, options) {
|
|
|
11798
11798
|
const path = options?.path || (webkitPath && webkitPath.trim() ? webkitPath : file.name);
|
|
11799
11799
|
const type = file.type || getMimeType(path);
|
|
11800
11800
|
return {
|
|
11801
|
-
//
|
|
11801
|
+
// ProcessedFile properties
|
|
11802
11802
|
// Note: md5 is intentionally undefined - Ship SDK will calculate it during deployment
|
|
11803
|
-
content: file,
|
|
11804
|
-
path,
|
|
11805
|
-
size: file.size,
|
|
11806
|
-
// ProcessedFile-specific properties (UI functionality)
|
|
11807
11803
|
id: crypto.randomUUID(),
|
|
11808
11804
|
file,
|
|
11809
|
-
|
|
11805
|
+
path,
|
|
11806
|
+
size: file.size,
|
|
11810
11807
|
name: path.split("/").pop() || file.name,
|
|
11811
11808
|
type,
|
|
11812
11809
|
lastModified: file.lastModified,
|
|
@@ -12155,6 +12152,7 @@ exports.FILE_STATUSES = FILE_STATUSES;
|
|
|
12155
12152
|
exports.createProcessedFile = createProcessedFile;
|
|
12156
12153
|
exports.extractZipToFiles = extractZipToFiles;
|
|
12157
12154
|
exports.formatFileSize = formatFileSize;
|
|
12155
|
+
exports.getMimeType = getMimeType;
|
|
12158
12156
|
exports.isZipFile = isZipFile;
|
|
12159
12157
|
exports.normalizePath = normalizePath;
|
|
12160
12158
|
exports.stripCommonPrefix = stripCommonPrefix;
|