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

mongoose-beautiful-unique-validation

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-beautiful-unique-validation - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "mongoose-beautiful-unique-validation",
"version": "0.1.1",
"version": "0.1.2",
"description": "A Mongoose plugin that beautifies errors that are triggered on duplicate insertion",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -6,2 +6,5 @@ # mongoose-beautiful-unique-validation

[![npm version](https://img.shields.io/npm/v/mongoose-beautiful-unique-validation.svg?style=flat-square)](https://www.npmjs.com/package/mongoose-beautiful-unique-validation)
[![npm downloads](https://img.shields.io/npm/dm/mongoose-beautiful-unique-validation.svg?style=flat-square)](https://www.npmjs.com/package/mongoose-beautiful-unique-validation)
Mongoose allows you to define an unique index on a Schema's path, like this:

@@ -8,0 +11,0 @@

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