Commit Graph
1642 Commits
Author SHA1 Message Date
binaryify 064a128fd9 更新文档 2022-03-03 22:23:14 +08:00
binaryify 5001b283ee 更新文档 2022-03-03 22:22:44 +08:00
binaryify cdf1abdba8 Merge pull request #1486 from meedfine/master
fix: 部署在域名子路径下无法执行示例的问题
2022-03-02 10:45:29 +08:00
MeedFine 9b67a09f4e fix: 部署在域名子路径下无法执行示例的问题 2022-03-01 22:50:28 +08:00
dependabot[bot] c3996147e8 chore(deps): bump vm2 from 3.9.3 to 3.9.7
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.3 to 3.9.7.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.3...3.9.7)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-15 00:47:22 +00:00
binaryify 4050efc01c Merge pull request #1474 from chen310/master
Update README.md
2022-02-13 11:25:18 +08:00
chen310 0ee9527980 Update README.md 2022-02-13 10:17:43 +08:00
dependabot[bot] 8a1c84afc1 chore(deps): bump follow-redirects from 1.14.4 to 1.14.8
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.8.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.8)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-12 09:30:37 +00:00
binaryify 8cc6fe8676 歌单封面上传接口缺失参数时返回状态码修正 2022-02-12 17:30:00 +08:00
binaryify 6f6501cf10 Merge pull request #1471 from npmmirror/master
update https://registry.npm.taobao.org to https://registry.npmmirror.com
2022-02-11 22:20:32 +08:00
NPM Mirror Bot 02192b5863 update https://registry.npm.taobao.org to https://registry.npmmirror.com 2022-02-11 13:55:59 +00:00
binaryify d638be3455 update:歌曲详情文档增加字段说明 2022-02-11 21:29:34 +08:00
binaryify 0bc2a75879 update:歌曲详情文档增加字段说明 2022-02-11 17:36:53 +08:00
binaryify da88795b86 update:歌曲详情文档增加字段说明 2022-02-11 17:34:40 +08:00
binaryify 530d331eb2 update docs 2022-02-10 09:25:23 +08:00
binaryify 61d468ebbd 新增重复昵称检测接口 #1469 2022-02-09 22:40:20 +08:00
binaryify 61c8f2406c 新增重复昵称检测接口 #1469 2022-02-09 22:36:49 +08:00
binaryify 0fef46f7d1 新增重复昵称检测接口 #1469 2022-02-09 22:35:30 +08:00
binaryify ce6e29a7ec 搜索接口支持搜索声音 2022-02-09 20:45:05 +08:00
binaryify 2752ad5270 update docs 2022-02-09 16:15:45 +08:00
binaryify 4c643c7d36 修复云盘上传无法获取文件的问题 2022-02-09 15:03:58 +08:00
binaryify 8fa03ecd27 update license year 2022-02-05 14:45:48 +08:00
binaryify 247081174a update 2022-02-04 13:07:11 +08:00
binaryify 969d5d59c2 fix lint error 2022-02-03 08:52:31 +08:00
binaryify 114b92b68b Merge pull request #1462 from chen310/dev
feat: 签到进度接口 (Binaryify#1384)
2022-02-03 08:50:55 +08:00
chen_10 39708e48cb feat: 签到进度接口 (Binaryify#1384) 2022-02-02 22:45:43 +08:00
binaryify 39d3fb83eb update 2022-01-29 22:58:11 +08:00
binaryify 7a566765d9 Merge pull request #1459 from pan93412/fix/pack-server-js
fix: add "server.js" to the filelist to pack
2022-01-29 22:57:35 +08:00
pan93412 6681f11ce0 fix: add "server.js" to the filelist to pack
目前的 NPM 包少了 server.js,會導致
"NeteaseCloudMusicApi/server" 找不到檔案,也會讓
npx NeteaseCloudMusicApi 報錯(找不到 server.js 模組)
2022-01-29 22:27:17 +08:00
binaryify 61a0c0ebe1 入口文件优化#1457 2022-01-28 17:14:01 +08:00
binaryify d665429d77 Merge pull request #1457 from pan93412/refactor/dynamic-to-main
refactor: allow using server statically
2022-01-28 13:51:00 +08:00
pan93412 b02d4d5e04 refactor: allow using server statically
將原本 "NeteaseCloudMusicApi/server"
掃描 modules 目錄的部分抽出 server.js,
改移到 main.js。這樣使用者就有辦法只載入
靜態的伺服器部分(不動態載入模組)。

這個 patch 的 breaking changes 不易發生。
可作為 patch version 發佈。
2022-01-28 12:52:21 +08:00
binaryify.zhuang 91a3ba758d change version 2022-01-27 11:29:12 +08:00
binaryify.zhuang e7c153d9e9 增加兼容性 2022-01-27 11:23:44 +08:00
binaryify.zhuang d5b2952299 修复 pkg 打包问题 2022-01-27 11:09:10 +08:00
binaryify 36942a350c Merge pull request #1453 from pan93412/refactor/server-seperation
refactor(server): 使伺服器可以復用、更換廢棄函式
2022-01-27 10:49:33 +08:00
pan93412 69a71cb710 chore: add a tool to get the static module definitions 2022-01-26 14:50:50 +08:00
pan93412 c412f53f11 feat(server): allow printing out module paths 2022-01-26 14:42:50 +08:00
pan93412 7061a9ea82 refactor!: use server.js as main.js
server.js 有 main.js 原本的功能 (getModulesDefinitions)

BREAKING CHANGES: 所有使用到這個 lib 的應用程式
,皆需更改為 .getModulesDefinitions()。
2022-01-26 14:34:35 +08:00
pan93412 9e0c900f6f test(server): more reliable test for server 2022-01-26 14:30:00 +08:00
pan93412 4e434a2691 feat(server): add field "identifier"
I'm going to replace the function of "main.js".
2022-01-26 14:20:54 +08:00
pan93412 5bf53028ef feat(server): allow passing modules manually
自行維護 require 名單以相容 Webpack。
2022-01-26 14:14:24 +08:00
pan93412 fc9630aa39 refactor: add type definition of Express 2022-01-26 11:52:46 +08:00
pan93412 fb04e512c0 fix(server): remove the shebang line 2022-01-26 11:38:08 +08:00
pan93412 0ac00325c8 refactor(server): replace the deprecated function
Express 4.x 以上版本已經內建 body-parser。
2022-01-26 11:34:35 +08:00
pan93412 7985690987 refactor(server): separate server from app
我們需要 NCM API 的伺服器部分,但 app.js
目前的做法讓我們不太好單獨啟動伺服器。

我將 app.js 的伺服器部分抽成各個函數,並將原有
會 blocking 的函數更改為非同步函式。
這樣不僅能最大化善用 Node.js 的 Event Loop,
亦能提升未來維護的程式碼易讀性。
2022-01-26 11:29:07 +08:00
binaryify 6d335bd85f update to v4.3.0 2022-01-22 20:57:25 +08:00
binaryify 5daa11bdb6 Merge pull request #1446 from chen310/dev
fix: 发送/删除评论、点赞失败
2022-01-20 09:25:23 +08:00
chen_10 3a914fb240 doc: 修改文档错误 2022-01-20 09:02:58 +08:00
chen_10 2bd00f932f fix: 发送/删除评论、点赞失败 (Binaryify#1442) 2022-01-20 08:59:10 +08:00