haxetink / tink_chunk

Chunks of readonly binary data.
The Unlicense
8 stars 5 forks source link

Replace `untyped __js__` by `js.Syntax.code` #16

Closed cedx closed 4 years ago

cedx commented 4 years ago

Fixes #15

cedx commented 4 years ago

Buffer.allocUnsafe was added to Node.js in v5.10.0: we could probably simplify this code by removing the check and the alloc property. Node.js v5 is pretty old: the current LTS release is v12.

kevinresol commented 4 years ago

Buffer.allocUnsafe was added to Node.js in v5.10.0: we could probably simplify this code by removing the check and the alloc property. Node.js v5 is pretty old: the current LTS release is v12.

I agree.

cedx commented 4 years ago

@kevinresol Done.

kevinresol commented 4 years ago

Thanks!