Closed muayyad-alsadi closed 5 years ago
the reason of the error is that buf.readUInt8(offset)
no longer have noAssert
param
| v10.0.0 | Removed noAssert and no implicit coercion of the offset to uint32 anymore. |
https://nodejs.org/docs/latest-v10.x/api/buffer.html#buffer_buf_readuint8_offset
That should be fixed in version 2.2.0
(thanks to this commit), I'll update the version in the socket.io-redis
project.
@darrachequesne this covers the warning, but does it cover the removal of noAssert
?
`RangeError [ERR_OUT_OF_RANGE]: The value of "offset" is out of range. It must be >= 0 and <= 111. Received 112`
Having the same RangeError issue here.
when running node 10 I got
for more information:
and I got the following trace when used with socket.io-redis adaptor (which uses your package)