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

@8base/utils

Package Overview
Dependencies
Maintainers
2
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 0.15.3 to 0.15.4

4

dist/queryGenerators/createQueryObject.js

@@ -20,2 +20,4 @@ "use strict";

var DEFAULT_DEPTH = 1;
var getTableByName = function getTableByName(tablesList, tableName) {

@@ -49,3 +51,3 @@ return tablesList.find(function (_ref) {

var _queryObjectConfig$de = queryObjectConfig.deep,
deep = _queryObjectConfig$de === void 0 ? 3 : _queryObjectConfig$de,
deep = _queryObjectConfig$de === void 0 ? DEFAULT_DEPTH : _queryObjectConfig$de,
_queryObjectConfig$wi = queryObjectConfig.withMeta,

@@ -52,0 +54,0 @@ withMeta = _queryObjectConfig$wi === void 0 ? true : _queryObjectConfig$wi,

{
"name": "@8base/utils",
"version": "0.15.3",
"version": "0.15.4",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "dist/index.js",

@@ -8,3 +8,2 @@ // @flow

export type CheckedRule = {

@@ -16,2 +15,4 @@ id: string,

const DEFAULT_DEPTH = 1;
const getTableByName = (tablesList: TableSchema[], tableName: string) =>

@@ -41,3 +42,7 @@ tablesList.find(({ name }) => tableName === name);

const { fields = [] } = getTableByName(tablesList, tableName) || {};
const { deep = 3, withMeta = true, includeColumns } = queryObjectConfig;
const {
deep = DEFAULT_DEPTH,
withMeta = true,
includeColumns,
} = queryObjectConfig;

@@ -44,0 +49,0 @@ const queryObject = {};

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