Socket
Socket
Sign inDemoInstall

@mayahq/maya-db

Package Overview
Dependencies
168
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.7 to 0.0.8

6

lib/src/io/mongo/lock.js

@@ -137,10 +137,10 @@ "use strict";

lockDocument = _a.sent();
return [2 /*return*/, callback(null, releaseFunction, lockDocument)];
return [2 /*return*/, callback(null, releaseFunction, lockDocument, lockId_1)];
case 4:
e_1 = _a.sent();
return [2 /*return*/, callback(e_1, null, null)];
case 5: return [2 /*return*/, callback(null, releaseFunction, lockDocument)];
case 5: return [2 /*return*/, callback(null, releaseFunction, lockDocument, lockId_1)];
case 6:
e_2 = _a.sent();
return [2 /*return*/, callback(e_2, null, null)];
return [2 /*return*/, callback(e_2, null, null, null)];
case 7: return [2 /*return*/];

@@ -147,0 +147,0 @@ }

@@ -359,3 +359,3 @@ "use strict";

return new Promise(function (resolve, reject) {
_this.lock.acquire(blockPath, function (e, releaseLock, lockDocument) { return __awaiter(_this, void 0, void 0, function () {
_this.lock.acquire(blockPath, function (e, releaseLock, lockDocument, lockId) { return __awaiter(_this, void 0, void 0, function () {
var res, e_2;

@@ -362,0 +362,0 @@ return __generator(this, function (_a) {

{
"name": "@mayahq/maya-db",
"version": "0.0.7",
"version": "0.0.8",
"description": "A small, encrypted simple document database meant for client-side use.",

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc