From d4d465e731598905be2870fa9413eb8ffbc563c0 Mon Sep 17 00:00:00 2001 From: MoeFurina <222616389+MoeFurina@users.noreply.github.com> Date: Fri, 7 Nov 2025 19:03:04 +0800 Subject: [PATCH] chore(deps): update dependences --- .github/workflows/issue-manage.yml | 84 ++++++++++++++++++++++++++++++ edgeone.json | 14 ----- package.json | 8 +-- pnpm-lock.yaml | 46 +++++++++------- wrangler.json | 9 ---- 5 files changed, 114 insertions(+), 47 deletions(-) create mode 100644 .github/workflows/issue-manage.yml delete mode 100644 edgeone.json delete mode 100644 wrangler.json diff --git a/.github/workflows/issue-manage.yml b/.github/workflows/issue-manage.yml new file mode 100644 index 0000000..720765c --- /dev/null +++ b/.github/workflows/issue-manage.yml @@ -0,0 +1,84 @@ +name: Issue Management +permissions: + issues: write + contents: read + +on: + issues: + types: [opened, labeled] + issue_comment: + types: [created] + +jobs: + welcome-new-issues: + if: github.event.action == 'opened' + runs-on: ubuntu-latest + steps: + - name: Welcome new issue + uses: peter-evans/create-or-update-comment@v4 + with: + issue-number: ${{ github.event.issue.number }} + body: | + 👋 感谢您提交issue! + + 我们已经收到您的反馈,维护者会尽快查看并回复。 + + 由于二开作者是高中生, 只能在非工作日处理issue, 请耐心等待。 + + 在等待回复期间,您可以: + - 📖 查看[项目文档](https://neteasecloudmusicapienhanced.js.org) + - 💬 加入[QQ交流群](https://qm.qq.com/q/TpeP9Uv2yk) 进行实时讨论 + - 🔍 搜索[现有issues](https://github.com/neteasecloudmusicapienhanced/api-enhanced/issues) 看是否有类似问题 + + handle-help-wanted: + if: contains(github.event.issue.labels.*.name, 'question') + runs-on: ubuntu-latest + steps: + - name: Add help resources + uses: peter-evans/create-or-update-comment@v4 + with: + issue-number: ${{ github.event.issue.number }} + body: | + 🆘 需要帮助? + + 这里有一些可能对您有用的资源: + + 📚 **文档资源** + - [项目文档](https://neteasecloudmusicapienhanced.js.org) + + 🔍 **常见问题** + - 搜索[已关闭的issues](https://github.com/neteasecloudmusicapienhanced/api-enhanced/issues?q=is%3Aissue+is%3Aclosed) 看看是否有类似的问题已经被解答。 + + 💬 **即时帮助** + - 加入QQ群:https://qm.qq.com/q/TpeP9Uv2yk + + 如果以上资源无法解决您的问题,请提供更多详细信息,我们会尽快为您解答! + + 由于二开作者是高中生, 只能在非工作日处理issue, 请耐心等待。 + + stale-issues: + if: github.event.action == 'opened' + runs-on: ubuntu-latest + steps: + - name: Mark stale issues + uses: actions/stale@v8 + with: + repo-token: ${{ secrets.GITHUB_TOKEN }} + stale-issue-message: | + 这个issue已经30天没有活动了。 + + 如果这个问题仍然存在,请回复此评论说明当前状态。 + 否则,这个issue将在7天后自动关闭。 + + 您可以随时重新打开已关闭的issue。 + stale-pr-message: | + 这个PR已经30天没有活动了。 + + 如果您仍在处理这个PR,请回复此评论。 + 否则,这个PR将在7天后自动关闭。 + days-before-stale: 30 + days-before-close: 7 + stale-issue-label: "stale" + stale-pr-label: "stale" + exempt-issue-labels: "pinned,enhancement,priority:high,ongoing,fatal" + exempt-pr-labels: "pinned,priority:high,ongoing,fatal" \ No newline at end of file diff --git a/edgeone.json b/edgeone.json deleted file mode 100644 index 38b8826..0000000 --- a/edgeone.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "functions": [ - { - "path": "/(.*)", - "method": ["GET", "POST", "PUT", "DELETE", "OPTIONS"], - "handler": "index.js", - "headers": { - "Access-Control-Allow-Credentials": "true", - "Access-Control-Allow-Methods": "GET, POST, PUT, DELETE, OPTIONS", - "Access-Control-Allow-Headers": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" - } - } - ] -} diff --git a/package.json b/package.json index c256833..722e224 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@neteasecloudmusicapienhanced/api", - "version": "4.29.13", + "version": "4.29.14", "description": "为停更的网易云音乐 NodeJs API 提供持续的维护!", "scripts": { "dev": "nodemon app.js", @@ -67,7 +67,7 @@ ], "dependencies": { "@unblockneteasemusic/server": "^0.28.0", - "axios": "^1.13.1", + "axios": "^1.13.2", "crypto-js": "^4.2.0", "dotenv": "^17.2.3", "express": "^5.1.0", @@ -84,7 +84,7 @@ }, "devDependencies": { "@eslint/eslintrc": "^3.3.1", - "@eslint/js": "^9.39.0", + "@eslint/js": "^9.39.1", "@types/express": "^5.0.5", "@types/express-fileupload": "^1.5.1", "@types/mocha": "^10.0.10", @@ -95,7 +95,7 @@ "eslint-config-prettier": "10.1.8", "eslint-plugin-html": "8.1.3", "eslint-plugin-prettier": "5.5.4", - "globals": "^16.4.0", + "globals": "^16.5.0", "husky": "9.1.7", "intelli-espower-loader": "1.1.0", "lint-staged": "16.2.6", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 24c0e24..6b92a0c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -12,8 +12,8 @@ importers: specifier: ^0.28.0 version: 0.28.0 axios: - specifier: ^1.13.1 - version: 1.13.1 + specifier: ^1.13.2 + version: 1.13.2 crypto-js: specifier: ^4.2.0 version: 4.2.0 @@ -58,8 +58,8 @@ importers: specifier: ^3.3.1 version: 3.3.1 '@eslint/js': - specifier: ^9.39.0 - version: 9.39.0 + specifier: ^9.39.1 + version: 9.39.1 '@types/express': specifier: ^5.0.5 version: 5.0.5 @@ -91,8 +91,8 @@ importers: specifier: 5.5.4 version: 5.5.4(eslint-config-prettier@10.1.8(eslint@9.39.0))(eslint@9.39.0)(prettier@3.6.2) globals: - specifier: ^16.4.0 - version: 16.4.0 + specifier: ^16.5.0 + version: 16.5.0 husky: specifier: 9.1.7 version: 9.1.7 @@ -174,6 +174,10 @@ packages: resolution: {integrity: sha512-BIhe0sW91JGPiaF1mOuPy5v8NflqfjIcDNpC+LbW9f609WVRX1rArrhi6Z2ymvrAry9jw+5POTj4t2t62o8Bmw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/js@9.39.1': + resolution: {integrity: sha512-S26Stp4zCy88tH94QbBv3XCuzRQiZ9yXofEILmglYTh/Ug/a9/umqvgFtYBAo3Lp0nsI/5/qH1CCrbdK3AP1Tw==} + engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} + '@eslint/object-schema@2.1.7': resolution: {integrity: sha512-VtAOaymWVfZcmZbp6E2mympDIHvyjXs/12LqWYjVw6qjrfF+VK+fyG33kChz3nnK+SU5/NeHOqrTEHS8sXO3OA==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -397,8 +401,8 @@ packages: resolution: {integrity: sha512-S2Hw0TtNkMJhIabBwIojKL9YHO5T0n5eNqWJ7Lrlel/zDbftQpxpapi8tZs3X1HWa+u+QeydGmzzNU0m09+Rcg==} engines: {node: '>=0.4.2'} - ansi-escapes@7.1.1: - resolution: {integrity: sha512-Zhl0ErHcSRUaVfGUeUdDuLgpkEo8KIFjB4Y9uAc46ScOpdDiU1Dbyplh7qWJeJ/ZHpbyMSM26+X3BySgnIz40Q==} + ansi-escapes@7.2.0: + resolution: {integrity: sha512-g6LhBsl+GBPRWGWsBtutpzBYuIIdBkLEvad5C/va/74Db018+5TZiyA26cZJAr3Rft5lprVqOIPxf5Vid6tqAw==} engines: {node: '>=18'} ansi-regex@5.0.1: @@ -473,8 +477,8 @@ packages: resolution: {integrity: sha512-wvUjBtSGN7+7SjNpq/9M2Tg350UZD3q62IFZLbRAR1bSMlCo1ZaeW+BJ+D090e4hIIZLBcTDWe4Mh4jvUDajzQ==} engines: {node: '>= 0.4'} - axios@1.13.1: - resolution: {integrity: sha512-hU4EGxxt+j7TQijx1oYdAjw4xuIp1wRQSsbMFwSthCWeBQur1eF+qJ5iQ5sN3Tw8YRzQNKb8jszgBdMDVqwJcw==} + axios@1.13.2: + resolution: {integrity: sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==} balanced-match@1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} @@ -1202,8 +1206,8 @@ packages: resolution: {integrity: sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==} engines: {node: '>=18'} - globals@16.4.0: - resolution: {integrity: sha512-ob/2LcVVaVGCYN+r14cnwnoDPUufjiYgSqRhiFD0Q1iI4Odora5RE8Iv1D24hAz5oMophRGkGz+yuvQmmUMnMw==} + globals@16.5.0: + resolution: {integrity: sha512-c/c15i26VrJ4IRt5Z89DnIzCGDn9EcebibhAOjw5ibqEHsE1wLUgkPn9RDmNcUKyU87GeaL633nyJ+pplFR2ZQ==} engines: {node: '>=18'} globalthis@1.0.4: @@ -2074,8 +2078,8 @@ packages: safer-buffer@2.1.2: resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} - sax@1.4.1: - resolution: {integrity: sha512-+aWOz7yVScEGoKNd4PA10LZ8sk0A/z5+nXQG5giUO5rprX9jgYsTdov9qCchZiPIZezbZH+jRut8nPodFAX4Jg==} + sax@1.4.3: + resolution: {integrity: sha512-yqYn1JhPczigF94DMS+shiDMjDowYO6y9+wB/4WgO0Y19jWYk0lQ4tuG5KI7kj4FTp1wxPj5IFfcrz/s1c3jjQ==} secure-json-parse@2.7.0: resolution: {integrity: sha512-6aU+Rwsezw7VR8/nyvKTx8QpWH9FrcYiXXlqC4z5d5XQBDRqtbfsRjnwGyqbi3gddNtWHuEk9OANUotL26qKUw==} @@ -2608,6 +2612,8 @@ snapshots: '@eslint/js@9.39.0': {} + '@eslint/js@9.39.1': {} + '@eslint/object-schema@2.1.7': {} '@eslint/plugin-kit@0.4.1': @@ -2869,7 +2875,7 @@ snapshots: amdefine@1.0.1: {} - ansi-escapes@7.1.1: + ansi-escapes@7.2.0: dependencies: environment: 1.1.0 @@ -2938,7 +2944,7 @@ snapshots: dependencies: possible-typed-array-names: 1.1.0 - axios@1.13.1: + axios@1.13.2: dependencies: follow-redirects: 1.15.11 form-data: 4.0.4 @@ -3854,7 +3860,7 @@ snapshots: globals@14.0.0: {} - globals@16.4.0: {} + globals@16.5.0: {} globalthis@1.0.4: dependencies: @@ -4213,7 +4219,7 @@ snapshots: log-update@6.1.0: dependencies: - ansi-escapes: 7.1.1 + ansi-escapes: 7.2.0 cli-cursor: 5.0.0 slice-ansi: 7.1.2 strip-ansi: 7.1.2 @@ -4828,7 +4834,7 @@ snapshots: safer-buffer@2.1.2: {} - sax@1.4.1: {} + sax@1.4.3: {} secure-json-parse@2.7.0: {} @@ -5326,7 +5332,7 @@ snapshots: xml2js@0.6.2: dependencies: - sax: 1.4.1 + sax: 1.4.3 xmlbuilder: 11.0.1 xml@1.0.1: {} diff --git a/wrangler.json b/wrangler.json deleted file mode 100644 index d0f6136..0000000 --- a/wrangler.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "neteasecloudmusicapienhanced", - "main": "app.js", - "compatibility_date": "2025-08-05", - "compatibility_flags": ["nodejs_compat"], - "service": { - "environment": "production" - } -} \ No newline at end of file