@uniformdev/files
Advanced tools
Comparing version 19.53.0 to 19.54.0
@@ -26,2 +26,3 @@ "use strict"; | ||
FILE_READY_STATE: () => FILE_READY_STATE, | ||
FILE_TYPES_IMAGE: () => FILE_TYPES_IMAGE, | ||
FileClient: () => FileClient, | ||
@@ -77,2 +78,15 @@ getFileNameFromUrl: () => getFileNameFromUrl | ||
var FILE_MAX_SIZE = 1024 * 1024 * 10; | ||
var FILE_TYPES_IMAGE = [ | ||
".jpg", | ||
".jpeg", | ||
".jfif", | ||
".pjpeg", | ||
".pjp", | ||
".png", | ||
".gif", | ||
".svg", | ||
".webp", | ||
".apng", | ||
".avif" | ||
]; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -83,4 +97,5 @@ 0 && (module.exports = { | ||
FILE_READY_STATE, | ||
FILE_TYPES_IMAGE, | ||
FileClient, | ||
getFileNameFromUrl | ||
}); |
@@ -50,3 +50,4 @@ import { ApiClient, ClientOptions } from '@uniformdev/context/api'; | ||
declare const FILE_MAX_SIZE: number; | ||
declare const FILE_TYPES_IMAGE: string[]; | ||
export { FILE_IN_PROGRESS_STATE, FILE_MAX_SIZE, FILE_READY_STATE, FileClient, FileStateResponse, NewFileOptions, NewFileResponse, getFileNameFromUrl }; | ||
export { FILE_IN_PROGRESS_STATE, FILE_MAX_SIZE, FILE_READY_STATE, FILE_TYPES_IMAGE, FileClient, FileStateResponse, NewFileOptions, NewFileResponse, getFileNameFromUrl }; |
@@ -46,2 +46,15 @@ // src/FileClient.ts | ||
var FILE_MAX_SIZE = 1024 * 1024 * 10; | ||
var FILE_TYPES_IMAGE = [ | ||
".jpg", | ||
".jpeg", | ||
".jfif", | ||
".pjpeg", | ||
".pjp", | ||
".png", | ||
".gif", | ||
".svg", | ||
".webp", | ||
".apng", | ||
".avif" | ||
]; | ||
export { | ||
@@ -51,4 +64,5 @@ FILE_IN_PROGRESS_STATE, | ||
FILE_READY_STATE, | ||
FILE_TYPES_IMAGE, | ||
FileClient, | ||
getFileNameFromUrl | ||
}; |
@@ -26,2 +26,3 @@ "use strict"; | ||
FILE_READY_STATE: () => FILE_READY_STATE, | ||
FILE_TYPES_IMAGE: () => FILE_TYPES_IMAGE, | ||
FileClient: () => FileClient, | ||
@@ -77,2 +78,15 @@ getFileNameFromUrl: () => getFileNameFromUrl | ||
var FILE_MAX_SIZE = 1024 * 1024 * 10; | ||
var FILE_TYPES_IMAGE = [ | ||
".jpg", | ||
".jpeg", | ||
".jfif", | ||
".pjpeg", | ||
".pjp", | ||
".png", | ||
".gif", | ||
".svg", | ||
".webp", | ||
".apng", | ||
".avif" | ||
]; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
@@ -83,4 +97,5 @@ 0 && (module.exports = { | ||
FILE_READY_STATE, | ||
FILE_TYPES_IMAGE, | ||
FileClient, | ||
getFileNameFromUrl | ||
}); |
{ | ||
"name": "@uniformdev/files", | ||
"version": "19.53.0", | ||
"version": "19.54.0", | ||
"description": "Uniform Files helpers", | ||
@@ -36,5 +36,5 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
"dependencies": { | ||
"@uniformdev/context": "19.53.0" | ||
"@uniformdev/context": "19.54.0" | ||
}, | ||
"gitHead": "2f5a368ac31888a37da39c0e449b29b94c35c591" | ||
"gitHead": "e38bb6dd64cb9bc3b281afd9c01a72c1b18dc2b4" | ||
} |
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
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
12802
364
+ Added@uniformdev/context@19.54.0(transitive)
- Removed@uniformdev/context@19.53.0(transitive)
Updated@uniformdev/context@19.54.0