@zudojs/config 1.3.3 → 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.
Files changed (73) hide show
  1. package/dist/configEntry/configEntry.type.d.ts +0 -1
  2. package/dist/configEntry/configEntry.type.js +0 -1
  3. package/dist/configEntry/index.d.ts +0 -1
  4. package/dist/configEntry/index.js +0 -1
  5. package/dist/configFactory/configFactory.core.d.ts +0 -1
  6. package/dist/configFactory/configFactory.core.js +0 -1
  7. package/dist/configFactory/index.d.ts +0 -1
  8. package/dist/configFactory/index.js +0 -1
  9. package/dist/configLoader/configLoader.core.d.ts +0 -1
  10. package/dist/configLoader/configLoader.core.js +0 -1
  11. package/dist/configLoader/configLoader.reload.d.ts +0 -1
  12. package/dist/configLoader/configLoader.reload.js +0 -1
  13. package/dist/configLoader/index.d.ts +0 -1
  14. package/dist/configLoader/index.js +0 -1
  15. package/dist/configManager/configManager.core.d.ts +0 -1
  16. package/dist/configManager/configManager.core.js +0 -1
  17. package/dist/configManager/configManager.error.d.ts +0 -1
  18. package/dist/configManager/configManager.error.js +0 -1
  19. package/dist/configManager/configManager.factory.d.ts +0 -1
  20. package/dist/configManager/configManager.factory.js +0 -1
  21. package/dist/configManager/configManager.secrets.d.ts +0 -1
  22. package/dist/configManager/configManager.secrets.js +0 -1
  23. package/dist/configManager/configManager.type.d.ts +0 -1
  24. package/dist/configManager/configManager.type.js +0 -1
  25. package/dist/configManager/index.d.ts +0 -1
  26. package/dist/configManager/index.js +0 -1
  27. package/dist/configResolver/accessors/configResolver.scoped.d.ts +0 -1
  28. package/dist/configResolver/accessors/configResolver.scoped.js +0 -1
  29. package/dist/configResolver/accessors/index.d.ts +0 -1
  30. package/dist/configResolver/accessors/index.js +0 -1
  31. package/dist/configResolver/core/configResolver.core.d.ts +0 -1
  32. package/dist/configResolver/core/configResolver.core.js +0 -1
  33. package/dist/configResolver/core/configResolver.error.d.ts +0 -1
  34. package/dist/configResolver/core/configResolver.error.js +0 -1
  35. package/dist/configResolver/core/configResolver.factory.d.ts +0 -1
  36. package/dist/configResolver/core/configResolver.factory.js +0 -1
  37. package/dist/configResolver/core/configResolver.type.d.ts +0 -1
  38. package/dist/configResolver/core/configResolver.type.js +0 -1
  39. package/dist/configResolver/core/index.d.ts +0 -1
  40. package/dist/configResolver/core/index.js +0 -1
  41. package/dist/configResolver/index.d.ts +0 -1
  42. package/dist/configResolver/index.js +0 -1
  43. package/dist/configSchema/configSchema.coerce.d.ts +0 -1
  44. package/dist/configSchema/configSchema.coerce.js +0 -1
  45. package/dist/configSchema/configSchema.type.d.ts +0 -1
  46. package/dist/configSchema/configSchema.type.js +0 -1
  47. package/dist/configSchema/configSchema.validator.d.ts +0 -1
  48. package/dist/configSchema/configSchema.validator.js +0 -1
  49. package/dist/configSchema/index.d.ts +0 -1
  50. package/dist/configSchema/index.js +0 -1
  51. package/dist/configSource/configSource.core.d.ts +0 -1
  52. package/dist/configSource/configSource.core.js +0 -1
  53. package/dist/configSource/configSource.environment.d.ts +0 -1
  54. package/dist/configSource/configSource.environment.js +0 -1
  55. package/dist/configSource/configSource.sensitive.d.ts +0 -1
  56. package/dist/configSource/configSource.sensitive.js +0 -1
  57. package/dist/configSource/index.d.ts +0 -1
  58. package/dist/configSource/index.js +0 -1
  59. package/dist/configStore/configStore.core.d.ts +0 -1
  60. package/dist/configStore/configStore.core.js +0 -1
  61. package/dist/configStore/configStore.factory.d.ts +0 -1
  62. package/dist/configStore/configStore.factory.js +0 -1
  63. package/dist/configStore/configStore.type.d.ts +0 -1
  64. package/dist/configStore/configStore.type.js +0 -1
  65. package/dist/configStore/index.d.ts +0 -1
  66. package/dist/configStore/index.js +0 -1
  67. package/dist/configValue/configValue.core.d.ts +0 -1
  68. package/dist/configValue/configValue.core.js +0 -1
  69. package/dist/configValue/index.d.ts +0 -1
  70. package/dist/configValue/index.js +0 -1
  71. package/dist/index.d.ts +0 -1
  72. package/dist/index.js +0 -1
  73. 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
