@polkadot/x-ws 4.2.2-21
A cross-environment WebSocket replacement
@polkadot/x-ws@4.2.2-21 was published on 2020-12-13. Its manifest declares 3 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. No Node.js engine requirement is declared in this manifest.
All @polkadot/x-ws versions · Permanent reference to 4.2.2-21 · View npm registry JSON · Latest release
Package specifications
| Version | 4.2.2-21 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2020-12-13T12:51:16.481Z |
| Node.js requirement | Not declared |
| Type declarations | Not declared |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 3.45 KiB |
| Published file count | 10 |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | node.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 22 |
| Repository stars | 261 |
| Repository forks | 154 |
Install @polkadot/x-ws 4.2.2-21
npm install @polkadot/x-ws@4.2.2-21 pnpm add @polkadot/x-ws@4.2.2-21 yarn add @polkadot/x-ws@4.2.2-21
Runtime dependencies
- websocket ^1.0.33
- @babel/runtime ^7.12.5
- @types/websocket ^1.0.1
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- @babel/runtime@7.29.10 — direct
- @types/node@26.6.6 — indirect
- @types/websocket@1.0.10 — direct
- bufferutil@4.1.0 — indirect
- d@1.0.2 — indirect
- debug@2.6.9 — indirect
- es5-ext@0.10.64 — indirect
- es6-iterator@2.0.3 — indirect
- es6-symbol@3.1.4 — indirect
- esniff@2.0.1 — indirect
- event-emitter@0.3.7 — indirect
- ext@1.7.0 — indirect
- is-typedarray@1.0.0 — indirect
- ms@2.0.0 — indirect
- next-tick@1.1.0 — indirect
- node-gyp-build@4.8.4 — indirect
- type@2.7.3 — indirect
- typedarray-to-buffer@3.1.5 — indirect
- undici-types@8.9.0 — indirect
- utf-8-validate@5.0.10 — indirect
- websocket@1.0.35 — direct
- yaeti@0.0.6 — indirect
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 5/10 — Found 15/30 approved changesets -- score normalized to 5 |
|---|---|
| Dangerous-Workflow | 10/10 — no dangerous workflow patterns detected |
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Token-Permissions | 0/10 — detected GitHub workflow tokens with excessive permissions |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| Pinned-Dependencies | 6/10 — dependency not pinned by hash detected -- score normalized to 6 |
| Security-Policy | 0/10 — security policy file not detected |
| License | 10/10 — license file detected |
| Fuzzing | 0/10 — project is not fuzzed |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
Evidence and freshness
- Readable npm registry JSON — retrieved 2026-11-05T13:07:42.914Z
- https://api.deps.dev/v3/systems/npm/packages/%40polkadot%2Fx-ws/versions/4.2.2-21 — retrieved 2026-11-05T13:07:43.005Z
- https://api.deps.dev/v3/systems/npm/packages/%40polkadot%2Fx-ws/versions/4.2.2-21:dependencies — retrieved 2026-11-05T13:07:43.038Z
- https://api.deps.dev/v3/projects/github.com%2Fpolkadot-js%2Fcommon — retrieved 2026-11-05T11:17:08.388Z