From b4f7800ff178ea91dfa1f9f928c0a4caabbbeaf0 Mon Sep 17 00:00:00 2001 From: nicktrn <55853254+nicktrn@users.noreply.github.com> Date: Sun, 16 Aug 2026 22:12:19 +0100 Subject: [PATCH] chore(deps): cover the second ip-address parent (#4638) ## Summary The existing `ip-address` override is scoped to a single parent, `@jsonhero/json-infer-types>ip-address`. A second parent reaches `ip-address` independently: `express-rate-limit@8.6.0`, which is itself pinned by our `@modelcontextprotocol/sdk@>=1.26.0>express-rate-limit` override. That path was resolving `10.2.0` while the scoped path resolved `10.5.0`, so the tree carried two copies. This adds a matching scoped override for the second parent: ```json "express-rate-limit>ip-address": "^10.3.1" ``` `express-rate-limit` declares `^10.2.0`, so this asks nothing of it that its own range did not already allow. The tree now resolves a single `ip-address@10.5.0`. The existing `@jsonhero/json-infer-types` override stays: that package declares `ip-address: ^8.1.0`, so removing it brings an 8.x copy back. Stacked on #4637. --- package.json | 1 + pnpm-lock.yaml | 9 ++------- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index b8c0bc8aa..a6a971f65 100644 --- a/package.json +++ b/package.json @@ -143,6 +143,7 @@ "brace-expansion@>=5 <5.0.9": "5.0.9", "mermaid@>=11 <11.16.1": "^11.16.1", "@jsonhero/json-infer-types>ip-address": "^10.3.1", + "express-rate-limit>ip-address": "^10.3.1", "@modelcontextprotocol/sdk@>=1.26.0>express-rate-limit": "^8.6.0" }, "onlyBuiltDependencies": [ diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 1f22a3db5..77133142c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -59,6 +59,7 @@ overrides: brace-expansion@>=5 <5.0.9: 5.0.9 mermaid@>=11 <11.16.1: ^11.16.1 '@jsonhero/json-infer-types>ip-address': ^10.3.1 + express-rate-limit>ip-address: ^10.3.1 '@modelcontextprotocol/sdk@>=1.26.0>express-rate-limit': ^8.6.0 patchedDependencies: @@ -11482,10 +11483,6 @@ packages: resolution: {integrity: sha512-UxC0Yv1Y4WRJiGQxQkP0hfdL0/5/6YvdfOOClRgJ0qppSarkhneSa6UvkMkms0AkdGimSH3Ikqm+6mkMmX7vGA==} engines: {node: '>=12.22.0'} - ip-address@10.2.0: - resolution: {integrity: sha512-/+S6j4E9AHvW9SWMSEY9Xfy66O5PWvVEJ08O0y5JGyEKQpojb0K0GKpz/v5HJ/G0vi3D2sjGK78119oXZeE0qA==} - engines: {node: '>= 12'} - ip-address@10.5.0: resolution: {integrity: sha512-R5SnVLJmgYYvf2F2ZgwSBnelz5G4q5AxIC277GDfUaNbrZKNANcBC7RHqYYePlszf4kBolVkJauG0ZjHHFh55g==} engines: {node: '>= 12'} @@ -25827,7 +25824,7 @@ snapshots: dependencies: debug: 4.4.3(supports-color@10.0.0) express: 5.2.1 - ip-address: 10.2.0 + ip-address: 10.5.0 transitivePeerDependencies: - supports-color @@ -26764,8 +26761,6 @@ snapshots: transitivePeerDependencies: - supports-color - ip-address@10.2.0: {} - ip-address@10.5.0: {} ipaddr.js@1.9.1: {}