@@ -141,4 +141,3 @@ export function sortConfigEntries(entries) {
141
141
  return right.priority - left.priority;
142
142
  });
143
143
  }
144
- //# sourceMappingURL=configEntry.type.js.map
@@ -4,4 +4,3 @@
4
4
  * Configuration entry types and value definitions.
5
5
  */
6
6
  export * from "./configEntry.type.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * Configuration entry types and value definitions.
5
5
  */
6
6
  export * from "./configEntry.type.js";
7
- //# sourceMappingURL=index.js.map
@@ -49,4 +49,3 @@ export declare const configFactory: Readonly<{
49
49
  fromStore: typeof createConfigurationFromStore;
50
50
  validated: typeof createValidatedConfiguration;
51
51
  }>;
52
- //# sourceMappingURL=configFactory.core.d.ts.map
@@ -66,4 +66,3 @@ export const configFactory = Object.freeze({
66
66
  fromStore: createConfigurationFromStore,
67
67
  validated: createValidatedConfiguration,
68
68
  });
69
- //# sourceMappingURL=configFactory.core.js.map
@@ -4,4 +4,3 @@
4
4
  * Factory functions for creating configuration instances.
5
5
  */
6
6
  export * from "./configFactory.core.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * Factory functions for creating configuration instances.
5
5
  */
6
6
  export * from "./configFactory.core.js";
7
- //# sourceMappingURL=index.js.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
@@ -353,4 +353,3 @@ export function sourceResultsToEntries(results, sources) {
353
353
  }
354
354
  return entries;
355
355
  }
356
- //# sourceMappingURL=configLoader.core.js.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
@@ -45,4 +45,3 @@ export function commitReloadStaging(store, staging) {
45
45
  store.setEntry(wasSensitive.has(entry.key) ? { ...entry, sensitive: true } : entry);
46
46
  }
47
47
  }
48
- //# sourceMappingURL=configLoader.reload.js.map
@@ -4,4 +4,3 @@
4
4
  * Configuration loading from sources and caching.
5
5
  */
6
6
  export * from "./configLoader.core.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * Configuration loading from sources and caching.
5
5
  */
6
6
  export * from "./configLoader.core.js";
7
- //# sourceMappingURL=index.js.map
@@ -228,4 +228,3 @@ export declare class ConfigManager {
228
228
  private setState;
229
229
  private assertActive;
230
230
  }
231
- //# sourceMappingURL=configManager.core.d.ts.map
@@ -420,4 +420,3 @@ export class ConfigManager {
420
420
  }
421
421
  }
422
422
  }
423
- //# sourceMappingURL=configManager.core.js.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
@@ -21,4 +21,3 @@ export class ConfigManagerValidationError extends ConfigurationError {
21
21
  }
22
22
  }
23
23
  export { ConfigurationError, createConfigurationError, isConfigurationError, missingConfigurationError, invalidConfigurationError, };
24
- //# sourceMappingURL=configManager.error.js.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
@@ -19,4 +19,3 @@ export async function initializeConfigManager(options = {}) {
19
19
  throw error;
20
20
  }
21
21
  }
22
- //# sourceMappingURL=configManager.factory.js.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
@@ -66,4 +66,3 @@ export function markSecretEntries(store, paths) {
66
66
  }
