Skip to content

Update dependencies and development tools - #795

Merged
bedrich-schindler merged 9 commits into
masterfrom
maintenance/update-dependencies
Nov 25, 2026
Merged

bedrich-schindler merged 9 commits into
masterfrom
maintenance/update-dependencies

Conversation

@bedrich-schindler

@bedrich-schindler bedrich-schindler commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Update the dependencies to their latest minor and patch versions, move to @react-ui-org/eslint-config and @react-ui-org/stylelint-config 2.0.0, and update four development dependencies to their next major versions. The library source code does not change.

Development dependencies

  • Update every development dependency to its latest minor or patch version within the ranges of master and refresh the lockfile.
  • @react-ui-org/eslint-config 1.1.0 → 2.0.0 and @react-ui-org/stylelint-config 1.0.0 → 2.0.0. The only breaking change of both is the dropped support for Node.js 22. Their rules are the same.
  • @happy-dom/jest-environment 20 → 21.
  • dts-bundle-generator 9 → 10. Version 10 no longer exports referenced types by default, which removed TransferPropsInvalidProp, the return type of transferProps, from dist/react-ui.d.ts. build:types now passes --export-referenced-types, so the declarations stay as they were.
  • markdownlint-cli2 0.23 → 0.24.
  • dotenv 17 → 18, the version the other projects use. It only loads .env for the Playwright tests.
  • npm audit fix updates babel-plugin-istanbul to 8.0.2.
  • @playwright/test 1.65.0 → 1.65.1. The playwright service and the Playwright workflow use the mcr.microsoft.com/playwright:v1.65.1-noble image, pinned by digest, with the same Node.js 26.13.1 and npm 11.20.0.

react, typescript, @typescript/native, eslint and stylelint stay on their current versions.

Behaviour changes

  • dist/types/ is identical to a build of master. dist/react-ui.d.ts differs only in the generator version comment.
  • The built CSS loses 10 -webkit-text-decoration prefixes and the built JavaScript has shorter Babel helpers and 8 fewer core-js polyfill imports. Both come from the minor updates of Babel, core-js and Autoprefixer.

Testing

npm ci, npm ls --all, npm run lint, the Jest tests, npm run build and all Playwright component tests (1010) passed, also with Playwright 1.65.1 and without retries. No snapshot changed.

typescript-eslint stays on 8.72.2. Version 8.73.0 fixes a moderate minimatch advisory, but it declares an optional peer @typescript/native 7.1 or newer, and master has 7.0.2. The other remaining npm audit advisories are moderate glob and minimatch under Jest, which npm can fix only by a breaking downgrade, and a low katex advisory under markdownlint-cli2, fixed in 0.24.2.

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-25 12:44 UTC

@bedrich-schindler
bedrich-schindler changed the base branch from maintenance/align-tooling-versions to master November 24, 2026 21:29
* `@babel/core` 8.0.5 → 8.1.2
* `@babel/preset-env` 8.0.5 → 8.0.7
* `@babel/preset-typescript` 8.0.1 → 8.0.7
* `@happy-dom/jest-environment` 20.14.5 → 20.14.6
* `@testing-library/user-event` 14.6.7 → 14.6.12
* `@types/node` 26.5.1 → 26.6.6
* `autoprefixer` 10.6.0 → 10.6.2
* `babel-jest` 30.5.1 → 30.5.2
* `core-js` 3.50.0 → 3.51.0
* `jest` 30.5.1 → 30.5.2
* `postcss` 8.5.28 → 8.5.33
* `sass` 1.104.1 → 1.108.2
* `sass-loader` 17.0.1 → 17.1.0
* `stylelint` 17.15.0 → 17.16.0
* `webpack` 5.111.0 → 5.112.2
* `webpack-cli` 7.2.3 → 7.3.1
* `webpack-dev-server` 6.0.0 → 6.1.0

