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

ab-models

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ab-models - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

test/test.js

7

package.json
{
"name": "ab-models",
"version": "1.0.14",
"version": "1.0.15",
"description": "",
"main": "src/index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "node test/test.js"
},

@@ -14,3 +14,6 @@ "author": "",

"bcrypt-nodejs": "0.0.3"
},
"devDependencies": {
"mongoose": "^3.8.25"
}
}

@@ -15,7 +15,7 @@ var mongoose = require('../mongoose.js')();

},
email {
email: {
type: String,
required: true,
trim: true,
match: [/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/, 'Please fill a valid email address']
match: [/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/, 'Invalid email address']
},

@@ -22,0 +22,0 @@ modified: { type: Date, default: Date.now }

Sorry, the diff of this file is not supported yet

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