67
67
  }
68
68
  }
69
- //# sourceMappingURL=configManager.secrets.js.map
@@ -57,4 +57,3 @@ export interface ConfigManagerStatus {
57
57
  * Listener for configuration manager state changes.
58
58
  */
59
59
  export type ConfigManagerListener = (status: ConfigManagerStatus) => void;
60
- //# sourceMappingURL=configManager.type.d.ts.map
@@ -10,4 +10,3 @@ export var ConfigManagerState;
10
10
  ConfigManagerState["FAILED"] = "failed";
11
11
  ConfigManagerState["DISPOSED"] = "disposed";
12
12
  })(ConfigManagerState || (ConfigManagerState = {}));
13
- //# sourceMappingURL=configManager.type.js.map
@@ -7,4 +7,3 @@ export * from "./configManager.type.js";
7
7
  export * from "./configManager.core.js";
8
8
  export * from "./configManager.error.js";
9
9
  export * from "./configManager.factory.js";
10
- //# sourceMappingURL=index.d.ts.map
@@ -7,4 +7,3 @@ export * from "./configManager.type.js";
7
7
  export * from "./configManager.core.js";
8
8
  export * from "./configManager.error.js";
9
9
  export * from "./configManager.factory.js";
10
- //# sourceMappingURL=index.js.map
@@ -62,4 +62,3 @@ export declare class ScopedConfigResolver {
62
62
  pick(keys: readonly string[]): Readonly<Record<string, ConfigValue>>;
63
63
  scoped(prefix: string): ScopedConfigResolver;
64
64
  }
65
- //# sourceMappingURL=configResolver.scoped.d.ts.map
@@ -80,4 +80,3 @@ export class ScopedConfigResolver {
80
80
  return this.resolver.scoped(this.key(prefix));
81
81
  }
82
82
  }
83
- //# sourceMappingURL=configResolver.scoped.js.map
@@ -4,4 +4,3 @@
4
4
  * Scoped configuration resolver.
5
5
  */
6
6
  export * from "./configResolver.scoped.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * Scoped configuration resolver.
5
5
  */
6
6
  export * from "./configResolver.scoped.js";
7
- //# sourceMappingURL=index.js.map
@@ -116,4 +116,3 @@ export declare class ConfigResolutionError extends ConfigurationError {
116
116
  readonly issues: readonly unknown[];
117
117
  constructor(key: string, issues: readonly unknown[]);
118
118
  }
119
- //# sourceMappingURL=configResolver.core.d.ts.map
@@ -341,4 +341,3 @@ export class ConfigResolutionError extends ConfigurationError {
341
341
  this.issues = Object.freeze([...issues]);
342
342
  }
343
343
  }
344
- //# sourceMappingURL=configResolver.core.js.map
@@ -5,4 +5,3 @@
5
5
  */
6
6
  export { ConfigurationError, isConfigurationError } from "@zudojs/errors";
7
7
  export { ConfigResolutionError } from "./configResolver.core.js";
8
- //# sourceMappingURL=configResolver.error.d.ts.map
@@ -5,4 +5,3 @@
5
5
  */
6
6
  export { ConfigurationError, isConfigurationError } from "@zudojs/errors";
7
7
  export { ConfigResolutionError } from "./configResolver.core.js";
8
- //# sourceMappingURL=configResolver.error.js.map
@@ -5,4 +5,3 @@ import { ConfigResolver } from "./configResolver.core.js";
5
5
  * Creates a configuration resolver.
6
6
  */
7
7
  export declare function createConfigResolver(store: ConfigStore, options?: ConfigResolverOptions): ConfigResolver;
8
- //# sourceMappingURL=configResolver.factory.d.ts.map
@@ -5,4 +5,3 @@ import { ConfigResolver } from "./configResolver.core.js";
5
5
  export function createConfigResolver(store, options = {}) {
6
6
  return new ConfigResolver(store, options);
7
7
  }
