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

occamsrazor-validator

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

occamsrazor-validator - npm Package Compare versions

Comparing version 8.0.0 to 8.0.1

7

index.js

@@ -5,4 +5,5 @@ var match = require('occamsrazor-match');

var ValidationResult = require('./lib/validation-result');
var setName = require('./lib/setName');
var setName = require('occamsrazor-match/lib/setName');
function buildValidator(baseScore, funcs) {

@@ -33,5 +34,3 @@ baseScore = baseScore || 0;

setName(validator, innerValidator.name + ' (score: ' + validator.score() + ')');
return validator;
return setName(validator, innerValidator.name + ' (score: ' + validator.score() + ')');
}

@@ -38,0 +37,0 @@

var ValidationResult = require('./validation-result');
var setName = require('./setName');
var setName = require('occamsrazor-match/lib/setName');

@@ -35,4 +35,3 @@ function addValidatorName(validatorName, callback) {

validatorWrapper.validators = validators;
setName(validatorWrapper, validatorName);
return validatorWrapper;
return setName(validatorWrapper, validatorName);
};
{
"name": "occamsrazor-validator",
"version": "8.0.0",
"version": "8.0.1",
"description": "A duck-typing library",

@@ -34,4 +34,4 @@ "main": "index.js",

"dependencies": {
"occamsrazor-match": "^2.1.1"
"occamsrazor-match": "^2.2.1"
}
}
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