@platformatic/config
Advanced tools
Comparing version 0.46.2 to 0.47.0
@@ -7,6 +7,6 @@ import { type InstanceOptions } from 'ajv' | ||
} | ||
interface IConfigManagerOptions { | ||
export interface IConfigManagerOptions { | ||
source: string | JsonMap | ||
schema?: object | ||
schemaOptions?: InstanceOptions | ||
schemaOptions?: Partial<InstanceOptions> | ||
env?: IEnv | ||
@@ -30,6 +30,7 @@ envWhitelist?: string[] | ||
export default class ConfigManager<T = object> { | ||
export class ConfigManager<T = object> { | ||
constructor(opts: IConfigManagerOptions) | ||
current: T | ||
fullPath: string | ||
dirname: string | ||
getSerializer(): ISerializer | ||
@@ -46,2 +47,4 @@ purgeEnv(): IEnv | ||
export default ConfigManager | ||
/** | ||
@@ -48,0 +51,0 @@ * All the errors thrown by the plugin. |
{ | ||
"name": "@platformatic/config", | ||
"version": "0.46.2", | ||
"version": "0.47.0", | ||
"description": "Platformatic DB Config Manager", | ||
@@ -34,4 +34,4 @@ "main": "index.js", | ||
"undici": "^5.22.1", | ||
"@platformatic/metaconfig": "0.46.2", | ||
"@platformatic/utils": "0.46.2" | ||
"@platformatic/metaconfig": "0.47.0", | ||
"@platformatic/utils": "0.47.0" | ||
}, | ||
@@ -38,0 +38,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
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
33839
605
0
+ Added@platformatic/metaconfig@0.47.0(transitive)
+ Added@platformatic/utils@0.47.0(transitive)
- Removed@platformatic/metaconfig@0.46.2(transitive)
- Removed@platformatic/utils@0.46.2(transitive)
Updated@platformatic/utils@0.47.0