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

filelist-utils

Package Overview
Dependencies
Maintainers
0
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

filelist-utils - npm Package Compare versions

Comparing version 1.11.1 to 1.11.2

2

lib-esm/FileCollection.d.ts

@@ -22,4 +22,4 @@ import { FileCollectionItem } from './FileCollectionItem';

}): void;
[Symbol.iterator](): IterableIterator<FileCollectionItem>;
[Symbol.iterator](): ArrayIterator<FileCollectionItem>;
}
//# sourceMappingURL=FileCollection.d.ts.map

@@ -20,4 +20,5 @@ import { FileCollection } from './FileCollection';

size: file.size,
//@ts-expect-error We allow file.path as alternative to webkitRelativePath
relativePath: file.webkitRelativePath || file.path || file.name,
relativePath:
//@ts-expect-error We allow file.relativePath or file.path as alternative to webkitRelativePath
file.webkitRelativePath || file.relativePath || file.path || file.name,
lastModified: file.lastModified,

@@ -24,0 +25,0 @@ text: () => file.text(),

@@ -18,4 +18,5 @@ import { FileCollection } from './FileCollection';

size: file.size,
//@ts-expect-error We allow file.path as alternative to webkitRelativePath
relativePath: file.webkitRelativePath || file.path || file.name,
relativePath:
//@ts-expect-error We allow file.relativePath or file.path as alternative to webkitRelativePath
file.webkitRelativePath || file.relativePath || file.path || file.name,
lastModified: file.lastModified,

@@ -22,0 +23,0 @@ text: () => file.text(),

@@ -22,4 +22,4 @@ import { FileCollectionItem } from './FileCollectionItem';

}): void;
[Symbol.iterator](): IterableIterator<FileCollectionItem>;
[Symbol.iterator](): ArrayIterator<FileCollectionItem>;
}
//# sourceMappingURL=FileCollection.d.ts.map

@@ -23,4 +23,5 @@ "use strict";

size: file.size,
//@ts-expect-error We allow file.path as alternative to webkitRelativePath
relativePath: file.webkitRelativePath || file.path || file.name,
relativePath:
//@ts-expect-error We allow file.relativePath or file.path as alternative to webkitRelativePath
file.webkitRelativePath || file.relativePath || file.path || file.name,
lastModified: file.lastModified,

@@ -27,0 +28,0 @@ text: () => file.text(),

@@ -21,4 +21,5 @@ "use strict";

size: file.size,
//@ts-expect-error We allow file.path as alternative to webkitRelativePath
relativePath: file.webkitRelativePath || file.path || file.name,
relativePath:
//@ts-expect-error We allow file.relativePath or file.path as alternative to webkitRelativePath
file.webkitRelativePath || file.relativePath || file.path || file.name,
lastModified: file.lastModified,

@@ -25,0 +26,0 @@ text: () => file.text(),

{
"name": "filelist-utils",
"version": "1.11.1",
"version": "1.11.2",
"description": "Create a FileCollection from a path or a zip file",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -27,4 +27,5 @@ import { FileCollection } from './FileCollection';

size: file.size,
//@ts-expect-error We allow file.path as alternative to webkitRelativePath
relativePath: file.webkitRelativePath || file.path || file.name,
relativePath:
//@ts-expect-error We allow file.relativePath or file.path as alternative to webkitRelativePath
file.webkitRelativePath || file.relativePath || file.path || file.name,
lastModified: file.lastModified,

@@ -31,0 +32,0 @@ text: () => file.text(),

@@ -25,4 +25,5 @@ import { FileCollection } from './FileCollection';

size: file.size,
//@ts-expect-error We allow file.path as alternative to webkitRelativePath
relativePath: file.webkitRelativePath || file.path || file.name,
relativePath:
//@ts-expect-error We allow file.relativePath or file.path as alternative to webkitRelativePath
file.webkitRelativePath || file.relativePath || file.path || file.name,
lastModified: file.lastModified,

@@ -29,0 +30,0 @@ text: () => file.text(),

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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