@yinghe/uwebsockets
v20.66.0
Published
uWebSockets.js precompiled binaries, republished under the @yinghe scope for internal use. JS layer and ABI 115/127/137/141 come from upstream v20.66.0; ABI 83/88/93/102/108 are retained from v20.31.0 so Node <= 18 keeps working.
Readme
uWebSockets.js precompiled binaries
Automatically built from source by GitHub Actions. The file "source_commit" contains the corresponding Git commit (SHA-1) that was built. As such you can validate the binaries by diffing against your own build of said commit (using the same compiler).
Clarification of license
Files in this "binaries" branch are all licensed under Apache License 2.0, despite some of them lacking a notice as per "APPENDIX: How to apply the Apache License to your work" of the Apache License 2.0.
维护说明(本转发包特有)
本包是上游 uWebSockets.js 预编译产物的转发包,仅额外提供 package.json 以便发布到 npm 的 @yinghe scope。
当前版本:20.66.0
| 部分 | 来源 |
|---|---|
| uws.js / index.d.ts / ESM_wrapper.mjs | 上游 v20.66.0 |
| ABI 115 / 127 / 137 / 141(Node 20 / 22 / 24 / 26) | 上游 v20.66.0,source_commit = 407223ad0e975cfe907a4415088b5bfcf4e72d4e |
| ABI 83 / 88 / 93 / 102 / 108(Node 8 ~ 18) | 上游 v20.31.0 保留,source_commit = d0fdc4c2c2f2672a4460eaf3ea918f94caf22b65 |
为什么要保留旧 ABI:上游自 v20.67.0 起移除了 ABI 115(Node 20),而 v20.55.0~v20.66.0 区间只带 115/127/137/141、不含 93。为免本包的升级与下游服务的 Node 版本升级互相阻塞,旧 ABI 一并保留。待所有下游服务迁到 Node 20+ 后,可移除 ABI 83/88/93/102/108 与本表后两行。
注意事项
uws.js只是「按 ABI 加载二进制 + 追加纯 JS 的DeclarativeResponse类」,API 主体由二进制提供。因此 Node ≤ 18(旧 ABI)上可用的是 v20.31.0 时代的 API 面;DeclarativeResponse依赖新版原生格式,在旧 ABI 上不应使用。linux_arm(32 位 ARM)只有 ABI 93/108/115 —— 上游 20.66.0 未提供该平台,保留的是 v20.31.0 的产物。- 版本号跟随上游。发布时需显式指定官方 registry:
npm publish --registry=https://registry.npmjs.org。
