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

compose-form-up

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

compose-form-up - npm Package Compare versions

Comparing version 1.3.2 to 1.3.3

5

lib/validation.js
// Dependencies
var toolbox = require( 'compose-toolbox' ),
Event = toolbox.event,
matches = toolbox.matches,
getClosest = toolbox.getClosest,

@@ -47,3 +46,3 @@ wordCount = toolbox.wordCount,

// Scoped variables
var inputs = form.querySelectorAll( ':not([disabled]) [required]' ),
var inputs = form.querySelectorAll( '[required]' ),
invalidInput;

@@ -54,3 +53,3 @@

// if invalid
if ( !checkInput( input ) ) {
if ( !getClosest( input, '[disabled]' ) && !checkInput( input ) ) {
invalidInput = input

@@ -57,0 +56,0 @@ return true

2

package.json
{
"name": "compose-form-up",
"version": "1.3.2",
"version": "1.3.3",
"description": "A lightweight HTML5 form validation utility",

@@ -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