filelist-from
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -1,2 +0,4 @@ | ||
declare type PartialFileList = Omit<File, 'stream' | 'slice' | 'type'>[]; | ||
/** subset for File */ | ||
export declare type PartialFile = Omit<File, 'stream' | 'slice' | 'type'>; | ||
export declare type PartialFileList = PartialFile[]; | ||
/** | ||
@@ -8,3 +10,2 @@ * Generate a FileList from a directory path | ||
export declare function fileListFromPath(path: string): PartialFileList; | ||
export {}; | ||
//# sourceMappingURL=fileListFromPath.d.ts.map |
@@ -1,2 +0,4 @@ | ||
declare type PartialFileList = Omit<File, 'stream' | 'slice' | 'type'>[]; | ||
/** subset for File */ | ||
export declare type PartialFile = Omit<File, 'stream' | 'slice' | 'type'>; | ||
export declare type PartialFileList = PartialFile[]; | ||
/** | ||
@@ -8,3 +10,2 @@ * Generate a FileList from a directory path | ||
export declare function fileListFromPath(path: string): PartialFileList; | ||
export {}; | ||
//# sourceMappingURL=fileListFromPath.d.ts.map |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "filelist-from", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "Create a FileList from a path or a zip file", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
@@ -16,3 +16,3 @@ # filelist-from | ||
`$ npm i filelist-from` | ||
`npm i filelist-from` | ||
@@ -19,0 +19,0 @@ ## Usage |
@@ -5,3 +5,5 @@ import { readdirSync, statSync } from 'fs'; | ||
type PartialFileList = Omit<File, 'stream' | 'slice' | 'type'>[]; | ||
/** subset for File */ | ||
export type PartialFile = Omit<File, 'stream' | 'slice' | 'type'>; | ||
export type PartialFileList = PartialFile[]; | ||
@@ -8,0 +10,0 @@ /** |
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
32410
436