-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Windows Support (bcrypt > bcrypt-node) #108
Conversation
felixrieseberg
commented
Feb 1, 2016
- This commit replaces bcrypt with bcrypt-node, which has the same functionality as bcrypy - except that it is a pure Node implementation. This change is required to run parse-server on Windows (one can get bcrypt to compile on Windows, but it requires a few Gigabytes of dependencies).
I see |
fae8861
to
1aa61eb
Compare
Good point - going with bcrypt-nodejs might be the more popular choice. We at Microsoft did a quick check, either one would allow peeps to run this without any worries (I believe they're both using bcrypt.js underneath). I updated they PR. |
@@ -1,6 +1,6 @@ | |||
// Tools for encrypting and decrypting passwords. | |||
// Basically promise-friendly wrappers for bcrypt. | |||
var bcrypt = require('bcrypt'); | |||
var bcrypt = require('bcrypt-node'); |
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.
missed changing this one
- This commit replaces bcrypt with bcrypt-node, which has the same functionality as bcrypy - except that it is a pure Node implementation. This change is required to run parse-server on Windows (one can get bcrypt to compile on Windows, but it requires a few Gigabytes of dependencies).
1aa61eb
to
1cddbb0
Compare
@gfosco: Thanks for the catch. |
Add Windows Support (bcrypt > bcrypt-node)
👍 |
@gfosco do you have plans to release an update to npm soon? Would be great to have this change published! |
Yeah, but some tests are failing right now.... Once I fix it will release a new version. |
Update package.json