Skip to content

Land dev-dependency majors (eslint 10, mocha 11, Node-RED 5) - #24

Merged
dxdc merged 2 commits into
masterfrom
claude/dev-deps-majors
Nov 9, 2026
Merged

dxdc merged 2 commits into
masterfrom
claude/dev-deps-majors

Conversation

@dxdc

@dxdc dxdc commented Nov 9, 2026

Copy link
Copy Markdown
Owner

Supersedes #22 (Dependabot's dev-dependencies group: eslint 10, @eslint/js 10, eslint-plugin-mocha 12, mocha 11, c8 12, cspell 10, globals 17, Node-RED 5). Its tests passed but lint failed; this branch carries that commit plus the fix.

  • eslint config to ESM. eslint-plugin-mocha 12 only exports for import, so require() failed with ERR_PACKAGE_PATH_NOT_EXPORTED. eslint.config.js becomes eslint.config.mjs, same rules. The plugin's recommended config is now a full flat config, and no-setup-in-describe was renamed no-setup-in-suite (off by default), so that override is gone.
  • Prettier globs include .mjs so the config file stays format-checked.
  • Node-RED 4 on Node 18/20. Node-RED 5 requires Node 22.9+, so the older test jobs install Node-RED 4. The matrix now covers both majors.
  • README/CHANGELOG list Node-RED 5.x as tested.

Dev-only: nothing in the published package changes. Locally (Node 22): lint, format, spellcheck clean; 112 tests pass against both Node-RED 5.0.9 and 4.1.17; coverage 98.5% lines / 95.6% branches.

Merging this marks #22 as merged.


Generated by Claude Code

dependabot Bot and others added 2 commits September 1, 2026 20:10
Bumps the dev-dependencies group with 8 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) | `9.39.5` | `10.0.1` |
| [c8](https://github.com/bcoe/c8) | `10.1.3` | `12.0.0` |
| [cspell](https://github.com/streetsidesoftware/cspell/tree/HEAD/packages/cspell) | `8.19.4` | `10.1.1` |
| [eslint](https://github.com/eslint/eslint) | `9.39.5` | `10.9.1` |
| [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) | `10.5.0` | `12.0.2` |
| [globals](https://github.com/sindresorhus/globals) | `15.15.0` | `17.11.0` |
| [mocha](https://github.com/mochajs/mocha) | `10.8.2` | `11.8.0` |
| [node-red](https://github.com/node-red/node-red) | `4.1.14` | `5.0.4` |



Updates `@eslint/js` from 9.39.5 to 10.0.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](https://github.com/eslint/eslint/commits/v10.0.1/packages/js)

Updates `c8` from 10.1.3 to 12.0.0
- [Release notes](https://github.com/bcoe/c8/releases)
- [Changelog](https://github.com/bcoe/c8/blob/main/CHANGELOG.md)
- [Commits](bcoe/c8@v10.1.3...v12.0.0)

Updates `cspell` from 8.19.4 to 10.1.1
- [Release notes](https://github.com/streetsidesoftware/cspell/releases)
- [Changelog](https://github.com/streetsidesoftware/cspell/blob/main/packages/cspell/CHANGELOG.md)
- [Commits](https://github.com/streetsidesoftware/cspell/commits/v10.1.1/packages/cspell)

Updates `eslint` from 9.39.5 to 10.9.1
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.39.5...v10.9.1)

Updates `eslint-plugin-mocha` from 10.5.0 to 12.0.2
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases)
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/10.5.0...eslint-plugin-mocha@12.0.2)

Updates `globals` from 15.15.0 to 17.11.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](sindresorhus/globals@v15.15.0...v17.11.0)

Updates `mocha` from 10.8.2 to 11.8.0
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/v11.8.0/CHANGELOG.md)
- [Commits](mochajs/mocha@v10.8.2...v11.8.0)

Updates `node-red` from 4.1.14 to 5.0.4
- [Release notes](https://github.com/node-red/node-red/releases)
- [Changelog](https://github.com/node-red/node-red/blob/main/CHANGELOG.md)
- [Commits](node-red/node-red@4.1.14...5.0.4)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-version: 10.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: c8
  dependency-version: 11.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: cspell
  dependency-version: 10.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: eslint
  dependency-version: 10.6.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: eslint-plugin-mocha
  dependency-version: 11.3.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: globals
  dependency-version: 17.7.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: mocha
  dependency-version: 11.7.6
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
- dependency-name: node-red
  dependency-version: 5.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Fixes the lint failure on #22:

- eslint-plugin-mocha 12 is ESM-only (no require() export), so the
  eslint config moves to eslint.config.mjs. Its recommended config is
  now a full flat config, and no-setup-in-describe was renamed
  no-setup-in-suite (off by default), so that override is dropped.
- Prettier globs include .mjs so the config stays format-checked.
- Node-RED 5 needs Node 22.9+, so the Node 18/20 test jobs install
  Node-RED 4 instead. The matrix now covers both majors.
- README and CHANGELOG list Node-RED 5.x as tested.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Cj8chfh1TeACDoZV98qm66
@dxdc
dxdc merged commit 90a323e into master Nov 9, 2026
6 checks passed
@dxdc
dxdc deleted the claude/dev-deps-majors branch November 9, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants