@uniformdev/files
Advanced tools
Comparing version 19.186.2-alpha.14 to 19.186.4-alpha.3
@@ -25,3 +25,2 @@ "use strict"; | ||
FILE_MAX_SIZE: () => FILE_MAX_SIZE, | ||
FILE_MIME_TYPES_IMAGE: () => FILE_MIME_TYPES_IMAGE, | ||
FILE_READY_STATE: () => FILE_READY_STATE, | ||
@@ -97,15 +96,2 @@ 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: | ||
@@ -115,3 +101,2 @@ 0 && (module.exports = { | ||
FILE_MAX_SIZE, | ||
FILE_MIME_TYPES_IMAGE, | ||
FILE_READY_STATE, | ||
@@ -118,0 +103,0 @@ FILE_TYPES_IMAGE, |
@@ -206,4 +206,3 @@ 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_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 }; | ||
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 }; |
@@ -63,19 +63,5 @@ // 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, | ||
@@ -82,0 +68,0 @@ FILE_TYPES_IMAGE, |
@@ -25,3 +25,2 @@ "use strict"; | ||
FILE_MAX_SIZE: () => FILE_MAX_SIZE, | ||
FILE_MIME_TYPES_IMAGE: () => FILE_MIME_TYPES_IMAGE, | ||
FILE_READY_STATE: () => FILE_READY_STATE, | ||
@@ -97,15 +96,2 @@ 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: | ||
@@ -115,3 +101,2 @@ 0 && (module.exports = { | ||
FILE_MAX_SIZE, | ||
FILE_MIME_TYPES_IMAGE, | ||
FILE_READY_STATE, | ||
@@ -118,0 +103,0 @@ FILE_TYPES_IMAGE, |
{ | ||
"name": "@uniformdev/files", | ||
"version": "19.186.2-alpha.14+2868049c36", | ||
"version": "19.186.4-alpha.3+59de2f77b6", | ||
"description": "Uniform Files helpers", | ||
@@ -39,5 +39,5 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
"dependencies": { | ||
"@uniformdev/context": "19.186.2-alpha.14+2868049c36" | ||
"@uniformdev/context": "19.186.4-alpha.3+59de2f77b6" | ||
}, | ||
"gitHead": "2868049c365d370abc91762e89dc845c61c02b78" | ||
"gitHead": "59de2f77b6270e36c6a5e95b0bd6b1756c4dcdf0" | ||
} |
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
27834
540