[node] Deprecate GLOBAL in favor of global#1881
[node] Deprecate GLOBAL in favor of global#1881FooBarWidget merged 1 commit intophusion:stable-5.0from sigv:node-deprecate-global-5.0
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
GLOBALvariable should not be used in order to avoidDeprecationWarning: 'GLOBAL' is deprecated, use 'global'.