Comparing version 0.4.5 to 0.4.6
@@ -53,3 +53,4 @@ var util = require('util'); | ||
chunk = []; | ||
thisChunk = 0; | ||
chunk.push(putRequests[i]); | ||
thisChunk = putRequestSizes[i]; | ||
} | ||
@@ -98,2 +99,3 @@ } | ||
chunk = []; | ||
chunk.push(deleteRequests[i]); | ||
} | ||
@@ -154,2 +156,2 @@ } | ||
return size; | ||
} | ||
} |
{ | ||
"name": "dyno", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"description": "Simple DynamoDB client", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -15,3 +15,6 @@ var test = require('tap').test; | ||
t.equal(err, null); | ||
t.end(); | ||
dyno.scan({pages:0}, function(err, data){ | ||
t.equal(data.items.length, 1000, 'there are the right number of items in dynamo'); | ||
t.end(); | ||
}); | ||
} | ||
@@ -22,3 +25,3 @@ }); | ||
var itemIds = randomItems(1000).map(function(item){ | ||
return { | ||
return { | ||
id: item.id, | ||
@@ -32,3 +35,6 @@ range: item.range | ||
t.equal(err, null); | ||
t.end(); | ||
dyno.scan({pages:0}, function(err, data){ | ||
t.equal(data.items.length, 0, 'there are the right number of items in dynamo'); | ||
t.end(); | ||
}); | ||
} | ||
@@ -35,0 +41,0 @@ }); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
34313
1001
0