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

@8base/utils

Package Overview
Dependencies
Maintainers
5
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 1.2.7 to 1.2.8

3

dist/formatters/formatDataAfterQuery.js

@@ -37,2 +37,5 @@ "use strict";

}
else if (verifiers_1.isGeoField(fieldSchema) && data[fieldName]) {
result[fieldName] = data[fieldName].coordinates;
}
else if (!verifiers_1.isMetaField(fieldSchema) || constants_1.UPDATE_META_FIELDS_TO_PRESERVE[fieldName]) {

@@ -39,0 +42,0 @@ result = R.assoc(fieldName, data[fieldName], result);

2

package.json
{
"name": "@8base/utils",
"version": "1.2.7",
"version": "1.2.8",
"repository": "https://github.com/8base/sdk",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/8base/sdk/tree/master/packages/utils#readme",

import * as R from 'ramda';
import { tableSelectors, tablesListSelectors } from '../selectors';
import { isRelationField, isFileField, isListField, isMetaField } from '../verifiers';
import { isRelationField, isFileField, isListField, isMetaField, isGeoField } from '../verifiers';
import { Schema, FormatDataAfterQueryOptions } from '../types';

@@ -49,2 +49,4 @@ import { SDKError, ERROR_CODES, PACKAGES } from '../errors';

}
} else if (isGeoField(fieldSchema) && data[fieldName]) {
result[fieldName] = data[fieldName].coordinates;
} else if (!isMetaField(fieldSchema) || UPDATE_META_FIELDS_TO_PRESERVE[fieldName]) {

@@ -51,0 +53,0 @@ result = R.assoc(fieldName, data[fieldName], result);

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