Update jquery-validation to 1.19.2
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
649be263f5
commit
84ad1bfd90
4
js/vendor/jquery/additional-methods.js
vendored
4
js/vendor/jquery/additional-methods.js
vendored
@ -1,9 +1,9 @@
|
||||
/*!
|
||||
* jQuery Validation Plugin v1.19.1
|
||||
* jQuery Validation Plugin v1.19.2
|
||||
*
|
||||
* https://jqueryvalidation.org/
|
||||
*
|
||||
* Copyright (c) 2019 Jörn Zaefferer
|
||||
* Copyright (c) 2020 Jörn Zaefferer
|
||||
* Released under the MIT license
|
||||
*/
|
||||
(function( factory ) {
|
||||
|
||||
15
js/vendor/jquery/jquery.validate.js
vendored
15
js/vendor/jquery/jquery.validate.js
vendored
@ -1,9 +1,9 @@
|
||||
/*!
|
||||
* jQuery Validation Plugin v1.19.1
|
||||
* jQuery Validation Plugin v1.19.2
|
||||
*
|
||||
* https://jqueryvalidation.org/
|
||||
*
|
||||
* Copyright (c) 2019 Jörn Zaefferer
|
||||
* Copyright (c) 2020 Jörn Zaefferer
|
||||
* Released under the MIT license
|
||||
*/
|
||||
(function( factory ) {
|
||||
@ -216,18 +216,25 @@ $.extend( $.fn, {
|
||||
}
|
||||
} );
|
||||
|
||||
// JQuery trim is deprecated, provide a trim method based on String.prototype.trim
|
||||
var trim = function( str ) {
|
||||
|
||||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/trim#Polyfill
|
||||
return str.replace( /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "" );
|
||||
};
|
||||
|
||||
// Custom selectors
|
||||
$.extend( $.expr.pseudos || $.expr[ ":" ], { // '|| $.expr[ ":" ]' here enables backwards compatibility to jQuery 1.7. Can be removed when dropping jQ 1.7.x support
|
||||
|
||||
// https://jqueryvalidation.org/blank-selector/
|
||||
blank: function( a ) {
|
||||
return !$.trim( "" + $( a ).val() );
|
||||
return !trim( "" + $( a ).val() );
|
||||
},
|
||||
|
||||
// https://jqueryvalidation.org/filled-selector/
|
||||
filled: function( a ) {
|
||||
var val = $( a ).val();
|
||||
return val !== null && !!$.trim( "" + val );
|
||||
return val !== null && !!trim( "" + val );
|
||||
},
|
||||
|
||||
// https://jqueryvalidation.org/unchecked-selector/
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
"jquery-ui": "1.12.1",
|
||||
"jquery-ui-timepicker-addon": "1.6.3",
|
||||
"jquery-uitablefilter": "^1.0.0",
|
||||
"jquery-validation": "1.19.1",
|
||||
"jquery-validation": "1.19.2",
|
||||
"jquery.event.drag": "2.2.2",
|
||||
"js-cookie": "2.2.1",
|
||||
"popper.js": "^1.16.1",
|
||||
|
||||
@ -1279,10 +1279,10 @@ jquery-uitablefilter@^1.0.0:
|
||||
resolved "https://registry.yarnpkg.com/jquery-uitablefilter/-/jquery-uitablefilter-1.0.0.tgz#ba90c5345826b2fd1fe90ec127826f9e9e7bad39"
|
||||
integrity sha512-iH3k0iiNXKtf6z9qV5htz0iGhSb+Hs9Za6V9GIAOeHdij77U96S2UT7j7FwMEyNZQmgrsKKzjfnLJq7lMGaANw==
|
||||
|
||||
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-validation@1.19.2:
|
||||
version "1.19.2"
|
||||
resolved "https://registry.yarnpkg.com/jquery-validation/-/jquery-validation-1.19.2.tgz#c602831b0d8c5881400af424e872757ce241eff9"
|
||||
integrity sha512-yHaAqOGaAB7+p2u5lpzhhQVt3CBMUw3fHcuCJ7nXmXz0LWLHPN7yOhwnocp5nrn2SmnXR1jpV+whx2j1kLz1tQ==
|
||||
|
||||
jquery.event.drag@2.2.2:
|
||||
version "2.2.2"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user