Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wocker/core

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wocker/core - npm Package Compare versions

Comparing version 1.0.18 to 1.0.19-dev.0

2

lib/services/AppConfigService.d.ts
import { AppConfig } from "../makes";
export declare abstract class AppConfigService {
protected config?: AppConfig;
get version(): string;
isVersionGTE(version: string): boolean;
abstract pwd(...parts: string[]): string;

@@ -5,0 +7,0 @@ abstract setPWD(pwd: string): void;

@@ -12,2 +12,18 @@ "use strict";

let AppConfigService = class AppConfigService {
get version() {
return "0.0.0";
}
isVersionGTE(version) {
const current = this.version.split(".").map(Number);
const compare = version.split(".").map(Number);
for (let i = 0; i < 3; i++) {
if (current[i] > compare[i]) {
return true;
}
else if (current[i] < compare[i]) {
return false;
}
}
return true;
}
getConfig() {

@@ -14,0 +30,0 @@ if (!this.config) {

5

lib/services/DockerService.d.ts

@@ -30,3 +30,3 @@ import { Container, ImageInfo, VolumeCreateResponse } from "dockerode";

tag?: string;
reference?: string;
reference?: string[];
labels?: {

@@ -58,3 +58,3 @@ [key: string]: string;

abstract imageLs(options?: DockerServiceParams.ImageList): Promise<ImageInfo[]>;
abstract imageRm(tag: string): Promise<void>;
abstract imageRm(tag: string, force?: boolean): Promise<void>;
abstract pullImage(tag: string): Promise<void>;

@@ -64,2 +64,3 @@ abstract attach(name: string | Container): Promise<NodeJS.ReadWriteStream>;

abstract exec(name: string, command?: string[], tty?: boolean): Promise<Duplex>;
abstract logs(containerOrName: string | Container): Promise<NodeJS.ReadableStream>;
}
{
"name": "@wocker/core",
"version": "1.0.18",
"version": "1.0.19-dev.0",
"author": "Kris Papercut <krispcut@gmail.com>",

@@ -28,3 +28,3 @@ "description": "Core of the Wocker",

"dependencies": {
"@kearisp/cli": "^2.0.5",
"@kearisp/cli": "^2.0.6",
"fs": "^0.0.1-security",

@@ -31,0 +31,0 @@ "path": "^0.12.7",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc