• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

node-opcua / node-opcua / 25640124541 / 1
92%
master: 92%

Build:
DEFAULT BRANCH: master
Ran 10 May 2026 10:08PM UTC
Files 1219
Run time 24s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 May 2026 09:22PM UTC coverage: 92.191% (-0.03%) from 92.22%
25640124541.1

push

github

erossignon
refactor(address-space): typed event emitters + biome conformance

Introduce a typed-event-emitter contract for the address-space class
hierarchy, and apply Biome 2.4.14 across the repo.

Typed events (address-space-base):
- Replace `declare class X extends EventEmitter` declarations with
  `interface X<T extends ListenerSignature<T>> extends ITypedEventEmitter<T>`
  for BaseNode, UAVariable, UAObject, UAMethod, UAObjectType,
  UAVariableType, UAReferenceType, UADataType, UAView.
- Add per-class event maps: BaseNodeEvents, UAVariableEvents,
  UAMethodEvents, etc., each extending the parent map.
- Introduce `ListenerSignature<L>` self-referential constraint and
  `ITypedEventEmitter<T>` so listeners are checked against the event
  map at compile time. `TypedEventEmitter` aliases Node's EventEmitter
  so listeners observe `this === <emitter>` (the previous
  composition-based wrapper broke that contract).
- Add ua_base_event_ex.ts (UABaseEventEx, UABaseEventEvents).

Tooling:
- Add biome.json (formatter + `useImportType` linter rule, lf line
  endings, 4-space indent, lineWidth 132, double quotes, no trailing
  commas) and @biomejs/biome 2.4.14 devDep.
- Set tsconfig.common.json `types: ["node"]`.

Mechanical biome cleanup across ~325 files in packages/* and tests:
- Convert type-only imports to `import type`.
- Use `node:` protocol for builtin imports (e.g. `node:events`).
- Reorganize/sort imports.
- Prefer `Number.isFinite` over global `isFinite`, `**` over
  `Math.pow`, prefix unused parameters with `_`.

18613 of 22121 branches covered (84.14%)

162931 of 176732 relevant lines covered (92.19%)

470530.53 hits per line

Source Files on job 25640124541.1
  • Tree
  • List 1219
  • Changed 175
  • Source Changed 175
  • Coverage Changed 117
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 25640124541
  • 0b42b583 on github
  • Prev Job for on master (#25640078754.1)
  • Next Job for on master (#25657787434.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc