Update JS dependencies, Require Node.js 16 (#23528)
- Update all JS dependencies - Require Node.js 16 as dictated by `esbuild-loader` - Regenerate SVG - Adapt to `esbuild-loader` breaking changes - Minor refactor in `webpack.config.js` - Tested build, monaco and swagger-ui --------- Co-authored-by: techknowlogick <techknowlogick@gitea.io>
| @@ -726,7 +726,7 @@ steps: | ||||
|  | ||||
|   # TODO: We should probably build all dependencies into a test image | ||||
|   - name: test-e2e | ||||
|     image: mcr.microsoft.com/playwright:v1.29.2-focal | ||||
|     image: mcr.microsoft.com/playwright:v1.31.2-focal | ||||
|     commands: | ||||
|       - curl -sLO https://go.dev/dl/go1.20.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.20.linux-amd64.tar.gz | ||||
|       - groupadd --gid 1001 gitea && useradd -m --gid 1001 --uid 1001 gitea | ||||
|   | ||||
							
								
								
									
										2854
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
							
								
								
									
										38
									
								
								package.json
									
									
									
									
									
								
							
							
						
						| @@ -4,42 +4,42 @@ | ||||
|   "private": true, | ||||
|   "type": "module", | ||||
|   "engines": { | ||||
|     "node": ">= 14.0.0" | ||||
|     "node": ">= 16.0.0" | ||||
|   }, | ||||
|   "dependencies": { | ||||
|     "@citation-js/core": "0.6.5", | ||||
|     "@citation-js/plugin-bibtex": "0.6.5", | ||||
|     "@citation-js/plugin-csl": "0.6.5", | ||||
|     "@citation-js/plugin-bibtex": "0.6.6", | ||||
|     "@citation-js/plugin-csl": "0.6.7", | ||||
|     "@citation-js/plugin-software-formats": "0.6.0", | ||||
|     "@claviska/jquery-minicolors": "2.3.6", | ||||
|     "@mcaptcha/vanilla-glue": "0.1.0-alpha-3", | ||||
|     "@primer/octicons": "17.10.2", | ||||
|     "@vue/compiler-sfc": "3.2.45", | ||||
|     "@primer/octicons": "18.2.0", | ||||
|     "@vue/compiler-sfc": "3.2.47", | ||||
|     "add-asset-webpack-plugin": "2.0.1", | ||||
|     "ansi-to-html": "0.7.2", | ||||
|     "asciinema-player": "3.0.1", | ||||
|     "asciinema-player": "3.2.0", | ||||
|     "css-loader": "6.7.3", | ||||
|     "dropzone": "6.0.0-beta.2", | ||||
|     "easymde": "2.18.0", | ||||
|     "esbuild-loader": "2.21.0", | ||||
|     "esbuild-loader": "3.0.1", | ||||
|     "escape-goat": "4.0.0", | ||||
|     "fast-glob": "3.2.12", | ||||
|     "font-awesome": "4.7.0", | ||||
|     "jquery": "3.6.3", | ||||
|     "jquery": "3.6.4", | ||||
|     "jquery.are-you-sure": "1.9.0", | ||||
|     "katex": "0.16.4", | ||||
|     "license-checker-webpack-plugin": "0.2.1", | ||||
|     "mermaid": "10.0.2", | ||||
|     "mini-css-extract-plugin": "2.7.4", | ||||
|     "monaco-editor": "0.34.1", | ||||
|     "monaco-editor": "0.36.1", | ||||
|     "monaco-editor-webpack-plugin": "7.0.1", | ||||
|     "pretty-ms": "8.0.0", | ||||
|     "sortablejs": "1.15.0", | ||||
|     "swagger-ui-dist": "4.15.5", | ||||
|     "swagger-ui-dist": "4.18.1", | ||||
|     "tippy.js": "6.3.7", | ||||
|     "tributejs": "5.1.3", | ||||
|     "uint8-to-base64": "0.2.0", | ||||
|     "vue": "3.2.45", | ||||
|     "vue": "3.2.47", | ||||
|     "vue-bar-graph": "2.0.0", | ||||
|     "vue-loader": "17.0.1", | ||||
|     "vue3-calendar-heatmap": "2.0.0", | ||||
| @@ -48,25 +48,25 @@ | ||||
|     "workbox-routing": "6.5.4", | ||||
|     "workbox-strategies": "6.5.4", | ||||
|     "worker-loader": "3.0.8", | ||||
|     "wrap-ansi": "8.0.1" | ||||
|     "wrap-ansi": "8.1.0" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@playwright/test": "1.29.2", | ||||
|     "@playwright/test": "1.31.2", | ||||
|     "@rollup/pluginutils": "5.0.2", | ||||
|     "@stoplight/spectral-cli": "6.6.0", | ||||
|     "eslint": "8.32.0", | ||||
|     "eslint": "8.36.0", | ||||
|     "eslint-plugin-import": "2.27.5", | ||||
|     "eslint-plugin-jquery": "1.5.1", | ||||
|     "eslint-plugin-sonarjs": "0.18.0", | ||||
|     "eslint-plugin-unicorn": "45.0.2", | ||||
|     "eslint-plugin-unicorn": "46.0.0", | ||||
|     "eslint-plugin-vue": "9.9.0", | ||||
|     "jsdom": "21.0.0", | ||||
|     "jsdom": "21.1.1", | ||||
|     "markdownlint-cli": "0.33.0", | ||||
|     "stylelint": "15.2.0", | ||||
|     "stylelint": "15.3.0", | ||||
|     "stylelint-declaration-strict-value": "1.9.2", | ||||
|     "svgo": "3.0.2", | ||||
|     "updates": "13.2.7", | ||||
|     "vitest": "0.27.2" | ||||
|     "updates": "13.2.9", | ||||
|     "vitest": "0.29.3" | ||||
|   }, | ||||
|   "browserslist": [ | ||||
|     "defaults", | ||||
|   | ||||
| @@ -1 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-chevron-down" width="16" height="16" aria-hidden="true"><path d="M12.78 6.22a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L3.22 7.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L8 9.94l3.72-3.72a.75.75 0 0 1 1.06 0Z"/></svg> | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-chevron-down" width="16" height="16" aria-hidden="true"><path d="M12.78 5.22a.749.749 0 0 1 0 1.06l-4.25 4.25a.749.749 0 0 1-1.06 0L3.22 6.28a.749.749 0 1 1 1.06-1.06L8 8.939l3.72-3.719a.749.749 0 0 1 1.06 0Z"/></svg> | ||||
| Before Width: | Height: | Size: 279 B After Width: | Height: | Size: 261 B | 
| @@ -1 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-chevron-up" width="16" height="16" aria-hidden="true"><path d="M3.22 9.78a.75.75 0 0 1 0-1.06l4.25-4.25a.75.75 0 0 1 1.06 0l4.25 4.25a.751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018L8 6.06 4.28 9.78a.75.75 0 0 1-1.06 0Z"/></svg> | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-chevron-up" width="16" height="16" aria-hidden="true"><path d="M3.22 10.53a.749.749 0 0 1 0-1.06l4.25-4.25a.749.749 0 0 1 1.06 0l4.25 4.25a.749.749 0 1 1-1.06 1.06L8 6.811 4.28 10.53a.749.749 0 0 1-1.06 0Z"/></svg> | ||||
| Before Width: | Height: | Size: 274 B After Width: | Height: | Size: 258 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-discussion-closed.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-discussion-closed" width="16" height="16" aria-hidden="true"><path d="M0 2.75C0 1.783.784 1 1.75 1h8.5c.967 0 1.75.783 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.457 1.457 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25Zm1.75-.25a.25.25 0 0 0-.25.25v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.189L6.22 8.72a.747.747 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25Zm12.5 2h-.5a.75.75 0 0 1 0-1.5h.5c.967 0 1.75.783 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.457 1.457 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 1 1 1.06-1.06l2.22 2.219V11.25a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25Zm-5.47.28-3 3a.747.747 0 0 1-1.06 0l-1.5-1.5a.749.749 0 1 1 1.06-1.06l.97.969L7.72 3.72a.749.749 0 1 1 1.06 1.06Z"/></svg> | ||||
| After Width: | Height: | Size: 817 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-discussion-duplicate.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-discussion-duplicate" width="16" height="16" aria-hidden="true"><path d="M0 2.75C0 1.783.784 1 1.75 1h8.5c.967 0 1.75.783 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.457 1.457 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25Zm1.75-.25a.25.25 0 0 0-.25.25v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.189L6.22 8.72a.747.747 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25Zm12.5 2h-.5a.75.75 0 0 1 0-1.5h.5c.967 0 1.75.783 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.457 1.457 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 1 1 1.06-1.06l2.22 2.219V11.25a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25Zm-6.282.03L5.03 7.468a.749.749 0 1 1-1.06-1.061L6.907 3.47a.75.75 0 0 1 1.061 1.06Z"/></svg> | ||||
| After Width: | Height: | Size: 790 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-discussion-outdated.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-discussion-outdated" width="16" height="16" aria-hidden="true"><path d="M0 2.75C0 1.783.784 1 1.75 1h8.5c.967 0 1.75.783 1.75 1.75v5.5A1.75 1.75 0 0 1 10.25 10H7.061l-2.574 2.573A1.457 1.457 0 0 1 2 11.543V10h-.25A1.75 1.75 0 0 1 0 8.25Zm1.75-.25a.25.25 0 0 0-.25.25v5.5c0 .138.112.25.25.25h1a.75.75 0 0 1 .75.75v2.189L6.22 8.72a.747.747 0 0 1 .53-.22h3.5a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25Zm12.5 2h-.5a.75.75 0 0 1 0-1.5h.5c.967 0 1.75.783 1.75 1.75v5.5A1.75 1.75 0 0 1 14.25 12H14v1.543a1.457 1.457 0 0 1-2.487 1.03L9.22 12.28a.749.749 0 1 1 1.06-1.06l2.22 2.219V11.25a.75.75 0 0 1 .75-.75h1a.25.25 0 0 0 .25-.25v-5.5a.25.25 0 0 0-.25-.25ZM6.5 4v1.492l.466.187.036.015.812.375a.75.75 0 1 1-.628 1.362l-.795-.367-.92-.368A.75.75 0 0 1 5 6V4a.75.75 0 0 1 1.5 0Z"/></svg> | ||||
| After Width: | Height: | Size: 826 B | 
| @@ -1 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-download" width="16" height="16" aria-hidden="true"><path d="M7.47 10.78 3.72 7.03a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l2.47 2.47V1.75a.75.75 0 0 1 1.5 0v6.69l2.47-2.47a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-3.75 3.75a.75.75 0 0 1-1.06 0ZM3.75 13h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5Z"/></svg> | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-download" width="16" height="16" aria-hidden="true"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"/><path d="M7.25 7.689V2a.75.75 0 0 1 1.5 0v5.689l1.97-1.969a.749.749 0 1 1 1.06 1.06l-3.25 3.25a.749.749 0 0 1-1.06 0L4.22 6.78a.749.749 0 1 1 1.06-1.06l1.97 1.969Z"/></svg> | ||||
| Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 440 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-fiscal-host.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-fiscal-host" width="16" height="16" aria-hidden="true"><path d="M10 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"/><path d="M4 9.25h-.75a.75.75 0 0 1 0-1.5H4v-1.5h-.75a.75.75 0 0 1 0-1.5H4V3.5a1 1 0 0 1 1-1h7.5a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1ZM5.5 4v.793a.75.75 0 0 1 0 1.414v1.586a.75.75 0 0 1 0 1.414V10H12V4Z"/><path d="M12.75 14.25V14h-9.5v.25a.75.75 0 0 1-1.5 0V14A1.75 1.75 0 0 1 0 12.25V1.75C0 .784.784 0 1.75 0h12.5C15.217 0 16 .784 16 1.75v10.5A1.75 1.75 0 0 1 14.25 14v.25a.75.75 0 0 1-1.5 0ZM1.75 1.5a.25.25 0 0 0-.25.25v10.5c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25V1.75a.25.25 0 0 0-.25-.25Z"/></svg> | ||||
| After Width: | Height: | Size: 662 B | 
| @@ -1 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-issue-tracked-by" width="16" height="16" aria-hidden="true"><path d="M1.5 8a6.5 6.5 0 0 1 13 0A.75.75 0 0 0 16 8a8 8 0 1 0-8 8 .75.75 0 0 0 0-1.5A6.5 6.5 0 0 1 1.5 8Z"/><path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm1.5 1.75a.75.75 0 0 1 .75-.75h5a.75.75 0 0 1 0 1.5h-5a.75.75 0 0 1-.75-.75Zm2.75 2.25a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z"/></svg> | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-issue-tracked-by" width="16" height="16" aria-hidden="true"><path d="M1.5 8a6.5 6.5 0 0 1 13 0A.75.75 0 0 0 16 8a8 8 0 1 0-8 8 .75.75 0 0 0 0-1.5A6.5 6.5 0 0 1 1.5 8Z"/><path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm3.573 5.823-2.896-2.896a.25.25 0 0 1 0-.354l2.896-2.896a.25.25 0 0 1 .427.177V11.5h3.25a.75.75 0 0 1 0 1.5H12v2.146a.25.25 0 0 1-.427.177Z"/></svg> | ||||
| Before Width: | Height: | Size: 404 B After Width: | Height: | Size: 413 B | 
| @@ -1 +0,0 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-issue-tracked-in" width="16" height="16" aria-hidden="true"><path d="M1.5 8a6.5 6.5 0 0 1 13 0A.75.75 0 0 0 16 8a8 8 0 1 0-8 8 .75.75 0 0 0 0-1.5A6.5 6.5 0 0 1 1.5 8Z"/><path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm3.573 5.823-2.896-2.896a.25.25 0 0 1 0-.354l2.896-2.896a.25.25 0 0 1 .427.177V11.5h3.25a.75.75 0 0 1 0 1.5H12v2.146a.25.25 0 0 1-.427.177Z"/></svg> | ||||
| Before Width: | Height: | Size: 413 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-issue-tracks.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-issue-tracks" width="16" height="16" aria-hidden="true"><path d="M1.5 8a6.5 6.5 0 0 1 13 0A.75.75 0 0 0 16 8a8 8 0 1 0-8 8 .75.75 0 0 0 0-1.5A6.5 6.5 0 0 1 1.5 8Z"/><path d="M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm1.5 1.75a.75.75 0 0 1 .75-.75h5a.75.75 0 0 1 0 1.5h-5a.75.75 0 0 1-.75-.75Zm2.75 2.25a.75.75 0 0 0 0 1.5h3a.75.75 0 0 0 0-1.5h-3Z"/></svg> | ||||
| After Width: | Height: | Size: 400 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-move-to-bottom.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-move-to-bottom" width="16" height="16" aria-hidden="true"><path d="M7.47 10.78a.749.749 0 0 0 1.06 0l3.75-3.75a.749.749 0 1 0-1.06-1.06L8.75 8.439V1.75a.75.75 0 0 0-1.5 0v6.689L4.78 5.97a.749.749 0 1 0-1.06 1.06l3.75 3.75ZM3.75 13a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5h-8.5Z"/></svg> | ||||
| After Width: | Height: | Size: 331 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-move-to-end.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-move-to-end" width="16" height="16" aria-hidden="true"><path d="m10.78 8.53-3.75 3.75a.749.749 0 1 1-1.06-1.06l2.469-2.47H1.75a.75.75 0 0 1 0-1.5h6.689L5.97 4.78a.749.749 0 1 1 1.06-1.06l3.75 3.75a.749.749 0 0 1 0 1.06ZM13 12.25v-8.5a.75.75 0 0 1 1.5 0v8.5a.75.75 0 0 1-1.5 0Z"/></svg> | ||||
| After Width: | Height: | Size: 329 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-move-to-start.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-move-to-start" width="16" height="16" aria-hidden="true"><path d="M5.22 7.47a.749.749 0 0 0 0 1.06l3.75 3.75a.749.749 0 1 0 1.06-1.06L7.561 8.75h6.689a.75.75 0 0 0 0-1.5H7.561l2.469-2.47a.749.749 0 1 0-1.06-1.06L5.22 7.47ZM3 3.75a.75.75 0 0 0-1.5 0v8.5a.75.75 0 0 0 1.5 0v-8.5Z"/></svg> | ||||
| After Width: | Height: | Size: 330 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-move-to-top.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-move-to-top" width="16" height="16" aria-hidden="true"><path d="M8.53 1.22a.749.749 0 0 0-1.06 0L3.72 4.97a.749.749 0 1 0 1.06 1.06l2.47-2.469v6.689a.75.75 0 0 0 1.5 0V3.561l2.47 2.469a.749.749 0 1 0 1.06-1.06L8.53 1.22ZM3.75 13a.75.75 0 0 0 0 1.5h8.5a.75.75 0 0 0 0-1.5h-8.5Z"/></svg> | ||||
| After Width: | Height: | Size: 329 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-passkey-fill.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-passkey-fill" width="16" height="16" aria-hidden="true"><path d="M2.743 4.757a3.757 3.757 0 1 1 5.851 3.119 5.991 5.991 0 0 1 2.15 1.383c.17.17.257.405.258.646.003.598.001 1.197 0 1.795L11 12.778v.721a.5.5 0 0 1-.5.5H1.221a.749.749 0 0 1-.714-.784 6.004 6.004 0 0 1 3.899-5.339 3.754 3.754 0 0 1-1.663-3.119Z"/><path d="M15.75 6.875c0 .874-.448 1.643-1.127 2.09a.265.265 0 0 0-.123.22v.59c0 .067-.026.13-.073.177l-.356.356a.125.125 0 0 0 0 .177l.356.356c.047.047.073.11.073.176v.231c0 .067-.026.13-.073.177l-.356.356a.125.125 0 0 0 0 .177l.356.356c.047.047.073.11.073.177v.287a.247.247 0 0 1-.065.168l-.8.88a.52.52 0 0 1-.77 0l-.8-.88a.247.247 0 0 1-.065-.168V9.185a.264.264 0 0 0-.123-.22 2.5 2.5 0 1 1 3.873-2.09ZM14 6.5a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0Z"/></svg> | ||||
| After Width: | Height: | Size: 814 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-sparkle-fill.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-sparkle-fill" width="16" height="16" aria-hidden="true"><path d="M7.53 1.282a.5.5 0 0 1 .94 0l.478 1.306a7.492 7.492 0 0 0 4.464 4.464l1.305.478a.5.5 0 0 1 0 .94l-1.305.478a7.492 7.492 0 0 0-4.464 4.464l-.478 1.305a.5.5 0 0 1-.94 0l-.478-1.305a7.492 7.492 0 0 0-4.464-4.464L1.282 8.47a.5.5 0 0 1 0-.94l1.306-.478a7.492 7.492 0 0 0 4.464-4.464Z"/></svg> | ||||
| After Width: | Height: | Size: 396 B | 
| @@ -1 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-upload" width="16" height="16" aria-hidden="true"><path d="m8.53 1.22 3.75 3.75a.749.749 0 0 1-.326 1.275.749.749 0 0 1-.734-.215L8.75 3.56v6.69a.75.75 0 0 1-1.5 0V3.56L4.78 6.03a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042l3.75-3.75a.75.75 0 0 1 1.06 0ZM3.75 13h8.5a.75.75 0 0 1 0 1.5h-8.5a.75.75 0 0 1 0-1.5Z"/></svg> | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-upload" width="16" height="16" aria-hidden="true"><path d="M2.75 14A1.75 1.75 0 0 1 1 12.25v-2.5a.75.75 0 0 1 1.5 0v2.5c0 .138.112.25.25.25h10.5a.25.25 0 0 0 .25-.25v-2.5a.75.75 0 0 1 1.5 0v2.5A1.75 1.75 0 0 1 13.25 14Z"/><path d="M11.78 4.72a.749.749 0 1 1-1.06 1.06L8.75 3.811V9.5a.75.75 0 0 1-1.5 0V3.811L5.28 5.78a.749.749 0 1 1-1.06-1.06l3.25-3.25a.749.749 0 0 1 1.06 0l3.25 3.25Z"/></svg> | ||||
| Before Width: | Height: | Size: 369 B After Width: | Height: | Size: 438 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-zoom-in.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-zoom-in" width="16" height="16" aria-hidden="true"><path d="M3.75 7.5a.75.75 0 0 1 .75-.75h2.25V4.5a.75.75 0 0 1 1.5 0v2.25h2.25a.75.75 0 0 1 0 1.5H8.25v2.25a.75.75 0 0 1-1.5 0V8.25H4.5a.75.75 0 0 1-.75-.75Z"/><path d="M7.5 0a7.5 7.5 0 0 1 5.807 12.247l2.473 2.473a.749.749 0 1 1-1.06 1.06l-2.473-2.473A7.5 7.5 0 1 1 7.5 0Zm-6 7.5a6 6 0 1 0 12 0 6 6 0 0 0-12 0Z"/></svg> | ||||
| After Width: | Height: | Size: 414 B | 
							
								
								
									
										1
									
								
								public/img/svg/octicon-zoom-out.svg
									
									
									
									
									
										Normal file
									
								
							
							
						
						| @@ -0,0 +1 @@ | ||||
| <svg viewBox="0 0 16 16" class="svg octicon-zoom-out" width="16" height="16" aria-hidden="true"><path d="M4.5 6.75h6a.75.75 0 0 1 0 1.5h-6a.75.75 0 0 1 0-1.5Z"/><path d="M0 7.5a7.5 7.5 0 1 1 13.307 4.747l2.473 2.473a.749.749 0 1 1-1.06 1.06l-2.473-2.473A7.5 7.5 0 0 1 0 7.5Zm7.5-6a6 6 0 1 0 0 12 6 6 0 0 0 0-12Z"/></svg> | ||||
| After Width: | Height: | Size: 320 B | 
| @@ -11,8 +11,8 @@ import webpack from 'webpack'; | ||||
| import {fileURLToPath} from 'node:url'; | ||||
| import {readFileSync} from 'node:fs'; | ||||
|  | ||||
| const {ESBuildMinifyPlugin} = EsBuildLoader; | ||||
| const {SourceMapDevToolPlugin} = webpack; | ||||
| const {EsbuildPlugin} = EsBuildLoader; | ||||
| const {SourceMapDevToolPlugin, DefinePlugin} = webpack; | ||||
| const formatLicenseText = (licenseText) => wrapAnsi(licenseText || '', 80).trim(); | ||||
|  | ||||
| const glob = (pattern) => fastGlob.sync(pattern, { | ||||
| @@ -90,7 +90,7 @@ export default { | ||||
|   optimization: { | ||||
|     minimize: isProduction, | ||||
|     minimizer: [ | ||||
|       new ESBuildMinifyPlugin({ | ||||
|       new EsbuildPlugin({ | ||||
|         target: 'es2015', | ||||
|         minify: true, | ||||
|         css: true, | ||||
| @@ -130,7 +130,8 @@ export default { | ||||
|           { | ||||
|             loader: 'esbuild-loader', | ||||
|             options: { | ||||
|               target: 'es2015' | ||||
|               loader: 'js', | ||||
|               target: 'es2015', | ||||
|             }, | ||||
|           }, | ||||
|         ], | ||||
| @@ -173,7 +174,7 @@ export default { | ||||
|     ], | ||||
|   }, | ||||
|   plugins: [ | ||||
|     new webpack.DefinePlugin({ | ||||
|     new DefinePlugin({ | ||||
|       __VUE_OPTIONS_API__: true, // at the moment, many Vue components still use the Vue Options API | ||||
|       __VUE_PROD_DEVTOOLS__: false, // do not enable devtools support in production | ||||
|     }), | ||||
|   | ||||