{{ message }}
lib: fix undefined timeout regression#3331
Closed
rmg wants to merge 1 commit into
Closed
Conversation
Contributor
There was a problem hiding this comment.
instead of util.isUndefined, should be probably just be msecs === undefined
Member
|
LGTM, cc @jasnell |
Contributor
|
yea, LGTM other than that |
d66d408 to
e2c2b44
Compare
Contributor
Author
|
Fixed the |
Member
|
LGTM |
indutny
pushed a commit
that referenced
this pull request
Oct 12, 2015
63644dd introduced a regression caused by everyone's favourite JavaScript feature: undefined < 0 === undefined >= 0. Add a case to the existing tests to cover this scenario and then add the check for undefined that makes the test pass. PR-URL: #3331 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed By: Evan Lucas <evanlucas@me.com>
Contributor
|
are we doing trailing commas? |
Member
|
Landed in bde32f8. Forgot to run CI :( Thank you! |
Member
|
Argh, I have overlooked it. No, we don't |
Contributor
Author
|
sorry! should I bother fixing? |
63644dd introduced a regression caused by everyone's favourite JavaScript feature: undefined < 0 === undefined >= 0. Add a case to the existing tests to cover this scenario and then add the check for undefined that makes the test pass.
e2c2b44 to
1e14233
Compare
Contributor
Author
|
guess I probably shouldn't have force pushed the fix for the trailing comma.. oh well. |
Member
|
I'm impressed/terrified that this edge case surfaced so quickly. Thanks for finding/fixing. |
jasnell
pushed a commit
that referenced
this pull request
Oct 13, 2015
63644dd introduced a regression caused by everyone's favourite JavaScript feature: undefined < 0 === undefined >= 0. Add a case to the existing tests to cover this scenario and then add the check for undefined that makes the test pass. PR-URL: #3331 Reviewed-By: Fedor Indutny <fedor@indutny.com> Reviewed By: Evan Lucas <evanlucas@me.com>
Member
|
Landed in v4.x in c245a19 |
jasnell
added a commit
that referenced
this pull request
Oct 13, 2015
jasnell
added a commit
that referenced
this pull request
Oct 13, 2015
Contributor
|
Oops. |
|
Thanks for this - really appreciate the quick turn around for those of us relying on this fix and using LTS! |
Contributor
Author
jasnell
added a commit
that referenced
this pull request
Oct 13, 2015
jasnell
added a commit
that referenced
this pull request
Oct 13, 2015
This was referenced Feb 20, 2022
This was referenced Sep 29, 2022
This was referenced Oct 5, 2022
This was referenced Oct 8, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

63644dd introduced a regression caused by everyone's favourite
JavaScript feature:
undefined < 0 === undefined >= 0.Add a case to the existing tests to cover this scenario and then add
the check for undefined that makes the test pass.
@indutny @jasnell this should fix at least one of the v4.2.0 regressions.