@felte/core
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -182,3 +182,3 @@ import { getFormDefaultValues, _merge, _cloneDeep, debounce, _defaultsDeep, isFormControl, _get, getPath, isSelectElement, shouldIgnore, getInputTextOrNumber, _set, isInputElement, _isPlainObject, _unset, isElement, getFormControls } from '@felte/common'; | ||
_setCurrentExtenders(extender.map(callExtender('UPDATE'))); | ||
const { defaultData: newDefaultData, defaultTouched: newDefaultTouched, } = getFormDefaultValues(node); | ||
const { defaultData: newDefaultData, defaultTouched: newDefaultTouched } = getFormDefaultValues(node); | ||
data.update(($data) => _defaultsDeep($data, newDefaultData)); | ||
@@ -185,0 +185,0 @@ touched.update(($touched) => { |
@@ -173,3 +173,3 @@ import { executeTransforms, _cloneDeep, deepSome, deepSet, mergeErrors, debounce, _mergeWith, _isPlainObject, runValidations } from '@felte/common'; | ||
const [filteredErrors, startFilteredErrors, stopFilteredErrors] = derived([errors, touched], filterErrors, _cloneDeep(initialErrors)); | ||
const [filteredWarnings, startFilteredWarnings, stopFilteredWarnings,] = derived([warnings, touched], filterWarnings, _cloneDeep(initialWarnings)); | ||
const [filteredWarnings, startFilteredWarnings, stopFilteredWarnings] = derived([warnings, touched], filterWarnings, _cloneDeep(initialWarnings)); | ||
// This is necessary since, on the first run, validations | ||
@@ -282,3 +282,4 @@ // have not run yet. We assume the form is not valid in the first calling | ||
filteredWarnings.set = publicWarningsSetter; | ||
filteredWarnings.update = publicWarningsUpdater; | ||
filteredWarnings.update = | ||
publicWarningsUpdater; | ||
return { | ||
@@ -285,0 +286,0 @@ data: data, |
{ | ||
"name": "@felte/core", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"description": "Core utility for Felte's integration with front-end frameworks", | ||
@@ -30,3 +30,3 @@ "main": "dist/cjs/index.cjs", | ||
"dependencies": { | ||
"@felte/common": "1.1.7" | ||
"@felte/common": "1.1.8" | ||
}, | ||
@@ -33,0 +33,0 @@ "publishConfig": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
2945
399870
+ Added@felte/common@1.1.8(transitive)
- Removed@felte/common@1.1.7(transitive)
Updated@felte/common@1.1.8