Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@uniformdev/files

Package Overview
Dependencies
Maintainers
10
Versions
386
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@uniformdev/files - npm Package Compare versions

Comparing version 19.53.0 to 19.54.0

15

./dist/index.js

@@ -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
});

3

dist/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc