Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Update the Buffer APIs #98

Merged
merged 1 commit into from
Jun 22, 2020
Merged

Update the Buffer APIs #98

merged 1 commit into from
Jun 22, 2020

Conversation

ankon
Copy link
Contributor

@ankon ankon commented Jun 21, 2020

Fixes #91

* Use Buffer.alloc/Buffer.from instead of "new Buffer"
* Remove the 'noAssert' parameter from the write calls
  This got removed with nodejs/node#18395

Fixes pierrec#91
@pierrec pierrec merged commit 76f347f into pierrec:master Jun 22, 2020
@ankon ankon deleted the pr/buffer-apis branch June 22, 2020 08:21
@ankon
Copy link
Contributor Author

ankon commented Jun 26, 2020

@pierrec thanks for merging this. Could you please create a patch release with these changes, so we can start using them downstream?

@pierrec
Copy link
Owner

pierrec commented Jun 26, 2020

lz4@0.6.4 uploaded. Thanks for the PR.

@ankon
Copy link
Contributor Author

ankon commented Jun 26, 2020

Seems 0.6.4 is "corrupt" in some way, I filed #99 with some more details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new Buffer() is deprecated, use Buffer.from()
2 participants