-
Notifications
You must be signed in to change notification settings - Fork 13
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
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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."); |
There was a problem hiding this comment.
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"
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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", |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is this used?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
I am in the middle of removing ByteBuffer deps, but this will have to wait until the next PR.