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

@jupiterone/dynamodb-dao

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jupiterone/dynamodb-dao - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

9

index.js

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

const name = keys[i];
const valueName = `:${name}`;
const valueName = `:a${i}`;
const attributeName = `#a${i}`;

@@ -162,4 +162,3 @@ const value = data[name];

async update(key, data, updateOptions) {
const { Attributes: attributes } = await this.documentClient
.update(generateUpdateParams({
const params = generateUpdateParams({
tableName: this.tableName,

@@ -169,3 +168,5 @@ key,

...updateOptions,
}))
});
const { Attributes: attributes } = await this.documentClient
.update(params)
.promise();

@@ -172,0 +173,0 @@ return attributes;

{
"name": "@jupiterone/dynamodb-dao",
"version": "1.2.2",
"version": "1.2.3",
"description": "DynamoDB Data Access Object (DAO) helper library",

@@ -49,2 +49,3 @@ "main": "index.js",

"lodash.partition": "^4.6.0",
"nodemon": "^2.0.7",
"prettier": "^2.0.4",

@@ -51,0 +52,0 @@ "ts-jest": "^25.3.1",

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