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

@incanta/config

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@incanta/config - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

1

lib/config.d.ts

@@ -11,2 +11,3 @@ export interface IConfigOptions {

constructor(options?: IConfigOptions);
init(options?: IConfigOptions): void;
dir(): string;

@@ -13,0 +14,0 @@ getConfiguredEnv(): any;

5

lib/config.js

@@ -11,3 +11,3 @@ "use strict";

class Config {
configDir;
configDir = "";
values;

@@ -17,2 +17,5 @@ customValues;

constructor(options) {
this.init(options);
}
init(options) {
this.values = {};

@@ -19,0 +22,0 @@ this.customValues = {};

{
"name": "@incanta/config",
"version": "0.2.3",
"version": "0.3.0",
"main": "lib/index.js",

@@ -5,0 +5,0 @@ "exports": {

@@ -12,3 +12,3 @@ import merge from "lodash.merge";

export default class Config {
private configDir: string;
private configDir: string = "";

@@ -21,2 +21,6 @@ private values: any;

public constructor(options?: IConfigOptions) {
this.init(options);
}
public init(options?: IConfigOptions): void {
this.values = {};

@@ -23,0 +27,0 @@ this.customValues = {};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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