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

@xapp/dynamo-service

Package Overview
Dependencies
Maintainers
5
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xapp/dynamo-service - npm Package Compare versions

Comparing version 0.0.104 to 0.0.105

xapp-dynamo-service-0.0.104.tgz

9

dist/service/TableService.js

@@ -126,3 +126,4 @@ "use strict";

this.getKey(key);
return this.db.get(this.tableName, realKey, projection)
const realProjection = projection || this.knownKeys;
return this.db.get(this.tableName, realKey, realProjection)
.then(item => (Array.isArray(item)) ? item.map((item) => this.convertObjFromDynamo(item)) : this.convertObjFromDynamo(item))

@@ -133,3 +134,4 @@ .then(item => (Array.isArray(item)) ? item.map((item) => this.cleanseObjectOfIgnoredGetItems(item)) : this.cleanseObjectOfIgnoredGetItems(item))

query(params, projection) {
return this.db.query(this.tableName, params, projection)
const realProjection = projection || this.knownKeys;
return this.db.query(this.tableName, params, realProjection)
.then(items => this.convertObjectsFromDynamo(items))

@@ -139,3 +141,4 @@ .then(items => this.cleanseIgnoredItemsOfDynamoObject(items));

scan(params, projection) {
return this.db.scan(this.tableName, params, projection)
const realProjection = projection || this.knownKeys;
return this.db.scan(this.tableName, params, realProjection)
.then(items => this.convertObjectsFromDynamo(items))

@@ -142,0 +145,0 @@ .then(items => this.cleanseIgnoredItemsOfDynamoObject(items));

{
"name": "@xapp/dynamo-service",
"version": "0.0.104",
"version": "0.0.105",
"description": "A dynamo help class which will help maintain data integrity.",

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

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