@uniformdev/files
Advanced tools
Comparing version 19.173.2-alpha.210 to 19.173.2-alpha.258
@@ -25,2 +25,3 @@ "use strict"; | ||
FILE_MAX_SIZE: () => FILE_MAX_SIZE, | ||
FILE_MIME_TYPES_IMAGE: () => FILE_MIME_TYPES_IMAGE, | ||
FILE_READY_STATE: () => FILE_READY_STATE, | ||
@@ -96,2 +97,15 @@ FILE_TYPES_IMAGE: () => FILE_TYPES_IMAGE, | ||
]; | ||
var FILE_MIME_TYPES_IMAGE = [ | ||
"image/jpg", | ||
"image/jpeg", | ||
"image/jfif", | ||
"image/pjpeg", | ||
"image/pjp", | ||
"image/png", | ||
"image/gif", | ||
"image/svg+xml", | ||
"image/webp", | ||
"image/apng", | ||
"image/avif" | ||
]; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -101,2 +115,3 @@ 0 && (module.exports = { | ||
FILE_MAX_SIZE, | ||
FILE_MIME_TYPES_IMAGE, | ||
FILE_READY_STATE, | ||
@@ -103,0 +118,0 @@ FILE_TYPES_IMAGE, |
@@ -206,3 +206,4 @@ import { ApiClient, ClientOptions } from '@uniformdev/context/api'; | ||
declare const FILE_TYPES_IMAGE: string[]; | ||
declare const FILE_MIME_TYPES_IMAGE: string[]; | ||
export { FILE_IN_PROGRESS_STATE, FILE_MAX_SIZE, FILE_READY_STATE, FILE_TYPES_IMAGE, FileClient, type FileDeleteRequest, type FileDeleteResponse, type FileGetByIDRequest, type FileGetBySourceIDRequest, type FileGetByURLRequest, type FileGetRequest, type FileGetResponse, type FileInsertRequest, type FileInsertResponse, UncachedFileClient, getFileNameFromUrl }; | ||
export { FILE_IN_PROGRESS_STATE, FILE_MAX_SIZE, FILE_MIME_TYPES_IMAGE, FILE_READY_STATE, FILE_TYPES_IMAGE, FileClient, type FileDeleteRequest, type FileDeleteResponse, type FileGetByIDRequest, type FileGetBySourceIDRequest, type FileGetByURLRequest, type FileGetRequest, type FileGetResponse, type FileInsertRequest, type FileInsertResponse, UncachedFileClient, getFileNameFromUrl }; |
@@ -63,5 +63,19 @@ // src/FileClient.ts | ||
]; | ||
var FILE_MIME_TYPES_IMAGE = [ | ||
"image/jpg", | ||
"image/jpeg", | ||
"image/jfif", | ||
"image/pjpeg", | ||
"image/pjp", | ||
"image/png", | ||
"image/gif", | ||
"image/svg+xml", | ||
"image/webp", | ||
"image/apng", | ||
"image/avif" | ||
]; | ||
export { | ||
FILE_IN_PROGRESS_STATE, | ||
FILE_MAX_SIZE, | ||
FILE_MIME_TYPES_IMAGE, | ||
FILE_READY_STATE, | ||
@@ -68,0 +82,0 @@ FILE_TYPES_IMAGE, |
@@ -25,2 +25,3 @@ "use strict"; | ||
FILE_MAX_SIZE: () => FILE_MAX_SIZE, | ||
FILE_MIME_TYPES_IMAGE: () => FILE_MIME_TYPES_IMAGE, | ||
FILE_READY_STATE: () => FILE_READY_STATE, | ||
@@ -96,2 +97,15 @@ FILE_TYPES_IMAGE: () => FILE_TYPES_IMAGE, | ||
]; | ||
var FILE_MIME_TYPES_IMAGE = [ | ||
"image/jpg", | ||
"image/jpeg", | ||
"image/jfif", | ||
"image/pjpeg", | ||
"image/pjp", | ||
"image/png", | ||
"image/gif", | ||
"image/svg+xml", | ||
"image/webp", | ||
"image/apng", | ||
"image/avif" | ||
]; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -101,2 +115,3 @@ 0 && (module.exports = { | ||
FILE_MAX_SIZE, | ||
FILE_MIME_TYPES_IMAGE, | ||
FILE_READY_STATE, | ||
@@ -103,0 +118,0 @@ FILE_TYPES_IMAGE, |
{ | ||
"name": "@uniformdev/files", | ||
"version": "19.173.2-alpha.210+4f0f6ff104", | ||
"version": "19.173.2-alpha.258+e8775b83de", | ||
"description": "Uniform Files helpers", | ||
@@ -39,5 +39,5 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
"dependencies": { | ||
"@uniformdev/context": "19.173.2-alpha.210+4f0f6ff104" | ||
"@uniformdev/context": "19.173.2-alpha.258+e8775b83de" | ||
}, | ||
"gitHead": "4f0f6ff104f46349c338fde461f063f22f04ce0e" | ||
"gitHead": "e8775b83dec606ce6e2198182152d8b386e15f94" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
29018
599