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

mongoose-encryption

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-encryption - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

5

CHANGELOG.md
# 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 //

9

package.json
{
"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",

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