Skip to content
CAI
Software that uses CAICheck a score

sindresorhus/ora

45.8

Weak · 15 November 2026

5k

lines of production code

JavaScript

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Behavioural changes

Ora v9: Complete rewrite to ESM with new options and improved terminal handling

This release is a major rewrite of the ora library, migrating from CommonJS to ES modules and requiring Node.js 20. The API has been updated to use a function call \ora()\ instead of \new Ora()\. New options include \prefixText\ and \suffixText\ (supporting strings or functions) for text before and after the spinner, \indent\ for spacing, \isSilent\ to suppress all output, and \discardStdin\ (default true) to prevent input interference. The \color\ option now accepts \false\ to disable coloring. The library now uses native \stripVTControlCharacters\ instead of \strip-ansi\, handles terminal height overflow to prevent garbage output, and improves concurrent spinner support. TypeScript definitions are included in \index.d.ts\.

(repo-wide) · high confidence

Dependencies

ora v9.4.1: Major dependency overhaul and Node.js 20 requirement

The ora package has been upgraded to version 9.4.1, shifting the runtime requirement to Node.js 20 or higher and adopting an ES module ("type": "module") structure. This update replaces several legacy dependencies with modern equivalents: chalk is upgraded from v1 to v5, cli-cursor from v1 to v5, cli-spinners from v0.1 to v3, and string-width from v0.1 to v8. New dependencies such as is-interactive, is-unicode-supported, log-symbols, and stdin-discarder have been added to enhance terminal interaction and Unicode support, while dev dependencies like xo and tsd have been updated to their latest versions.

(dependencies) · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.

Score

  • CAI 54 → 46 (-8.0)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 53 → 32 (-20.4)
  • Architecture 100 → 100 (+0.0)
  • Maturity 49 → 42 (-6.3)
  • Readiness 44 → 45 (+1.0)
  • Security 94 → 93 (-0.7)
  • Performance 100 → 100 (+0.0)

Resolved (8)

  • Medium: security finding (details withheld)
  • Medium: security finding (details withheld)
  • Off-boarding risk: anonymized user #1
  • Scanner failed to run — not a clean result
  • Scanner failed to run — not a clean result
  • constructor (cognitive 20) (index.js)
  • constructor (cyclomatic 16) (index.js)
  • index.oraPromise (cognitive 19) (index.js)

New (7)

  • Medium: security finding (details withheld)
  • Off-boarding risk: anonymized user #1
  • Ora.render (cyclomatic 16) (index.js)
  • index.layOut (cognitive 18) (index.js)
  • redundant comment (example-console-integration.js)
  • redundant comment (example-console-integration.js)
  • render (cognitive 19) (index.js)

Changes since last survey

  • 2 commits — 2 feature/other, 0 fixes

By area

  • (root) — 2 commits

Notable commits

  • change: 10.0.0
  • change: Erase exactly what the frame covers, and keep the program's own output intact

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

sindresorhus/ora was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 413994cb92cc3e895203ac02dae7aa7b75c01e76 — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.