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

dynalite

Package Overview
Dependencies
Maintainers
1
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dynalite - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

validations/.tern-port

1

actions/createTable.js

@@ -1,2 +0,1 @@

var db = require('../db')

@@ -3,0 +2,0 @@ module.exports = function createTable(store, data, cb) {

{
"name": "dynalite",
"version": "0.2.0",
"version": "0.2.1",
"description": "A mock implementation of Amazon's DynamoDB built on LevelDB",

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

@@ -19,2 +19,3 @@ var validateAttributeValue = require('./index').validateAttributeValue

lengthGreaterThanOrEqual: 1,
lengthLessThanOrEqual: 100,
children: {

@@ -57,2 +58,3 @@ type: 'Map',

exports.custom = function(data) {
var numReqs = 0
for (var table in data.RequestItems) {

@@ -64,2 +66,5 @@ for (var i = 0; i < data.RequestItems[table].Keys.length; i++) {

}
numReqs++
if (numReqs > 100)
return 'Too many items requested for the BatchGetItem call'
}

@@ -66,0 +71,0 @@ }

@@ -87,2 +87,3 @@ var db = require('../db'),

exports.custom = function(data) {
var numReqs = 0
for (var table in data.RequestItems) {

@@ -109,2 +110,5 @@ if (!data.RequestItems[table].length)

}
numReqs++
if (numReqs > 25)
return 'Too many items requested for the BatchWriteItem call'
}

@@ -111,0 +115,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