Skip to content

Commit 7cda9fa

Browse files
fix(Dependencies): Swaps bcrypt for bcryptjs (#1528)
1 parent 859b0bd commit 7cda9fa

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

api/src/auth/passport.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Strategy as BearerStrategy } from 'passport-http-bearer';
55
import { OAuth2Strategy as GoogleStrategy } from 'passport-google-oauth';
66
import Promise from 'bluebird';
77
import CustomStrategy from 'passport-custom';
8-
import bcrypt from 'bcrypt';
8+
import bcrypt from 'bcryptjs';
99
import jwt from 'jsonwebtoken';
1010
import { find, get, omit, omitBy } from 'lodash';
1111
import { fromJS } from 'immutable';

lib/models/user.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import bcrypt from 'bcrypt';
1+
import bcrypt from 'bcryptjs';
22
import _ from 'lodash';
33
import moment from 'moment';
44
import mongoose from 'mongoose';

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"axios": "^0.18.0",
6363
"azure-sb": "^0.11.0",
6464
"babel-runtime": "6.22.0",
65-
"bcrypt": "^3.0.7",
65+
"bcryptjs": "^2.4.3",
6666
"bluebird": "^3.4.6",
6767
"body-parser": "^1.14.1",
6868
"boolean": "^0.1.0",

0 commit comments

Comments
 (0)