@file-storage/core
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -36,2 +36,4 @@ /// <reference types="node" /> | ||
delete(path: string): Promise<any>; | ||
copy(path: string, newPath: string): Promise<void>; | ||
move(path: string, newPath: string): Promise<void>; | ||
makeDir(dir: string): Promise<string>; | ||
@@ -38,0 +40,0 @@ removeDir(dir: string): Promise<string>; |
@@ -153,2 +153,8 @@ "use strict"; | ||
} | ||
copy(path, newPath) { | ||
return this.defaultDisk.copy(path, newPath); | ||
} | ||
move(path, newPath) { | ||
return this.defaultDisk.move(path, newPath); | ||
} | ||
makeDir(dir) { | ||
@@ -155,0 +161,0 @@ return this.defaultDisk.makeDir(dir); |
{ | ||
"name": "@file-storage/core", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "> TODO: description", | ||
@@ -30,11 +30,11 @@ "author": "Dang Nguyen <haidang009@gmail.com>", | ||
"dependencies": { | ||
"@file-storage/local": "^1.2.0", | ||
"@file-storage/local": "^1.2.1", | ||
"uuid": "^8.3.2" | ||
}, | ||
"devDependencies": { | ||
"@file-storage/common": "^1.2.0", | ||
"@file-storage/common": "^1.2.1", | ||
"rimraf": "~3.0.2", | ||
"typescript": "~4.3.5" | ||
}, | ||
"gitHead": "e31fa799b710b85e0c3029b08dfba2a5e8b3a8db" | ||
"gitHead": "5c1da4d6f54f2489984d044d11de324402f32a0b" | ||
} |
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
16584
268
Updated@file-storage/local@^1.2.1