You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Minor updates to the serialization functions, ensuring that it's possible to create a Normalized/ParsedUrl, serialize it, and pass it back into its own constructor without loss of data.
Constructor now accepts the results of JSON.parse() in addition to URL strings; this makes round-tripping serialized ParsedUrls and NormalizedUrls much less trying.
A reviver function is now included for explicit creation of Parsed/NormalizedUrls when parsing Json.
NormalizedUrl.properties now includes original rather than re-using origin
Adds a trio of that de-duplicate URLs, ParsedUrls, and NormalizedUrls. If strings are passed in, the Sets parse to the appropriate URL subclass — when used with NormalizedUrls, that allows quick and easy parsing, normalizing, and de-duplication of large unfiltered URL sets in a single step.