@leyyo/env 1.3.9 → 1.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3,7 +3,7 @@ import { EnvScopeImpl } from "../scope/env-scope.impl.js";
|
|
|
3
3
|
import * as util from "node:util";
|
|
4
4
|
import { EnvironmentError } from "./environment.error.js";
|
|
5
5
|
import { isBareObject } from "@leyyo/type";
|
|
6
|
-
import { isFilledObj, optFn, repoCommon } from "@leyyo/common";
|
|
6
|
+
import { isFilledObj, optFn, repoCommon, setFqn } from "@leyyo/common";
|
|
7
7
|
import { assertText } from "@leyyo/assert";
|
|
8
8
|
const WHERE = `${FQN}.EnvCore`;
|
|
9
9
|
/**
|
|
@@ -149,4 +149,5 @@ class EnvCoreImpl {
|
|
|
149
149
|
return this;
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
+
setFqn(EnvCoreImpl, FQN);
|
|
152
153
|
export const envCore = new EnvCoreImpl();
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FQN } from "../internal.js";
|
|
2
|
-
import { isEmpty, logCommon, secureJson } from "@leyyo/common";
|
|
2
|
+
import { isEmpty, logCommon, secureJson, setFqn } from "@leyyo/common";
|
|
3
3
|
import { toBooleanValue, toDelimitedValue, toEnumValue, toIntegerValue, toLiteralValue, toNumberValue, toStringValue, toTextValue } from "@leyyo/type";
|
|
4
4
|
import { assertArray, assertBoolean, assertFilledArray, assertFilledObject, assertFunction, assertText } from "@leyyo/assert";
|
|
5
5
|
import { enveloper } from "@leyyo/enveloper";
|
|
@@ -564,4 +564,5 @@ export class EnvFieldImpl {
|
|
|
564
564
|
}
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
+
setFqn(EnvFieldImpl, FQN);
|
|
567
568
|
const logger = logCommon.of(EnvFieldImpl);
|
package/dist/internal.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const FQN
|
|
1
|
+
export declare const NME: string, FQN: string, VER: string, CNF: import("@leyyo/common").LeyyoConfig;
|
package/dist/internal.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { sysAll } from '@leyyo/common';
|
|
2
|
+
export const { pck: { name: NME, fqn: FQN, version: VER }, config: CNF } = sysAll(import.meta.url);
|
|
@@ -3,7 +3,7 @@ import { EnvFieldImpl } from "../field/env-field.impl.js";
|
|
|
3
3
|
import { enveloper } from "@leyyo/enveloper";
|
|
4
4
|
import { EnvironmentError } from "../core/index.js";
|
|
5
5
|
import { assertFunction, assertText } from "@leyyo/assert";
|
|
6
|
-
import { isObj, logCommon, optFn, repoCommon } from "@leyyo/common";
|
|
6
|
+
import { isObj, logCommon, optFn, repoCommon, setFqn } from "@leyyo/common";
|
|
7
7
|
const WHERE = `${FQN}.EnvScopeImpl`;
|
|
8
8
|
export class EnvScopeImpl {
|
|
9
9
|
core;
|
|
@@ -304,4 +304,5 @@ export class EnvScopeImpl {
|
|
|
304
304
|
return this;
|
|
305
305
|
}
|
|
306
306
|
}
|
|
307
|
+
setFqn(EnvScopeImpl, FQN);
|
|
307
308
|
const logger = logCommon.of(EnvScopeImpl);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@leyyo/env",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.11",
|
|
4
4
|
"description": "Environment library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"env",
|
|
@@ -51,9 +51,9 @@
|
|
|
51
51
|
"typescript": "^5.7.3"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@leyyo/assert": "^1.3.
|
|
55
|
-
"@leyyo/common": "^1.3.
|
|
56
|
-
"@leyyo/enveloper": "^1.3.
|
|
57
|
-
"@leyyo/type": "^1.3.
|
|
54
|
+
"@leyyo/assert": "^1.3.2",
|
|
55
|
+
"@leyyo/common": "^1.3.12",
|
|
56
|
+
"@leyyo/enveloper": "^1.3.5",
|
|
57
|
+
"@leyyo/type": "^1.3.5"
|
|
58
58
|
}
|
|
59
59
|
}
|