1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-25 08:59:31 -05:00

Update JS dependencies (#15591)

* Update JS dependencies

- Update all JS dependencies
- Regenerate SVGs
- Remove unused postcss dependency
- Remove removed webpack option

* re-add postcss

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
silverwind 2021-04-24 12:07:22 +02:00 committed by GitHub
parent ea40eb749b
commit ec69f34726
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 16248 additions and 3988 deletions

View file

@ -412,6 +412,7 @@ rules:
unicorn/prefer-spread: [0]
unicorn/prefer-starts-ends-with: [2]
unicorn/prefer-string-slice: [0]
unicorn/prefer-switch: [0]
unicorn/prefer-ternary: [0]
unicorn/prefer-text-content: [2]
unicorn/prefer-trim-start-end: [2]

20200
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -7,57 +7,57 @@
},
"dependencies": {
"@claviska/jquery-minicolors": "2.3.5",
"@primer/octicons": "12.1.0",
"@primer/octicons": "13.0.0",
"add-asset-webpack-plugin": "2.0.1",
"clipboard": "2.0.8",
"codemirror": "5.60.0",
"css-loader": "5.2.0",
"css-minimizer-webpack-plugin": "1.3.0",
"codemirror": "5.61.0",
"css-loader": "5.2.4",
"css-minimizer-webpack-plugin": "2.0.0",
"dropzone": "5.9.2",
"easymde": "2.14.0",
"esbuild-loader": "2.11.0",
"escape-goat": "3.0.0",
"esbuild-loader": "2.12.0",
"escape-goat": "4.0.0",
"fast-glob": "3.2.5",
"font-awesome": "4.7.0",
"jquery": "3.6.0",
"jquery.are-you-sure": "1.9.0",
"less": "4.1.1",
"less-loader": "8.0.0",
"less-loader": "8.1.1",
"license-checker-webpack-plugin": "0.2.1",
"mermaid": "8.9.2",
"mini-css-extract-plugin": "1.4.0",
"mini-css-extract-plugin": "1.5.0",
"monaco-editor": "0.23.0",
"monaco-editor-webpack-plugin": "3.0.1",
"postcss": "8.2.9",
"postcss": "8.2.12",
"pretty-ms": "7.0.1",
"sortablejs": "1.13.0",
"swagger-ui-dist": "3.46.0",
"swagger-ui-dist": "3.47.1",
"tributejs": "5.1.3",
"vue": "2.6.12",
"vue-bar-graph": "1.2.0",
"vue-calendar-heatmap": "0.8.4",
"vue-loader": "15.9.6",
"vue-template-compiler": "2.6.12",
"webpack": "5.30.0",
"webpack": "5.35.0",
"webpack-cli": "4.6.0",
"workbox-routing": "6.1.2",
"workbox-strategies": "6.1.2",
"workbox-routing": "6.1.5",
"workbox-strategies": "6.1.5",
"worker-loader": "3.0.8",
"wrap-ansi": "7.0.0"
"wrap-ansi": "8.0.0"
},
"devDependencies": {
"eslint": "7.23.0",
"editorconfig-checker": "4.0.2",
"eslint": "7.24.0",
"eslint-plugin-html": "6.1.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-unicorn": "29.0.0",
"eslint-plugin-vue": "7.8.0",
"eslint-plugin-unicorn": "30.0.0",
"eslint-plugin-vue": "7.9.0",
"jest": "26.6.3",
"jest-extended": "0.11.5",
"stylelint": "13.12.0",
"stylelint-config-standard": "21.0.0",
"svgo": "2.3.0",
"updates": "11.4.3"
"updates": "12.0.2"
},
"browserslist": [
"defaults",

View file

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-blocked" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M4.467.22a.75.75 0 0 1 .53-.22h6.006a.75.75 0 0 1 .53.22l4.247 4.247c.141.14.22.331.22.53v6.006a.75.75 0 0 1-.22.53l-4.247 4.247a.75.75 0 0 1-.53.22H4.997a.75.75 0 0 1-.53-.22L.22 11.533a.75.75 0 0 1-.22-.53V4.997a.75.75 0 0 1 .22-.53L4.467.22zm.84 1.28L1.5 5.308v5.384L5.308 14.5h5.384l3.808-3.808V5.308L10.692 1.5H5.308zM4 7.75A.75.75 0 0 1 4.75 7h6.5a.75.75 0 0 1 0 1.5h-6.5A.75.75 0 0 1 4 7.75z"/></svg>

After

Width:  |  Height:  |  Size: 531 B

View file

@ -1 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-browser" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M6 3h1v1H6V3zM4 3h1v1H4V3zM2 3h1v1H2V3zm12 10H2V5h12v8zm0-9H8V3h6v1zm1-1c0-.55-.45-1-1-1H2c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h12c.55 0 1-.45 1-1V3z"/></svg>
<svg viewBox="0 0 16 16" class="svg octicon-browser" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M0 2.75C0 1.784.784 1 1.75 1h12.5c.966 0 1.75.784 1.75 1.75v10.5A1.75 1.75 0 0 1 14.25 15H1.75A1.75 1.75 0 0 1 0 13.25V2.75zm1.75-.25a.25.25 0 0 0-.25.25V4.5h2v-2H1.75zM5 2.5v2h2v-2H5zm3.5 0v2h6V2.75a.25.25 0 0 0-.25-.25H8.5zm6 3.5h-13v7.25c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V6z"/></svg>

Before

Width:  |  Height:  |  Size: 280 B

After

Width:  |  Height:  |  Size: 422 B

View file

@ -1 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-circle" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M3.404 3.404a6.5 6.5 0 1 0 9.192 9.192 6.5 6.5 0 0 0-9.192-9.192zm-1.06 10.253A8 8 0 1 1 13.656 2.343 8 8 0 0 1 2.343 13.657z"/></svg>
<svg viewBox="0 0 16 16" class="svg octicon-circle" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M8 1.5a6.5 6.5 0 1 0 0 13 6.5 6.5 0 0 0 0-13zM0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8z"/></svg>

Before

Width:  |  Height:  |  Size: 257 B

After

Width:  |  Height:  |  Size: 211 B

View file

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-codescan-checkmark" width="16" height="16" aria-hidden="true"><path d="M10.28 6.28a.75.75 0 1 0-1.06-1.06L6.25 8.19l-.97-.97a.75.75 0 0 0-1.06 1.06l1.5 1.5a.75.75 0 0 0 1.06 0l3.5-3.5z"/><path fill-rule="evenodd" d="M7.5 15a7.469 7.469 0 0 0 4.746-1.693l2.474 2.473a.75.75 0 1 0 1.06-1.06l-2.473-2.474A7.5 7.5 0 1 0 7.5 15zm0-13.5a6 6 0 1 0 4.094 10.386.75.75 0 0 1 .293-.292A6 6 0 0 0 7.5 1.5z"/></svg>

After

Width:  |  Height:  |  Size: 447 B

View file

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-codescan" width="16" height="16" aria-hidden="true"><path d="M8.47 4.97a.75.75 0 0 0 0 1.06L9.94 7.5 8.47 8.97a.75.75 0 1 0 1.06 1.06l2-2a.75.75 0 0 0 0-1.06l-2-2a.75.75 0 0 0-1.06 0zM6.53 6.03a.75.75 0 0 0-1.06-1.06l-2 2a.75.75 0 0 0 0 1.06l2 2a.75.75 0 1 0 1.06-1.06L5.06 7.5l1.47-1.47z"/><path fill-rule="evenodd" d="M12.246 13.307a7.5 7.5 0 1 1 1.06-1.06l2.474 2.473a.75.75 0 1 1-1.06 1.06l-2.474-2.473zM1.5 7.5a6 6 0 1 1 10.386 4.094.75.75 0 0 0-.292.293A6 6 0 0 1 1.5 7.5z"/></svg>

After

Width:  |  Height:  |  Size: 531 B

View file

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-codespaces" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M2 1.75C2 .784 2.784 0 3.75 0h8.5C13.216 0 14 .784 14 1.75v5a1.75 1.75 0 0 1-1.75 1.75h-8.5A1.75 1.75 0 0 1 2 6.75v-5zm1.75-.25a.25.25 0 0 0-.25.25v5c0 .138.112.25.25.25h8.5a.25.25 0 0 0 .25-.25v-5a.25.25 0 0 0-.25-.25h-8.5zM0 11.25c0-.966.784-1.75 1.75-1.75h12.5c.966 0 1.75.784 1.75 1.75v3A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25v-3zM1.75 11a.25.25 0 0 0-.25.25v3c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25v-3a.25.25 0 0 0-.25-.25H1.75z"/><path fill-rule="evenodd" d="M3 12.75a.75.75 0 0 1 .75-.75h.5a.75.75 0 0 1 0 1.5h-.5a.75.75 0 0 1-.75-.75zm4 0a.75.75 0 0 1 .75-.75h4.5a.75.75 0 0 1 0 1.5h-4.5a.75.75 0 0 1-.75-.75z"/></svg>

After

Width:  |  Height:  |  Size: 775 B

View file

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-dependabot" width="16" height="16" aria-hidden="true"><path d="M5.75 7.5a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0v-1.5a.75.75 0 0 1 .75-.75zm5.25.75a.75.75 0 0 0-1.5 0v1.5a.75.75 0 0 0 1.5 0v-1.5z"/><path fill-rule="evenodd" d="M6.25 0a.75.75 0 0 0 0 1.5H7.5v2H3.75A2.25 2.25 0 0 0 1.5 5.75V8H.75a.75.75 0 0 0 0 1.5h.75v2.75a2.25 2.25 0 0 0 2.25 2.25h8.5a2.25 2.25 0 0 0 2.25-2.25V9.5h.75a.75.75 0 0 0 0-1.5h-.75V5.75a2.25 2.25 0 0 0-2.25-2.25H9V.75A.75.75 0 0 0 8.25 0h-2zM3 5.75A.75.75 0 0 1 3.75 5h8.5a.75.75 0 0 1 .75.75v6.5a.75.75 0 0 1-.75.75h-8.5a.75.75 0 0 1-.75-.75v-6.5z"/></svg>

After

Width:  |  Height:  |  Size: 635 B

View file

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-duplicate" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 0 1 0 1.5h-1.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-1.5a.75.75 0 0 1 1.5 0v1.5A1.75 1.75 0 0 1 9.25 16h-7.5A1.75 1.75 0 0 1 0 14.25v-7.5z"/><path fill-rule="evenodd" d="M5 1.75C5 .784 5.784 0 6.75 0h7.5C15.216 0 16 .784 16 1.75v7.5A1.75 1.75 0 0 1 14.25 11h-7.5A1.75 1.75 0 0 1 5 9.25v-7.5zm1.75-.25a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-7.5a.25.25 0 0 0-.25-.25h-7.5z"/></svg>

After

Width:  |  Height:  |  Size: 610 B

View file

@ -1 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-megaphone" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M15.571.572A.75.75 0 0 1 16 1.25L14.777.668c.001 0 0 0 0 0l-.015.012-.076.056a5.508 5.508 0 0 1-.345.224 9.982 9.982 0 0 1-1.463.719c-1.322.528-3.351 1.07-6.124 1.071a1.6 1.6 0 0 0-.861-.25H4a4 4 0 0 0-1.499 7.71.758.758 0 0 0-.001.04c0 2.32.486 3.93.813 4.75.262.66.897 1 1.517 1h1.197c.685 0 1.228-.389 1.546-.857.317-.466.468-1.09.31-1.696-.2-.767-.382-1.835-.383-3.183 2.394.086 4.177.577 5.378 1.057a9.965 9.965 0 0 1 1.463.719 5.7 5.7 0 0 1 .421.28l.014.012h.002A.75.75 0 0 0 16 11.75V1.25L14.777.668a.75.75 0 0 1 .794-.096zM4.002 10.5c.033 1.969.45 3.306.704 3.946.004.01.01.02.027.03a.185.185 0 0 0 .097.024h1.197c.083 0 .202-.047.305-.2a.608.608 0 0 0 .1-.475 14.036 14.036 0 0 1-.43-3.329 1.64 1.64 0 0 1-.11.004h-1.89zM7.5 8.763c2.601.087 4.573.62 5.935 1.166.41.164.766.33 1.065.483V2.588c-.3.154-.654.319-1.065.483C12.073 3.616 10.1 4.15 7.5 4.237v4.526zM14.777.668zM1.5 6.5A2.5 2.5 0 0 1 4 4h1.893c.059 0 .107.048.107.107v4.786A.107.107 0 0 1 5.893 9H4a2.5 2.5 0 0 1-2.5-2.5z"/></svg>
<svg viewBox="0 0 16 16" class="svg octicon-megaphone" width="16" height="16" aria-hidden="true"><g fill-rule="evenodd"><path d="M3.25 9a.75.75 0 0 1 .75.75c0 2.142.456 3.828.733 4.653a.121.121 0 0 0 .05.064.207.207 0 0 0 .117.033h1.31c.085 0 .18-.042.258-.152a.448.448 0 0 0 .075-.366A16.74 16.74 0 0 1 6 9.75a.75.75 0 0 1 1.5 0c0 1.588.25 2.926.494 3.85.293 1.113-.504 2.4-1.783 2.4H4.9c-.686 0-1.35-.41-1.589-1.12A16.42 16.42 0 0 1 2.5 9.75.75.75 0 0 1 3.25 9z"/><path d="M0 6a4 4 0 0 1 4-4h2.75a.75.75 0 0 1 .75.75v6.5a.75.75 0 0 1-.75.75H4a4 4 0 0 1-4-4zm4-2.5a2.5 2.5 0 0 0 0 5h2v-5H4z"/><path d="M15.59.082A.75.75 0 0 1 16 .75v10.5a.75.75 0 0 1-1.189.608l-.002-.001h.001l-.014-.01a5.829 5.829 0 0 0-.422-.25 10.58 10.58 0 0 0-1.469-.64C11.576 10.484 9.536 10 6.75 10a.75.75 0 1 1 0-1.5c2.964 0 5.174.516 6.658 1.043.423.151.787.302 1.092.443V2.014c-.305.14-.669.292-1.092.443C11.924 2.984 9.713 3.5 6.75 3.5a.75.75 0 1 1 0-1.5c2.786 0 4.826-.484 6.155-.957.665-.236 1.154-.47 1.47-.64a5.82 5.82 0 0 0 .421-.25l.014-.01a.75.75 0 0 1 .78-.061zm-.78.06zm.44 11.108-.44.607.44-.607z"/></g></svg>

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View file

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-person-add" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M13.25 0a.75.75 0 0 1 .75.75V2h1.25a.75.75 0 0 1 0 1.5H14v1.25a.75.75 0 0 1-1.5 0V3.5h-1.25a.75.75 0 0 1 0-1.5h1.25V.75a.75.75 0 0 1 .75-.75zM5.5 4a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm2.4 4.548a3.5 3.5 0 1 0-4.799 0 5.527 5.527 0 0 0-3.1 4.66.75.75 0 1 0 1.498.085A4.01 4.01 0 0 1 5.5 9.5a4.01 4.01 0 0 1 4.001 3.793.75.75 0 1 0 1.498-.086 5.527 5.527 0 0 0-3.1-4.659z"/></svg>

After

Width:  |  Height:  |  Size: 497 B

View file

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-sidebar-collapse" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M6.823 7.823 4.427 5.427A.25.25 0 0 0 4 5.604v4.792c0 .223.27.335.427.177l2.396-2.396a.25.25 0 0 0 0-.354z"/><path fill-rule="evenodd" d="M1.75 0A1.75 1.75 0 0 0 0 1.75v12.5C0 15.216.784 16 1.75 16h12.5A1.75 1.75 0 0 0 16 14.25V1.75A1.75 1.75 0 0 0 14.25 0H1.75zM1.5 1.75a.25.25 0 0 1 .25-.25H9.5v13H1.75a.25.25 0 0 1-.25-.25V1.75zM11 14.5v-13h3.25a.25.25 0 0 1 .25.25v12.5a.25.25 0 0 1-.25.25H11z"/></svg>

After

Width:  |  Height:  |  Size: 539 B

View file

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-sidebar-expand" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="m4.177 7.823 2.396-2.396A.25.25 0 0 1 7 5.604v4.792a.25.25 0 0 1-.427.177L4.177 8.177a.25.25 0 0 1 0-.354z"/><path fill-rule="evenodd" d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v12.5A1.75 1.75 0 0 1 14.25 16H1.75A1.75 1.75 0 0 1 0 14.25V1.75zm1.75-.25a.25.25 0 0 0-.25.25v12.5c0 .138.112.25.25.25H9.5v-13H1.75zm12.5 13H11v-13h3.25a.25.25 0 0 1 .25.25v12.5a.25.25 0 0 1-.25.25z"/></svg>

After

Width:  |  Height:  |  Size: 534 B

View file

@ -0,0 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-table" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M0 1.75C0 .784.784 0 1.75 0h12.5C15.216 0 16 .784 16 1.75v3.585a.746.746 0 0 1 0 .83v8.085A1.75 1.75 0 0 1 14.25 16H6.309a.748.748 0 0 1-1.118 0H1.75A1.75 1.75 0 0 1 0 14.25V6.165a.746.746 0 0 1 0-.83V1.75zM1.5 6.5v7.75c0 .138.112.25.25.25H5v-8H1.5zM5 5H1.5V1.75a.25.25 0 0 1 .25-.25H5V5zm1.5 1.5v8h7.75a.25.25 0 0 0 .25-.25V6.5h-8zm8-1.5h-8V1.5h7.75a.25.25 0 0 1 .25.25V5z"/></svg>

After

Width:  |  Height:  |  Size: 504 B

View file

@ -88,7 +88,6 @@ export default {
minify: true
}),
new CssMinimizerPlugin({
sourceMap: true,
minimizerOptions: {
preset: [
'default',