Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete nodejs data for URL and URLSearchParams #13655

Merged
merged 2 commits into from Nov 22, 2021

Conversation

gilmoreorless
Copy link
Contributor

Summary

Part of #13170. This fills in true and missing nodejs values for URL and URLSearchParams.

Test results and supporting details

Most of the data came from the "history" section of the documentation.

Local testing also revealed the oddity of URL#searchParams returning a dummy object in 7.0.0 before URLSearchParams was properly implemented in 7.5.0.

@github-actions github-actions bot added the data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API label Nov 20, 2021
Comment on lines +146 to +154
"nodejs": [
{
"version_added": "10.0.0"
},
{
"version_added": "7.0.0",
"notes": "Has to be imported from the URL module."
}
],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This information for the URL constructor is copied from the top-level object.

Comment on lines -92 to -101
"nodejs": [
{
"version_added": "7.10.0"
},
{
"version_added": "7.5.0",
"partial_implementation": true,
"notes": "Only string as <code>init</code> object supported."
}
],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the note because the information is covered by the later-added USVString, record, and sequence sub-properties.

Copy link
Member

@Elchi3 Elchi3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! 👍

@Elchi3 Elchi3 merged commit 1cd000e into mdn:main Nov 22, 2021
@gilmoreorless gilmoreorless deleted the nodejs-missing-url branch November 22, 2021 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data:api 🐇 Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants