Skip to content

Build/Test Tools: Update npm development dependencies for 7.3 - #16170

Open
faisalahammad wants to merge 2 commits into
WordPress:trunkfrom
faisalahammad:enhancement/66752-npm-deps-7-3
Open

faisalahammad wants to merge 2 commits into
WordPress:trunkfrom
faisalahammad:enhancement/66752-npm-deps-7-3

Conversation

@faisalahammad

Copy link
Copy Markdown

Updates two development dependencies, one commit per package:

  • autoprefixer: 10.6.2 → 10.7.0
  • minimizer-webpack-plugin: 5.14.0 → 5.14.1 (schema-utils 4.8.3 → 4.8.5)

Both are small bug fix releases. The npm run build output is the same as trunk's after each update. The only difference is the timestamp in wp-includes/version.php.

Testing:

  • A fresh npm ci works with the updated lockfile.
  • QUnit (grunt qunit:compiled): 713/713 passed.
  • npm run typecheck:js, npm run lint:jsdoc and grunt jshint pass.

Not included:

Trac ticket: https://core.trac.wordpress.org/ticket/66752

Use of AI Tools

AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Auditing the outdated and vulnerable packages, reading the upstream changelogs, applying and testing each update, comparing the build output, and drafting the commit messages and this description. I reviewed the changes.


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

This version fixes prefixing for values with uppercase keywords and units, and a crash on `selector()` after another `@supports` condition. The build output does not change.

See #66752.
This version loads its options check faster and updates its bundled copy of `serialize-javascript`. It also updates `schema-utils` from 4.8.3 to 4.8.5. The build output does not change.

See #66752.
@github-actions

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.

Core Committers: Use this line as a base for the props when committing in SVN:

Props faisalahammad.

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


Props Bot commands

You can trigger Props Bot actions by commenting on this PR:

  • @propsbot add <username> to give props to a GitHub or WordPress.org user. Requires write access.
  • @propsbot remove <username> to leave a user out of the props. Requires write access.
  • @propsbot refresh to refresh this list. Adding the props-bot label works too.

@github-actions

Copy link
Copy Markdown

Test using WordPress Playground

The changes in this pull request can previewed and tested using a WordPress Playground instance.

WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser.

Some things to be aware of

  • All changes will be lost when closing a tab with a Playground instance.
  • All changes will be lost when refreshing the page.
  • A fresh instance is created each time the link below is clicked.
  • Every time this pull request is updated, a new ZIP file containing all changes is created. If changes are not reflected in the Playground instance,
    it's possible that the most recent build failed, or has not completed. Check the list of workflow runs to be sure.

For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation.

Test this pull request with WordPress Playground.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues are recorded for the development-dependency and lockfile updates.

No open issues 🎉

What changed in this PR

Updates WordPress’s npm development dependencies for 7.3, keeping the changes limited to build tooling and its lockfile.

Changes:

  • Updates autoprefixer from 10.6.2 to 10.7.0.
  • Updates minimizer-webpack-plugin from 5.14.0 to 5.14.1.
  • Refreshes lockfile metadata, including the plugin’s nested schema-utils dependency to 4.8.5.
File Description
package.json Pins the two updated development dependency versions.
package-lock.json Records matching versions, integrity hashes, and transitive dependency updates.

Review effort: Balanced

@lancewillett lancewillett left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I compared fresh builds from the base and the PR. Both produced the same 5,356 files. The generated timestamp in wp-includes/version.php was the only byte difference. The lockfile changes match the two dependency updates and the schema-utils patch.

AI review · gpt-6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

3 participants