From b45739b62148562a05b386bde44a3cf08365607e Mon Sep 17 00:00:00 2001
From: MoeFurina <222616389+MoeFurina@users.noreply.github.com>
Date: Fri, 24 Oct 2025 17:51:23 +0800
Subject: [PATCH] refactor(index): rewrite api index pages without ai and
update dependences
---
.gitignore | 1 +
package.json | 4 +-
pnpm-lock.yaml | 76 +++++-----
public/index.html | 365 ++++++++++------------------------------------
4 files changed, 117 insertions(+), 329 deletions(-)
diff --git a/.gitignore b/.gitignore
index 83b4cd0..9ca4039 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ examples/moddef.json
bin
anonymous_token
.vercel
+.env
\ No newline at end of file
diff --git a/package.json b/package.json
index 6fd8c54..3734395 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@neteasecloudmusicapienhanced/api",
- "version": "4.29.11",
+ "version": "4.29.12",
"description": "为停更的网易云音乐 NodeJs API 提供持续的维护!",
"scripts": {
"start": "node app.js",
@@ -82,7 +82,7 @@
"yargs": "^17.7.2"
},
"devDependencies": {
- "@types/express": "^5.0.3",
+ "@types/express": "^5.0.4",
"@types/express-fileupload": "^1.5.1",
"@types/mocha": "^9.1.1",
"@types/node": "24.6.1",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 36483d7..8242f47 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -55,8 +55,8 @@ importers:
version: 17.7.2
devDependencies:
'@types/express':
- specifier: ^5.0.3
- version: 5.0.3
+ specifier: ^5.0.4
+ version: 5.0.4
'@types/express-fileupload':
specifier: ^1.5.1
version: 1.5.1
@@ -119,8 +119,8 @@ packages:
resolution: {integrity: sha512-qMlSxKbpRlAridDExk92nSobyDdpPijUq2DW6oDnUqd0iOGxmQjyqhMIihI9+zv4LPyZdRje2cavWPbCbWm3eA==}
engines: {node: '>=6.9.0'}
- '@babel/helper-validator-identifier@7.27.1':
- resolution: {integrity: sha512-D2hP9eA+Sqx1kBZgzxZh0y1trbuU+JoDkiEwqhQ36nodYqJwyEIhPSdMNd7lOm/4io72luTPWH20Yda0xOuUow==}
+ '@babel/helper-validator-identifier@7.28.5':
+ resolution: {integrity: sha512-qSs4ifwzKJSV39ucNjsvc6WVHs6b7S03sOh2OcHF9UHfVPqWWALUsNUVzhSBiItjRZoLHx7nIarVjqKVusUZ1Q==}
engines: {node: '>=6.9.0'}
'@babel/parser@7.18.4':
@@ -138,8 +138,8 @@ packages:
peerDependencies:
eslint: ^6.0.0 || ^7.0.0 || >=8.0.0
- '@eslint-community/regexpp@4.12.1':
- resolution: {integrity: sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==}
+ '@eslint-community/regexpp@4.12.2':
+ resolution: {integrity: sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==}
engines: {node: ^12.0.0 || ^14.0.0 || >=16.0.0}
'@eslint/eslintrc@1.4.1':
@@ -209,8 +209,8 @@ packages:
'@types/express-serve-static-core@5.1.0':
resolution: {integrity: sha512-jnHMsrd0Mwa9Cf4IdOzbz543y4XJepXrbia2T4b6+spXC2We3t1y6K44D3mR8XMFSXMCf3/l7rCgddfx7UNVBA==}
- '@types/express@5.0.3':
- resolution: {integrity: sha512-wGA0NX93b19/dZC1J18tKWVIYWyyF2ZjT9vin/NRu0qzzvfVzWjs04iq2rQ3H65vCTQYlRqs3YHfY7zjdV+9Kw==}
+ '@types/express@5.0.4':
+ resolution: {integrity: sha512-g64dbryHk7loCIrsa0R3shBnEu5p6LPJ09bu9NG58+jz+cRUjFrc3Bz0kNQ7j9bXeCsrRDvNET1G54P/GJkAyA==}
'@types/http-errors@2.0.5':
resolution: {integrity: sha512-r8Tayk8HJnX0FztbZN7oVqGccWgw98T/0neJphO91KkmOzug1KkofZURD4UaD5uH8AqcFLfdPErnBod0u71/qg==}
@@ -236,14 +236,14 @@ packages:
'@types/semver@7.7.1':
resolution: {integrity: sha512-FmgJfu+MOcQ370SD0ev7EI8TlCAfKYU+B4m5T3yXc1CiRN94g/SZPtsCkk506aUDtlMnFZvasDwHHUcZUEaYuA==}
- '@types/send@0.17.5':
- resolution: {integrity: sha512-z6F2D3cOStZvuk2SaP6YrwkNO65iTZcwA2ZkSABegdkAh/lf+Aa/YQndZVfmEXT5vgAp6zv06VQ3ejSVjAny4w==}
+ '@types/send@0.17.6':
+ resolution: {integrity: sha512-Uqt8rPBE8SY0RK8JB1EzVOIZ32uqy8HwdxCnoCOsYrvnswqmFZ/k+9Ikidlk/ImhsdvBsloHbAlewb2IEBV/Og==}
- '@types/send@1.2.0':
- resolution: {integrity: sha512-zBF6vZJn1IaMpg3xUF25VK3gd3l8zwE0ZLRX7dsQyQi+jp4E8mMDJNGDYnYse+bQhYwWERTxVwHpi3dMOq7RKQ==}
+ '@types/send@1.2.1':
+ resolution: {integrity: sha512-arsCikDvlU99zl1g69TcAB3mzZPpxgw0UQnaHeC1Nwb015xp8bknZv5rIfri9xTOcMuaVgvabfIRA7PSZVuZIQ==}
- '@types/serve-static@1.15.9':
- resolution: {integrity: sha512-dOTIuqpWLyl3BBXU3maNQsS4A3zuuoYRNIvYSxxhebPfXg2mzWQEPne/nlJ37yOse6uGgR386uTpdsx4D0QZWA==}
+ '@types/serve-static@1.15.10':
+ resolution: {integrity: sha512-tRs1dB+g8Itk72rlSI2ZrW6vZg0YrLI81iQSTkMmOqnqCaNr/8Ek4VwWcN5vZgCYWbg/JJSGBlUaYGAOP73qBw==}
'@typescript-eslint/eslint-plugin@5.62.0':
resolution: {integrity: sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==}
@@ -546,8 +546,8 @@ packages:
resolution: {integrity: sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw==}
engines: {node: '>=18'}
- cli-truncate@5.1.0:
- resolution: {integrity: sha512-7JDGG+4Zp0CsknDCedl0DYdaeOhc46QNpXi3NLQblkZpXXgA6LncLDUUyvrjSvZeF3VRQa+KiMGomazQrC1V8g==}
+ cli-truncate@5.1.1:
+ resolution: {integrity: sha512-SroPvNHxUnk+vIW/dOSfNqdy1sPEFkrTk6TUtqLCnBlo3N7TNYYkzzN7uSD6+jVjrdO4+p8nH7JzH6cIvUem6A==}
engines: {node: '>=20'}
cliui@6.0.0:
@@ -1496,8 +1496,8 @@ packages:
engines: {node: '>=20.17'}
hasBin: true
- listr2@9.0.4:
- resolution: {integrity: sha512-1wd/kpAdKRLwv7/3OKC8zZ5U8e/fajCfWMxacUvB79S5nLrYGPtUI/8chMQhn3LQjsRVErTb9i1ECAwW0ZIHnQ==}
+ listr2@9.0.5:
+ resolution: {integrity: sha512-ME4Fb83LgEgwNw96RKNvKV4VTLuXfoKudAmm2lP8Kk87KaMK0/Xrx/aAkMWmT8mDb+3MlFDspfbCs7adjRxA2g==}
engines: {node: '>=20.0.0'}
locate-path@5.0.0:
@@ -1972,8 +1972,8 @@ packages:
resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==}
engines: {node: '>=4'}
- resolve@1.22.10:
- resolution: {integrity: sha512-NPRy+/ncIMeDlTAsuqwKIiferiawhefFJtkNSW0qZJEqMEb+qBt/77B/jGeeek+F0uOeN05CDa6HXbbIgtVX4w==}
+ resolve@1.22.11:
+ resolution: {integrity: sha512-RfqAvLnMl313r7c9oclB1HhUEAezcpLjz95wFH4LVuhk9JF/r22qmVP9AMmOU4vMX7Q8pN8jwNg/CSpdFnMjTQ==}
engines: {node: '>= 0.4'}
hasBin: true
@@ -2497,7 +2497,7 @@ snapshots:
'@babel/helper-string-parser@7.27.1': {}
- '@babel/helper-validator-identifier@7.27.1': {}
+ '@babel/helper-validator-identifier@7.28.5': {}
'@babel/parser@7.18.4':
dependencies:
@@ -2506,7 +2506,7 @@ snapshots:
'@babel/types@7.19.0':
dependencies:
'@babel/helper-string-parser': 7.27.1
- '@babel/helper-validator-identifier': 7.27.1
+ '@babel/helper-validator-identifier': 7.28.5
to-fast-properties: 2.0.0
'@eslint-community/eslint-utils@4.9.0(eslint@8.7.0)':
@@ -2514,7 +2514,7 @@ snapshots:
eslint: 8.7.0
eslint-visitor-keys: 3.4.3
- '@eslint-community/regexpp@4.12.1': {}
+ '@eslint-community/regexpp@4.12.2': {}
'@eslint/eslintrc@1.4.1':
dependencies:
@@ -2598,20 +2598,20 @@ snapshots:
'@types/express-fileupload@1.5.1':
dependencies:
'@types/busboy': 1.5.4
- '@types/express': 5.0.3
+ '@types/express': 5.0.4
'@types/express-serve-static-core@5.1.0':
dependencies:
'@types/node': 24.6.1
'@types/qs': 6.14.0
'@types/range-parser': 1.2.7
- '@types/send': 1.2.0
+ '@types/send': 1.2.1
- '@types/express@5.0.3':
+ '@types/express@5.0.4':
dependencies:
'@types/body-parser': 1.19.6
'@types/express-serve-static-core': 5.1.0
- '@types/serve-static': 1.15.9
+ '@types/serve-static': 1.15.10
'@types/http-errors@2.0.5': {}
@@ -2631,24 +2631,24 @@ snapshots:
'@types/semver@7.7.1': {}
- '@types/send@0.17.5':
+ '@types/send@0.17.6':
dependencies:
'@types/mime': 1.3.5
'@types/node': 24.6.1
- '@types/send@1.2.0':
+ '@types/send@1.2.1':
dependencies:
'@types/node': 24.6.1
- '@types/serve-static@1.15.9':
+ '@types/serve-static@1.15.10':
dependencies:
'@types/http-errors': 2.0.5
'@types/node': 24.6.1
- '@types/send': 0.17.5
+ '@types/send': 0.17.6
'@typescript-eslint/eslint-plugin@5.62.0(@typescript-eslint/parser@5.0.0(eslint@8.7.0)(typescript@4.5.2))(eslint@8.7.0)(typescript@4.5.2)':
dependencies:
- '@eslint-community/regexpp': 4.12.1
+ '@eslint-community/regexpp': 4.12.2
'@typescript-eslint/parser': 5.0.0(eslint@8.7.0)(typescript@4.5.2)
'@typescript-eslint/scope-manager': 5.62.0
'@typescript-eslint/type-utils': 5.62.0(eslint@8.7.0)(typescript@4.5.2)
@@ -2984,7 +2984,7 @@ snapshots:
dependencies:
restore-cursor: 5.1.0
- cli-truncate@5.1.0:
+ cli-truncate@5.1.1:
dependencies:
slice-ansi: 7.1.2
string-width: 8.1.0
@@ -4094,16 +4094,16 @@ snapshots:
lint-staged@16.2.4:
dependencies:
commander: 14.0.1
- listr2: 9.0.4
+ listr2: 9.0.5
micromatch: 4.0.8
nano-spawn: 2.0.0
pidtree: 0.6.0
string-argv: 0.3.2
yaml: 2.8.1
- listr2@9.0.4:
+ listr2@9.0.5:
dependencies:
- cli-truncate: 5.1.0
+ cli-truncate: 5.1.1
colorette: 2.0.20
eventemitter3: 5.0.1
log-update: 6.1.0
@@ -4453,7 +4453,7 @@ snapshots:
multistream: 4.1.0
pkg-fetch: 3.4.2
prebuild-install: 7.1.1
- resolve: 1.22.10
+ resolve: 1.22.11
stream-meter: 1.0.4
transitivePeerDependencies:
- encoding
@@ -4668,7 +4668,7 @@ snapshots:
resolve-from@4.0.0: {}
- resolve@1.22.10:
+ resolve@1.22.11:
dependencies:
is-core-module: 2.16.1
path-parse: 1.0.7
diff --git a/public/index.html b/public/index.html
index 50a8898..e481750 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,312 +1,99 @@
-
+
-
+
网易云音乐 API Enhanced
-
-
-
-
+
+
-
-
文档与演示
-
+
-
+
-
+
-
- 当前访问地址:
-
+
-
-
-
+
+
-