8
- //# sourceMappingURL=configResolver.factory.js.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
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=configResolver.type.js.map
@@ -7,4 +7,3 @@ export * from "./configResolver.type.js";
7
7
  export * from "./configResolver.core.js";
8
8
  export * from "./configResolver.error.js";
9
9
  export * from "./configResolver.factory.js";
10
- //# sourceMappingURL=index.d.ts.map
@@ -7,4 +7,3 @@ export * from "./configResolver.type.js";
7
7
  export * from "./configResolver.core.js";
8
8
  export * from "./configResolver.error.js";
9
9
  export * from "./configResolver.factory.js";
10
- //# sourceMappingURL=index.js.map
@@ -5,4 +5,3 @@
5
5
  */
6
6
  export * from "./core/index.js";
7
7
  export * from "./accessors/index.js";
8
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@
5
5
  */
6
6
  export * from "./core/index.js";
7
7
  export * from "./accessors/index.js";
8
- //# sourceMappingURL=index.js.map
@@ -12,4 +12,3 @@ import type { AnyConfigSchema } from "./configSchema.type.js";
12
12
  * `[NUMBER, BOOLEAN]` becomes `1`.
13
13
  */
14
14
  export declare function coerceConfigInput(value: unknown, schema: AnyConfigSchema): unknown;
15
- //# sourceMappingURL=configSchema.coerce.d.ts.map
@@ -41,4 +41,3 @@ export function coerceConfigInput(value, schema) {
41
41
  }
42
42
  return value;
43
43
  }
44
- //# sourceMappingURL=configSchema.coerce.js.map
@@ -215,4 +215,3 @@ export interface ConfigBooleanSchema extends ConfigSchema<boolean> {
215
215
  readonly type: ConfigValueType.BOOLEAN;
216
216
  }
217
217
  export {};
218
- //# sourceMappingURL=configSchema.type.d.ts.map
@@ -21,4 +21,3 @@ export var ConfigValidationSeverity;
21
21
  ConfigValidationSeverity["ERROR"] = "error";
22
22
  ConfigValidationSeverity["WARNING"] = "warning";
23
23
  })(ConfigValidationSeverity || (ConfigValidationSeverity = {}));
24
- //# sourceMappingURL=configSchema.type.js.map
@@ -34,4 +34,3 @@ export declare class ConfigSchemaValidationError extends ConfigurationError {
34
34
  readonly issues: readonly ConfigValidationIssue[];
35
35
  constructor(issues: readonly ConfigValidationIssue[]);
36
36
  }
37
- //# sourceMappingURL=configSchema.validator.d.ts.map
@@ -454,4 +454,3 @@ export class ConfigSchemaValidationError extends ConfigurationError {
454
454
  this.issues = Object.freeze([...issues]);
455
455
  }
456
456
  }
457
- //# sourceMappingURL=configSchema.validator.js.map
@@ -5,4 +5,3 @@
5
5
  */
6
6
  export * from "./configSchema.type.js";
7
7
  export * from "./configSchema.validator.js";
8
- //# sourceMappingURL=index.d.ts.map
@@ -5,4 +5,3 @@
5
5
  */
6
6
  export * from "./configSchema.type.js";
7
7
  export * from "./configSchema.validator.js";
8
- //# sourceMappingURL=index.js.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
@@ -228,4 +228,3 @@ export async function loadConfigSources(sources, context = {}) {
228
228
  }
229
229
  return results;
230
230
  }
231
- //# sourceMappingURL=configSource.core.js.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
@@ -65,4 +65,3 @@ export function createEnvironmentConfigSource(options = {}) {
65
65
  };
66
66
  });
67
67
  }
68
- //# sourceMappingURL=configSource.environment.js.map
@@ -23,4 +23,3 @@ export declare function isSensitiveConfigValue(value: unknown): boolean;
23
23
  * sensitive.
24
24
  */
25
25
  export declare function isSensitiveConfigEntry(key: string, value: unknown): boolean;
