@deboxsoft/module-core
Advanced tools
Comparing version 1.7.0-1 to 1.7.0-2
@@ -39,8 +39,2 @@ 'use strict'; | ||
const CONFIG_KEY = Symbol("config-key"); | ||
class Logger { | ||
} | ||
const LOGGER_KEY = Symbol("logger-key"); | ||
class ServiceNotFoundError extends DeboxError { | ||
@@ -109,2 +103,9 @@ constructor(identifier) { | ||
const CONFIG_KEY = Symbol("config-key"); | ||
const config = Container.get(CONFIG_KEY); | ||
class Logger { | ||
} | ||
const LOGGER_KEY = Symbol("logger-key"); | ||
function isObject(val) { | ||
@@ -441,2 +442,3 @@ return val != null && typeof val === "object" && Array.isArray(val) === false; | ||
exports.Logger = Logger; | ||
exports.config = config; | ||
exports.utils = index; |
15
index.js
@@ -12,8 +12,2 @@ import * as changeCase from 'change-case'; | ||
const CONFIG_KEY = Symbol("config-key"); | ||
class Logger { | ||
} | ||
const LOGGER_KEY = Symbol("logger-key"); | ||
class ServiceNotFoundError extends DeboxError { | ||
@@ -82,2 +76,9 @@ constructor(identifier) { | ||
const CONFIG_KEY = Symbol("config-key"); | ||
const config = Container.get(CONFIG_KEY); | ||
class Logger { | ||
} | ||
const LOGGER_KEY = Symbol("logger-key"); | ||
function isObject(val) { | ||
@@ -409,2 +410,2 @@ return val != null && typeof val === "object" && Array.isArray(val) === false; | ||
export { CONFIG_KEY, Container, DeboxError, LOGGER_KEY, Logger, index as utils }; | ||
export { CONFIG_KEY, Container, DeboxError, LOGGER_KEY, Logger, config, index as utils }; |
{ | ||
"name": "@deboxsoft/module-core", | ||
"version": "1.7.0-1", | ||
"version": "1.7.0-2", | ||
"license": "SEE LICENSE IN LICENSE", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
@@ -5,1 +5,2 @@ export declare type Config = { | ||
export declare const CONFIG_KEY: unique symbol; | ||
export declare const config: Config; |
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
44192
1189