Skip to content

Commit ed8a640

Browse files
committed
Update Mockttp for relative-localhost, MacOS+OpenSSL & Node 20 fixes
Nothing super impactful here, but all good-to-do changes. Both the Mac OpenSSL issue & Node 20 fixes specifically don't do anything yet, but will help to put us in a better place to upgrade to newer Node releases later this year, once other issues there are resolved. Relative localhost refers to handling of requests to 'localhost' addresses from non-local clients (which should be routed back to themselves, not to our own localhost). Previously this was applied textually, now we fully resolve the target IP and check definitively whether it's a localhost address or not.
1 parent fabcb44 commit ed8a640

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

package-lock.json

Lines changed: 17 additions & 15 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
@@ -69,7 +69,7 @@
6969
"mime-types": "^2.1.27",
7070
"mobx": "^6.3.5",
7171
"mockrtc": "^0.3.1",
72-
"mockttp": "^3.7.1",
72+
"mockttp": "^3.7.6",
7373
"node-abort-controller": "^3.0.1",
7474
"node-fetch": "^2.6.1",
7575
"node-forge": "^1.3.0",

0 commit comments

Comments
 (0)