@uniformdev/files
Advanced tools
Comparing version 19.184.3-alpha.32 to 19.185.1-alpha.8
@@ -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.184.3-alpha.32+637f1f5303", | ||
"version": "19.185.1-alpha.8+53f7f96124", | ||
"description": "Uniform Files helpers", | ||
@@ -39,5 +39,5 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
"dependencies": { | ||
"@uniformdev/context": "19.184.3-alpha.32+637f1f5303" | ||
"@uniformdev/context": "19.185.1-alpha.8+53f7f96124" | ||
}, | ||
"gitHead": "637f1f5303933370e09fec676814bee7a9e26876" | ||
"gitHead": "53f7f961242f3518b103e55337ada7ad91c18dd7" | ||
} |
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
29014
599