filelist-from
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -26,3 +26,3 @@ import { readdirSync, statSync } from 'fs'; | ||
size: stat.size, | ||
webkitRelativePath: currentDir, | ||
webkitRelativePath: currentDir.replace(/\\/g, '/'), | ||
lastModified: Math.round(stat.mtimeMs), | ||
@@ -29,0 +29,0 @@ text: () => { |
@@ -30,3 +30,3 @@ "use strict"; | ||
size: stat.size, | ||
webkitRelativePath: currentDir, | ||
webkitRelativePath: currentDir.replace(/\\/g, '/'), | ||
lastModified: Math.round(stat.mtimeMs), | ||
@@ -33,0 +33,0 @@ text: () => { |
{ | ||
"name": "filelist-from", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"description": "Create a FileList from a path or a zip file", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -31,3 +31,3 @@ import { readdirSync, statSync } from 'fs'; | ||
size: stat.size, | ||
webkitRelativePath: currentDir, | ||
webkitRelativePath: currentDir.replace(/\\/g, '/'), | ||
lastModified: Math.round(stat.mtimeMs), | ||
@@ -34,0 +34,0 @@ text: (): Promise<string> => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
33325