build: replace bcrypt (native) with bcryptjs

This commit is contained in:
Thomas Dupont
2022-07-12 14:56:17 +02:00
committed by Joachim Van Herwegen
parent 31cdb20bce
commit 17e49e2f48
3 changed files with 61 additions and 607 deletions

View File

@@ -1,5 +1,5 @@
import assert from 'assert';
import { hash, compare } from 'bcrypt';
import { hash, compare } from 'bcryptjs';
import { v4 } from 'uuid';
import type { ExpiringStorage } from '../../../../storage/keyvalue/ExpiringStorage';
import type { KeyValueStorage } from '../../../../storage/keyvalue/KeyValueStorage';