Socket
Socket
Sign inDemoInstall

dynamodb-admin

Package Overview
Dependencies
Maintainers
4
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynamodb-admin - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

15

lib/backend.js

@@ -5,2 +5,3 @@ const express = require('express')

const path = require('path')
const fs = require('fs')
const errorhandler = require('errorhandler')

@@ -58,6 +59,10 @@ const { extractKey, extractKeysForItems, parseKey } = require('./util')

if (AWS.config) {
dynamoConfig.region = AWS.config.region
if (AWS.config.region !== undefined) {
dynamoConfig.region = AWS.config.region
}
if (AWS.config.credentials) {
dynamoConfig.accessKeyId = AWS.config.credentials.accessKeyId
if (AWS.config.credentials.accessKeyId !== undefined) {
dynamoConfig.accessKeyId = AWS.config.credentials.accessKeyId
}
}

@@ -95,3 +100,7 @@ }

if (!dynamodb || !docClient) {
process.env.AWS_SDK_LOAD_CONFIG=1
if (fs.existsSync(path.join(process.env.HOME, '.aws', 'credentials')) &&
fs.existsSync(path.join(process.env.HOME, '.aws', 'config'))) {
process.env.AWS_SDK_LOAD_CONFIG = 1
}
const AWS = require('aws-sdk')

@@ -98,0 +107,0 @@

2

package.json
{
"name": "dynamodb-admin",
"version": "3.0.0",
"version": "3.0.1",
"description": "GUI for DynamoDB. Useful for local development.",

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