Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@8base/utils

Package Overview
Dependencies
Maintainers
6
Versions
235
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@8base/utils - npm Package Compare versions

Comparing version 2.5.0 to 2.6.2

27

CHANGELOG.md

@@ -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 @@

7

dist/formatters/formatDataForMutation.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc