Comparing version 2.0.0 to 2.0.1
@@ -0,4 +1,7 @@ | ||
declare namespace premove { | ||
type Options = { cwd: string }; | ||
} | ||
declare module 'premove' { | ||
export type Options = { cwd: string }; | ||
function premove(filepath: string, options?: Partial<Options>): Promise<void> | false; | ||
function premove(filepath: string, options?: Partial<premove.Options>): Promise<void> | false; | ||
export = premove; | ||
@@ -8,5 +11,4 @@ } | ||
declare module 'premove/sync' { | ||
export type Options = { cwd: string }; | ||
function premove(filepath: string, options?: Partial<Options>): void | false; | ||
function premove(filepath: string, options?: Partial<premove.Options>): void | false; | ||
export = premove; | ||
} |
{ | ||
"name": "premove", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"repository": "lukeed/premove", | ||
"description": "A tiny (247B) utility to remove items recursively", | ||
"description": "A tiny (201B to 247B) utility to remove items recursively", | ||
"module": "dist/index.mjs", | ||
@@ -48,7 +48,7 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"bundt": "1.0.1", | ||
"bundt": "1.0.2", | ||
"esm": "3.2.25", | ||
"mk-dirs": "2.0.0", | ||
"uvu": "0.0.14" | ||
"mk-dirs": "2.1.0", | ||
"uvu": "0.2.3" | ||
} | ||
} |
7719
81