99 * Last Modified : <2025-07-11>
1010 * ------------------------------------------------------------*/
1111
12+ #define PL_Nodejs_Group_Speed_URL_Postfix "/@tensorflow/tfjs/-/tfjs-4.22.0.tgz"
13+
1214static SourceProvider_t pl_nodejs_npm_upstream =
1315{
1416 def_upstream , "https://www.npmjs.com/" ,
@@ -24,26 +26,28 @@ static MirrorSite_t NpmMirror =
2426};
2527
2628/**
27- * @update 2024-09-23
29+ * @update 2025-07-11
2830 * @sync https://github.com/RubyMetric/chsrc/wiki/Node.js-MirrorSite
2931 * @sync https://github.com/RubyMetric/chsrc/discussions/85
3032 *
31- * @note {
33+ * @note
3234 * Sjtug, Tuna, Lzuoss, Jlu, Bfsu, 网易,搜狐 都没有
33- * }
34- *
3535 */
3636static Source_t pl_nodejs_group_sources [] =
3737{
38- {& pl_nodejs_npm_upstream , "https://registry.npmjs.org/" }, /* @note 根据 pnpm 官网,有最后的斜线 */
39- {& NpmMirror , "https://registry.npmmirror.com" },
40- {& Huawei , "https://mirrors.huaweicloud.com/repository/npm/" },
41- {& Tencent , "https://mirrors.cloud.tencent.com/npm/" },
38+ {& pl_nodejs_npm_upstream , "https://registry.npmjs.org/" , DelegateToUpstream }, /* @note 根据 pnpm 官网,有最后的斜线 */
39+ {& NpmMirror , "https://registry.npmmirror.com" , DelegateToMirror },
40+
41+ {& Huawei , "https://mirrors.huaweicloud.com/repository/npm/" ,
42+ "https://mirrors.huaweicloud.com/repository/npm/" PL_Nodejs_Group_Speed_URL_Postfix },
43+
44+ {& Tencent , "https://mirrors.cloud.tencent.com/npm/" ,
45+ "https://mirrors.cloud.tencent.com/npm/" PL_Nodejs_Group_Speed_URL_Postfix },
4246};
4347def_sources_n (pl_nodejs_group );
4448
4549
46-
50+ #define PL_Nodejs_Binary_Speed_URL_Postfix "/v23.4.0/node-v23.4.0-linux-x64.tar.xz"
4751
4852static SourceProvider_t pl_nodejs_binary_release_upstream =
4953{
@@ -52,20 +56,31 @@ static SourceProvider_t pl_nodejs_binary_release_upstream =
5256};
5357
5458/**
55- * @update 2024-12-18
59+ * @update 2025-07-11
5660 * @sync https://github.com/RubyMetric/chsrc/wiki/Node.js-BinaryRelease-MirrorSite
5761 * @sync https://github.com/RubyMetric/chsrc/discussions/85
5862 *
5963 */
6064static Source_t pl_nodejs_binary_release_sources [] =
6165{
62- {& pl_nodejs_binary_release_upstream , "https://nodejs.org/dist/" },
63- {& NpmMirror , "https://npmmirror.com/mirrors" },
64- {& Tuna , "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/" },
65- {& Bfsu , "https://mirrors.bfsu.edu.cn/nodejs-release/" },
66- {& Ustc , "https://mirrors.ustc.edu.cn/node/" },
67-
68- {& Huawei , "https://mirrors.huaweicloud.com/nodejs/" },
69- {& Tencent , "https://mirrors.cloud.tencent.com/nodejs-release/" },
66+ {& pl_nodejs_binary_release_upstream , "https://nodejs.org/dist/" , DelegateToUpstream },
67+
68+ {& NpmMirror , "https://npmmirror.com/mirrors" ,
69+ "https://registry.npmmirror.com/-/binary/node/v23.4.0/node-v23.4.0.tar.gz" },
70+
71+ {& Tuna , "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/" ,
72+ "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/" PL_Nodejs_Binary_Speed_URL_Postfix },
73+
74+ {& Bfsu , "https://mirrors.bfsu.edu.cn/nodejs-release/" ,
75+ "https://mirrors.bfsu.edu.cn/nodejs-release/" PL_Nodejs_Binary_Speed_URL_Postfix },
76+
77+ {& Ustc , "https://mirrors.ustc.edu.cn/node/" ,
78+ "https://mirrors.ustc.edu.cn/node/" PL_Nodejs_Binary_Speed_URL_Postfix },
79+
80+ {& Huawei , "https://mirrors.huaweicloud.com/nodejs/" ,
81+ "https://mirrors.huaweicloud.com/nodejs/" PL_Nodejs_Binary_Speed_URL_Postfix },
82+
83+ {& Tencent , "https://mirrors.cloud.tencent.com/nodejs-release/" ,
84+ "https://mirrors.cloud.tencent.com/nodejs-release/" PL_Nodejs_Binary_Speed_URL_Postfix }
7085};
7186def_sources_n (pl_nodejs_binary_release );
0 commit comments