Skip to content

node-url-to-whatwg-url codemod causes app to crash #249

@styfle

Description

@styfle

My previous comment was not addressed so I'm opening a new issue to track this bug

You can see the input gets transformed into the expected output. However the expected output crashes when you try to run it.

Uncaught TypeError: Invalid URL
    at new URL (node:internal/url:825:25) {
  code: 'ERR_INVALID_URL',
  input: '/path?query=string#hash'

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmedDefect has been confirmed reproducible

    Type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions