GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||||||||||||
GeezerVison is showing github.com — doc: fix history info for URLSearchParams by skyclouds2001 · Pull Request #55840 · nodejs/node Conversation
| |||||||||||||||||||||||||
| @@ -771,10 +771,22 @@ console.log(myURL.href); | |||
|
|
|||
| #### `new URLSearchParams()` | |||
|
|
|||
| <!-- YAML | |||
| added: | |||
| - v7.0.0 | |||
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The class was added in v7.5.0 and the constructor in v7.0.0 🤔 ?
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
oops! my mistake
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
I don't think those additions are adding much, it's already implied that if there are no history data, it inherits from the class, having redundant info only increases the risk to let a mistake pass through
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
OK, so the nuance is that require('url').URLSearchParams only existed after 7.5.0 (021338d), but the actual class was added along the rest of the URL API (a8ece14) and was accessible via new URL().searchParams. I wonder if any of our user would be sensible to the nuance – hopefully there are no v7.x users left so it doesn't matter anyway.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It's true that this history info may be useless for users (it's quite impossible to see v7.x users left)
But it is required in some cases, like browser-compat-data. And it is normal way to add history info for every single feature (especially for new features, like web crypto, web stream, worker threads). Also, parent feature and children feature are not always have the same history info, like in this PR.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
ac38343 to
273830f
Compare
|
The commit message does not match the changes |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
273830f to
771859f
Compare
Fixed! |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
This pull request has been marked as stale due to 90 days of inactivity. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.