You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

pd-forms

Package Overview
Dependencies
Maintainers
3
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pd-forms - npm Package Compare versions

Comparing version

to
4.0.1

src/assets/recaptcha/naja/pdForms.recaptcha.js

2

composer.json

@@ -26,3 +26,3 @@ {

"contributte/recaptcha": "^3.1",
"nette/di": "~2.4|~3.0.0",
"nette/di": "~2.4|^3.0.0",
"nette/utils": "~2.4|~3.0.0|~3.1.0|~3.2.0",

@@ -29,0 +29,0 @@ "pd/utils": "^1.0"

@@ -5,3 +5,3 @@ {

"description": "Customization of netteForms for use in PeckaDesign.",
"version": "3.6.2",
"version": "4.0.1",
"author": "PeckaDesign, s.r.o <support@peckadesign.cz>",

@@ -8,0 +8,0 @@ "contributors": [

/**
* @name pdForms
* @author Radek Šerý <radek.sery@peckadesign.cz>
* @version 3.6.2
* @version 4.0.1
*

@@ -48,3 +48,3 @@ * Features:

pdForms.version = '3.6.2';
pdForms.version = '4.0.1';

@@ -148,3 +148,3 @@

// data-nette-rules only for the first radio of given name, so we always validate that radio.
var validate = e.target.type === 'radio' ? [e.target.form[e.target.name].item(0)] : [e.target];
var validate = (e.target.form[e.target.name] instanceof RadioNodeList) ? [e.target.form[e.target.name].item(0)] : [e.target];
var groupName = e.target.getAttribute('data-pdforms-validation-group');

@@ -677,3 +677,3 @@

// reason explained in pdForms.liveValidation)
var elem = e.target.type === 'radio' ? e.target.form[e.target.name].item(0) : e.target;
var elem = (e.target.form[e.target.name] instanceof RadioNodeList) ? e.target.form[e.target.name].item(0) : e.target;
var everFocused = elem.getAttribute('data-pdforms-ever-focused');

@@ -680,0 +680,0 @@

@@ -5,3 +5,3 @@ /**

*
* Lazyload of recaptcha scripts and lazy binding the validation after interaction with form (eg. focus into input or
* Lazyload of recaptcha scripts and lazy binding the validation after interaction with form (e.g. focus into input or
* change of radio button, etc.). This version also works with forms submitted using nette.ajax.

@@ -8,0 +8,0 @@ */

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet