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.6 to 0.0.7

2

lib/src/io/http/http.js

@@ -84,3 +84,2 @@ "use strict";

};
console.log('request', request);
return [4 /*yield*/, (0, axios_1.default)(request)];

@@ -290,2 +289,3 @@ case 1: return [2 /*return*/, _a.sent()];

lockId = response.data.lockId;
console.log('lockId', lockId);
unlockOp = {

@@ -292,0 +292,0 @@ path: blockPath,

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

}); });
test.only('Creating block works if parent collections exist', function () { return __awaiter(void 0, void 0, void 0, function () {
test('Creating block works if parent collections exist', function () { return __awaiter(void 0, void 0, void 0, function () {
var block, e_1;

@@ -399,3 +399,3 @@ return __generator(this, function (_a) {

}); });
test('Acquiring lock on block works', function () { return __awaiter(void 0, void 0, void 0, function () {
test.only('Acquiring lock on block works', function () { return __awaiter(void 0, void 0, void 0, function () {
var sleep, increment, t1, t2, blockDoc;

@@ -450,3 +450,3 @@ return __generator(this, function (_a) {

});
}); });
}); }, 20000);
test('Ensuring hierarchy works', function () { return __awaiter(void 0, void 0, void 0, function () {

@@ -453,0 +453,0 @@ var hblock3, hblock2, hcol3;

@@ -89,2 +89,4 @@ "use strict";

}
}, {
new: true
})];

@@ -114,2 +116,4 @@ case 1:

}
}, {
new: true
})];

@@ -116,0 +120,0 @@ case 1:

{
"name": "@mayahq/maya-db",
"version": "0.0.6",
"version": "0.0.7",
"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