Skip to content
CAI
Software that uses CAICheck a score

node-red/node-red

48.6

Weak · 15 November 2026

1k

lines of production code

JavaScript

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

New development and release automation scripts

The project introduces a suite of new scripts to streamline the developer experience and release process. For local development, \scripts/dev.js\ replaces the previous Grunt-based workflow with a custom Node.js watcher that monitors source changes and rebuilds assets, while \scripts/build-custom-theme.js\ allows users to generate custom CSS themes from SCSS files. For releases, \scripts/release/index.js\ orchestrates the build, dependency verification, compression, and packaging of modules, supported by \scripts/generate-publish-script.js\ to create the appropriate npm publish commands and \scripts/set-package-version.js\ to update version numbers across all packages.

scripts · high confidence

Removals

Removal of analysis nodes from this repository

The sentiment, wordpos, and xml2js analysis nodes have been deleted from the nodes/analysis directory. These nodes are no longer available in this package and have been moved to the node-red-nodes repository.

nodes/analysis · high confidence

Removal of core editor modules

The \history.js\, \main.js\, and \nodes.js\ files have been deleted from the \public/red\ directory. This removes the previous implementations of the undo/redo history system, the main application initialization and deployment logic, and the core node management registry from the client-side editor.

public/red · high confidence

Removal of core node definitions

The core Inject, Debug, Exec, Function, Template, and Comment node definitions have been removed from the nodes/core directory. This change eliminates the legacy implementations of these nodes, including their UI templates, server-side logic, and WebSocket handling, from this location.

nodes/core · high confidence

Removal of deprecated I/O nodes

The MQTT, Serial, Socket, TCP, Multicast, and HTTP GET nodes have been removed from the nodes/io directory. These nodes are no longer available for use in flows.

nodes/io · high confidence

Removal of legacy jQuery and jQuery UI assets

The \public/jquery\ directory no longer includes the jQuery 1.9.1 library, the jQuery UI 1.10.3 custom build (JavaScript and CSS), or the associated Smoothness theme assets. These files have been deleted, meaning any pages or components that previously relied on these specific local versions for DOM manipulation or UI widgets (such as accordions, datepickers, or draggable elements) will lose that functionality unless the dependencies are provided elsewhere.

public/jquery · high confidence

Removal of legacy red module components

The \red/library.js\, \red/nodes.js\, and \red/server.js\ files have been deleted from the codebase. This removes the previous implementation of the flow library storage, the core node registry and runtime engine, and the initial HTTP server setup, indicating a structural shift in how the application manages nodes, storage, and server initialization.

red · high confidence

Removal of legacy social and notification nodes

The social and notification nodes located in the nodes/social directory have been removed. This includes the Twitter input/output and credentials nodes, the Feedparse RSS/Atom monitor, the Growl and Prowl desktop notification nodes, the PushBullet mobile notification node, the Email send and IMAP receive nodes, the IRC input/output and server configuration nodes, and the XMPP messaging node. Users will no longer have access to these specific integrations within this package.

nodes/social · high confidence

Removal of legacy storage nodes

The legacy file, tail, Redis output, and MongoDB storage nodes have been removed from the nodes/storage directory. This eliminates the ability to write to local files, tail log files, write to Redis, or save data to MongoDB directly from these specific node types.

nodes/hardware, nodes/storage · high confidence

Architecture

Repository restructured into scoped npm packages with updated developer tooling

The repository has been reorganized from a flat structure into a monorepo using scoped \@node-red\ npm packages (e.g., \@node-red/editor-api\, \@node-red/runtime\), replacing the previous \red.js\ entry point and \settings.js\ configuration file. This change introduces new configuration files for the build and test environment, including \.mocharc.json\ for Mocha, \.nycrc.json\ for code coverage, \eslint.config.js\ for linting, and \nodemon.json\ for development, while removing legacy files like \INSTALL\ and \.nodemonignore\.

(repo-wide) · high confidence

Behavioural changes

Build system migrated from Grunt to custom npm scripts

