configuration
Advanced tools
Comparing version 4.1.1 to 4.1.2
@@ -26,3 +26,4 @@ import type { WriteOptions } from 'atomically/dist/types'; | ||
}; | ||
type Filter = (value: Data) => Data | undefined; | ||
type Filter = (value: Data) => Data; | ||
type FilterRaw = (value: Data) => Data | undefined; | ||
type ChangeHandler = ((value: Value | undefined, valuePrev: Value | undefined) => void) | (() => void); | ||
@@ -39,3 +40,3 @@ type ChangeHandlerData = { | ||
defaults: Data; | ||
filter?: Filter; | ||
filter?: FilterRaw; | ||
}; | ||
@@ -42,0 +43,0 @@ type Provider = import('./providers/abstract').default; |
@@ -5,3 +5,3 @@ { | ||
"description": "Performant and feature rich library for managing configurations/settings.", | ||
"version": "4.1.1", | ||
"version": "4.1.2", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "sideEffects": false, |
@@ -37,3 +37,4 @@ | ||
type Filter = ( value: Data ) => Data | undefined; | ||
type Filter = ( value: Data ) => Data; | ||
type FilterRaw = ( value: Data ) => Data | undefined; | ||
@@ -53,3 +54,3 @@ type ChangeHandler = (( value: Value | undefined, valuePrev: Value | undefined ) => void) | (() => void); | ||
defaults: Data, | ||
filter?: Filter | ||
filter?: FilterRaw | ||
}; | ||
@@ -56,0 +57,0 @@ |
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
107108
2679