26
- //# sourceMappingURL=configSource.sensitive.d.ts.map
@@ -62,4 +62,3 @@ export function isSensitiveConfigValue(value) {
62
62
  export function isSensitiveConfigEntry(key, value) {
63
63
  return isSensitiveConfigKey(key) || isSensitiveConfigValue(value);
64
64
  }
65
- //# sourceMappingURL=configSource.sensitive.js.map
@@ -6,4 +6,3 @@
6
6
  export * from "./configSource.core.js";
7
7
  export * from "./configSource.environment.js";
8
8
  export * from "./configSource.sensitive.js";
9
- //# sourceMappingURL=index.d.ts.map
@@ -6,4 +6,3 @@
6
6
  export * from "./configSource.core.js";
7
7
  export * from "./configSource.environment.js";
8
8
  export * from "./configSource.sensitive.js";
9
- //# sourceMappingURL=index.js.map
@@ -138,4 +138,3 @@ export declare class ConfigStore {
138
138
  private emitChange;
139
139
  private assertActive;
140
140
  }
141
- //# sourceMappingURL=configStore.core.d.ts.map
@@ -353,4 +353,3 @@ export class ConfigStore {
353
353
  }
354
354
  }
355
355
  }
356
- //# sourceMappingURL=configStore.core.js.map
@@ -10,4 +10,3 @@ import { ConfigStore } from "./configStore.core.js";
10
10
  * Creates a configuration store.
11
11
  */
12
12
  export declare function createConfigStore(options?: ConfigStoreOptions): ConfigStore;
13
- //# sourceMappingURL=configStore.factory.d.ts.map
@@ -11,4 +11,3 @@ import { ConfigStore } from "./configStore.core.js";
11
11
  export function createConfigStore(options = {}) {
12
12
  return new ConfigStore(options);
13
13
  }
14
- //# sourceMappingURL=configStore.factory.js.map
@@ -32,4 +32,3 @@ export interface ConfigStoreOptions {
32
32
  */
33
33
  readonly freeze?: boolean;
34
34
  }
35
- //# sourceMappingURL=configStore.type.d.ts.map
@@ -1,2 +1 @@
1
1
  export {};
2
- //# sourceMappingURL=configStore.type.js.map
@@ -6,4 +6,3 @@
6
6
  export * from "./configStore.type.js";
7
7
  export * from "./configStore.core.js";
8
8
  export * from "./configStore.factory.js";
9
- //# sourceMappingURL=index.d.ts.map
@@ -6,4 +6,3 @@
6
6
  export * from "./configStore.type.js";
7
7
  export * from "./configStore.core.js";
8
8
  export * from "./configStore.factory.js";
9
- //# sourceMappingURL=index.js.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
@@ -371,4 +371,3 @@ export function readOwnConfigProperty(source, key) {
371
371
  ? source[key]
372
372
  : undefined;
373
373
  }
374
- //# sourceMappingURL=configValue.core.js.map
@@ -4,4 +4,3 @@
4
4
  * Configuration value types, paths, and accessors.
5
5
  */
6
6
  export * from "./configValue.core.js";
7
- //# sourceMappingURL=index.d.ts.map
@@ -4,4 +4,3 @@
4
4
  * Configuration value types, paths, and accessors.
5
5
  */
6
6
  export * from "./configValue.core.js";
7
- //# sourceMappingURL=index.js.map
package/dist/index.d.ts CHANGED
@@ -12,4 +12,3 @@ export * from "./configLoader/index.js";
12
12
  export * from "./configSource/index.js";
13
13
  export * from "./configEntry/index.js";
14
14
  export * from "./configFactory/index.js";
15
- //# sourceMappingURL=index.d.ts.map
package/dist/index.js CHANGED
@@ -12,4 +12,3 @@ export * from "./configLoader/index.js";
12
12
  export * from "./configSource/index.js";
13
13
  export * from "./configEntry/index.js";
14
14
  export * from "./configFactory/index.js";
15
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zudojs/config",
3
- "version": "1.3.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.1.4",
32
- "@zudojs/errors": "1.3.2"
31
+ "@zudojs/constants": "1.2.0",
32
+ "@zudojs/errors": "1.4.0"
33
33
  },
34
34
  "devDependencies": {
35
35
  "typescript": "7.0.2",