The build process for the Node-RED editor client has been refactored from the Grunt task runner to a set of standalone Node.js scripts (clean, concat, copy, minify, sass, jsonlint, attach-copyright) orchestrated by scripts/build/index.js. This change replaces the previous Grunt-based workflow with direct CLI usage and native Node.js file system operations, including the use of esbuild for minification and sass for CSS compilation. The new system supports a development mode that skips minification and copyright attachment, and includes specific handling for Windows path normalization and UTF-8 BOM removal during copyright attachment.

scripts/build · high confidence

Editor UI modules refactored and removed

The \public/red/ui\ directory has been restructured by deleting the monolithic editor modules (\editor.js\, \keyboard.js\, \library.js\, \notifications.js\, \palette.js\, \sidebar.js\, and \view.js\). This change removes the previous implementation of the node editing dialog, keyboard shortcuts, library management, notifications, palette rendering, sidebar, and canvas view, indicating a move toward a new modular architecture for these core interface components.

public/red/ui · high confidence

Removal of Bootstrap v2.3.2 CSS framework

The public-facing Bootstrap v2.3.2 stylesheet has been removed from the application. This eliminates the dependency on this specific version of the Twitter Bootstrap CSS library, which will likely require the UI to rely on alternative styling or a newer framework version to maintain its visual layout and component behavior.

public · high confidence

Removal of bundled Orion editor assets

The pre-built Orion editor styles (\built-editor.css\) and minified JavaScript (\built-editor.min.js\) have been removed from the \public/orion\ directory. This change eliminates the locally bundled editor assets, likely shifting the application to load the Orion editor from an external source or a different build process.

public/orion · high confidence

Test coverage

3 commits adding/updating tests in test/unit/@node-red/runtime/lib/storage/localfilesystem/projects/git; Added HTML test resource for node parsing; Added SSL test resources for certificate validation; Added UI test coverage for Node-RED cookbook scenarios; Added comprehensive test suites for core parser nodes; Added page object abstractions for Sequence nodes; Added page object abstractions for editor UI testing; Added page object abstractions for editor node testing; Added page object definitions for core editor nodes; Added page object tests for core parser nodes; Added page object wrappers for core function nodes; Added placeholder test suite for multiplayer module; Added test coverage for core common nodes; Added test coverage for file and watch storage nodes; Added test fixtures for plugin registration and library source plugins; Added test resources for subflow package modules; Added test to enforce presence of unit test files for all JavaScript sources; Added test utilities for UI automation and shortcut key handling; Added unit tests for @node-red/util modules; Added unit tests for Node, credentials, and index modules; Added unit tests for Node-RED context storage mechanisms; Added unit tests for Node-RED runtime initialization and version reporting; Added unit tests for Node-RED runtime initialization, settings, and plugin modules; Added unit tests for Split, Sort, and Batch sequence nodes; Added unit tests for core function nodes; Added unit tests for editor API authentication modules; Added unit tests for editor-api initialization and utility functions; Added unit tests for embedded code editor and search functionality; Added unit tests for local filesystem project storage components; Added unit tests for local filesystem storage components; Added unit tests for subflow data flow and environment variable access; Added unit tests for telemetry initialization and metrics collection; Added unit tests for the admin API module; Added unit tests for the editor API subsystem; Added unit tests for the flows runtime library; Added unit tests for the runtime API layer; Added workspace UI integration tests; Expanded test coverage for network nodes; Expanded unit test coverage for the Node-RED registry module; New UI test infrastructure for the editor.

Dependencies

634 commits updating dependencies (30 manifests)

A dependency / build maintenance change in (dependencies) — 634 commits (50 fixs), 30 files.

(dependencies) · high confidence · unverified

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

Score

  • CAI 50 → 49 (-0.9)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 72 → 69 (-2.9)
  • Architecture 69 → 69 (+0.0)
  • Maturity 50 → 50 (+0.0)
  • Readiness 39 → 38 (-0.4)
  • Security 58 → 54 (-4.2)
  • Performance 100 → 100 (+0.0)

