Skip to content

Commit

Permalink
refactor: Remove deprecated bcrypt-nodejs package (#8902)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 authored Feb 15, 2024
1 parent c604657 commit 5202212
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 26 deletions.
14 changes: 0 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
"@semantic-release/release-notes-generator": "9.0.3",
"all-node-versions": "11.3.0",
"apollo-upload-client": "17.0.0",
"bcrypt-nodejs": "0.0.3",
"clean-jsdoc-theme": "4.2.7",
"cross-env": "7.0.2",
"deep-diff": "1.0.2",
Expand Down
11 changes: 0 additions & 11 deletions spec/Auth.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,6 @@ describe('Auth', () => {
.then(roles => expect(roles).toEqual([]))
.then(() => done());
});

it('should properly handle bcrypt upgrade', done => {
const bcryptOriginal = require('bcrypt-nodejs');
const bcryptNew = require('bcryptjs');
bcryptOriginal.hash('my1Long:password', null, null, function (err, res) {
bcryptNew.compare('my1Long:password', res, function (err, res) {
expect(res).toBeTruthy();
done();
});
});
});
});

it('can use extendSessionOnUse', async () => {
Expand Down

0 comments on commit 5202212

Please sign in to comment.