wasm-rquickjs-cli 0.5.3

Tool for wrapping JavaScript modules as WebAssembly components using the QuickJS engine
# Socket.IO Compatibility Test Results

**Package:** `socket.io`
**Version:** `4.8.3`
**Tested on:** 2026-03-10
**Bundler:** Rollup (with `@rollup/plugin-commonjs` + `@rollup/plugin-node-resolve`)

## Test Results

### test-01-basic.js — Server options and setters (`path`, `connectTimeout`, `serveClient`)
- **Node.js:** ✅ PASS
- **wasm-rquickjs:** ✅ PASS

### test-02-namespaces.js — Static and dynamic namespace creation
- **Node.js:** ✅ PASS
- **wasm-rquickjs:** ✅ PASS

### test-03-middleware.js — Namespace middleware registration and invocation
- **Node.js:** ✅ PASS
- **wasm-rquickjs:** ✅ PASS

### test-04-adapter.js — In-memory adapter room membership bookkeeping
- **Node.js:** ✅ PASS
- **wasm-rquickjs:** ✅ PASS

### test-05-broadcast-operator.js — Broadcast operator room/flag composition
- **Node.js:** ✅ PASS
- **wasm-rquickjs:** ✅ PASS

## Golem Compatibility

This library is fundamentally a server framework that requires binding to a port via
`io.listen()` / `io.attach()` (HTTP server integration through Engine.IO). In the Golem
execution model, components cannot start their own servers — they export functions that the
Golem runtime exposes. This library **cannot be used** in its standard way in Golem applications.

## Summary

- Tests passed: 5/5 in Node.js, 5/5 in wasm-rquickjs
- Scope: Offline API surface only (configuration, namespaces, middleware registration, adapter state)
- Untested/unsupported in this model: live socket transport, HTTP upgrade handling, and server-bound real-time communication flow
- Blocker for practical Golem use: requires server binding/listening for primary functionality