I have a third party node module, that uses the old sys naming scheme, and a third party PHP module that decides, whether node has been running successfully based on its output. And it seems like that warning is considered a failure, which causes an exception. I would like not to change any vendor code, e.g. not replace sys with util and not make PHP aware that this warning isn’t critical. Is that possible?
I have a third party node module, that uses the old sys naming scheme,
Share
The solution is easy.
Find the third party module on github, fork it, replace all references of
syswithutiland make a pull request.Then either wait for it to be pulled in or use your own fork in your code.