@incanta/config
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -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
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
41304
743