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

commonform-validate

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

commonform-validate - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

2

package.json
{
"name": "commonform-validate",
"description": "Common Form content object validation",
"version": "0.2.0",
"version": "0.3.0",
"author": {

@@ -6,0 +6,0 @@ "name": "Kyle E. Mitchell",

@@ -111,3 +111,3 @@ var Immutable = require('immutable');

var subFactory = function(formPredicate) {
var inclusionFactory = function(formPredicate) {
return function(argument) {

@@ -122,8 +122,8 @@ return (

argument.has('form') &&
formPredicate(argument.get('form')) &&
argument.has('include') &&
formPredicate(argument.get('include')) &&
argument.keySeq().every(function(key) {
return (
key === 'form' ||
key === 'include' ||
key === 'heading'

@@ -136,5 +136,5 @@ );

exports.inclusion = subFactory(digest);
exports.inclusion = inclusionFactory(digest);
exports.nestedInclusion = function() {
return subFactory(exports.nestedForm).apply(this, arguments);
return inclusionFactory(exports.nestedForm).apply(this, arguments);
};

@@ -276,2 +276,2 @@

exports.version = '0.2.0';
exports.version = '0.3.0';
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