G'day, this error depends on the node version and not on the pool code, to fix the error (check all files), you have change:
minerReq.query.hasOwnProperty()
with Object.prototype. example:
Object.prototype.hasOwnProperty.call(minerReq.query, '....')
API reference:
Go to API
Otherwise take another node version, if you dont want change the code.
-lovely regards.