Skip to content

Conversation

@missinglink
Copy link
Member

unit tests are failing on node 11.6.0 due to unstable sorting, this PR fixes the issue and tests pass on both 10 & 11 now.

@missinglink missinglink merged commit c0de63b into master Jan 14, 2019
@orangejulius
Copy link
Member

nice

@orangejulius
Copy link
Member

Wait, can you explain how this fixes the problem? Node.js 11 includes v8 version 7 which changes Array.prototype.sort to be stable by default. So my understanding is that using the stable NPM package should not be needed in Node.js 11.

@orangejulius orangejulius deleted the stable_sort branch January 14, 2019 19:24
@orangejulius
Copy link
Member

@missinglink I came across this again and was wondering if you could chime in with how this fixes things, as I mentioned in my last comment, before we forget everything about it.

@missinglink
Copy link
Member Author

honestly, I'm not really sure, I was working on another issue when I discovered this error.

so I just quickly fixed it and got back to the original task.

@missinglink
Copy link
Member Author

Is it possible that the stable sorting algorithms are different between core and the stable module?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants