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