chore(deps): bump express-rate-limit and ip-address - #4391
Merged
Conversation
Scope @modelcontextprotocol/sdk (>=1.26.0) to express-rate-limit ^8.6.0 and @jsonhero/json-infer-types to ip-address ^10.2.0, so both transitive ip-address resolutions land on 10.2.0 instead of 8.1.0 and 10.0.1. express-rate-limit 8.2.1 pinned ip-address to an exact version; 8.5.1 onwards declares a range instead, so moving the parent lets ip-address resolve on its own. json-infer-types caps ip-address at ^8.1.0 and is already at its latest release, so that chain needs a scoped override. The cli-v3 chain is untouched: it resolves @modelcontextprotocol/sdk 1.25.2, which declares express-rate-limit ^7.5.0 and pulls no ip-address at all. Regenerated pnpm-lock.yaml. Nothing in the repo imports either package directly; both chains are transitive under apps/webapp.
|
nicktrn
marked this pull request as ready for review
July 27, 2026 10:57
nicktrn
enabled auto-merge (squash)
July 27, 2026 10:58
nicktrn
approved these changes
Jul 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ Checklist
Before:
ip-addressresolved twice inpnpm-lock.yaml—8.1.0under@jsonhero/json-infer-types, and10.0.1underexpress-rate-limit.After: a single
ip-address@10.2.0entry, shared by both chains.How:
express-rate-limit@8.2.1pinnedip-addressto an exact version, so the parent itself had to move —8.5.1onwards declares a range instead, and@modelcontextprotocol/sdkalready allows^8.2.1, so scoping that parent to^8.6.0letsip-addressresolve on its own.@jsonhero/json-infer-typescapsip-addressat^8.1.0and is already at its latest published release, so that chain gets a scoped override instead of a parent bump.jsbnandsprintf-jsdrop out of the tree as a side effect.Both overrides are parent-scoped, so the
cli-v3chain is deliberately untouched: it resolves@modelcontextprotocol/sdk1.25.2, which declaresexpress-rate-limit ^7.5.0and pulls in noip-addressat all.pnpm-lock.yamlregenerated.package.jsonandpnpm-lock.yamlare the only two files changed.Nothing in the repo imports
ip-addressorexpress-rate-limitdirectly. Both chains are transitive underapps/webapp—@jsonhero/schema-infer(used byTestTaskPresenter.server.ts) and@vercel/sdk— so no published@trigger.dev/*package is affected.Testing
pnpm install --lockfile-onlyregenerates cleanly, andpnpm install --frozen-lockfile --lockfile-onlypasses, so the lockfile matches the manifests.express-rate-limit8.2.1 to 8.6.0,ip-address8.1.0 and 10.0.1 collapsing to 10.2.0, andjsbn/sprintf-jsremoved. No other resolution moved.@jsonhero/json-infer-typesonly callsnew Address4()/new Address6()inside a try/catch to classify strings. Ran that exact logic against both8.1.0and10.2.0over 27 inputs (v4, v6, zone IDs, CIDR, IPv4-mapped, malformed, empty, non-strings): identical results in all 27. Both are still CJS named exports in10.2.0, with the sameenginesfloor.inferSchema()path from@jsonhero/schema-inferwithip-addressforced to10.2.0; it still detectsipv4andipv6formats correctly.express-rate-limit8.6.0 keeps the sameexpresspeer range (>= 4.11) and the same node floor as 8.2.1. Its newdebugdependency resolves to a version already present in the tree.oxfmt --checkpasses on the modifiedpackage.json.minimumReleaseAgewindow; the newestexpress-rate-limit(8.6.1) andip-address(10.2.1+) releases do not yet, which is why this lands on 8.6.0 and 10.2.0.ip-addressis not referenced injson-infer-types' orschema-infer's declaration files — so CI should be the judge of the wider suite.Changelog
Routine dependency maintenance, no behaviour change. No changeset or
.server-changes/entry: the diff touches only the rootpackage.jsonandpnpm-lock.yaml, notpackages/*,integrations/*,apps/webapp/orapps/supervisor/.