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

fix(changeStreams): fixing node4 issue with util.inherits #1587

Merged
merged 1 commit into from
Nov 29, 2017

Conversation

daprahamian
Copy link
Contributor

@daprahamian daprahamian commented Nov 29, 2017

require('util').inherits(ctor, super) blows away the original prototype
of ctor. If we wish to use it, we need to move the inherits call to
directly after the constructor creation. In the future, we should
switch to using classes.

require('util').inherits(ctor, super) blows away the original prototype
of ctor. If we wish to use it, we need to move the inherits call to
directly after the constructor creation. In the future, we should
switch to using classes.
@daprahamian daprahamian merged commit 168bb3d into 3.0.0 Nov 29, 2017
@daprahamian daprahamian deleted the fix/changeStreams/node4Bug branch November 29, 2017 21:34
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