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

pv-dynamodb-leveldown

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pv-dynamodb-leveldown - npm Package Compare versions

Comparing version 3.2.3 to 3.2.4

1

dist/lib/dynamoDbDown.d.ts

@@ -25,2 +25,3 @@ import { DynamoDB } from 'aws-sdk';

_iterator(options: AbstractIteratorOptions<any>): AbstractIterator<any, any>;
_getMany(keys: any[], options?: AbstractGetOptions, cb?: ErrorValueCallback<any[]>): Promise<void>;
deleteTable(): Promise<boolean>;

@@ -27,0 +28,0 @@ }

@@ -324,2 +324,30 @@ "use strict";

};
DynamoDbDown.prototype._getMany = function (keys, options, cb) {
var _a;
return __awaiter(this, void 0, void 0, function () {
var ret, vals, _i, keys_1, key, val, e_7;
return __generator(this, function (_b) {
switch (_b.label) {
case 0:
_b.trys.push([0, 2, , 3]);
return [4 /*yield*/, ((_a = this.dynamoDbAsync) === null || _a === void 0 ? void 0 : _a.getBatch(keys))];
case 1:
ret = _b.sent();
vals = [];
for (_i = 0, keys_1 = keys; _i < keys_1.length; _i++) {
key = keys_1[_i];
val = ret[key];
vals.push(this.deserialize(val, options === null || options === void 0 ? void 0 : options.asBuffer));
}
cb(undefined, vals);
return [3 /*break*/, 3];
case 2:
e_7 = _b.sent();
cb(e_7, []);
return [3 /*break*/, 3];
case 3: return [2 /*return*/];
}
});
});
};
DynamoDbDown.prototype.deleteTable = function () {

@@ -326,0 +354,0 @@ return __awaiter(this, void 0, void 0, function () {

2

package.json

@@ -107,3 +107,3 @@ {

},
"version": "3.2.3"
"version": "3.2.4"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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