@deboxsoft/module-core
Advanced tools
Comparing version 1.5.13 to 1.5.15
@@ -17,12 +17,9 @@ 'use strict'; | ||
Object.keys(typedi).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return typedi[k]; | ||
} | ||
}); | ||
}); | ||
const Container = typedi.Container.of("core"); | ||
const Token = typedi.Token; | ||
exports.Container = Container; | ||
exports.DeboxError = DeboxError; | ||
exports.Logger = Logger; | ||
exports.Token = Token; | ||
//# sourceMappingURL=index.cjs.js.map |
@@ -1,2 +0,2 @@ | ||
export * from 'typedi'; | ||
import { ContainerInstance, Token as Token$1 } from 'typedi'; | ||
@@ -73,2 +73,5 @@ interface LogFn { | ||
export { DeboxError, Logger }; | ||
declare const Container: ContainerInstance; | ||
declare const Token: typeof Token$1; | ||
export { Container, DeboxError, Logger, Token }; |
@@ -1,2 +0,2 @@ | ||
export * from 'typedi'; | ||
import { Container as Container$1, Token as Token$1 } from 'typedi'; | ||
@@ -13,3 +13,6 @@ class Logger { | ||
export { DeboxError, Logger }; | ||
const Container = Container$1.of("core"); | ||
const Token = Token$1; | ||
export { Container, DeboxError, Logger, Token }; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@deboxsoft/module-core", | ||
"version": "1.5.13", | ||
"version": "1.5.15", | ||
"license": "SEE LICENSE IN LICENSE", | ||
@@ -24,3 +24,2 @@ "maintainers": [ | ||
"build": "rollup -c", | ||
"prepublishOnly": "yarn test && yarn typecheck && yarn build", | ||
"test": "jest --passWithNoTests", | ||
@@ -38,3 +37,3 @@ "typecheck:eslint": "eslint --fix src/**/*", | ||
}, | ||
"gitHead": "abcd911e7fa08a0960f7e1f216d5a76aeb92cb74" | ||
"gitHead": "22a10c802b6c1fd2195617a0b3237aa71f19e66b" | ||
} |
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
242239