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.2.1 to 1.2.2

2

index.js

@@ -63,4 +63,4 @@ var mongoose = require('mongoose'),

schema.pre('save', function (next) {
var doc = this;
if (typeof(doc[settings.field]) !== 'number' || settings.incrementOnUpdate) {
var doc = this;
(function save() {

@@ -67,0 +67,0 @@ if (ready) {

{
"name": "mongoose-auto-increment",
"version": "1.2.1",
"version": "1.2.2",
"description": "This plugin allows you to auto-increment any field on any mongoose schema that you wish.",

@@ -5,0 +5,0 @@ "repository": {

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