We have a nodejs application coming out of Haxe code. Somewhere down at line 22000 in our JS Output we have a
require("Buffer").Buffer
We updated hxnodejs to 6.x. Now with our NodeJS server we are getting a "TypeError: Cannot read property 'Buffer' of undefined"
Line 4 of the JS output has
var require = (function(r){ return function require(m) { return r[m]; } })($s.__registry__ || {});
Commenting this out allows the server to run. It probably will error on anything requiring Buffer...but that isnt tested