@felte/core
Advanced tools
Comparing version 1.0.0-next.16 to 1.0.0-next.17
@@ -310,3 +310,4 @@ 'use strict'; | ||
const newErrors = []; | ||
for (let i = 0; i < srcValue.length; i++) { | ||
const errLength = Math.max(srcValue.length, objValue.length); | ||
for (let i = 0; i < errLength; i++) { | ||
let obj = objValue[i]; | ||
@@ -1081,3 +1082,3 @@ let src = srcValue[i]; | ||
if (Array.isArray(errValue)) | ||
return errValue; | ||
return touchValue ? errValue : null; | ||
return touchValue && errValue ? [errValue] : null; | ||
@@ -1084,0 +1085,0 @@ } |
@@ -19,3 +19,4 @@ import { _mergeWith } from './mergeWith.js'; | ||
const newErrors = []; | ||
for (let i = 0; i < srcValue.length; i++) { | ||
const errLength = Math.max(srcValue.length, objValue.length); | ||
for (let i = 0; i < errLength; i++) { | ||
let obj = objValue[i]; | ||
@@ -22,0 +23,0 @@ let src = srcValue[i]; |
@@ -35,3 +35,3 @@ import { executeTransforms } from './packages/common/dist/esm/utils/executeTransforms.js'; | ||
if (Array.isArray(errValue)) | ||
return errValue; | ||
return touchValue ? errValue : null; | ||
return touchValue && errValue ? [errValue] : null; | ||
@@ -38,0 +38,0 @@ } |
{ | ||
"name": "@felte/core", | ||
"version": "1.0.0-next.16", | ||
"version": "1.0.0-next.17", | ||
"description": "Core package for FelteJS", | ||
@@ -27,3 +27,3 @@ "main": "dist/cjs/index.js", | ||
"dependencies": { | ||
"@felte/common": "1.0.0-next.13" | ||
"@felte/common": "1.0.0-next.14" | ||
}, | ||
@@ -30,0 +30,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
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
349362
3020
+ Added@felte/common@1.0.0-next.14(transitive)
- Removed@felte/common@1.0.0-next.13(transitive)
Updated@felte/common@1.0.0-next.14