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

mongoose-gen

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongoose-gen - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

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

@@ -29,4 +29,4 @@ "homepage": "https://github.com/topliceanu/mongoose-gen",

"dependencies": {
"underscore": "1.7.0",
"mongoose": "3.8.21"
"underscore": "1.8.3",
"mongoose": "4.3.4"
},

@@ -33,0 +33,0 @@ "devDependencies": {

@@ -84,3 +84,3 @@ # mongoose-gen

- [/examples/basic-usage.js](https://github.com/topliceanu/mongoose-gen/blob/master/examples/basic-usage.js) shows how to add validation methods to your json schema, then checks if storing an retrieving data works.
- [/examples/nested-models.js](https://github.com/topliceanu/mongoose-gen/blob/master/examples/nested-models.js) shows how to defined models with nested levels.
- [/examples/nested-models.js](https://github.com/topliceanu/mongoose-gen/blob/master/examples/nested-models.js) shows how to define schemas with nested levels.
- [/examples/using-dbrefs.js](https://github.com/topliceanu/mongoose-gen/blob/master/examples/using-dbrefs.js) shows how you can reference other models from the json schema.

@@ -165,2 +165,5 @@

All nested documents support setters, getters, defaults and validators.
## Upgrading to mongoose-gen v1.0.0 from previous v0.x.x

@@ -167,0 +170,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet