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

cypress-mongodb

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-mongodb - npm Package Compare versions

Comparing version 5.1.3 to 5.1.4

2

dist/commands/find.js

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

}
args.pipeline = (0, bson_1.serialize)(args.pipeline);
return cy.task('findOne', args).then(function (result) {

@@ -47,2 +48,3 @@ if (result !== null)

}
args.pipeline = (0, bson_1.serialize)(args.pipeline);
return cy.task('findMany', args).then(function (result) {

@@ -49,0 +51,0 @@ return Object.values((0, bson_1.deserialize)(Buffer.from(result)));

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

return __generator(this, function (_a) {
args.pipeline = (0, bson_1.deserialize)(Buffer.from(args.pipeline));
return [2, mongodb_1.MongoClient.connect(args.uri).then(function (client) { return __awaiter(_this, void 0, void 0, function () {

@@ -82,2 +83,3 @@ var result, err_1;

return __generator(this, function (_a) {
args.pipeline = (0, bson_1.deserialize)(Buffer.from(args.pipeline));
return [2, mongodb_1.MongoClient.connect(args.uri).then(function (client) {

@@ -84,0 +86,0 @@ return client

4

package.json
{
"name": "cypress-mongodb",
"version": "5.1.3",
"version": "5.1.4",
"description": "Cypress MongoDB plugin",

@@ -8,3 +8,3 @@ "main": "./dist/index.js",

"scripts": {
"prebuild": "npx prettier --write src/",
"prebuild": "npx prettier --write src/ cypress/",
"build": "tsc -d",

@@ -11,0 +11,0 @@ "test": "cypress run",

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