Make WordPress Core

Changeset 65556


Ignore:
Timestamp:
11/17/2026 03:05:58 PM (22 hours ago)
Author:
desrosj
Message:

Build/Test Tools: Update @napi-rs/image to version 1.16.0.

This updates @napi-rs/image from 1.14.0 to 1.16.0 and runs grunt precommit:image with the new version.

The new version compresses some PNG images further, so 24 PNG images in wp-admin, wp-includes, and five bundled themes are
losslessly recompressed. The Ipsum theme's screenshot.jpg, which was committed without being optimized, is also optimized.

Each image decodes to the same pixels as before, and the total savings are 40,301 bytes.

See #65857.

Location:
trunk
Files:
27 edited

Legend:

Unmodified
Added
Removed
  • trunk/package-lock.json

    r65555 r65556  
    4444                                "@343dev/gifsicle": "1.2.0",
    4545                                "@lodder/grunt-postcss": "^3.1.1",
    46                                 "@napi-rs/image": "1.14.0",
     46                                "@napi-rs/image": "1.16.0",
    4747                                "@playwright/test": "1.64.1",
    4848                                "@pmmmwh/react-refresh-webpack-plugin": "0.6.2",
    … …  
    40294029                },
    40304030                "node_modules/@napi-rs/image": {
    4031                         "version": "1.14.0",
    4032                         "resolved": "https://registry.npmjs.org/@napi-rs/image/-/image-1.14.0.tgz",
    4033                         "integrity": "sha512-pmwJPWY6R063luNBEP9msq9lFu+kYVMiQTJRSpyGnzYnnerYpT3U4vCgFhhVR3jypCgCVWi9viDLoEJoZoIA1w==",
     4031                        "version": "1.16.0",
     4032                        "resolved": "https://registry.npmjs.org/@napi-rs/image/-/image-1.16.0.tgz",
     4033                        "integrity": "sha512-kciiEskvG7m6t0+VwJ/dUT5Zn79mKr1/RAAmjvG8TfK6aG9dI1lZqohtt8QGSQjdhRkyYJ85YKW686gQGFgzWw==",
    40344034                        "dev": true,
    40354035                        "license": "MIT",
    … …  
    40424042                        },
    40434043                        "optionalDependencies": {
    4044                                 "@napi-rs/image-android-arm64": "1.14.0",
    4045                                 "@napi-rs/image-darwin-arm64": "1.14.0",
    4046                                 "@napi-rs/image-darwin-x64": "1.14.0",
    4047                                 "@napi-rs/image-freebsd-x64": "1.14.0",
    4048                                 "@napi-rs/image-linux-arm-gnueabihf": "1.14.0",
    4049                                 "@napi-rs/image-linux-arm64-gnu": "1.14.0",
    4050                                 "@napi-rs/image-linux-arm64-musl": "1.14.0",
    4051                                 "@napi-rs/image-linux-x64-gnu": "1.14.0",
    4052                                 "@napi-rs/image-linux-x64-musl": "1.14.0",
    4053                                 "@napi-rs/image-wasm32-wasi": "1.14.0",
    4054                                 "@napi-rs/image-win32-arm64-msvc": "1.14.0",
    4055                                 "@napi-rs/image-win32-ia32-msvc": "1.14.0",
    4056                                 "@napi-rs/image-win32-x64-msvc": "1.14.0"
     4044                                "@napi-rs/image-android-arm64": "1.16.0",
     4045                                "@napi-rs/image-darwin-arm64": "1.16.0",
     4046                                "@napi-rs/image-darwin-x64": "1.16.0",
     4047                                "@napi-rs/image-freebsd-x64": "1.16.0",
     4048                                "@napi-rs/image-linux-arm-gnueabihf": "1.16.0",
     4049                                "@napi-rs/image-linux-arm64-gnu": "1.16.0",
     4050                                "@napi-rs/image-linux-arm64-musl": "1.16.0",
     4051                                "@napi-rs/image-linux-x64-gnu": "1.16.0",
     4052                                "@napi-rs/image-linux-x64-musl": "1.16.0",
     4053                                "@napi-rs/image-win32-arm64-msvc": "1.16.0",
     4054                                "@napi-rs/image-win32-ia32-msvc": "1.16.0",
     4055                                "@napi-rs/image-win32-x64-msvc": "1.16.0"
    40574056                        }
    40584057                },
    40594058                "node_modules/@napi-rs/image-android-arm64": {
    4060                         "version": "1.14.0",
    4061                         "resolved": "https://registry.npmjs.org/@napi-rs/image-android-arm64/-/image-android-arm64-1.14.0.tgz",
    4062                         "integrity": "sha512-LBWu1fNR7uC6kNQy+axDqXKU7Kj1x3UdD3xGKw/bks6YAUG15m92qwSwINDEB4Jqgl29vCeSNFItJZRm3byfJQ==",
     4059                        "version": "1.16.0",
     4060                        "resolved": "https://registry.npmjs.org/@napi-rs/image-android-arm64/-/image-android-arm64-1.16.0.tgz",
     4061                        "integrity": "sha512-pwn/41RoGaE0gHlJBvEIikYXASeiHhs1lyo5+fWZZSXsS9hpJt0zQqWiSr7cCdCwLdg84pQwPbqd32Kp+scLSw==",
    40634062                        "cpu": [
    40644063                                "arm64"
    … …  
    40754074                },
    40764075                "node_modules/@napi-rs/image-darwin-arm64": {
    4077                         "version": "1.14.0",
    4078                         "resolved": "https://registry.npmjs.org/@napi-rs/image-darwin-arm64/-/image-darwin-arm64-1.14.0.tgz",
    4079                         "integrity": "sha512-0f7SqjtXHelxbwkqdpUb/5yhVK7ciVoe902hqCeffhAFsJA7HQbEbzfM8W1MDawI6Ghenr5zHYQimWf1W1vaow==",
     4076                        "version": "1.16.0",
     4077                        "resolved": "https://registry.npmjs.org/@napi-rs/image-darwin-arm64/-/image-darwin-arm64-1.16.0.tgz",
     4078                        "integrity": "sha512-JJesjwlmWA9m0iN4y0GvHpfZkgAviU4Yhk+qvV+D44obYPisqAhJdMCQMY1/u8Yj/PblijimCMY05fMRvCmrdQ==",
    40804079                        "cpu": [
    40814080                                "arm64"
    … …  
    40924091                },
    40934092                "node_modules/@napi-rs/image-darwin-x64": {
    4094                         "version": "1.14.0",
    4095                         "resolved": "https://registry.npmjs.org/@napi-rs/image-darwin-x64/-/image-darwin-x64-1.14.0.tgz",
    4096                         "integrity": "sha512-wi6w06N516QzSd/QMre/Ye92mA4b5E2yQfr1+Hhml3tWrIM2Po2QvxBO9ns0AaG8u6y8b545bDzQCGLTfBykyQ==",
     4093                        "version": "1.16.0",
     4094                        "resolved": "https://registry.npmjs.org/@napi-rs/image-darwin-x64/-/image-darwin-x64-1.16.0.tgz",
     4095                        "integrity": "sha512-EV/SHAnsIoadlJdyeSVtHo2RE+N6BAWTK6S3y52vvCF8/s3z38fe9o1tbk40xxPpcSXdu+gh6ASBeFHic2/NOQ==",
    40974096                        "cpu": [
    40984097                                "x64"
    … …  
    41094108                },
    41104109                "node_modules/@napi-rs/image-freebsd-x64": {
    4111                         "version": "1.14.0",
    4112                         "resolved": "https://registry.npmjs.org/@napi-rs/image-freebsd-x64/-/image-freebsd-x64-1.14.0.tgz",
    4113                         "integrity": "sha512-Sz1XSGF6/Xmjb33CbWLOb7h6+ekmoJRGsN0bdnzn8W86OHPTSsIbTOMtqp9ZXTLQNJgeXQhprQhhmRFNRqq0Gg==",
     4110                        "version": "1.16.0",
     4111                        "resolved": "https://registry.npmjs.org/@napi-rs/image-freebsd-x64/-/image-freebsd-x64-1.16.0.tgz",
     4112                        "integrity": "sha512-2Q2XcPqeFfr5U8oL9zwZgbnfJLvFrA85+XPaOgjaUiIhEFfRKDgp5l7R0jDFZvymCw0ljMKtVzUD+Id2LUQasg==",
    41144113                        "cpu": [
    41154114                                "x64"
    … …  
    41264125                },
    41274126                "node_modules/@napi-rs/image-linux-arm-gnueabihf": {
    4128                         "version": "1.14.0",
    4129                         "resolved": "https://registry.npmjs.org/@napi-rs/image-linux-arm-gnueabihf/-/image-linux-arm-gnueabihf-1.14.0.tgz",
    4130                         "integrity": "sha512-ZsJ+0Rl3Ke1DN+W4lQMSzsfrwskjP4CkUsqOT7Y/HpziwirQn9R2fl2QU2Kb2eDSQvwSvGbRCkMLqH+4V4rzHg==",
     4127                        "version": "1.16.0",
     4128                        "resolved": "https://registry.npmjs.org/@napi-rs/image-linux-arm-gnueabihf/-/image-linux-arm-gnueabihf-1.16.0.tgz",
     4129                        "integrity": "sha512-qOXhoEXK66U396sBtL1wDvho4yooW6EPse0Ue23kRHlRHbR6SiDKz6mKcEoB1MrQzZGeKOYRh2F9rk0iHlsPiw==",
    41314130                        "cpu": [
    41324131                                "arm"
    … …  
    41434142                },
    41444143                "node_modules/@napi-rs/image-linux-arm64-gnu": {
    4145                         "version": "1.14.0",
    4146                         "resolved": "https://registry.npmjs.org/@napi-rs/image-linux-arm64-gnu/-/image-linux-arm64-gnu-1.14.0.tgz",
    4147                         "integrity": "sha512-J06fGFXt76fAGEaCb3uyPQgZrwvGbpYZycA4Xz6F5dauVgcLPw75syXmggode5G+a0cSg40fjddXMvSWhPwHGQ==",
     4144                        "version": "1.16.0",
     4145                        "resolved": "https://registry.npmjs.org/@napi-rs/image-linux-arm64-gnu/-/image-linux-arm64-gnu-1.16.0.tgz",
     4146                        "integrity": "sha512-S0j/r3ciH+WW/NnsOaLwhol0wly0x0YtljZnfQ4o1YCfkVrcAPMQGgGmPyjKIG/TLQ8tqPd6liuUL4Nms017lA==",
    41484147                        "cpu": [
    41494148                                "arm64"
    … …  
    41634162                },
    41644163                "node_modules/@napi-rs/image-linux-arm64-musl": {
    4165                         "version": "1.14.0",
    4166                         "resolved": "https://registry.npmjs.org/@napi-rs/image-linux-arm64-musl/-/image-linux-arm64-musl-1.14.0.tgz",
    4167                         "integrity": "sha512-AH8WvQb58ix9/RHB+9XNF2rOB8aAnFHzj0hDCCZCplRGHmv9BzOtA+IWdf5l4f7KmEJUohY+MxVWJ1jfpgn+JQ==",
     4164                        "version": "1.16.0",
     4165                        "resolved": "https://registry.npmjs.org/@napi-rs/image-linux-arm64-musl/-/image-linux-arm64-musl-1.16.0.tgz",
     4166                        "integrity": "sha512-ILcos5cDYUQw6h2aty8BBlm5B4l4I5y52i0tSSU44HBM8tmGE6sUU1DREPfMx1NLhB2HX4xu1Y9DNQq7tIXhpQ==",
    41684167                        "cpu": [
    41694168                                "arm64"
    … …  
    41834182                },
    41844183                "node_modules/@napi-rs/image-linux-x64-gnu": {
    4185                         "version": "1.14.0",
    4186                         "resolved": "https://registry.npmjs.org/@napi-rs/image-linux-x64-gnu/-/image-linux-x64-gnu-1.14.0.tgz",
    4187                         "integrity": "sha512-oU3wnQcDeZf+t8vyKMP4A6okY7JNjRbiiC7j8UsJ2lDf0no3GDQEJCCFDrQ7gCKQZAI7cr0rFbI75l2KlTM0PQ==",
     4184                        "version": "1.16.0",
     4185                        "resolved": "https://registry.npmjs.org/@napi-rs/image-linux-x64-gnu/-/image-linux-x64-gnu-1.16.0.tgz",
     4186                        "integrity": "sha512-R2LnMJzHxztTYyySZnyWIiZmDxgK7pq8DWYT1jAuryCXcGmhUhM14BgEnQKj5h3zvDVbtf1czm6DSD9f8PDl4g==",
    41884187                        "cpu": [
    41894188                                "x64"
    … …  
    42034202                },
    42044203                "node_modules/@napi-rs/image-linux-x64-musl": {
    4205                         "version": "1.14.0",
    4206                         "resolved": "https://registry.npmjs.org/@napi-rs/image-linux-x64-musl/-/image-linux-x64-musl-1.14.0.tgz",
    4207                         "integrity": "sha512-iuDTfVmFm9W6S4gzLNdSFt+Wr86LtciJJ+u2i0KBixpFYoHzeIkUr6LHBIkYg3eNdi7xHBb9qFBvxxhFQg4tUQ==",
     4204                        "version": "1.16.0",
     4205                        "resolved": "https://registry.npmjs.org/@napi-rs/image-linux-x64-musl/-/image-linux-x64-musl-1.16.0.tgz",
     4206                        "integrity": "sha512-UXcwFSIEEHia8/JhJO6H3uehQmTrsG8UK8tpD1qpzi8WHxUVgLJyuoVS3zKm8cmqlYq0No1cyqU6h2OnArShOw==",
    42084207                        "cpu": [
    42094208                                "x64"
    … …  
    42224221                        }
    42234222                },
    4224                 "node_modules/@napi-rs/image-wasm32-wasi": {
    4225                         "version": "1.14.0",
    4226                         "resolved": "https://registry.npmjs.org/@napi-rs/image-wasm32-wasi/-/image-wasm32-wasi-1.14.0.tgz",
    4227                         "integrity": "sha512-XRAbAQVWSm4wQzYwnTtOHD+ev6dRHUxLxmFQe5Nbev12dspqkB40zsDJ/yr4VwnV80gIfEfg7BvRLw9FFvLRlg==",
    4228                         "cpu": [
    4229                                 "wasm32"
    4230                         ],
    4231                         "dev": true,
    4232                         "license": "MIT",
    4233                         "optional": true,
    4234                         "dependencies": {
    4235                                 "@emnapi/core": "1.11.1",
    4236                                 "@emnapi/runtime": "1.11.1",
    4237                                 "@napi-rs/wasm-runtime": "^1.1.6"
    4238                         },
    4239                         "engines": {
    4240                                 "node": ">=14.0.0"
    4241                         }
    4242                 },
    4243                 "node_modules/@napi-rs/image-wasm32-wasi/node_modules/@emnapi/core": {
    4244                         "version": "1.11.1",
    4245                         "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.1.tgz",
    4246                         "integrity": "sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==",
    4247                         "dev": true,
    4248                         "license": "MIT",
    4249                         "optional": true,
    4250                         "dependencies": {
    4251                                 "@emnapi/wasi-threads": "1.2.2",
    4252                                 "tslib": "^2.4.0"
    4253                         }
    4254                 },
    4255                 "node_modules/@napi-rs/image-wasm32-wasi/node_modules/@emnapi/runtime": {
    4256                         "version": "1.11.1",
    4257                         "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.1.tgz",
    4258                         "integrity": "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==",
    4259                         "dev": true,
    4260                         "license": "MIT",
    4261                         "optional": true,
    4262                         "dependencies": {
    4263                                 "tslib": "^2.4.0"
    4264                         }
    4265                 },
    4266                 "node_modules/@napi-rs/image-wasm32-wasi/node_modules/@emnapi/wasi-threads": {
    4267                         "version": "1.2.2",
    4268                         "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.2.tgz",
    4269                         "integrity": "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==",
    4270                         "dev": true,
    4271                         "license": "MIT",
    4272                         "optional": true,
    4273                         "dependencies": {
    4274                                 "tslib": "^2.4.0"
    4275                         }
    4276                 },
    42774223                "node_modules/@napi-rs/image-win32-arm64-msvc": {
    4278                         "version": "1.14.0",
    4279                         "resolved": "https://registry.npmjs.org/@napi-rs/image-win32-arm64-msvc/-/image-win32-arm64-msvc-1.14.0.tgz",
    4280                         "integrity": "sha512-Wuq0AfN5rjrv2SkJTubIIYW//B5aBloPxND9GxRHKgGkLhyiSxBD6iOCQA1M/n12rvF9BWeadDDO8JLoO3iRHA==",
     4224                        "version": "1.16.0",
     4225                        "resolved": "https://registry.npmjs.org/@napi-rs/image-win32-arm64-msvc/-/image-win32-arm64-msvc-1.16.0.tgz",
     4226                        "integrity": "sha512-C1lmWAajIqkiYyVb0aBz0svCWIbzFAT6YpNoQ/QC/QsyNaQ602WSLSoq4ixnNhBPQrlro/Va3n/KANv4iqp4GA==",
    42814227                        "cpu": [
    42824228                                "arm64"
    … …  
    42934239                },
    42944240                "node_modules/@napi-rs/image-win32-ia32-msvc": {
    4295                         "version": "1.14.0",
    4296                         "resolved": "https://registry.npmjs.org/@napi-rs/image-win32-ia32-msvc/-/image-win32-ia32-msvc-1.14.0.tgz",
    4297                         "integrity": "sha512-Idb+OyISq24YRdO8iU+BC6QaN4pU6HpC+SRrxFOftWJg0xXPzfPfpwpwdviduJK/SjJcHe02nhUq3HKHtUEnWQ==",
     4241                        "version": "1.16.0",
     4242                        "resolved": "https://registry.npmjs.org/@napi-rs/image-win32-ia32-msvc/-/image-win32-ia32-msvc-1.16.0.tgz",
     4243                        "integrity": "sha512-j6OMycTmw47pY4m3yw4FnurkikzA8r36xgtbHqxsXWg1TGdY2uQq37Or56USNjLIeA6Oyv4az5YXc7L1oVv03w==",
    42984244                        "cpu": [
    42994245                                "ia32"
    … …  
    43104256                },
    43114257                "node_modules/@napi-rs/image-win32-x64-msvc": {
    4312                         "version": "1.14.0",
    4313                         "resolved": "https://registry.npmjs.org/@napi-rs/image-win32-x64-msvc/-/image-win32-x64-msvc-1.14.0.tgz",
    4314                         "integrity": "sha512-Hq5BY3+FeNehRe1VPhVQ28dGTSWlxnGAHeoF7/GpgeWBfltLT5+DpkV+FPyq6ju49kG1aFofE+IlSGi5sMJ0Kw==",
     4258                        "version": "1.16.0",
     4259                        "resolved": "https://registry.npmjs.org/@napi-rs/image-win32-x64-msvc/-/image-win32-x64-msvc-1.16.0.tgz",
     4260                        "integrity": "sha512-jdmbjZhvR1T++hTZpi5CYASA+2Js9tuUQGtQ0fVtrtbGt82sGkYrrax8gAVNsgyvEu9/B2yxbB/4mlJcXkwt0Q==",
    43154261                        "cpu": [
    43164262                                "x64"
  • trunk/package.json

    r65555 r65556  
    4242                "@343dev/gifsicle": "1.2.0",
    4343                "@lodder/grunt-postcss": "^3.1.1",
    44                 "@napi-rs/image": "1.14.0",
     44                "@napi-rs/image": "1.16.0",
    4545                "@playwright/test": "1.64.1",
    4646                "@pmmmwh/react-refresh-webpack-plugin": "0.6.2",
Note: See TracChangeset for help on using the changeset viewer.