Repository navigation
Conversation
Update `@napi-rs/image` from `1.14.0` to `1.16.0`. The WebAssembly fallback binary is no longer published, so it is removed from the lock file. The native binaries for all platforms that Core supports are still available. The new version compresses some PNG images further. Those images are optimized in a follow-up commit. See #65857.
Runs `grunt precommit:image` with the updated `@napi-rs/image` package. This losslessly recompresses 24 PNG images and the Ipsum theme's `screenshot.jpg`, which was committed without being optimized. Each image decodes to the same pixels as before, saving 40,301 bytes in total. See #65857.
Test using WordPress PlaygroundThe 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
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
|
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: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
|
Merged in r65556. |
Updates
@napi-rs/imagefrom 1.14.0 to 1.16.0, then runsgrunt precommit:imagewith it.wp-admin,wp-includes, and five bundled themes shrink.screenshot.jpgwas committed without being optimized, so it shrinks too.npm run buildoutput is otherwise unchanged and matches WordPress/WordPress.Trac ticket: https://core.trac.wordpress.org/ticket/65857
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Reviewing the upstream changes, running the update and image optimization, checking the images are lossless, 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.
🤖 Generated with Claude Code