Skip to content

Commit

Permalink
feat(vendor-core): update to jquery 3
Browse files Browse the repository at this point in the history
BREAKING CHANGE:
Updates jquery,datatables,select2. replaces jquery.cookie with js-cookie
  • Loading branch information
MariaAga committed Apr 24, 2024
1 parent 0bb20a8 commit 6bdf30f
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion packages/vendor-core/lib/customModules/jquery.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ window.jquery = jquery;

module.exports = jquery;

require('jquery.cookie');
require('js-cookie');
require('jquery-ujs');
require('multiselect');
require('select2');
Expand Down
36 changes: 18 additions & 18 deletions packages/vendor-core/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions packages/vendor-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"classnames": "^2.2.5",
"connected-react-router": "6.6.1",
"core-js": "^2.5.7",
"datatables.net": "~1.10.12",
"datatables.net-bs": "~1.10.12",
"datatables.net": "1.13.5",
"datatables.net-bs": "1.13.5",
"diff": "^4.0.1",
"dsmorse-gridster": "^0.8.0",
"file-saver": "^2.0.1",
Expand All @@ -52,9 +52,9 @@
"history": "^4.7.2",
"humanize-duration": "3.27.0",
"ipaddr.js": "~1.2.0",
"jquery": "~2.2.4",
"jquery": "3.3.1",
"jquery-ujs": "~1.2.0",
"jquery.cookie": "~1.4.1",
"js-cookie": "3.0.0",
"jstz": "~1.0.7",
"lodash": "^4.17.14",
"multiselect": "~0.9.12",
Expand Down Expand Up @@ -87,7 +87,7 @@
"reselect": "^3.0.1",
"sanitize-html": "2.3.2",
"seamless-immutable": "^7.1.2",
"select2": "~3.5.2-browserify",
"select2": "4.0.12",
"unidiff": "^1.0.0",
"urijs": "^1.19.4",
"uuid": "^3.3.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/vendor-core/scss/vendor-core.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

@import '~multiselect/css/multi-select.css';
@import '~react-diff-view/style/index.css';
@import '~select2/select2-bootstrap.css';
@import '~select2/select2.css';
@import '~select2/src/scss/core.scss';

@import "~dsmorse-gridster/dist/jquery.gridster";
@import "~datatables.net-bs/css/dataTables.bootstrap.css";
@import "~@redhat-cloud-services/frontend-components/index.css";
Expand Down

0 comments on commit 6bdf30f

Please sign in to comment.