@wocker/core
Advanced tools
Comparing version 1.0.20-dev.3 to 1.0.20-dev.4
@@ -19,5 +19,5 @@ import fs, { RmOptions, Stats, WriteFileOptions } from "fs"; | ||
rm(path: string, options?: RmOptions): Promise<void>; | ||
createWriteStream(path: string): fs.WriteStream; | ||
createReadStream(path: string): fs.ReadStream; | ||
createWriteStream(path: string, options?: BufferEncoding): fs.WriteStream; | ||
createReadStream(path: string, options?: BufferEncoding): fs.ReadStream; | ||
} | ||
export {}; |
@@ -143,9 +143,9 @@ "use strict"; | ||
} | ||
createWriteStream(path) { | ||
return fs_1.default.createWriteStream(this.path(path)); | ||
createWriteStream(path, options) { | ||
return fs_1.default.createWriteStream(this.path(path), options); | ||
} | ||
createReadStream(path) { | ||
return fs_1.default.createReadStream(this.path(path)); | ||
createReadStream(path, options) { | ||
return fs_1.default.createReadStream(this.path(path), options); | ||
} | ||
} | ||
exports.FileSystem = FileSystem; |
{ | ||
"name": "@wocker/core", | ||
"version": "1.0.20-dev.3", | ||
"version": "1.0.20-dev.4", | ||
"author": "Kris Papercut <krispcut@gmail.com>", | ||
@@ -28,3 +28,3 @@ "description": "Core of the Wocker", | ||
"dependencies": { | ||
"@kearisp/cli": "^2.0.7-dev.1", | ||
"@kearisp/cli": "^2.0.7", | ||
"fs": "^0.0.1-security", | ||
@@ -31,0 +31,0 @@ "path": "^0.12.7", |
103158
Updated@kearisp/cli@^2.0.7