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

mongoose-url-slugs

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-url-slugs - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

4

index.js

@@ -68,6 +68,6 @@ var extend = require('extend');

schema.statics.findBySlug = function (slug, fields, options, cb) {
schema.statics.findBySlug = function (slug, fields, additionalOptions, cb) {
var q = {};
q[options.field] = slug;
return this.findOne(q, fields, options, cb);
return this.findOne(q, fields, additionalOptions, cb);
};

@@ -74,0 +74,0 @@

@@ -9,3 +9,3 @@ {

"description": "Create URL compatiable slugs on mongoose models, ensuring uniqueness.",
"version": "0.0.8",
"version": "0.0.9",
"keywords": [

@@ -12,0 +12,0 @@ "mongoose slugs",

@@ -67,2 +67,3 @@ # Mongoose URL Slugs

* v0.0.9 (2014-06-14) -- findBySlug bug fixed.
* v0.0.8 (2014-06-10) -- slug generation improved.

@@ -69,0 +70,0 @@ * v0.0.6 (2014-06-10) -- incremented slug generation bug fix and minor optimizations.

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