@8base/utils
Advanced tools
Comparing version 2.5.0 to 2.6.2
@@ -6,2 +6,29 @@ # Change Log | ||
## [2.6.2](https://github.com/8base/sdk/compare/v2.6.1...v2.6.2) (2021-10-29) | ||
**Note:** Version bump only for package @8base/utils | ||
## [2.6.1](https://github.com/8base/sdk/compare/v2.6.0...v2.6.1) (2021-10-29) | ||
**Note:** Version bump only for package @8base/utils | ||
# [2.6.0](https://github.com/8base/sdk/compare/v2.5.2...v2.6.0) (2021-10-29) | ||
### Bug Fixes | ||
* ignore default value for array fields ([825f2a9](https://github.com/8base/sdk/commit/825f2a9)) | ||
# [2.5.0](https://github.com/8base/sdk/compare/v2.4.0...v2.5.0) (2021-08-23) | ||
@@ -8,0 +35,0 @@ |
@@ -110,5 +110,6 @@ "use strict"; | ||
} | ||
if (Array.isArray(formatedFieldData) && R.equals(formatedFieldData, initialFieldData)) { | ||
return result; | ||
} | ||
// TODO: need to discuss with core team how to handle case when filed `isList` and have `Default Value` | ||
// if (Array.isArray(formatedFieldData) && R.equals(formatedFieldData, initialFieldData)) { | ||
// return result; | ||
// } | ||
return Object.assign(Object.assign({}, result), { [fieldName]: formatedFieldData }); | ||
@@ -115,0 +116,0 @@ }, {}, dataKeys); |
{ | ||
"name": "@8base/utils", | ||
"version": "2.5.0", | ||
"version": "2.6.2", | ||
"repository": "https://github.com/8base/sdk", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/8base/sdk/tree/master/packages/core/utils", |
@@ -138,5 +138,6 @@ import * as R from 'ramda'; | ||
if (Array.isArray(formatedFieldData) && R.equals(formatedFieldData, initialFieldData)) { | ||
return result; | ||
} | ||
// TODO: need to discuss with core team how to handle case when filed `isList` and have `Default Value` | ||
// if (Array.isArray(formatedFieldData) && R.equals(formatedFieldData, initialFieldData)) { | ||
// return result; | ||
// } | ||
@@ -143,0 +144,0 @@ return { |
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
331397
5300