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
2
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.5.5 to 0.5.6

2

defaultValidators/base64.js
module.exports = {
Name : 'Base64',
Validate : (value) => {
const base64Re = /smt/;
const base64Re = /^[a-zA-z0-9-_]*$/;
if (!base64Re.test(value)) {

@@ -6,0 +6,0 @@ throw Error('Property was not valid');

{
"name": "model-generator",
"version": "0.5.5",
"version": "0.5.6",
"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