Compare commits

...

5 Commits

Author SHA1 Message Date
renovate[bot]
6d87da5083 chore(deps): update dependency vite-plugin-dynamic-base to ^1.3.0 2026-03-13 03:24:50 +00:00
renovate[bot]
3ed721b66c chore(deps): update dependency mermaid to ^11.13.0 (#405)
* chore(deps): update dependency mermaid to ^11.13.0

* fix(deps): update mermaid version to 11.13.0 in useCDN hook

Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>

---------

Signed-off-by: MadDogOwner <xiaoran@xrgzs.top>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: MadDogOwner <xiaoran@xrgzs.top>
2026-03-11 18:02:59 +08:00
renovate[bot]
898eb03f34 chore(deps): update pnpm to v10.32.1 (#406)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-11 17:42:01 +08:00
renovate[bot]
bb6299003f chore(deps): update crazy-max/ghaction-import-gpg action to v7 (#408)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-11 17:35:35 +08:00
renovate[bot]
7a6a6d9882 chore(deps): update actions/upload-artifact action to v7 (#407)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-03-11 17:34:32 +08:00
7 changed files with 40 additions and 30 deletions

View File

@@ -40,7 +40,7 @@ jobs:
# OPENLIST_FRONTEND_BUILD_COMPRESS: false
- name: Upload Build Artifacts
uses: actions/upload-artifact@v6
uses: actions/upload-artifact@v7
with:
name: openlist-frontend-dist-dev-${{ github.sha }}
path: dist/

View File

@@ -69,7 +69,7 @@ jobs:
- name: Import GPG key
if: github.event_name == 'workflow_dispatch'
uses: crazy-max/ghaction-import-gpg@v6
uses: crazy-max/ghaction-import-gpg@v7
with:
gpg_private_key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.BOT_GPG_PASSPHRASE }}

View File

@@ -28,7 +28,7 @@ jobs:
- name: "Import GPG key"
id: import-gpg
uses: crazy-max/ghaction-import-gpg@v6
uses: crazy-max/ghaction-import-gpg@v7
with:
gpg_private_key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.BOT_GPG_PASSPHRASE }}

View File

@@ -59,7 +59,7 @@ jobs:
- name: Import GPG key
if: steps.verify-changed-files.outputs.changed == 'true'
uses: crazy-max/ghaction-import-gpg@v6
uses: crazy-max/ghaction-import-gpg@v7
with:
gpg_private_key: ${{ secrets.BOT_GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.BOT_GPG_PASSPHRASE }}

View File

@@ -7,7 +7,7 @@
"url": "https://github.com/OpenListTeam"
},
"description": "A new AList Fork to Anti Trust Crisis",
"packageManager": "pnpm@10.30.1",
"packageManager": "pnpm@10.32.1",
"repository": {
"type": "git",
"url": "git+https://github.com/OpenListTeam/OpenList-Frontend.git"
@@ -48,7 +48,7 @@
"cross-env": "^10.1.0",
"husky": "^9.1.7",
"lint-staged": "^16.3.2",
"mermaid": "^11.12.3",
"mermaid": "^11.13.0",
"prettier": "3.8.1",
"rehype-stringify": "^10.0.1",
"remark-parse": "^11.0.0",
@@ -57,7 +57,7 @@
"typescript": "^5.9.3",
"unified": "^11.0.5",
"vite": "^6.4.1",
"vite-plugin-dynamic-base": "^1.2.0",
"vite-plugin-dynamic-base": "^1.3.0",
"vite-plugin-solid": "^2.11.10",
"vite-plugin-static-copy": "^3.2.0"
},

54
pnpm-lock.yaml generated
View File

