mongoose-encryption
Advanced tools
Comparing version 1.2.2 to 1.2.3
# Release Notes | ||
## v.1.2.3 | ||
2015-11-29 | ||
- Change Mongoose to peer dependency | ||
- Check for compatibility with Node and Mongoose versions | ||
## v.1.2.2 | ||
@@ -4,0 +9,0 @@ 2015-11-4 |
@@ -7,2 +7,3 @@ 'use strict'; | ||
var mongoose = require('mongoose'); | ||
var semver = require('semver') | ||
var ObjectId = mongoose.Types.ObjectId; | ||
@@ -72,2 +73,7 @@ var stableStringify = require('json-stable-stringify'); | ||
if(semver.gt(process.version, '4.0.0')){ | ||
if(semver.lt(mongoose.version, '4.2.4')){ | ||
throw new Error('Mongoose version 4.2.4 or greater is required for Node version 4.0.0 or greater'); | ||
} | ||
} | ||
@@ -74,0 +80,0 @@ // Exported Plugin // |
{ | ||
"name": "mongoose-encryption", | ||
"description": "Simple encryption and authentication plugin for Mongoose", | ||
"version": "1.2.2", | ||
"version": "1.2.3", | ||
"author": { | ||
@@ -31,8 +31,11 @@ "name": "Joe Goldbeck" | ||
"dotty": "0.0.2", | ||
"mongoose": ">=4.2.4", | ||
"underscore": "1.5.x", | ||
"buffer-equal-constant-time": "1.0.1", | ||
"json-stable-stringify": "1.0.0", | ||
"async": "0.9.0" | ||
"async": "0.9.0", | ||
"semver": "5.1.x" | ||
}, | ||
"peerDependencies":{ | ||
"mongoose": ">=3.8.28" | ||
}, | ||
"devDependencies": { | ||
@@ -39,0 +42,0 @@ "mocha": "1.x.x", |
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
115340
465
7
+ Addedsemver@5.1.x
+ Addedsemver@5.1.1(transitive)
- Removedmongoose@>=4.2.4