mockingoose
Advanced tools
Comparing version 2.8.2 to 2.9.0
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18900
1
+ Added@mongodb-js/saslprep@1.1.9(transitive)
+ Added@types/webidl-conversions@7.0.3(transitive)
+ Added@types/whatwg-url@11.0.5(transitive)
+ Addedbson@6.10.1(transitive)
+ Addeddebug@4.4.0(transitive)
+ Addedkareem@2.6.3(transitive)
+ Addedmemory-pager@1.5.0(transitive)
+ Addedmongodb@6.10.0(transitive)
+ Addedmongodb-connection-string-url@3.0.1(transitive)
+ Addedmongoose@8.8.4(transitive)
+ Addedmpath@0.9.0(transitive)
+ Addedmquery@5.0.0(transitive)
+ Addedms@2.1.3(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedsift@17.1.3(transitive)
+ Addedsparse-bitfield@3.0.3(transitive)
+ Addedtr46@4.1.1(transitive)
+ Addedwebidl-conversions@7.0.0(transitive)
+ Addedwhatwg-url@13.0.0(transitive)
- Removedmongoose@^4.13.9
- Removedasync@2.6.0(transitive)
- Removedbluebird@3.5.0(transitive)
- Removedbson@1.0.9(transitive)
- Removedbuffer-shims@1.0.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removeddebug@2.6.9(transitive)
- Removedes6-promise@3.2.1(transitive)
- Removedhooks-fixed@2.0.2(transitive)
- Removedinherits@2.0.4(transitive)
- Removedisarray@1.0.0(transitive)
- Removedkareem@1.5.0(transitive)
- Removedlodash@4.17.21(transitive)
- Removedlodash.get@4.4.2(transitive)
- Removedmongodb@2.2.34(transitive)
- Removedmongodb-core@2.1.18(transitive)
- Removedmongoose@4.13.21(transitive)
- Removedmpath@0.5.1(transitive)
- Removedmpromise@0.5.5(transitive)
- Removedmquery@2.3.3(transitive)
- Removedms@2.0.0(transitive)
- Removedmuri@1.3.0(transitive)
- Removedprocess-nextick-args@1.0.7(transitive)
- Removedreadable-stream@2.2.7(transitive)
- Removedregexp-clone@0.0.1(transitive)
- Removedrequire_optional@1.0.1(transitive)
- Removedresolve-from@2.0.0(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsemver@5.7.2(transitive)
- Removedsliced@0.0.51.0.1(transitive)
- Removedstring_decoder@1.0.3(transitive)
- Removedutil-deprecate@1.0.2(transitive)