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

electrodb

Package Overview
Dependencies
Maintainers
1
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electrodb - npm Package Compare versions

Comparing version 0.9.45 to 0.9.46

2

package.json
{
"name": "electrodb",
"version": "0.9.45",
"version": "0.9.46",
"description": "A library to more easily create and interact with multiple entities and heretical relationships in dynamodb",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -1049,3 +1049,3 @@ "use strict";

}
let composedKeys = this._makePutKeysFromAttributes(completeFacets.indexes, { ...keyAttributes, ...set });
let composedKeys = this._makePutKeysFromAttributes(completeFacets.indexes, { ...keyAttributes, ...setAttributes });
let updatedKeys = {};

@@ -1086,4 +1086,3 @@ let indexKey = {};

}
let composedKeys = this._makeKeysFromAttributes(completeFacets.impactedIndexTypes,{ ...keyAttributes, ...set });
let composedKeys = this._makeKeysFromAttributes(completeFacets.impactedIndexTypes,{ ...set, ...keyAttributes });
let updatedKeys = {};

@@ -1361,13 +1360,8 @@ let indexKey = {};

}
let value = this.model.schema.attributes[facet].set(supplied[name]);
// Undefined facet value means we cant build any more of the key
if (value == undefined) {
if (supplied[name] === undefined) {
break;
}
key = `${key}${value}`;
// This didnt used to leverage the setter before adding the value
// key = `${key}${supplied[name]}`;
key = `${key}${supplied[name]}`;
}

@@ -1374,0 +1368,0 @@ return key.toLowerCase();

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