@wocker/core
Advanced tools
Comparing version 1.0.21-beta.1 to 1.0.21-beta.2
@@ -15,2 +15,3 @@ import fs, { RmOptions, Stats, WriteFileOptions } from "fs"; | ||
readdirFiles(path?: string, options?: ReaddirOptions): Promise<string[]>; | ||
readFile(path: string): Buffer<ArrayBufferLike>; | ||
readJSON(...paths: string[]): any; | ||
@@ -17,0 +18,0 @@ writeFile(path: string, data: string | Buffer | NodeJS.ArrayBufferView, options?: fs.WriteFileOptions): Promise<void>; |
@@ -106,2 +106,6 @@ "use strict"; | ||
} | ||
readFile(path) { | ||
const filePath = this.path(path); | ||
return fs_1.default.readFileSync(filePath); | ||
} | ||
readJSON(...paths) { | ||
@@ -108,0 +112,0 @@ const filePath = this.path(...paths); |
@@ -67,5 +67,5 @@ import { Container, ImageInfo, VolumeCreateResponse } from "dockerode"; | ||
abstract attach(name: string | Container): Promise<NodeJS.ReadWriteStream>; | ||
abstract attachStream(stream: NodeJS.ReadWriteStream): Promise<void>; | ||
abstract attachStream(stream: NodeJS.ReadWriteStream): Promise<NodeJS.ReadWriteStream>; | ||
abstract exec(name: string, command?: DockerServiceParams.Exec | string[], tty?: boolean): Promise<Duplex>; | ||
abstract logs(containerOrName: string | Container): Promise<NodeJS.ReadableStream>; | ||
} |
{ | ||
"name": "@wocker/core", | ||
"version": "1.0.21-beta.1", | ||
"version": "1.0.21-beta.2", | ||
"author": "Kris Papercut <krispcut@gmail.com>", | ||
@@ -5,0 +5,0 @@ "description": "Core of the Wocker", |
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
106138
107
2694