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-dev.1 to 1.0.18-dev.2

5

lib/makes/AppConfig.d.ts

@@ -30,7 +30,2 @@ import { EnvConfig, PickProperties } from "../types";

getProject(id: string): ProjectData | undefined;
/**
* @deprecated
* @see Project.addProject
*/
setProject(id: string, path: string): void;
addProject(id: string, name: string, path: string): void;

@@ -37,0 +32,0 @@ removeProject(id: string): void;

@@ -36,26 +36,2 @@ "use strict";

}
/* istanbul ignore next */
/**
* @deprecated
* @see Project.addProject
*/
setProject(id, path) {
if (!this.projects) {
this.projects = [];
}
let projectData = this.projects.find((projectData) => {
return projectData.id === id;
});
if (!projectData) {
this.projects.push({
id,
path,
src: path
});
return;
}
projectData.name = id;
projectData.path = path;
projectData.src = path;
}
addProject(id, name, path) {

@@ -62,0 +38,0 @@ if (!this.projects) {

5

lib/services/AppConfigService.d.ts
import { AppConfig } from "../makes";
declare abstract class AppConfigService {
export declare abstract class AppConfigService {
protected config?: AppConfig;
abstract pwd(...parts: string[]): string;
abstract setPWD(pwd: string): void;
abstract pwd(...parts: string[]): string;
abstract dataPath(...args: string[]): string;

@@ -11,2 +11,1 @@ abstract pluginsPath(...args: string[]): string;

}
export { AppConfigService };

2

package.json
{
"name": "@wocker/core",
"version": "1.0.18-dev.1",
"version": "1.0.18-dev.2",
"author": "Kris Papercut <krispcut@gmail.com>",

@@ -5,0 +5,0 @@ "description": "Core of the Wocker",

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