New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mongoose-auto-increment

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-auto-increment - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

9

index.js

@@ -1,2 +0,3 @@

var mongoose = require('mongoose');
var mongoose = require('mongoose'),
extend = require('extend');

@@ -32,6 +33,6 @@ var counterSchema = new mongoose.Schema({

switch (typeof(options)) {
case 'String':
case 'string':
settings.model = options;
break;
case 'Object':
case 'object':
extend(settings, options);

@@ -83,2 +84,2 @@ break;

});
};
};
{
"name": "mongoose-auto-increment",
"version": "1.1.0",
"version": "1.2.0",
"description": "This plugin allows you to auto-increment any field on any mongoose schema that you wish.",

@@ -9,2 +9,6 @@ "repository": {

},
"dependencies": {
"mongoose": "*",
"extend": "*"
},
"keywords": [

@@ -11,0 +15,0 @@ "mongoose",

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