@felte/common
Advanced tools
Comparing version 1.0.0-next.16 to 1.0.0-next.17
@@ -23,3 +23,3 @@ export { _some } from "./utils/some"; | ||
export * from "./utils/domUtils"; | ||
export * from "./types-51c9b03c"; | ||
export * from "./types-50e77fd8"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,4 +0,4 @@ | ||
import { Obj } from "../types-51c9b03c"; | ||
import { Obj } from "../types-50e77fd8"; | ||
/** @ignore */ | ||
declare function _cloneDeep<T extends Obj>(obj: T): T; | ||
export { _cloneDeep }; |
@@ -1,2 +0,2 @@ | ||
import { Obj, DeepSetResult } from "../types-51c9b03c"; | ||
import { Obj, DeepSetResult } from "../types-50e77fd8"; | ||
/** | ||
@@ -3,0 +3,0 @@ * @category Helper |
@@ -1,2 +0,2 @@ | ||
import { Obj } from "../types-51c9b03c"; | ||
import { Obj } from "../types-50e77fd8"; | ||
/** | ||
@@ -3,0 +3,0 @@ * @category Helper |
@@ -1,4 +0,4 @@ | ||
import { Obj } from "../types-51c9b03c"; | ||
import { Obj } from "../types-50e77fd8"; | ||
/** @ignore */ | ||
declare function _defaultsDeep<T extends Obj>(...args: any[]): T; | ||
export { _defaultsDeep }; |
@@ -1,2 +0,2 @@ | ||
import { FormControl, Obj, FieldValue, Touched } from "../types-51c9b03c"; | ||
import { FormControl, Obj, FieldValue, Touched } from "../types-50e77fd8"; | ||
/** | ||
@@ -3,0 +3,0 @@ * @ignore |
@@ -1,3 +0,3 @@ | ||
import { Obj, TransformFunction } from "../types-51c9b03c"; | ||
import { Obj, TransformFunction } from "../types-50e77fd8"; | ||
declare function executeTransforms<Data extends Obj>(values: Obj, transforms?: TransformFunction<Data>[] | TransformFunction<Data>): ReturnType<TransformFunction<Data>>; | ||
export { executeTransforms }; |
@@ -1,4 +0,4 @@ | ||
import { Obj, ValidationFunction, RecursivePartial } from "../types-51c9b03c"; | ||
import { Obj, ValidationFunction, RecursivePartial } from "../types-50e77fd8"; | ||
declare function mergeErrors<Data extends Obj>(errors: (RecursivePartial<Data> | undefined)[]): Data; | ||
declare function runValidations<Data extends Obj>(values: Data, validationOrValidations?: ValidationFunction<Data>[] | ValidationFunction<Data>): ReturnType<ValidationFunction<Data>>[]; | ||
export { mergeErrors, runValidations }; |
@@ -1,4 +0,4 @@ | ||
import { Obj, FieldValue } from "../types-51c9b03c"; | ||
import { Obj, FieldValue } from "../types-50e77fd8"; | ||
/** @ignore */ | ||
declare function _get<Data extends Obj, Default = undefined>(obj: Data, path: string, defaultValue?: Default): Default | FieldValue | FieldValue[]; | ||
export { _get }; |
@@ -1,2 +0,2 @@ | ||
import { FormControl } from "../types-51c9b03c"; | ||
import { FormControl } from "../types-50e77fd8"; | ||
/** | ||
@@ -3,0 +3,0 @@ * @category Helper |
@@ -1,2 +0,2 @@ | ||
import { Paths, Traverse, Obj } from "../types-51c9b03c"; | ||
import { Paths, Traverse, Obj } from "../types-50e77fd8"; | ||
declare function getValue<T>(storeValue: T): T; | ||
@@ -3,0 +3,0 @@ declare function getValue<T extends Obj, R>(storeValue: T, selector: (value: T) => R): R; |
@@ -1,4 +0,4 @@ | ||
import { FieldValue } from "../types-51c9b03c"; | ||
import { FieldValue } from "../types-50e77fd8"; | ||
/** @category Helper */ | ||
declare function isFieldValue(value: unknown): value is FieldValue; | ||
export { isFieldValue }; |
@@ -1,4 +0,4 @@ | ||
import { Obj } from "../types-51c9b03c"; | ||
import { Obj } from "../types-50e77fd8"; | ||
/** @ignore */ | ||
declare function _mapValues(obj: Obj, updater: (value: unknown) => unknown): Obj; | ||
export { _mapValues }; |
@@ -1,4 +0,4 @@ | ||
import { Obj } from "../types-51c9b03c"; | ||
import { Obj } from "../types-50e77fd8"; | ||
/** @ignore */ | ||
declare function _merge<T extends Obj>(...args: any[]): T; | ||
export { _merge }; |
@@ -1,4 +0,4 @@ | ||
import { Obj } from "../types-51c9b03c"; | ||
import { Obj } from "../types-50e77fd8"; | ||
/** @ignore */ | ||
declare function _mergeWith<T extends Obj>(...args: any[]): T; | ||
export { _mergeWith }; |
@@ -1,4 +0,4 @@ | ||
import { Obj, FieldValue } from "../types-51c9b03c"; | ||
import { Obj, FieldValue } from "../types-50e77fd8"; | ||
/** @ignore */ | ||
declare function _set<Data extends Obj>(obj: Data | undefined, path: string | string[], value: FieldValue | FieldValue[]): Data; | ||
export { _set }; |
@@ -1,4 +0,4 @@ | ||
import { Obj } from "../types-51c9b03c"; | ||
import { Obj } from "../types-50e77fd8"; | ||
/** @ignore */ | ||
declare function _some(obj: Obj, pred: (value: unknown) => boolean): boolean; | ||
export { _some }; |
@@ -1,2 +0,2 @@ | ||
import { FormControl } from "../types-51c9b03c"; | ||
import { FormControl } from "../types-50e77fd8"; | ||
/** | ||
@@ -3,0 +3,0 @@ * @category Helper |
@@ -1,2 +0,2 @@ | ||
import { Obj } from "../types-51c9b03c"; | ||
import { Obj } from "../types-50e77fd8"; | ||
/** @ignore */ | ||
@@ -3,0 +3,0 @@ declare function _unset(obj: undefined, path: string | string[]): undefined; |
@@ -1,4 +0,4 @@ | ||
import { Obj, FieldValue } from "../types-51c9b03c"; | ||
import { Obj, FieldValue } from "../types-50e77fd8"; | ||
/** @ignore */ | ||
declare function _update<Data extends Obj, Value = FieldValue>(obj: Data | undefined, path: string, updater: (value: Value) => Value): Data; | ||
export { _update }; |
{ | ||
"name": "@felte/common", | ||
"version": "1.0.0-next.16", | ||
"version": "1.0.0-next.17", | ||
"description": "Common utilities for Felte packages", | ||
@@ -5,0 +5,0 @@ "author": "Pablo Berganza <pablo@berganza.dev>", |
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
170255
1571