New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dynamomo

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamomo - npm Package Compare versions

Comparing version 0.1.0-beta.1 to 0.1.0-beta.2

14

dynamodb/dynamodb.js
'use strict'
const AWS = require('aws-sdk')
const REGION = 'us-west-2'
const REGION = 'us-east-1'
const DynamoDB = new AWS.DynamoDB({ apiVersion: '2012-08-10', region: REGION })
const docClient = new AWS.DynamoDB.DocumentClient({ region: REGION })
let DynamoDB
let docClient
function setRegion () {
DynamoDB = new AWS.DynamoDB({ apiVersion: '2012-08-10', region: REGION })
docClient = new AWS.DynamoDB.DocumentClient({ region: REGION })
}
module.exports = {
db: DynamoDB,
client: docClient
client: docClient,
setRegion: setRegion
}

@@ -12,3 +12,4 @@ 'use strict'

config: require('./config'),
getPolicy: require('./table-session').getPolicy
getPolicy: require('./table-session').getPolicy,
setRegion: DynamoDB.setRegion
}
{
"name": "dynamomo",
"version": "0.1.0-beta.1",
"version": "0.1.0-beta.2",
"description": "Dynamodb query helper",

@@ -5,0 +5,0 @@ "main": "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