🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@incanta/config

Package Overview
Dependencies
Maintainers
1
Versions
61
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

to
0.2.3

2

lib/config.d.ts

@@ -5,3 +5,3 @@ export interface IConfigOptions {

}
export declare class Config {
export default class Config {
private configDir;

@@ -8,0 +8,0 @@ private values;

@@ -6,3 +6,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Config = void 0;
const lodash_merge_1 = __importDefault(require("lodash.merge"));

@@ -171,3 +170,3 @@ const path_1 = __importDefault(require("path"));

}
exports.Config = Config;
exports.default = Config;
//# sourceMappingURL=config.js.map

@@ -1,4 +0,4 @@

import { Config } from "./config";
import Config from "./config";
declare const _default: Config;
export = _default;
//# sourceMappingURL=index.d.ts.map
"use strict";
const config_1 = require("./config");
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
const config_1 = __importDefault(require("./config"));
let config = undefined;
function GetConfig() {
if (!config) {
config = new config_1.Config();
config = new config_1.default();
}

@@ -8,0 +11,0 @@ return config;

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

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

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

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

@@ -14,0 +14,0 @@

@@ -1,2 +0,2 @@

import { Config } from "./config";
import Config from "./config";

@@ -3,0 +3,0 @@ let config: Config | undefined = undefined;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet