Skip to content

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner. #1

@QueTee82

Description

@QueTee82

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.

This PR adds support for the built-in URL type. This is supported everywhere Set and Map are supported so I don't think compatibility should be an issue.

As far as how the actual value is serialized: the string-ified URL value itself is not escaped because URL will do this for us e.g. (new URL("https://script>.com")).toString() ➡️ "https://script%3E.com/".

Originally posted by @rrdelaney in yahoo/serialize-javascript#123

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions