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

alamid-schema

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alamid-schema - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

2

package.json
{
"name": "alamid-schema",
"version": "0.3.0",
"version": "0.3.1",
"description": "Extendable mongoose-like schemas for node.js and the browser",

@@ -5,0 +5,0 @@ "main": "lib/Schema.js",

@@ -19,2 +19,9 @@ "use strict";

// Return immediately if the field has no validator defined
if (pending === 0) {
setTimeout(function () {
return callback(result);
}, 0);
}
function validationDone(res) {

@@ -131,6 +138,2 @@ pending--;

this.keys.forEach(function (key) {
if (self.validators[key].length === 0) {
return;
}
pending++;

@@ -137,0 +140,0 @@ runValidation(self.validators[key], model[key], model, function (res) {

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