Skip to content

chore: update NPM dev-deps#712

Merged
dkotter merged 5 commits into
WordPress:developfrom
justlevine:chore/npm-deps
Jun 12, 2026
Merged

chore: update NPM dev-deps#712
dkotter merged 5 commits into
WordPress:developfrom
justlevine:chore/npm-deps

Conversation

@justlevine

@justlevine justlevine commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

What?

Closes

Manually updates NPM devDependencies to their latest compatible versions.

Why?

It seems the package-lock.json file drifted again to NPM@11, causing dependabot failures.

How?

Used ncu (which respects .npmrc age) to determine the available versions. Once chosen.

nvm use # ensure that NPMv10.9.4 is used
npm install
npm audit fix

Use of AI Tools

None

Testing Instructions

  1. Run npm ci and confirm dependencies install
  2. Run npm run build and confirm the frontend assests still build correctly
  3. npm run wp-env:test start && npm run test:e2e to ensure frontend tests still pass.

Screenshots or screencast

Before After

Changelog Entry

Added - New feature.
Changed - Existing functionality.
Deprecated - Soon-to-be removed feature.
Removed - Feature.
Fixed - Bug fix.
Security - Vulnerability.
Developer - Development related updates.

Open WordPress Playground Preview

@github-actions

github-actions Bot commented Jun 12, 2026

Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: justlevine <justlevine@git.wordpress.org>
Co-authored-by: dkotter <dkotter@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

@justlevine

Copy link
Copy Markdown
Contributor Author

The newly caught ESLint issue is fixed in #713

dkotter
dkotter previously approved these changes Jun 12, 2026

@dkotter dkotter left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems the package-lock.json file drifted again to NPM@11, causing dependabot failures.

Not sure on this one as I'm running npm version 10.9.8 so not sure what is causing these failures.

That said, changes look fine to me here, noting we do have a failing test due to wp-env not being able to spin up, though seems unrelated to changes here

@justlevine

Copy link
Copy Markdown
Contributor Author

wp-env not being able to spin up, though seems unrelated to changes here

Technically wordpress/env was bumped here, but spinup with xdebug is working locally (and in other GH-based CIs), so I think you're correct and it's just a temporary server issue. Not seeing anything in the package diff either.

If you want I can drop it back to 11.8 -> 11.4 and let dependabot catch and bump it.

Not sure on this one as I'm running npm version 10.9.8 so not sure what is causing these failures.

That would cover 4946070, but maybe not #647 ?

If after this is merged dependabot is still struggling (or if we don't want to be policing other folks PRs that add new deps), then I guess next step would be to either bump to node24 or lock to ^22. and switch to absolute version pinning.

@justlevine

Copy link
Copy Markdown
Contributor Author

wp-env not being able to spin up, though seems unrelated to changes here

Technically wordpress/env was bumped here, but spinup with xdebug is working locally (and in other GH-based CIs), so I think you're correct and it's just a temporary server issue. Not seeing anything in the package diff either.

If you want I can drop it back to 11.8 -> 11.4 and let dependabot catch and bump it.

Pinning at 11.4 fixed it: https://github.com/WordPress/ai/actions/runs/27426863749/job/81066790918?pr=712

(The other failing test is a timeout issue and will work when the workflow is retriggered).

IMO this is good to merge and we'll see both if dependabot npm updates are working again and if there's a real issue in @wordpress/env:>11.4 as soon as the next PR autogenerates.

@justlevine justlevine requested a review from dkotter June 12, 2026 16:03
@dkotter dkotter merged commit 0617e44 into WordPress:develop Jun 12, 2026
37 of 39 checks passed
@justlevine justlevine deleted the chore/npm-deps branch June 22, 2026 21:12
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