1
1
mirror of https://github.com/go-gitea/gitea synced 2025-08-10 11:38:20 +00:00

Update JS dependencies (#15033)

* Update JS dependencies

- Update all JS dependencies
- For octicons, rename trashcan to trash
- For svgo, migrate to v2 api, output seems to have slightly changed but icons look the same
- For stylelint, update config, fix custom property duplicates
- For monaco, drop legacy Edge support
- For eslint, enable new rules, fix new issues
- For less-loader, remove deprecated import syntax

* update svgo usage in generate-images and rebuild logo.svg with it
This commit is contained in:
silverwind
2021-03-22 05:04:19 +01:00
committed by GitHub
parent a587a28434
commit 1a03fa7a4f
273 changed files with 1858 additions and 1656 deletions

View File

@@ -1 +1 @@
<svg viewBox="0 0 16 16" class="svg octicon-device-camera-video" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M16 3.75a.75.75 0 00-1.136-.643L11 5.425V4.75A1.75 1.75 0 009.25 3h-7.5A1.75 1.75 0 000 4.75v6.5C0 12.216.784 13 1.75 13h7.5A1.75 1.75 0 0011 11.25v-.675l3.864 2.318A.75.75 0 0016 12.25v-8.5zm-5 5.075l3.5 2.1v-5.85l-3.5 2.1v1.65zM9.5 6.75v-2a.25.25 0 00-.25-.25h-7.5a.25.25 0 00-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 00.25-.25v-4.5z"/></svg>
<svg viewBox="0 0 16 16" class="svg octicon-device-camera-video" width="16" height="16" aria-hidden="true"><path fill-rule="evenodd" d="M16 3.75a.75.75 0 0 0-1.136-.643L11 5.425V4.75A1.75 1.75 0 0 0 9.25 3h-7.5A1.75 1.75 0 0 0 0 4.75v6.5C0 12.216.784 13 1.75 13h7.5A1.75 1.75 0 0 0 11 11.25v-.675l3.864 2.318A.75.75 0 0 0 16 12.25v-8.5zm-5 5.075 3.5 2.1v-5.85l-3.5 2.1v1.65zM9.5 6.75v-2a.25.25 0 0 0-.25-.25h-7.5a.25.25 0 0 0-.25.25v6.5c0 .138.112.25.25.25h7.5a.25.25 0 0 0 .25-.25v-4.5z"/></svg>

Before

Width:  |  Height:  |  Size: 483 B

After

Width:  |  Height:  |  Size: 496 B