@@ -205,8 +205,8 @@ importers:
specifier: ^16.3.2
version: 16.3.2
mermaid:
specifier: ^11.12.3
version: 11.12.3
specifier: ^11.13.0
version: 11.13.0
prettier:
specifier: 3.8.1
version: 3.8.1
@@ -232,8 +232,8 @@ importers:
specifier: ^6.4.1
version: 6.4.1(@types/node@22.19.0)(terser@5.46.0)(yaml@2.8.2)
vite-plugin-dynamic-base:
specifier: ^1.2.0
version: 1.2.0(vite@6.4.1(@types/node@22.19.0)(terser@5.46.0)(yaml@2.8.2))
specifier: ^1.3.0
version: 1.3.0(vite@6.4.1(@types/node@22.19.0)(terser@5.46.0)(yaml@2.8.2))
vite-plugin-solid:
specifier: ^2.11.10
version: 2.11.10(solid-js@1.9.11)(vite@6.4.1(@types/node@22.19.0)(terser@5.46.0)(yaml@2.8.2))
@@ -1388,8 +1388,8 @@ packages:
'@jridgewell/trace-mapping@0.3.31':
resolution: {integrity: sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==}
'@mermaid-js/parser@1.0.0':
resolution: {integrity: sha512-vvK0Hi/VWndxoh03Mmz6wa1KDriSPjS2XMZL/1l19HFwygiObEEoEwSDxOqyLzzAI6J2PU3261JjTMTO7x+BPw==}
'@mermaid-js/parser@1.0.1':
resolution: {integrity: sha512-opmV19kN1JsK0T6HhhokHpcVkqKpF+x2pPDKKM2ThHtZAB5F4PROopk0amuVYK5qMrIA4erzpNm8gmPNJgMDxQ==}
'@monaco-editor/loader@1.7.0':
resolution: {integrity: sha512-gIwR1HrJrrx+vfyOhYmCZ0/JcWqG5kbfG7+d3f/C1LXk2EvzAbHSg3MQ5lO2sMlo9izoAZ04shohfKLVT6crVA==}
@@ -1873,6 +1873,9 @@ packages:
'@ungap/structured-clone@1.3.0':
resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
'@upsetjs/venn.js@2.0.0':
resolution: {integrity: sha512-WbBhLrooyePuQ1VZxrJjtLvTc4NVfpOyKx0sKqioq9bX1C1m7Jgykkn8gLrtwumBioXIqam8DLxp88Adbue6Hw==}
'@viselect/vanilla@3.9.0':
resolution: {integrity: sha512-E9eBgoi/crJ0SlZMAc+Yst7nU324LZ5LLvcXjzWEcrfllscdpTml2OLOKHC7O8Bbz19OybSLv6VexxnjlJrLxQ==}
@@ -2362,8 +2365,8 @@ packages:
resolution: {integrity: sha512-e1U46jVP+w7Iut8Jt8ri1YsPOvFpg46k+K8TpCb0P+zjCkjkPnV7WzfDJzMHy1LnA+wj5pLT1wjO901gLXeEhA==}
engines: {node: '>=12'}
dagre-d3-es@7.0.13:
resolution: {integrity: sha512-efEhnxpSuwpYOKRm/L5KbqoZmNNukHa/Flty4Wp62JRvgH2ojwVgPgdYyr4twpieZnyRDdIH7PY2mopX26+j2Q==}
dagre-d3-es@7.0.14:
resolution: {integrity: sha512-P4rFMVq9ESWqmOgK+dlXvOtLwYg0i7u0HBGJER0LZDJT2VHIPAMZ/riPxqJceWMStH5+E61QxFra9kIS3AqdMg==}
dayjs@1.11.19:
resolution: {integrity: sha512-t5EcLVS6QPBNqM2z8fakk/NKel+Xzshgt8FFKAn+qwlD1pzZWxh0nVCrvFK7ZDb6XucZeF9z8C7CBWTRIVApAw==}
@@ -2429,8 +2432,9 @@ packages:
dompurify@3.2.7:
resolution: {integrity: sha512-WhL/YuveyGXJaerVlMYGWhvQswa7myDG17P7Vu65EWC05o8vfeNbvNf4d/BOvH99+ZW+LlQsc1GDKMa1vNK6dw==}
dompurify@3.3.0:
resolution: {integrity: sha512-r+f6MYR1gGN1eJv0TVQbhA7if/U7P87cdPl3HN5rikqaBSBxLiCb/b9O+2eG0cxz0ghyU+mU1QkbsOwERMYlWQ==}
dompurify@3.3.2:
resolution: {integrity: sha512-6obghkliLdmKa56xdbLOpUZ43pAR6xFy1uOrxBaIDjT+yaRuuybLjGS9eVBoSR/UPU5fq3OXClEHLJNGvbxKpQ==}
engines: {node: '>=20'}
domutils@2.8.0:
resolution: {integrity: sha512-w96Cjofp72M5IIhpjgobBimYEfoPjx1Vx0BSX9P30WBdZW2WIKU0T1Bd0kz2eNZ9ikjKgHbEyKx8BB6H1L3h3A==}
@@ -2949,8 +2953,8 @@ packages:
resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==}
engines: {node: '>= 8'}
mermaid@11.12.3:
resolution: {integrity: sha512-wN5ZSgJQIC+CHJut9xaKWsknLxaFBwCPwPkGTSUYrTiHORWvpT8RxGk849HPnpUAQ+/9BPRqYb80jTpearrHzQ==}
mermaid@11.13.0:
resolution: {integrity: sha512-fEnci+Immw6lKMFI8sqzjlATTyjLkRa6axrEgLV2yHTfv8r+h1wjFbV6xeRtd4rUV1cS4EpR9rwp3Rci7TRWDw==}
micromark-core-commonmark@2.0.3:
resolution: {integrity: sha512-RDBrHEMSxVFLg6xvnXmb1Ayr2WzLAWjeSATAoxwKYJV94TeNavgoIdA0a9ytzDSVzBy2YKFK+emCPOEibLeCrg==}
@@ -3652,8 +3656,8 @@ packages:
vfile@6.0.3:
resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==}
vite-plugin-dynamic-base@1.2.0:
resolution: {integrity: sha512-5fSpkZlqy1Td3ogRV/yMBBt3K+eP2k+mpdEp7joHgaI8+crFrRUYyhHlHm7ZaF4SPlxUpJ7pP/sVkkAArx3ssw==}
vite-plugin-dynamic-base@1.3.0:
resolution: {integrity: sha512-dv9GBAZetvIBPX3HDPAo7oEMVSEjKCuabZxItwgPeRfe7bHzKwSw5YFirJL9NYoNNdhxKMfQhuIbhVUi77OZ5A==}
peerDependencies:
vite: '>= 2.9.5'
@@ -5146,7 +5150,7 @@ snapshots:
'@jridgewell/resolve-uri': 3.1.2
'@jridgewell/sourcemap-codec': 1.5.5
'@mermaid-js/parser@1.0.0':
'@mermaid-js/parser@1.0.1':
dependencies:
langium: 4.2.1
@@ -5591,6 +5595,11 @@ snapshots:
'@ungap/structured-clone@1.3.0': {}
'@upsetjs/venn.js@2.0.0':
optionalDependencies:
d3-selection: 3.0.0
d3-transition: 3.0.1(d3-selection@3.0.0)
'@viselect/vanilla@3.9.0': {}
'@vitejs/plugin-legacy@6.1.1(terser@5.46.0)(vite@6.4.1(@types/node@22.19.0)(terser@5.46.0)(yaml@2.8.2))':
@@ -6129,7 +6138,7 @@ snapshots:
d3-transition: 3.0.1(d3-selection@3.0.0)
d3-zoom: 3.0.0
dagre-d3-es@7.0.13:
dagre-d3-es@7.0.14:
dependencies:
d3: 7.9.0
lodash-es: 4.17.23
@@ -6186,7 +6195,7 @@ snapshots:
optionalDependencies:
'@types/trusted-types': 2.0.7
dompurify@3.3.0:
dompurify@3.3.2:
optionalDependencies:
'@types/trusted-types': 2.0.7
@@ -6822,20 +6831,21 @@ snapshots:
merge2@1.4.1: {}
mermaid@11.12.3:
mermaid@11.13.0:
dependencies:
'@braintree/sanitize-url': 7.1.1
'@iconify/utils': 3.0.2
'@mermaid-js/parser': 1.0.0
'@mermaid-js/parser': 1.0.1
'@types/d3': 7.4.3
'@upsetjs/venn.js': 2.0.0
cytoscape: 3.33.1
cytoscape-cose-bilkent: 4.1.0(cytoscape@3.33.1)
cytoscape-fcose: 2.2.0(cytoscape@3.33.1)
d3: 7.9.0
d3-sankey: 0.12.3
dagre-d3-es: 7.0.13
dagre-d3-es: 7.0.14
dayjs: 1.11.19
dompurify: 3.3.0
dompurify: 3.3.2
katex: 0.16.28
khroma: 2.1.0
lodash-es: 4.17.23
@@ -7715,7 +7725,7 @@ snapshots:
'@types/unist': 3.0.3
vfile-message: 4.0.2
vite-plugin-dynamic-base@1.2.0(vite@6.4.1(@types/node@22.19.0)(terser@5.46.0)(yaml@2.8.2)):
vite-plugin-dynamic-base@1.3.0(vite@6.4.1(@types/node@22.19.0)(terser@5.46.0)(yaml@2.8.2)):
dependencies:
'@swc/core': 1.12.14
node-html-parser: 5.4.2

View File

@@ -27,7 +27,7 @@ export const useCDN = () => {
const mermaidJSPath = () => {
return import.meta.env.VITE_LITE === "true"
? npm("mermaid", "11.1.0", "dist/mermaid.min.js")
? npm("mermaid", "11.13.0", "dist/mermaid.min.js")
: `${static_path}/mermaid/mermaid.min.js`
}