Skip to content

Conversation

@farmio
Copy link

@farmio farmio commented Jul 26, 2018

  • using Buffer.from / Buffer.alloc instead of 'new Buffer()'
  • removed check for modern Buffer and bumped required node.js version to 5.10 to make sure modern Buffer is available
  • refactored creator.js
  • removed mocha flag with typo (--harmoney) in package.json
  • closes Buffer Constructor is deprecated in Node.js 10 #53

- using Buffer.from / Buffer.alloc instead of 'new Buffer()'
- removed check for modern Buffer and bumped required node.js version to 5.10 to make sure modern Buffer is available
- refactored creator.js
- removed mocha flag with typo (--harmoney) in package.json
farmio pushed a commit to farmio/node-eibd that referenced this pull request Jul 26, 2018
@andreek
Copy link
Owner

andreek commented Jul 27, 2018

Thanks! I'll try to find some time at the weekend to merge and publish to npm.

@andreek andreek merged commit 4a85d40 into andreek:master Oct 2, 2018
@andreek
Copy link
Owner

andreek commented Oct 2, 2018

Sorry I'm so late. It is published with v0.4.0.

@farmio farmio deleted the buffer branch October 13, 2018 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Buffer Constructor is deprecated in Node.js 10

2 participants