From 2e30b8354595680c0485d43c6f4ad6d11cc774fe Mon Sep 17 00:00:00 2001 From: Matt Scott Date: Mon, 10 Apr 2023 13:06:06 -0400 Subject: [PATCH] Added jQuery Validation 1.19.5 to the project NPM configuration as well as the Flask assets build script for `js_main`. --- package.json | 1 + powerdnsadmin/assets.py | 1 + yarn.lock | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3aaac1d..1ceb82e 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "jquery-sparkline": "^2.4.0", "jquery-ui-dist": "^1.13.2", "jquery.quicksearch": "^2.4.0", + "jquery-validation": "^1.19.5", "jtimeout": "^3.2.0", "knockout": "^3.5.1", "multiselect": "^0.9.12" diff --git a/powerdnsadmin/assets.py b/powerdnsadmin/assets.py index 8f9192f..2674bee 100644 --- a/powerdnsadmin/assets.py +++ b/powerdnsadmin/assets.py @@ -48,6 +48,7 @@ js_main = Bundle( 'node_modules/datatables.net-bs4/js/dataTables.bootstrap4.js', 'node_modules/jquery-sparkline/jquery.sparkline.js', 'node_modules/jquery-slimscroll/jquery.slimscroll.js', + 'node_modules/jquery-validation/dist/jquery.validate.js', 'node_modules/icheck/icheck.js', 'node_modules/fastclick/lib/fastclick.js', 'node_modules/moment/moment.js', diff --git a/yarn.lock b/yarn.lock index 32955dc..6420088 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1026,7 +1026,7 @@ jquery-ui-dist@^1.13.0, jquery-ui-dist@^1.13.2: dependencies: jquery ">=1.8.0 <4.0.0" -jquery-validation@^1.19.3: +jquery-validation@^1.19.3, jquery-validation@^1.19.5: version "1.19.5" resolved "https://registry.yarnpkg.com/jquery-validation/-/jquery-validation-1.19.5.tgz#557495b7cad79716897057c4447ad3cd76fda811" integrity sha512-X2SmnPq1mRiDecVYL8edWx+yTBZDyC8ohWXFhXdtqFHgU9Wd4KHkvcbCoIZ0JaSaumzS8s2gXSkP8F7ivg/8ZQ==