-
Notifications
You must be signed in to change notification settings - Fork 549
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] Deprecate GLOBAL in favor of global #1881
[node] Deprecate GLOBAL in favor of global #1881
Conversation
The `GLOBAL` variable should not be used in order to avoid `DeprecationWarning: 'GLOBAL' is deprecated, use 'global'`.
This PR is a replacement for #1880. |
Thanks for the rebase. There is only one concern I have, and that is compatibility. You mentioned that the lowercase And can I ask you to fill in our contributor agreement if you haven't filled it in already? We need it before can merge pull requests. |
As I said in the old PR, this commit marks the It was initially added back in the day with official documentation up until version 0.1.26. With that in mind, I do not see how this change can break compatibility even if you support versions down to 0.10.x. Even more so, in all other uses of the global object in the project, it is already used as |
Oh, and I have signed the agreement but I have not signed the commit. Is that okay for you guys? |
Ah I see, then I misunderstood. I thought you meant that in version 6 |
It's been merged now, and I've added you to the CONTRIBUTORS file. Thanks again for the pull request! |
What exactly is the release schedule of Passenger? |
It's merged to stable, so it's for the upcoming release. We typically release a few times per quarter. |
The
GLOBAL
variable should not be used in order to avoidDeprecationWarning: 'GLOBAL' is deprecated, use 'global'
.