From 41642fcea40c38342c03bcc6a6244157345917a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20BECOT?= Date: Sat, 28 May 2022 11:17:37 +0200 Subject: [PATCH] fix: Update JS minifier library --- powerdnsadmin/assets.py | 4 ++-- requirements.txt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/powerdnsadmin/assets.py b/powerdnsadmin/assets.py index e7c6354..233e23a 100644 --- a/powerdnsadmin/assets.py +++ b/powerdnsadmin/assets.py @@ -24,7 +24,7 @@ js_login = Bundle('node_modules/jquery/dist/jquery.js', 'node_modules/bootstrap/dist/js/bootstrap.js', 'node_modules/icheck/icheck.js', 'custom/js/custom.js', - filters=(ConcatFilter, 'jsmin'), + filters=(ConcatFilter, 'rjsmin'), output='generated/login.js') js_validation = Bundle('node_modules/bootstrap-validator/dist/validator.js', @@ -61,7 +61,7 @@ js_main = Bundle('node_modules/jquery/dist/jquery.js', 'node_modules/jquery.quicksearch/src/jquery.quicksearch.js', 'custom/js/custom.js', 'node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.js', - filters=(ConcatFilter, 'jsmin'), + filters=(ConcatFilter, 'rjsmin'), output='generated/main.js') assets = Environment() diff --git a/requirements.txt b/requirements.txt index ec2ecbb..cef0a76 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,7 +16,7 @@ gunicorn==20.0.4 python3-saml pytz==2020.1 cssmin==0.2.0 -jsmin==3.0.0 +rjsmin==1.2.0 Authlib==0.15 Flask-SeaSurf==1.1.1 bravado-core==5.17.0 @@ -30,4 +30,4 @@ flask-session==0.3.2 Jinja2==3.0.3 itsdangerous==2.0.1 werkzeug==2.0.3 -cryptography==36.0.2 \ No newline at end of file +cryptography==36.0.2