The lockfile is refreshed within the declared ranges.
`@playwright/test` stays on 1.65.0 to match the Docker image.
…fig` to 2.0.0

* `@react-ui-org/eslint-config` 1.1.0 → 2.0.0
* `@react-ui-org/stylelint-config` 1.0.0 → 2.0.0

The only breaking change of both releases is that Node.js 22 is no
longer supported, which this repository already requires. The rule
sets are unchanged, and the raised dependency ranges match the
versions already installed here, so no other package changes.
* `@happy-dom/jest-environment` 20.14.6 → 21.0.4
* `happy-dom` 20.14.6 → 21.0.4

Happy DOM 21 no longer loads CSS files and iframe pages by default,
to prevent server-side request forgery. The Jest tests here load
neither, so they keep passing without new settings. The 21.0.x
patches fix further security issues, and the update resolves the
`happy-dom` audit advisories GHSA-834v-8h66-3h79 and
GHSA-c8p4-j97h-3vg8.
* `dts-bundle-generator` 9.5.1 → 10.0.0

Version 10 is an ES module, replaces `yargs` with `commander` in the
CLI, requires Node.js 24 and TypeScript 5.4 to 6, and supports
TypeScript 6. It no longer exports referenced types by default, so
`TransferPropsInvalidProp`, the return type of `transferProps`, is
no longer exported from `dist/react-ui.d.ts`. The rest of the
bundled declarations only differs in the generator version comment.
`dts-bundle-generator` 10 exports only the types that the root file
exports, so `TransferPropsInvalidProp`, the return type of the public
`transferProps`, disappeared from `dist/react-ui.d.ts`. The
`--export-referenced-types` option restores the behaviour of version 9,
and the bundled declarations match the previous build again apart from
the generator version comment.
* `markdownlint-cli2` 0.23.3 → 0.24.1
* `markdownlint` 0.41.1 → 0.42.1
* `markdown-it` 15.0.1 → 15.0.3
* `smol-toml` 1.8.0 → 1.9.1

`markdownlint-cli2` 0.24 only updates its dependencies. `markdownlint`
0.42 improves several rules (MD011, MD018, MD020, MD042, MD043, MD051,
MD054, MD055, MD060), adds protection against regular expression
denial of service and can report issues in front matter. The Markdown
files here pass without changes. The update resolves the `markdown-it`
and `smol-toml` audit advisories.
* `dotenv` 17.4.2 → 18.0.10

Version 18 adds a CLI and an opt-in fast parser, removes preloading
and `.env.vault` support, and writes its injection message to stderr.
The Playwright environment loader in `parseDotEnvFile.ts` only calls
`dotenv.config()` with `path` and `quiet`, which work as before.
* `babel-plugin-istanbul` 8.0.0 → 8.0.2

`npm audit fix` also raises `typescript-eslint` to 8.73.0, which
fixes the `minimatch` advisory GHSA-g3hv-75wg-m249 in the ESLint
parser. That version declares the optional peer dependency
`@typescript/native` 7.1 (beta or newer), so with `@typescript/native`
7.0.2 here `npm ls` reports an invalid tree. This part is left out
until `@typescript/native` 7.1 is released.

The remaining `glob` and `minimatch` advisories under Jest and the
`katex` advisory under `markdownlint` have no fix within the allowed
versions. `npm audit` reports 28 findings before and after.
* Update `@playwright/test` to `~1.65.1`.
* Use the `mcr.microsoft.com/playwright:v1.65.1-noble` image, pinned by digest,
  in the `playwright` service and the Playwright workflow. It contains the same
  Node.js 26.13.1 and npm 11.20.0 as the previous image.

All 1010 component tests pass with the existing snapshots.
@bedrich-schindler
bedrich-schindler marked this pull request as ready for review November 25, 2026 09:04
@bedrich-schindler
bedrich-schindler merged commit 0f5ec3c into master Nov 25, 2026
14 checks passed
@bedrich-schindler
bedrich-schindler deleted the maintenance/update-dependencies branch November 25, 2026 12:44

This branch was successfully deployed

1 active deployment
pr-preview/pr-795 — 3d0191f7 Deployed Nov 25, 2026 by bedrich-schindler via Deploy PR Preview #178
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant