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

best-dynamo-js

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

best-dynamo-js - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

6

commands/index.js
async function* pageCommandGenerator(client, command, initialParams) {
let params = JSON.parse(JSON.stringify(initialParams))
while (true) {
const pageResult = await client[command](initialParams)
const pageResult = await client[command](params)
yield pageResult.Items
if (pageResult.LastEvaluatedKey) {
initialParams.ExclusiveStartKey = pageResult.LastEvaluatedKey
params = JSON.parse(JSON.stringify(initialParams))
params.ExclusiveStartKey = pageResult.LastEvaluatedKey
} else {

@@ -8,0 +10,0 @@ break

{
"name": "best-dynamo-js",
"version": "0.1.0",
"version": "0.1.1",
"description": "A collection of middlewares and custom commands that make using DynamoDB with javascript easier",

@@ -28,3 +28,7 @@ "license": "MIT",

"peggy": "^4.0.2"
},
"devDependencies": {
"@aws-sdk/client-dynamodb": "^3.569.0",
"@aws-sdk/lib-dynamodb": "^3.569.0"
}
}
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