Skip to content

Commit 81af1d4

Browse files
feat(server): switch to the bcryptjs module
The bcryptjs module is written in plain JavaScript, so it does not need to be compiled with node-gyp (which is problematic on some platforms). Related: #50
1 parent f57e0bf commit 81af1d4

File tree

3 files changed

+42
-3920
lines changed

3 files changed

+42
-3920
lines changed

lib/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
ServerEvents,
99
} from "./typed-events";
1010
import debugModule from "debug";
11-
import { compare, getRounds } from "bcrypt";
11+
import { compare, getRounds } from "bcryptjs";
1212
import { isWorker } from "cluster";
1313
import { InMemoryStore, Store } from "./stores";
1414
import os = require("os");

0 commit comments

Comments
 (0)