@shipstatic/drop 0.2.9 → 0.2.10
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -11702,7 +11702,7 @@ var require_mime_db = __commonJS({
|
|
|
11702
11702
|
}
|
|
11703
11703
|
});
|
|
11704
11704
|
|
|
11705
|
-
// node_modules/.pnpm/@shipstatic+types@0.4.
|
|
11705
|
+
// node_modules/.pnpm/@shipstatic+types@0.4.21/node_modules/@shipstatic/types/dist/index.js
|
|
11706
11706
|
var ErrorType;
|
|
11707
11707
|
(function(ErrorType2) {
|
|
11708
11708
|
ErrorType2["Validation"] = "validation_failed";
|
|
@@ -11817,7 +11817,7 @@ var formatFileSize = ship.formatFileSize;
|
|
|
11817
11817
|
function createProcessedFile(file, options) {
|
|
11818
11818
|
const webkitPath = file.webkitRelativePath || "";
|
|
11819
11819
|
const path = options?.path || (webkitPath && webkitPath.trim() ? webkitPath : file.name);
|
|
11820
|
-
const type =
|
|
11820
|
+
const type = getMimeType(path);
|
|
11821
11821
|
return {
|
|
11822
11822
|
// ProcessedFile properties
|
|
11823
11823
|
// Note: md5 is intentionally undefined - Ship SDK will calculate it during deployment
|