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

@begin/data

Package Overview
Dependencies
Maintainers
4
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@begin/data - npm Package Compare versions

Comparing version 5.0.1 to 5.0.2

8

package.json
{
"name": "@begin/data",
"version": "5.0.1",
"version": "5.0.2",
"description": "Begin Data is a durable and fast key/value document store built on top of DynamoDB",

@@ -28,5 +28,5 @@ "main": "src/index.js",

"dependencies": {
"@aws-lite/client": "^0.16.1",
"@aws-lite/dynamodb": "^0.3.3",
"@aws-lite/ssm": "^0.2.2",
"@aws-lite/client": "^0.17.1",
"@aws-lite/dynamodb": "^0.3.4",
"@aws-lite/ssm": "^0.2.3",
"@begin/hashid": "^1.0.0",

@@ -33,0 +33,0 @@ "run-parallel": "^1.2.0",

@@ -18,6 +18,7 @@ let getPorts = require('./_get-ports')

if (!local) {
aws(function gotClient (err, client) {
let plugins = [ import('@aws-lite/dynamodb') ]
aws({ plugins }, function gotClient (err, client) {
if (err) callback(err)
else {
db = client.dynamodb
db = client.ddb
callback(null, db)

@@ -39,2 +40,3 @@ }

port,
plugins: [ import('@aws-lite/dynamodb') ],
region: AWS_REGION || 'us-west-2'

@@ -41,0 +43,0 @@ },

@@ -34,6 +34,9 @@ let toLogicalID = require('./_to-logical-id')

let config = {
endpoint: `http://localhost:2222/_arc/ssm`,
plugins: [ import('@aws-lite/ssm') ],
protocol: 'http',
host: 'localhost',
port: 2222,
pathPrefix: '_arc/ssm',
region: AWS_REGION || 'us-west-2',
}
aws(config, function gotClient (err, client) {

@@ -40,0 +43,0 @@ if (err) callback(err)

@@ -34,3 +34,6 @@ let util = require('util')

else go({
endpoint: `http://localhost:${ports._arc}/_arc/ssm`,
protocol: 'http',
host: 'localhost',
port: ports._arc,
pathPrefix: '_arc/ssm',
region: AWS_REGION || 'us-west-2',

@@ -44,4 +47,5 @@ })

function go (config) {
aws(config, function gotClient (err, client) {
function go (config = {}) {
let plugins = [ import('@aws-lite/ssm') ]
aws({ plugins, ...config }, function gotClient (err, client) {
if (err) callback(err)

@@ -48,0 +52,0 @@ else {

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