Skip to content

Where is the source code for page-with and @open-draft/test-server packages? #282

@milesrichardson

Description

@milesrichardson

Hi, thanks for the great libraries!

I'm working on a PR to (hopefully) improve support for Node 18 and native fetch. So far I've found a few related bugs caused by incorrect serialization of IPv6 host in URLs, which is a problem on Node 18 when running in dual stack environments like GitHub Actions because localhost can resolve to ::1, and some code in page-with and test-server libraries incorrectly serializes any IPv6 host to an invalid URL. The fix is to surround an IPv6 host with square brackets.

This is an easy bug to fix, but I don't know where to make the PR. I haven't been able to find the source code for page-with (no source listed) or @open-draft/test-server (source link 404). Is the source code for these packages available somewhere? I see that @kettanaito is their maintainer, but I cannot find the source repositories on his profile nor anywhere in the mswjs organization.

In the meantime, I'm able to workaround the bug by fixing it with re-exports and prototype patching, but that's not ideal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions