Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Update a few things. #6

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Update a few things. #6

wants to merge 6 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 24, 2017

I am in the middle of removing ByteBuffer deps, but this will have to wait until the next PR.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some styling is still inconsistent and the inclusion of jsbytes confuses me.

@@ -114,6 +114,11 @@ ByteBuffer.prototype.writeRrsInt32 = function(value, offset) {
}
return size;
};
*/
ByteBuffer.prototype.writeRrsInt32 = () => {
process.emitWarning("writeRrsInt32 is depreciated.");
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe you mean "deprecated" not "depreciated"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything i do is wrong lol

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will fix these typos in the next pr

@@ -1,3 +1,3 @@
{
"serverKey": "ac30dcbea27e213407519bc05be8e9d930e63f873858479946c144895fa3a26b"
"serverKey" : "980CF7BB7262B386FEA61034ABA7370613627919666B34E6ECF66307A381DD61"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove the space, it's bad style

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will

@@ -17,12 +17,14 @@
"node": ">=6.8.0"
},
"dependencies": {
"blake2": "^1.4.0",
"blakejs": "github:dcposch/blakejs",
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why switch dependency, and why not use the published npm module?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because a lot of people have problems with compiling blake2 with node-gyp, especially on Windows. Enter blakejs - a pure JavaScript impl of blake2.

path = require('path'),
jsome = require('jsome'),
colors = require('colors'),
jsbytes = require('jsbytes'),
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where is this used?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is going to be used instead of some things ByteBuffer does; as I mentioned in my PR comment, I am in the middle of removing ByteBuffer deps

  • Xzlash

Copy link
Author

@ghost ghost Oct 24, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also I am aware that some styling is inconsistent, I will fix this once I fix ByteBuffer, but this will not be for some time

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants