chore(server): remove bcrypt to avoid node-gyp usage (#2349)
This commit is contained in:
1 parent
b5a7f8b7eb
commit
00fd468e9b
7 files changed
+147
-73
No files matched your search
@@ -1,6 +1,6 @@
|
||||
import crypto from 'node:crypto';
|
||||
|
||||
import { genSalt } from 'bcrypt';
|
||||
import { genSalt } from '@node-rs/bcrypt';
|
||||
|
||||
const { privateKey, publicKey } = crypto.generateKeyPairSync('ec', {
|
||||
namedCurve: 'prime256v1',
|
||||
|
||||
Reference in new issue
Block a user