Resolved (5)

  • High CVE: [GHSA redacted] (package.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High secret: WD-SECRET-0005 (package-lock.json)
  • Medium CVE: [GHSA redacted] (package-lock.json)
  • No ADRs found

New (20)

  • Fixed-sleep synchronisation: handles a msg with an own hasOwnProperty property (test/unit/@node-red/runtime/lib/flows/Flow_spec.js)
  • Medium CVE: [GHSA redacted] (package-lock.json)
  • Medium CVE: [GHSA redacted] (package-lock.json)
  • Medium CVE: [GHSA redacted] (package-lock.json)
  • Medium CVE: [GHSA redacted] (package-lock.json)
  • Medium CVE: [GHSA redacted] (package-lock.json)
  • No ADRs found (package.json)
  • No assertions (empty test): closes the socket for an upgrade request with a malformed url (test/unit/@node-red/editor-api/lib/editor/comms_spec.js)
  • No assertions (empty test): should close socket for an upgrade request with a malformed url (test/nodes/core/network/22-websocket_spec.js)
  • No assertions: ignores files that resolve outside the project via a subdirectory (test/unit/@node-red/runtime/lib/storage/localfilesystem/projects/Project_spec.js)
  • No assertions: ignores flow and credentials files that are not strings (test/unit/@node-red/runtime/lib/storage/localfilesystem/projects/Project_spec.js)
  • No assertions: rejects Object.prototype property names as usernames (test/unit/@node-red/editor-api/lib/auth/users_spec.js)
  • No assertions: rejects a non-string password for a known user (test/unit/@node-red/editor-api/lib/auth/users_spec.js)
  • No assertions: returns null for Object.prototype property names (test/unit/@node-red/editor-api/lib/auth/users_spec.js)
  • No assertions: should not read files outside the storage directory (test/unit/@node-red/runtime/lib/nodes/context/localfilesystem_spec.js)
  • Outdated (npm): semver
  • Outdated (npm): tar
  • redundant comment (test/nodes/core/network/21-mqtt_spec.js)
  • redundant comment (test/unit/@node-red/editor-client/ui/search_spec.js)
  • redundant comment (test/unit/@node-red/runtime/lib/api/diagnostics_spec.js)

Changes since last survey

  • 57 commits — 45 feature/other, 12 fixes

By area

  • (repo) — 30 commits
  • packages/node_modules — 24 commits
  • (root) — 3 commits

Notable commits

  • fix: Fix error badge state when deleting a node
  • fix: Fix path validation in synchronous FS context store
  • fix: Merge pull request #5861 from GogoVega/fix-palette-in-use-btn
  • fix: Merge pull request #6017 from cestercian/fix-removemodule-usedby
  • fix: Merge pull request #6040 from shubhamrai9122-creator/fix-loadplugin-error-line
  • fix: Merge pull request #6045 from tobsch04/bugfix/function-node-catch
  • fix: Merge pull request #6050 from GogoVega/fix-error-badge-with-deleted-nodes
  • fix: Merge pull request #6071 from node-red/fix-comms-auth-verifications
  • fix: Merge pull request #6072 from node-red/fix-ws-error-handling
  • fix: Merge pull request #6080 from node-red/has-own-property-fixes
  • fix: Merge pull request #6085 from node-red/location-hash-fix
  • fix: Update body-parser to fix compressed request denial of service
  • change: Add better error handling on nodes/plugins api end points
  • change: Add comment about path validation in library code
  • change: Add permission check on comms connection for custom token path
  • change: Avoid using hasOwnProperty on message objects directly
  • change: Clear timers on reinit
  • change: Ensure comms socket is closed when session token is revoked
  • change: Ensure project paths remain inside the project directory
  • change: Handle invalid comms topics and prevent uncaught exceptions
  • …and 37 more

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

Survey your own repository

node-red/node-red 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 e4f7fc516cd8da1b4b4d571169cf6937b500bb30 — 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.