@zudojs/config 1.3.2 → 1.3.4
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.
- package/dist/configEntry/configEntry.type.d.ts +0 -1
- package/dist/configEntry/configEntry.type.js +0 -1
- package/dist/configEntry/index.d.ts +0 -1
- package/dist/configEntry/index.js +0 -1
- package/dist/configFactory/configFactory.core.d.ts +0 -1
- package/dist/configFactory/configFactory.core.js +0 -1
- package/dist/configFactory/index.d.ts +0 -1
- package/dist/configFactory/index.js +0 -1
- package/dist/configLoader/configLoader.core.d.ts +0 -1
- package/dist/configLoader/configLoader.core.js +0 -1
- package/dist/configLoader/configLoader.reload.d.ts +0 -1
- package/dist/configLoader/configLoader.reload.js +0 -1
- package/dist/configLoader/index.d.ts +0 -1
- package/dist/configLoader/index.js +0 -1
- package/dist/configManager/configManager.core.d.ts +0 -1
- package/dist/configManager/configManager.core.js +0 -1
- package/dist/configManager/configManager.error.d.ts +0 -1
- package/dist/configManager/configManager.error.js +0 -1
- package/dist/configManager/configManager.factory.d.ts +0 -1
- package/dist/configManager/configManager.factory.js +0 -1
- package/dist/configManager/configManager.secrets.d.ts +0 -1
- package/dist/configManager/configManager.secrets.js +0 -1
- package/dist/configManager/configManager.type.d.ts +0 -1
- package/dist/configManager/configManager.type.js +0 -1
- package/dist/configManager/index.d.ts +0 -1
- package/dist/configManager/index.js +0 -1
- package/dist/configResolver/accessors/configResolver.scoped.d.ts +0 -1
- package/dist/configResolver/accessors/configResolver.scoped.js +0 -1
- package/dist/configResolver/accessors/index.d.ts +0 -1
- package/dist/configResolver/accessors/index.js +0 -1
- package/dist/configResolver/core/configResolver.core.d.ts +0 -1
- package/dist/configResolver/core/configResolver.core.js +0 -1
- package/dist/configResolver/core/configResolver.error.d.ts +0 -1
- package/dist/configResolver/core/configResolver.error.js +0 -1
- package/dist/configResolver/core/configResolver.factory.d.ts +0 -1
- package/dist/configResolver/core/configResolver.factory.js +0 -1
- package/dist/configResolver/core/configResolver.type.d.ts +0 -1
- package/dist/configResolver/core/configResolver.type.js +0 -1
- package/dist/configResolver/core/index.d.ts +0 -1
- package/dist/configResolver/core/index.js +0 -1
- package/dist/configResolver/index.d.ts +0 -1
- package/dist/configResolver/index.js +0 -1
- package/dist/configSchema/configSchema.coerce.d.ts +0 -1
- package/dist/configSchema/configSchema.coerce.js +0 -1
- package/dist/configSchema/configSchema.type.d.ts +0 -1
- package/dist/configSchema/configSchema.type.js +0 -1
- package/dist/configSchema/configSchema.validator.d.ts +0 -1
- package/dist/configSchema/configSchema.validator.js +0 -1
- package/dist/configSchema/index.d.ts +0 -1
- package/dist/configSchema/index.js +0 -1
- package/dist/configSource/configSource.core.d.ts +0 -1
- package/dist/configSource/configSource.core.js +0 -1
- package/dist/configSource/configSource.environment.d.ts +0 -1
- package/dist/configSource/configSource.environment.js +0 -1
- package/dist/configSource/configSource.sensitive.d.ts +0 -1
- package/dist/configSource/configSource.sensitive.js +0 -1
- package/dist/configSource/index.d.ts +0 -1
- package/dist/configSource/index.js +0 -1
- package/dist/configStore/configStore.core.d.ts +0 -1
- package/dist/configStore/configStore.core.js +0 -1
- package/dist/configStore/configStore.factory.d.ts +0 -1
- package/dist/configStore/configStore.factory.js +0 -1
- package/dist/configStore/configStore.type.d.ts +0 -1
- package/dist/configStore/configStore.type.js +0 -1
- package/dist/configStore/index.d.ts +0 -1
- package/dist/configStore/index.js +0 -1
- package/dist/configValue/configValue.core.d.ts +0 -1
- package/dist/configValue/configValue.core.js +0 -1
- package/dist/configValue/index.d.ts +0 -1
- package/dist/configValue/index.js +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +0 -1
- package/package.json +3 -3
|
@@ -78,4 +78,3 @@ export declare function configEntriesEqual(left: ConfigEntry, right: ConfigEntry
|
|
|
78
78
|
* Sorts configuration entries by key and then priority.
|
|
79
79
|
*/
|
|
80
80
|
export declare function sortConfigEntries(entries: readonly ConfigEntry[]): readonly ConfigEntry[];
|
|
81
|
-
//# sourceMappingURL=configEntry.type.d.ts.map
|
|
@@ -167,4 +167,3 @@ export declare function loadConfiguration(sources: readonly ConfigSource[], opti
|
|
|
167
167
|
* Converts loaded source results into configuration entries.
|
|
168
168
|
*/
|
|
169
169
|
export declare function sourceResultsToEntries(results: readonly ConfigSourceResult[], sources: readonly ConfigSource[]): readonly ConfigEntry[];
|
|
170
|
-
//# sourceMappingURL=configLoader.core.d.ts.map
|
|
@@ -19,4 +19,3 @@ export declare function createReloadStaging(store: ConfigStore, sourceNames: Rea
|
|
|
19
19
|
* that was sensitive before the reload stays sensitive.
|
|
20
20
|
*/
|
|
21
21
|
export declare function commitReloadStaging(store: ConfigStore, staging: ConfigStore): void;
|
|
22
|
-
//# sourceMappingURL=configLoader.reload.d.ts.map
|
|
@@ -16,4 +16,3 @@ export declare class ConfigManagerValidationError extends ConfigurationError {
|
|
|
16
16
|
constructor(issues: readonly ConfigValidationIssue[]);
|
|
17
17
|
}
|
|
18
18
|
export { ConfigurationError, createConfigurationError, isConfigurationError, missingConfigurationError, invalidConfigurationError, };
|
|
19
|
-
//# sourceMappingURL=configManager.error.d.ts.map
|
|
@@ -8,4 +8,3 @@ export declare function createConfigManager(options?: ConfigManagerOptions): Con
|
|
|
8
8
|
* Creates a manager and loads configuration immediately.
|
|
9
9
|
*/
|
|
10
10
|
export declare function initializeConfigManager(options?: ConfigManagerOptions): Promise<ConfigManager>;
|
|
11
|
-
//# sourceMappingURL=configManager.factory.d.ts.map
|
|
@@ -24,4 +24,3 @@ export declare function collectSecretPaths(properties: Readonly<Record<string, A
|
|
|
24
24
|
* value, so there is nothing to redact.
|
|
25
25
|
*/
|
|
26
26
|
export declare function markSecretEntries(store: ConfigStore, paths: readonly (readonly string[])[]): void;
|
|
27
|
-
//# sourceMappingURL=configManager.secrets.d.ts.map
|
|
@@ -25,4 +25,3 @@ export interface ConfigResolutionResult<T extends ConfigValue = ConfigValue> {
|
|
|
25
25
|
* `false` or `"dev"`: the result is `boolean` or `string`.
|
|
26
26
|
*/
|
|
27
27
|
export type ConfigWiden<T> = T extends string ? string : T extends number ? number : T extends boolean ? boolean : T extends bigint ? bigint : T;
|
|
28
|
-
//# sourceMappingURL=configResolver.type.d.ts.map
|
|
@@ -155,4 +155,3 @@ export declare function loadConfigSourceStrict(source: ConfigSource, context?: C
|
|
|
155
155
|
* Loads multiple configuration sources in priority order.
|
|
156
156
|
*/
|
|
157
157
|
export declare function loadConfigSources(sources: readonly ConfigSource[], context?: ConfigSourceContext): Promise<readonly ConfigSourceResult[]>;
|
|
158
|
-
//# sourceMappingURL=configSource.core.d.ts.map
|
|
@@ -65,4 +65,3 @@ export interface EnvironmentConfigSourceOptions {
|
|
|
65
65
|
* the empty string is kept, since "set but empty" is meaningful.
|
|
66
66
|
*/
|
|
67
67
|
export declare function createEnvironmentConfigSource(options?: EnvironmentConfigSourceOptions): ConfigSource;
|
|
68
|
-
//# sourceMappingURL=configSource.environment.d.ts.map
|
|
@@ -145,4 +145,3 @@ export declare function defineConfigProperty(target: Record<string, ConfigValue>
|
|
|
145
145
|
* rather than reporting a missing value.
|
|
146
146
|
*/
|
|
147
147
|
export declare function readOwnConfigProperty(source: Readonly<Record<string, unknown>>, key: string): unknown;
|
|
148
|
-
//# sourceMappingURL=configValue.core.d.ts.map
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zudojs/config",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.4",
|
|
4
4
|
"description": "Layered configuration management with multiple sources, validation, and environment-specific overrides.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"node": ">=24.0.0"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@zudojs/constants": "1.
|
|
32
|
-
"@zudojs/errors": "1.
|
|
31
|
+
"@zudojs/constants": "1.2.0",
|
|
32
|
+
"@zudojs/errors": "1.4.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "7.0.2",
|