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

fawn

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fawn - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

4

package.json
{
"name": "fawn",
"version": "1.2.2",
"version": "1.2.3",
"description": "Library for atomic-ish operations in MongoDB",

@@ -41,2 +41,2 @@ "main": "index.js",

}
}
}
# Fawn
## Promise based Library for atomic-ish operations in MongoDB
## Promise based Library for transactions in MongoDB

@@ -4,0 +4,0 @@ Fawn provides the ability to carry out edits on a mongoDB database as a series of steps. If an error occurs on any of the steps, the database is returned to it's initial state (it's state before the transaction started).

@@ -227,10 +227,3 @@ "use strict";

.remove(TEST_COLLECTION_A, {name: "Gabe's Owner"})
.run()
.then(function (results) {
results.forEach(function (r) {
// console.log("==>", r);
});
return Promise.resolve(results);
}))
.run())
.to.eventually.have.length(4);

@@ -237,0 +230,0 @@ });

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