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

@meanie/mongoose-to-json

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meanie/mongoose-to-json - npm Package Compare versions

Comparing version 2.2.0 to 2.3.0

4

index.js

@@ -25,3 +25,3 @@ 'use strict';

schema.options.toJSON = Object.assign(schema.options.toJSON || {}, {
transform(doc, ret) {
transform(doc, ret, options) {

@@ -45,3 +45,3 @@ //Remove private paths

if (transform) {
return transform(doc, ret);
return transform(doc, ret, options);
}

@@ -48,0 +48,0 @@ },

{
"name": "@meanie/mongoose-to-json",
"description": "A plugin for Mongoose to normalize JSON output",
"version": "2.2.0",
"version": "2.3.0",
"homepage": "https://github.com/meanie/mongoose-to-json",

@@ -6,0 +6,0 @@ "author": {

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