Repository navigation
chore(test): raise @wp-playground/cli to 3.1.56 - #60
Conversation
Clears both high advisories in the test lane's graph. @wp-playground/cli pulled ajv's fast-uri 3.1.6, which carries GHSA-qw65-cvwx-89v3 (ReDoS in the URI parser) and GHSA-58mr-gqgx-xq4g; 3.1.56 resolves fast-uri 3.1.8. `pnpm audit` goes from 2 high to 0. The floor moves with the lockfile so a fresh resolve cannot drop back to 3.1.51. Still 3.1.x, so the blueprint `preferredVersions` trap recorded in tests/render.mjs and AGENTS.md is unchanged — and `pnpm test:all` proves it, including the two render blueprints that pin WordPress 6.7 on PHP 7.4. playwright-core stays pinned at 1.57.0. It is deliberately exact, and the browser lane is local-only, so a bump there belongs with a run that can exercise it. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_013mJ9STzQPdTkjih1pGWRWX
|
🤖 no session running recent dispatchesWritten by the sydevs dispatcher. Sessions never edit this comment. |
sydevs-bot
left a comment
There was a problem hiding this comment.
🧐 Adversarial review
Right shape, right size: one commit, two files, nothing the plugin ships. No abstraction, no knob, no refactor riding along. No contract surface moved.
Both findings are about the write-up, not the code. The advisories were cleared by re-resolving ajv's caret range, not by the cli's version: [email protected] is identical on both sides and only its fast-uri moved. The raised floor does not buy the durability the body claims. The lock also moved six further transitive versions the outline does not name. Neither blocks merge.
Findings
- should-fix — the "declared floor" sentence names a protection that is not in place —
package.json:16 - consider — six unnamed transitive moves, and a second
qscopy —pnpm-lock.yaml:721
What was checked
Enumerated every version key in both lockfiles: 8 moved, [email protected] added. [email protected] and [email protected] unchanged while their resolutions moved. fast-uri 3.1.6 → 3.1.8 under ajv. ignoredBuiltDependencies covers the native dep that moved. Lint & test green here.
🤖 Written by the sydevs autonomous loop — see what this is
Generated by Claude Code
|
Both adversarial-review findings adopted. Neither was about the code, so the fix is the body — nothing is pushed.
Head stays 🤖 Written by the sydevs autonomous loop — see what this is Generated by Claude Code |
Summary
fast-uri3.1.6 → 3.1.8, under an unchanged[email protected].@wp-playground/cli3.1.51 → 3.1.56 rides along as this month's routine version bump.pnpm auditgoes from 2 high to 0. No plugin file changes.Change outline
Nothing the plugin ships changes. The only shape that moved is the test lane's
dependency graph, two levels under the one devDependency we declare.
Both advisories lived in one
fast-uriresolution:What actually cleared them.
[email protected]is identical on both sides, and onlyits caret-resolved
fast-urimoved. Nofast-urirange anywhere is keyed to thecli version, so the same refresh at 3.1.51 would have cleared them too. The
lockfile pin on
[email protected]is the protection; the raised floor only keepspackage.jsonfrom disagreeing with the tree it locks.The other seven moves. The refresh re-resolved more than
fast-uri, and[email protected]did not move, so none of these follow from the cli bump:body-parser[email protected]qs6.16.0beside6.15.3, whichexpresskeepsproxy-addrfast-xml-parserundici-typeswhich-typed-arraynanignoredBuiltDependenciesTest results
pnpm test:all— syntax check, measure lane, the WordPress 6.7 /PHP 7.4 behaviour suite, and both render blueprints. 0 failures.
what pins versions through the blueprint. Both theme kinds pass, including
classic: no request left the instance— the offline invariant still holdsunder the new CLI.
Notes for reviewer
The one thing worth checking by eye:
tests/render.mjsandAGENTS.mdbothrecord that under @wp-playground/cli 3.1,
serverignores--phpand--wpwhen given a blueprint, so versions must be pinned with the blueprint's
preferredVersions. 3.1.56 is still 3.1.x, and the render lane passing onWordPress 6.7 / PHP 7.4 is the evidence that the trap and its workaround are
both unchanged. Neither doc names a patch version, so nothing there went stale.
playwright-corestays pinned at 1.57.0 rather than moving to 1.63.0. It isdeliberately exact, and the browser lane is local-only and needs a real key, so
that bump belongs with a run that can actually exercise it.
Detail
Why this is a PR and not a ticket. Monday's dependency survey raises PRs
directly — a version bump carries its own description, and a ticket saying
"bump X" only adds a round trip.
Why the cli bump stays, now that it is not the fix. A floor below the tree
the lockfile already pins only drifts further apart on the next resolve, and
3.1.56 is the version this month's survey would have raised anyway. Dropping it
would make this a lockfile-only PR with a stale manifest beside it.
Why
qsstays. Both remaining advisories are moderate, below the survey'sthreshold, and they sit under
expressinside@wp-playground/cli— a serverthat only ever answers this machine during a test lane.
No security review ran. The repo's
securityReview.triggerPatterncoversincludes/,sahaj-atlas.php,blocks/,templates/,.distignore,release.ymlandpackage.sh. This diff touchespackage.jsonandpnpm-lock.yamlonly, so it does not match — correctly, since nothing thatships to the 13 sites is in it. The release zip is built by
.github/scripts/package.shfrom the plugin's own PHP and assets; nodevDependency enters it.
Reviewed with
/code-review-class reading of the full branch diff pluscomment-lint.mjs --base origin/main(0 changed files, no banned comment). The/pr-review-toolkitplugin is not installed in a routine session.🤖 Generated with Claude Code
https://claude.ai/code/session_013mJ9STzQPdTkjih1pGWRWX
Generated by Claude Code