Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

satpam

Package Overview
Dependencies
Maintainers
1
Versions
114
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

satpam - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

8

index.js

@@ -45,3 +45,3 @@ 'use strict';

var validations = {
var validation = {
required: required.validator,

@@ -99,3 +99,3 @@ numeric: numeric.validator,

this.validation = {
rules: _.cloneDeep(validations),
rules: _.cloneDeep(validation),
messages: _.cloneDeep(validationMessages)

@@ -234,5 +234,5 @@ };

},
validations: validations,
validation: validation,
addCustomValidation: function (ruleName, fn) {
validations[ruleName] = fn;
validation[ruleName] = fn;
},

@@ -239,0 +239,0 @@ setValidationMessage: function (ruleName, message) {

{
"name": "satpam",
"version": "0.0.10",
"version": "0.0.11",
"description": "Simple and Effective Object Validator",

@@ -5,0 +5,0 @@ "main": "index.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