@deboxsoft/module-core
Advanced tools
Comparing version
import nconf from 'nconf'; | ||
import { v as ConfigService } from './ConfigService-DjPPdUNQ.js'; | ||
import { v as ConfigService } from './ConfigService-BWTZALHL.js'; | ||
import 'zod'; | ||
@@ -4,0 +4,0 @@ |
@@ -1,3 +0,3 @@ | ||
import { A as AppConfig } from './ConfigService-DjPPdUNQ.js'; | ||
export { k as AlternativeType, s as CONFIG_KEY, u as Callback, C as Config, v as ConfigService, q as DataResponse, D as DataResult, o as Filter, m as FilterCondition, F as FilterOperators, I as ID, p as IdParams, J as Join, N as NestedPaths, e as PageCursorInfo, b as PageCursorParams, i as PageCursorParamsOutput, f as PageDefaultInfo, c as PageDefaultParams, j as PageDefaultParamsOutput, d as PageInfo, a as PageParams, h as Pagination, g as PaginationOptions, P as PaginationType, l as PropertyType, R as RegExpOrString, n as RootFilterOperators, r as ServerApiConfig, S as ServiceBase, x as getConfig, w as getConfigService, t as transformDefaultPageInfo } from './ConfigService-DjPPdUNQ.js'; | ||
import { A as AppConfig } from './ConfigService-BWTZALHL.js'; | ||
export { k as AlternativeType, s as CONFIG_KEY, u as Callback, C as Config, v as ConfigService, q as DataResponse, D as DataResult, o as Filter, m as FilterCondition, F as FilterOperators, I as ID, p as IdParams, J as Join, N as NestedPaths, e as PageCursorInfo, b as PageCursorParams, i as PageCursorParamsOutput, f as PageDefaultInfo, c as PageDefaultParams, j as PageDefaultParamsOutput, d as PageInfo, a as PageParams, h as Pagination, g as PaginationOptions, P as PaginationType, l as PropertyType, R as RegExpOrString, n as RootFilterOperators, r as ServerApiConfig, S as ServiceBase, x as getConfig, w as getConfigService, t as transformDefaultPageInfo } from './ConfigService-BWTZALHL.js'; | ||
export { camelCase, capitalCase, constantCase, dotCase, kebabCase, noCase, pascalCase, pathCase, sentenceCase, snakeCase, trainCase } from 'change-case'; | ||
@@ -4,0 +4,0 @@ export { Base64 as base64 } from 'js-base64'; |
@@ -28,6 +28,6 @@ import { Container } from './chunk-AIO34D2G.js'; | ||
var PageCursorParams = PageParams.extend({ | ||
previous: z.any().optional(), | ||
first: z.number().optional(), | ||
after: z.any().optional(), | ||
last: z.any().optional(), | ||
before: z.any().optional(), | ||
next: z.any().optional(), | ||
after: z.any().optional(), | ||
hint: z.union([z.string(), z.record(z.string())]).optional() | ||
@@ -42,6 +42,6 @@ }); | ||
var PageCursorInfo = PageInfo.extend({ | ||
next: z.string().optional(), | ||
hasNext: z.boolean().optional(), | ||
previous: z.string().optional(), | ||
hasPrevious: z.boolean().optional(), | ||
startCursor: z.string().optional(), | ||
hasNextPage: z.boolean().optional(), | ||
endCursor: z.string().optional(), | ||
hasPreviousPage: z.boolean().optional(), | ||
type: z.literal("cursor") | ||
@@ -130,4 +130,4 @@ }); | ||
trace: (...args) => { | ||
if (process.env.NODE_ENV !== "production") { | ||
console.log("trace >>", ...args); | ||
if (process.env.TRACE === "true") { | ||
console.trace("trace >>", ...args); | ||
} | ||
@@ -142,4 +142,4 @@ }, | ||
debug: (...args) => { | ||
if (process.env.NODE_ENV !== "production") { | ||
console.log(...args); | ||
if (process.env.debug !== "true") { | ||
console.debug(...args); | ||
} | ||
@@ -146,0 +146,0 @@ }, |
{ | ||
"name": "@deboxsoft/module-core", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"license": "SEE LICENSE IN LICENSE", | ||
@@ -5,0 +5,0 @@ "maintainers": [ |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 2 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
158647
0.14%4659
0.02%