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

model-generator

Package Overview
Dependencies
Maintainers
3
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

model-generator - npm Package Compare versions

Comparing version 0.7.3 to 0.7.4

5

ModelGeneratorModule.js

@@ -78,5 +78,8 @@ let DefaultValidators = require('./defaultValidators');

Structure.properties.forEach(function(prop) {
if(this[prop.Name]){
if (typeof this[prop.Name].getCleanModel === "function") {
console.log(this[prop.Name]);
}
}
}
ModelToReturn[prop.Name]=this[prop.Name];

@@ -83,0 +86,0 @@ }, this);

2

package.json
{
"name": "model-generator",
"version": "0.7.3",
"version": "0.7.4",
"description": "Model generator for applications that need models with typings and validation without the help of typescript",

@@ -5,0 +5,0 @@ "main": "ModelGeneratorModule.js",

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