diff options
author | silverwind <me@silverwind.io> | 2020-12-27 15:24:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-27 15:24:27 +0100 |
commit | 50a2dd52baed6a998cca332761c3e9eccf0157a9 (patch) | |
tree | 4c5a2ca412a208ba510bcbff14ce2731c79dbb2e /package.json | |
parent | fe403725f45e4515ce89d6a4dfd01e9698d38ad9 (diff) | |
download | gitea-50a2dd52baed6a998cca332761c3e9eccf0157a9.tar.gz gitea-50a2dd52baed6a998cca332761c3e9eccf0157a9.zip |
Update JS dependencies and webpack (#14118)
* Update JS dependencies
- Update all JS dependencies
- Adapt webpack config for version 5
- Update to Less 4.0, adapting usage of removed mixin syntax
- Enable new ESLint rules and fix discovered issues
* update license-webpack-plugin to fix missing licenses
* update license-webpack-plugin once more to get webpack into the license output
* switch to license-checker-webpack-plugin again for performance
* update deps again
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/package.json b/package.json index 098633e92a..2abdc5ab7e 100644 --- a/package.json +++ b/package.json @@ -5,17 +5,17 @@ "node": ">= 10.13.0" }, "dependencies": { - "@babel/core": "7.12.9", - "@babel/plugin-transform-runtime": "7.12.1", - "@babel/preset-env": "7.12.7", + "@babel/core": "7.12.10", + "@babel/plugin-transform-runtime": "7.12.10", + "@babel/preset-env": "7.12.11", "@babel/runtime": "7.12.5", "@claviska/jquery-minicolors": "2.3.5", - "@primer/octicons": "11.1.0", - "add-asset-webpack-plugin": "1.0.0", + "@primer/octicons": "11.2.0", + "add-asset-webpack-plugin": "2.0.0", "babel-loader": "8.2.2", "clipboard": "2.0.6", - "codemirror": "5.58.3", - "core-js": "3.8.0", + "codemirror": "5.59.0", + "core-js": "3.8.1", "css-loader": "5.0.1", "css-minimizer-webpack-plugin": "1.1.5", "dropzone": "5.7.2", @@ -26,42 +26,41 @@ "font-awesome": "4.7.0", "jquery": "3.5.1", "jquery.are-you-sure": "1.9.0", - "less": "3.12.2", - "less-loader": "7.1.0", - "license-webpack-plugin": "2.3.1", - "mermaid": "8.8.3", - "mini-css-extract-plugin": "1.3.1", + "less": "4.0.0", + "less-loader": "7.2.0", + "license-checker-webpack-plugin": "0.2.1", + "mermaid": "8.8.4", + "mini-css-extract-plugin": "1.3.3", "monaco-editor": "0.21.2", - "monaco-editor-webpack-plugin": "2.0.0", - "postcss": "8.1.10", + "monaco-editor-webpack-plugin": "2.1.0", + "postcss": "8.2.1", "raw-loader": "4.0.2", "sortablejs": "1.12.0", - "swagger-ui-dist": "3.37.2", - "terser-webpack-plugin": "4.2.3", + "swagger-ui-dist": "3.38.0", + "terser-webpack-plugin": "5.0.3", "tributejs": "5.1.3", "vue": "2.6.12", "vue-bar-graph": "1.2.0", "vue-calendar-heatmap": "0.8.4", - "vue-loader": "15.9.5", + "vue-loader": "15.9.6", "vue-template-compiler": "2.6.12", - "webpack": "4.44.1", - "webpack-cli": "3.3.12", - "webpack-fix-style-only-entries": "0.6.0", - "workbox-routing": "5.1.4", - "workbox-strategies": "5.1.4", - "worker-loader": "3.0.5", + "webpack": "5.11.0", + "webpack-cli": "4.3.0", + "workbox-routing": "6.0.2", + "workbox-strategies": "6.0.2", + "worker-loader": "3.0.7", "wrap-ansi": "7.0.0" }, "devDependencies": { - "eslint": "7.14.0", + "eslint": "7.16.0", "eslint-plugin-html": "6.1.1", "eslint-plugin-import": "2.22.1", - "eslint-plugin-unicorn": "23.0.0", - "eslint-plugin-vue": "7.1.0", + "eslint-plugin-unicorn": "24.0.0", + "eslint-plugin-vue": "7.3.0", "stylelint": "13.8.0", "stylelint-config-standard": "20.0.0", "svgo": "1.3.2", - "updates": "11.4.0" + "updates": "11.4.2" }, "browserslist": [ "defaults", |