pgAdmin 4 commit: Updated the JS dependencies to the latest - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: Updated the JS dependencies to the latest
Date
Msg-id E1l9jni-0003t1-4z@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Updated the JS dependencies to the latest

1) Migrate from webpack 4 to webpack 5. This had a lot of breaking changes,
   so updated multiple webpack plugins and changed the config accordingly.
2) Replaced iconfont-webpack-plugin with a more maintained webfonts-loader.
3) Replaced deprecated babel-eslint with @babel/eslint-parser.
4) Replaced optimize-css-assets-webpack-plugin with a more maintained css-minimizer-webpack-plugin.
5) Updated all other JS packages and made the required code changes.

Fixes #6207

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=1317e4254b7715dfc08f680c8af0894f9ba04e0c
Author: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>

Modified Files
--------------
docs/en_US/release_notes_5_0.rst                   |    1 +
web/.eslintrc.js                                   |   30 +-
web/package.json                                   |  100 +-
.../foreign_key/static/js/foreign_key.js           |    2 +-
web/pgadmin/browser/static/css/browser.css         |   13 -
web/pgadmin/browser/static/js/collection.js        |    4 +-
web/pgadmin/browser/static/js/node.js              |    2 +-
web/pgadmin/browser/static/js/preferences.js       |   21 +-
web/pgadmin/browser/static/js/toolbar.js           |    6 +-
.../feature_tests/query_tool_journey_test.py       |    2 +-
.../misc/bgprocess/static/css/bgprocess.css        |    4 -
web/pgadmin/misc/bgprocess/static/js/bgprocess.js  |    2 +-
web/pgadmin/misc/static/explain/js/explain.js      |    4 +-
web/pgadmin/static/css/style.css                   |   36 +-
.../static/img => static/img/fonticon}/commit.svg  |    0
.../static/img => static/img/fonticon}/compare.svg |    0
.../img/fonticon/connected.svg}                    |    0
.../img/fonticon/disconnected.svg}                 |    0
.../img => static/img/fonticon}/drop_cascade.svg   |    0
.../img => static/img/fonticon}/query_tool.svg     |    0
.../img => static/img/fonticon}/rollback.svg       |    0
.../img => static/img/fonticon}/row_filter.svg     |    0
.../img/fonticon}/save_data_changes.svg            |    0
.../img/fonticon}/storage_manager.svg              |    0
.../img => static/img/fonticon}/view_data.svg      |    0
.../server_groups/servers/model_validation.js      |   14 +-
web/pgadmin/static/js/pgadmin.fonticon.js          |   11 +
.../static/js/sqleditor/history/query_sources.js   |    8 +-
web/pgadmin/static/js/sqleditor_utils.js           |   10 +-
web/pgadmin/static/scss/_pgadmin.style.scss        |    5 -
web/pgadmin/static/scss/_tippy.overrides.scss      |    2 +-
web/pgadmin/static/scss/pgadmin.scss               |    2 +-
web/pgadmin/templates/base.html                    |   18 +-
web/pgadmin/tools/datagrid/static/js/datagrid.js   |    2 +-
.../datagrid/static/js/datagrid_panel_title.js     |    4 +-
.../tools/datagrid/templates/datagrid/index.html   |    6 +-
.../js/erd_tool/ui_components/ConnectionBar.jsx    |    4 +-
.../tools/schema_diff/static/css/schema_diff.css   |    3 +-
.../schema_diff/static/js/schema_diff.backform.js  |    4 +-
.../tools/schema_diff/static/js/schema_diff.js     |    2 +-
.../tools/sqleditor/static/css/sqleditor.css       |   24 -
web/pgadmin/tools/sqleditor/static/js/sqleditor.js |    4 +
web/regression/javascript/browser/activity_spec.js |    2 +-
.../search_objects/search_objects_dialog_spec.js   |    6 +-
web/webpack.config.js                              |  370 +-
web/webpack.shim.js                                |    6 +-
web/webpack.test.config.js                         |  119 +-
web/yarn.lock                                      | 6419 +++++++++-----------
48 files changed, 3219 insertions(+), 4053 deletions(-)


pgadmin-hackers by date:

Previous
From: Yogesh Mahajan
Date:
Subject: [pgAdmin4][Patch] - API Tests Tear-down Fix
Next
From: Akshay Joshi
Date:
Subject: Re: [pgAdmin][RM6207] Update JS dependencies