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

mockingoose

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mockingoose - npm Package Compare versions

Comparing version 2.8.2 to 2.9.0

3

lib/index.js

@@ -15,3 +15,4 @@ 'use strict';

_mongoose2.default.Promise = Promise;
if (!/^5/.test(_mongoose2.default.version)) _mongoose2.default.Promise = Promise;
_mongoose2.default.connect = jest.fn().mockImplementation(function () {

@@ -18,0 +19,0 @@ return Promise.resolve();

{
"name": "mockingoose",
"version": "2.8.2",
"version": "2.9.0",
"description": "A Jest package for mocking mongoose models",

@@ -32,3 +32,3 @@ "main": "./lib",

"peerDependencies": {
"mongoose": "^4.13.9"
"mongoose": ">=4.9.10"
},

@@ -40,6 +40,3 @@ "jest": {

"node": ">=6.4.0"
},
"dependencies": {
"mongoose": "^4.13.9"
}
}

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