Skip to content

Commit 211f45a

Browse files
committed
Update Mockttp for fixes to loopback resolution & PAC proxies
New Node versions (v20.12+) have a slightly different behaviour around DNS lookups for IP addresses (reporting some as invalid, where they previously just resolved to the input address). This Mockttp includes a workaround that resolves this for most cases, allowing us to safely update Node. There may still be issues here with a very specific config, but likely only for configurations using IPv6 within Docker, which is suspect is fairly rare here. This will be resolved more completely in later versions (probably by fixing cacheable-lookup).
1 parent dce8411 commit 211f45a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

package-lock.json

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"mime-types": "^2.1.27",
8585
"mobx": "^6.3.5",
8686
"mockrtc": "^0.3.1",
87-
"mockttp": "^3.15.2",
87+
"mockttp": "^3.15.5",
8888
"node-fetch": "^2.6.1",
8989
"node-forge": "^1.3.0",
9090
"node-gsettings-wrapper": "^0.5.0",

0 commit comments

Comments
 (0)