Commit Graph
1128 Commits
Author SHA1 Message Date
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
binaryify 8ea1dc5d8a Merge pull request #1440 from cweijan/master
增加二进制文件node标识
2022-01-17 09:29:28 +08:00
WeiJian Chen 9ebdb6a1d8 增加二进制文件node标识 2022-01-16 23:52:31 +08:00
binaryify 9579e709f1 Merge pull request #1423 from Binaryify/renovate/lint-staged-12.x
chore(deps): update dependency lint-staged to v12.1.7
2022-01-16 20:53:52 +08:00
binaryify cdee107ced Merge pull request #1414 from Binaryify/renovate/eslint-8.x
chore(deps): update dependency eslint to v8.7.0
2022-01-16 20:53:32 +08:00
binaryify 644756d301 Merge pull request #1405 from Binaryify/renovate/prettier-2.x
chore(deps): update dependency prettier to v2.5.1
2022-01-16 20:53:13 +08:00
binaryify 9e29c66c63 Merge pull request #1403 from Binaryify/renovate/node-16.x
chore(deps): update dependency @types/node to v16.11.19
2022-01-16 20:53:01 +08:00
Renovate Bot a23eda52da chore(deps): update dependency eslint to v8.7.0 2022-01-16 03:14:07 +00:00
Renovate Bot b30b8a75ce chore(deps): update dependency prettier to v2.5.1 2022-01-15 10:48:25 +00:00
Renovate Bot d2c1cf215d chore(deps): update dependency lint-staged to v12.1.7 2022-01-15 10:47:25 +00:00
Renovate Bot f643dd5e73 chore(deps): update dependency @types/node to v16.11.19 2022-01-15 10:47:05 +00:00
binaryify a0500ec648 Merge pull request #1435 from SnowingFox/master
feat(playlist_track_all): 获取歌单所有歌曲接口新增offset偏移量设置,以此达到分页效果
2022-01-15 13:47:33 +08:00
SnowingFox 4a941dd5e9 feat(playlist_track_all): 增加offset偏移量设置 2022-01-15 13:18:34 +08:00
SnowingFox 10a0751b00 feat(playlist_track_all): 增加offset偏移量设置 2022-01-15 13:17:43 +08:00
SnowingFox 775cda8e24 feat(playlist_track_all): 增加offset偏移量设置 2022-01-15 13:14:12 +08:00