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

mongoose-gen

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

mongoose-gen - npm Package Compare versions

Comparing version 2.0.1 to 2.1.0

5

CHANGELOG.md
# Changelog
## Version 2.0.0
## Version 2.1.0 - Mar 27, 2015
* Enhancement: introduce support for Object type in schema definitions.
## Version 2.0.0 - Jan 27, 2015
* Fix bug: an instance of mongoose.Schema is somehow linked to the connection instance so it cannot be used for other connections.

@@ -5,0 +8,0 @@ * `.getSchema()` now requires an instance of mongoose.Connection

3

lib/generator.js

@@ -99,3 +99,4 @@ var util = require('util');

'objectid': mongoose.Schema.ObjectId,
'string': String
'string': String,
'object': Object
};

@@ -102,0 +103,0 @@ if (types[type.toLowerCase()]) {

{
"name": "mongoose-gen",
"version": "2.0.1",
"version": "2.1.0",
"description": "generates mongoose schemas from json documents",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/topliceanu/mongoose-gen",

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