From 982fe9e52bd966bbae6f2ed88b76b97af07776e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Thu, 11 Jul 2019 23:10:24 -0300 Subject: [PATCH] Update jquery-validation to 1.19.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maurício Meneghini Fauth --- js/vendor/jquery/additional-methods.js | 4 ++-- js/vendor/jquery/jquery.validate.js | 6 +++--- package.json | 2 +- yarn.lock | 15 ++++----------- 4 files changed, 10 insertions(+), 17 deletions(-) diff --git a/js/vendor/jquery/additional-methods.js b/js/vendor/jquery/additional-methods.js index 54d5bd506e..c9e051d606 100644 --- a/js/vendor/jquery/additional-methods.js +++ b/js/vendor/jquery/additional-methods.js @@ -1,9 +1,9 @@ /*! - * jQuery Validation Plugin v1.19.0 + * jQuery Validation Plugin v1.19.1 * * https://jqueryvalidation.org/ * - * Copyright (c) 2018 Jörn Zaefferer + * Copyright (c) 2019 Jörn Zaefferer * Released under the MIT license */ (function( factory ) { diff --git a/js/vendor/jquery/jquery.validate.js b/js/vendor/jquery/jquery.validate.js index f526d50252..70297bd5c1 100644 --- a/js/vendor/jquery/jquery.validate.js +++ b/js/vendor/jquery/jquery.validate.js @@ -1,9 +1,9 @@ /*! - * jQuery Validation Plugin v1.19.0 + * jQuery Validation Plugin v1.19.1 * * https://jqueryvalidation.org/ * - * Copyright (c) 2018 Jörn Zaefferer + * Copyright (c) 2019 Jörn Zaefferer * Released under the MIT license */ (function( factory ) { @@ -620,7 +620,7 @@ $.extend( $.validator, { try { $( this.findLastActive() || this.errorList.length && this.errorList[ 0 ].element || [] ) .filter( ":visible" ) - .focus() + .trigger( "focus" ) // Manually trigger focusin event; without it, focusin handler isn't called, findLastActive won't have anything to find .trigger( "focusin" ); diff --git a/package.json b/package.json index f0ed3465c6..8be7e32ecd 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "jquery-mousewheel": "3.1.13", "jquery-ui": "1.12.1", "jquery-ui-timepicker-addon": "1.6.3", - "jquery-validation": "1.19.0", + "jquery-validation": "1.19.1", "jquery.event.drag": "2.2.2", "js-cookie": "2.2.0", "popper.js": "^1.14.6", diff --git a/yarn.lock b/yarn.lock index acec83b26f..0ec77b61e4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1618,12 +1618,10 @@ jquery-ui@1.12.1: resolved "https://registry.yarnpkg.com/jquery-ui/-/jquery-ui-1.12.1.tgz#bcb4045c8dd0539c134bc1488cdd3e768a7a9e51" integrity sha1-vLQEXI3QU5wTS8FIjN0+dop6nlE= -jquery-validation@1.19.0: - version "1.19.0" - resolved "https://registry.yarnpkg.com/jquery-validation/-/jquery-validation-1.19.0.tgz#0fedf0c0483a030c4fff072398898ac18cfd6e40" - integrity sha512-i1ygcs9K9eI0jqQ8fiOZdT0Ofw941YII1zyPQDUkBS8t2G8SoSWz8UUEVT6gV1KvsaBbovtL8YxjLALACR0syQ== - dependencies: - jquery "^1.7 || ^2.0 || ^3.1" +jquery-validation@1.19.1: + version "1.19.1" + resolved "https://registry.yarnpkg.com/jquery-validation/-/jquery-validation-1.19.1.tgz#a85043467dc2b70d9fff05778646d150e747742f" + integrity sha512-QNnrZBqSltWUEJx+shOY5WtfrIb0gWmDjFfQP8rZKqMMSfpRSwEkSqhfHPvDfkObD8Hnv5KHSYI8yg73sVFdqA== jquery.event.drag@2.2.2: version "2.2.2" @@ -1635,11 +1633,6 @@ jquery@3.4.1: resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.4.1.tgz#714f1f8d9dde4bdfa55764ba37ef214630d80ef2" integrity sha512-36+AdBzCL+y6qjw5Tx7HgzeGCzC81MDDgaUP8ld2zhx58HdqXGoBd+tHdrBMiyjGQs0Hxs/MLZTu/eHNJJuWPw== -"jquery@^1.7 || ^2.0 || ^3.1": - version "3.3.1" - resolved "https://registry.yarnpkg.com/jquery/-/jquery-3.3.1.tgz#958ce29e81c9790f31be7792df5d4d95fc57fbca" - integrity sha512-Ubldcmxp5np52/ENotGxlLe6aGMvmF4R8S6tZjsP6Knsaxd/xp3Zrh50cG93lR6nPXyUFwzN3ZSOQI0wRJNdGg== - js-cookie@2.2.0: version "2.2.0" resolved "https://registry.yarnpkg.com/js-cookie/-/js-cookie-2.2.0.tgz#1b2c279a6eece380a12168b92485265b35b1effb"