Skip to content

chore(deps): update tsx to 4.22.0#839

Closed
MikeMcC399 wants to merge 1 commit into
nodejs:mainfrom
MikeMcC399:update/tsx
Closed

chore(deps): update tsx to 4.22.0#839
MikeMcC399 wants to merge 1 commit into
nodejs:mainfrom
MikeMcC399:update/tsx

Conversation

@MikeMcC399
Copy link
Copy Markdown
Contributor

@MikeMcC399 MikeMcC399 commented May 15, 2026

Situation

corepack yarn build under Node.js 26 outputs a deprecation warning:

[DEP0205] DeprecationWarning: module.register() is deprecated. Use module.registerHooks() instead.

Change

Update to tsx@4.22.0

Verification

On Ubuntu 24.04.4 LTS, with Node.js 26.1.0 LTS, execute:

corepack yarn install
corepack yarn build
corepack yarn typecheck
corepack yarn test

Confirm no errors or warnings
(apart from "ESM support for PnP uses the experimental loader API and is therefore experimental")


Note that

corepack yarn lint

fails with

TypeError: Cannot convert undefined or null to object

This is a separate issue #837

Revert to Node.js 24.14.1 to test linting.

@MikeMcC399
Copy link
Copy Markdown
Contributor Author

CI logs confirm that deprecation warning no longer appears.

Previously
https://github.com/nodejs/corepack/actions/runs/25861604018/job/75992656135
showed:

Run corepack yarn build

  dist/lib/corepack.cjs  496.8kb

⚡ Done in 49ms
(node:2453) [DEP0205] DeprecationWarning: `module.register()` is deprecated. Use `module.registerHooks()` instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
All shims have been generated.

CI for this PR under Ubuntu / Node.js 26 in
https://github.com/nodejs/corepack/actions/runs/25907567150/job/76144032490
shows.

Run corepack yarn build

  dist/lib/corepack.cjs  496.8kb

⚡ Done in 56ms
All shims have been generated.

@MikeMcC399 MikeMcC399 marked this pull request as ready for review May 15, 2026 08:30
Comment thread yarn.lock
@MikeMcC399
Copy link
Copy Markdown
Contributor Author

Downgrading to draft and deferring to PR #840

@MikeMcC399 MikeMcC399 marked this pull request as draft May 15, 2026 10:32
@MikeMcC399
Copy link
Copy Markdown
Contributor Author

@aduh95

I'll close it and let you handle it in #840.

@MikeMcC399 MikeMcC399 closed this May 15, 2026
@MikeMcC399 MikeMcC399 deleted the update/tsx branch May 15, 2026 13:48
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.

DEP0205 under Node.js 26 with corepack yarn build

2 participants