Changes for compatibility with recent versions of NodeJS.

The pty.js module is replaced with node-pty, now-mandatory callbacks
are added to various fs functions, and deprecated Buffer() calls are
replaced with Buffer.from() or Buffer.alloc().
This commit is contained in:
John "Elwin" Edwards 2019-08-25 21:27:31 -04:00
parent 4940bf86ae
commit f2256500e1
2 changed files with 32 additions and 19 deletions

View file

@ -5,9 +5,9 @@ browser. It is intended to be compatible with dgamelaunch.
Node
---
RLGWebD currently works with Node v0.10.
RLGWebD is currently being updated to work with Node v10.x.
It requires the 'posix', 'pty.js', and 'websocket' modules. Currently,
It requires the 'posix', 'node-pty', and 'websocket' modules. Currently,
it expects them to be installed in "/var/local/lib/node_modules". It
is not recommended to run npm as root when installing the modules.