filelist-utils
Advanced tools
Comparing version 1.11.1 to 1.11.2
@@ -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
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
169867
2749