-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
[node:util] Incorrect order in util.parseArgs
history
#45670
Labels
doc
Issues and PRs related to the documentations.
good first issue
Issues that are suitable for first-time contributors.
util
Issues and PRs related to the built-in util module.
Comments
Trott
added
the
good first issue
Issues that are suitable for first-time contributors.
label
Nov 30, 2022
Can I Take This Issue, I want to work on this issue. |
bleakprestiger
added a commit
to bleakprestiger/node
that referenced
this issue
Dec 3, 2022
fix incorrect order in util.parseArgs history in the util.md Fixed ordering in the versioning history for the util.parseArgs function in the util.md. Fixes: -nodejs#45670
This was referenced Dec 3, 2022
@Semigradsky @Trott @VoltrexKeyva I have created a Pull Request For fixing of incorrect ordering of util.parseArgs. |
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 3, 2022
This fixes an error in parseYAML(text), the version sorting coudn't be right as we compared an arrify string (ie. a = ["v18.11, v16.7.0"]) with an array of strings (ie. b = ["v18.07", "v16.7.0"]) in versionSort(a, b). minVersion(a) couldn't find the minimum version with an arrify string like a = ["v18.11, v16.7.0"]. That's why incorrect version history orders sometimes appeared. Fixes: nodejs#45670
Hey @bleakprestiger! |
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 4, 2022
There is no need to sort the addded version as it always comes first. So, it can be the last one to be pushed in the meta.changes array. Fixes: nodejs#45670
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 4, 2022
The added version in now always the lastest in the HTML table. Fixes: nodejs#45670
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 4, 2022
This fixes an error in parseYAML(text), the version sorting coudn't be right as we compared an arrify string (ie. a = ["v18.11, v16.7.0"])with an array of strings (ie. b = ["v18.07", "v16.7.0"]) in versionSort(a, b). minVersion(a) couldn't find the minimum version with an arrify string like a = ["v18.11, v16.7.0"]. That's why incorrect version history orders sometimes appeared. Fixes: nodejs#45670
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 4, 2022
There is no need to sort the addded version as it always comes first. So, it can be the last one to be pushed in the meta.changes array. Fixes: nodejs#45670
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 4, 2022
The added version in now always the lastest in the HTML table. Fixes: nodejs#45670
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 4, 2022
This fixes an error in parseYAML(text), the version sorting coudn't be right as we compared an arrify string (ie. a = ["v18.11, v16.7.0"]) with an array of strings (ie. b = ["v18.07", "v16.7.0"]) in versionSort(a, b). minVersion(a) couldn't find the minimum version with an arrify string like a = ["v18.11, v16.7.0"]. That's why incorrect version history orders sometimes appeared. Fixes: nodejs#45670
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 4, 2022
There is no need to sort the addded version as it always comes first. So, it can be the last one to be pushed in the meta.changes array. Fixes: nodejs#45670
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 4, 2022
The added version in now always the lastest in the HTML table. Fixes: nodejs#45670
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 12, 2022
This fixes an error in parseYAML(text), the version sorting coudn't be right as we compared an arrify string (ie. a = ["v18.11, v16.7.0"]) with an array of strings (ie. b = ["v18.07", "v16.7.0"]) in versionSort(a, b). minVersion(a) couldn't find the minimum version with an arrify string like a = ["v18.11, v16.7.0"]. That's why incorrect version history orders sometimes appeared. Therefore, no need to sort the added version as it always comes first. So, it can be the last one to be pushed in the meta.changes array. Co-authored-by: Luigi Pinca <luigipinca@gmail.com> Fixes: nodejs#45670
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 12, 2022
This fixes an error in parseYAML(text), the version sorting coudn't be right as we compared an arrify string (ie. a = ["v18.11, v16.7.0"]) with an array of strings (ie. b = ["v18.07", "v16.7.0"]) in versionSort(a, b). minVersion(a) couldn't find the minimum version with an arrify string like a = ["v18.11, v16.7.0"]. That's why incorrect version history orders sometimes appeared. Futhermore, no need to sort the added version as it always comes first. So, it can be the last one to be pushed in the meta.changes array. Co-authored-by: Luigi Pinca <luigipinca@gmail.com> Fixes: nodejs#45670
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 12, 2022
This fixes an error in parseYAML(text), the version sorting coudn't be right as we compared an arrify string (ie. a = ["v18.11, v16.7.0"]) with an array of strings (ie. b = ["v18.07", "v16.7.0"]) in versionSort(a, b). minVersion(a) couldn't find the minimum version with an arrify string like a = ["v18.11, v16.7.0"]. That's why incorrect version history orders sometimes appeared. Futhermore, no need to sort the added version as it always comes first. So, it can be the last one to be pushed in the meta.changes array. Fixes: nodejs#45670 Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
welfoz
added a commit
to welfoz/node
that referenced
this issue
Dec 12, 2022
This fixes an error in parseYAML(text), the version sorting coudn't be right as we compared an arrify string (ie. a = ["v18.11, v16.7.0"]) with an array of strings (ie. b = ["v18.07", "v16.7.0"]) in versionSort(a, b). minVersion(a) couldn't find the minimum version with an arrify string like a = ["v18.11, v16.7.0"]. That's why incorrect version history orders sometimes appeared. Furthermore, no need to sort the added version as it always comes first. So, it can be the last one to be pushed in the meta.changes array. Fixes: nodejs#45670 Co-authored-by: Luigi Pinca <luigipinca@gmail.com>
nodejs-github-bot
pushed a commit
that referenced
this issue
Dec 14, 2022
This fixes an error in parseYAML(text), the version sorting coudn't be right as we compared an arrify string (ie. a = ["v18.11, v16.7.0"]) with an array of strings (ie. b = ["v18.07", "v16.7.0"]) in versionSort(a, b). minVersion(a) couldn't find the minimum version with an arrify string like a = ["v18.11, v16.7.0"]. That's why incorrect version history orders sometimes appeared. Furthermore, no need to sort the added version as it always comes first. So, it can be the last one to be pushed in the meta.changes array. Fixes: #45670 Co-authored-by: Luigi Pinca <luigipinca@gmail.com> PR-URL: #45728 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
targos
pushed a commit
that referenced
this issue
Jan 1, 2023
This fixes an error in parseYAML(text), the version sorting coudn't be right as we compared an arrify string (ie. a = ["v18.11, v16.7.0"]) with an array of strings (ie. b = ["v18.07", "v16.7.0"]) in versionSort(a, b). minVersion(a) couldn't find the minimum version with an arrify string like a = ["v18.11, v16.7.0"]. That's why incorrect version history orders sometimes appeared. Furthermore, no need to sort the added version as it always comes first. So, it can be the last one to be pushed in the meta.changes array. Fixes: #45670 Co-authored-by: Luigi Pinca <luigipinca@gmail.com> PR-URL: #45728 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
juanarbol
pushed a commit
that referenced
this issue
Jan 26, 2023
This fixes an error in parseYAML(text), the version sorting coudn't be right as we compared an arrify string (ie. a = ["v18.11, v16.7.0"]) with an array of strings (ie. b = ["v18.07", "v16.7.0"]) in versionSort(a, b). minVersion(a) couldn't find the minimum version with an arrify string like a = ["v18.11, v16.7.0"]. That's why incorrect version history orders sometimes appeared. Furthermore, no need to sort the added version as it always comes first. So, it can be the last one to be pushed in the meta.changes array. Fixes: #45670 Co-authored-by: Luigi Pinca <luigipinca@gmail.com> PR-URL: #45728 Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
doc
Issues and PRs related to the documentations.
good first issue
Issues that are suitable for first-time contributors.
util
Issues and PRs related to the built-in util module.
Affected URL(s)
https://nodejs.org/docs/latest-v18.x/api/util.html#utilparseargsconfig
Description of the problem
There is incorrect order in
util.parseArgs
history:The text was updated successfully, but these errors were encountered: