@deboxsoft/module-server
Advanced tools
Comparing version 1.5.3 to 1.5.4
@@ -7,3 +7,3 @@ 'use strict'; | ||
var moduleCore = require('@deboxsoft/module-core'); | ||
var utils$1 = require('@deboxsoft/module-core/utils'); | ||
var utils_cjs = require('@deboxsoft/module-core/utils.cjs'); | ||
@@ -25,5 +25,5 @@ function encodeBase64(i) { | ||
...converter, | ||
generateId: utils$1.generateId, | ||
isObject: utils$1.isObject, | ||
isPlainObject: utils$1.isPlainObject | ||
generateId: utils_cjs.generateId, | ||
isObject: utils_cjs.isObject, | ||
isPlainObject: utils_cjs.isPlainObject | ||
}; | ||
@@ -37,18 +37,32 @@ | ||
Object.keys(typedi).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return typedi[k]; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'Container', { | ||
enumerable: true, | ||
get: function () { | ||
return typedi.Container; | ||
} | ||
}); | ||
Object.keys(moduleCore).forEach(function (k) { | ||
if (k !== 'default') Object.defineProperty(exports, k, { | ||
enumerable: true, | ||
get: function () { | ||
return moduleCore[k]; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'ContainerInstance', { | ||
enumerable: true, | ||
get: function () { | ||
return typedi.ContainerInstance; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'Token', { | ||
enumerable: true, | ||
get: function () { | ||
return typedi.Token; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'Logger', { | ||
enumerable: true, | ||
get: function () { | ||
return moduleCore.Logger; | ||
} | ||
}); | ||
Object.defineProperty(exports, 'gql', { | ||
enumerable: true, | ||
get: function () { | ||
return moduleCore.gql; | ||
} | ||
}); | ||
exports.getLogger = getLogger; | ||
@@ -55,0 +69,0 @@ exports.registerLogger = registerLogger; |
import { Token } from 'typedi'; | ||
export * from 'typedi'; | ||
export { Container, ContainerInstance, Token } from 'typedi'; | ||
import { Logger } from '@deboxsoft/module-core'; | ||
export * from '@deboxsoft/module-core'; | ||
import { isObject, isPlainObject } from '@deboxsoft/module-core/utils'; | ||
export { Logger, gql } from '@deboxsoft/module-core'; | ||
declare const utils: { | ||
generateId: (size?: number | undefined) => string; | ||
isObject: typeof isObject; | ||
isPlainObject: typeof isPlainObject; | ||
generateId: any; | ||
isObject: any; | ||
isPlainObject: any; | ||
encodeBase64(i: string): string; | ||
@@ -12,0 +11,0 @@ decodeBase64(i: string): string; |
import { Token, Container } from 'typedi'; | ||
export * from 'typedi'; | ||
export * from '@deboxsoft/module-core'; | ||
import { generateId, isObject, isPlainObject } from '@deboxsoft/module-core/utils'; | ||
export { Container, ContainerInstance, Token } from 'typedi'; | ||
export { Logger, gql } from '@deboxsoft/module-core'; | ||
import { generateId, isObject, isPlainObject } from '@deboxsoft/module-core/utils.cjs'; | ||
@@ -6,0 +6,0 @@ function encodeBase64(i) { |
{ | ||
"name": "@deboxsoft/module-server", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"license": "SEE LICENSE IN LICENSE", | ||
@@ -31,3 +31,3 @@ "maintainers": [ | ||
"dependencies": { | ||
"@deboxsoft/module-core": "^1.5.3", | ||
"@deboxsoft/module-core": "^1.5.4", | ||
"nconf": "0.11.0", | ||
@@ -38,3 +38,3 @@ "typedi": "^0.8.0" | ||
"@graphql-tools/schema": "^7.1.2", | ||
"@types/nconf": "0.10.0" | ||
"@types/nconf": "^0.10.0" | ||
}, | ||
@@ -44,3 +44,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "312d990d7af66a7120715cba8b19c9a45650e1e6" | ||
"gitHead": "416bd9a2eac900df146a8487ecf518c134010ec8" | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
12957
10
112
1