Skip to content

Commit 301b96c

Browse files
authored
use bcrypt (#220)
1 parent 5e72ef7 commit 301b96c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/authentication.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const cds = require("@sap/cds");
22
const { AUTHENTICATION_TYPE, BASIC_AUTH_HEADER_KEY, AUTH_TYPE_ORD_ACCESS_STRATEGY_MAP } = require("./constants");
33
const { Logger } = require("./logger");
4-
const bcrypt = require("bcrypt");
4+
const bcrypt = require("bcryptjs");
55

66
/**
77
* Compares a plain text password with a hashed password

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"dependencies": {
3535
"@cap-js/asyncapi": "^1.0.3",
3636
"@cap-js/openapi": "^1.2.1",
37-
"bcrypt": "^5.1.1",
37+
"bcryptjs": "3.0.2",
3838
"cli-progress": "^3.12.0",
3939
"lodash": "^4.17.21"
4040
},

0 commit comments

Comments
 (0)