Skip to content

Commit c0fcb03

Browse files
committed
Ugh I forgot why we can't update @types/node
(Newer versions don't play well with CommonJS modules. And there isn't really even anywhere I can comment this to remind me not to do it...)
1 parent d4fc262 commit c0fcb03

File tree

3 files changed

+12
-30
lines changed

3 files changed

+12
-30
lines changed

package-lock.json

+9-28
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
"@stylistic/eslint-plugin": "^4.0.1",
7272
"@types/better-sqlite3": "^7.6.2",
7373
"@types/cloud-env": "^0.2.2",
74-
"@types/node": "^18.19.76",
74+
"@types/node": "^14.18.63",
7575
"@types/node-static": "^0.7.7",
7676
"@types/nodemailer": "^6.4.4",
7777
"@types/pg": "^8.6.5",

sim/prng.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ export class SodiumRNG implements RNG {
209209

210210
static generateSeed(): SodiumRNGSeed {
211211
const seed = new Uint32Array(4);
212-
// @ts-expect-error Web Crypto is available in Node
212+
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
213+
// @ts-ignore Web Crypto is available in Node (gotta figure out that types issue later)
213214
crypto.getRandomValues(seed);
214215
// 32 bits each, 128 bits total (16 bytes)
215216
const strSeed = seed[0].toString(16).padStart(8, '0') +

0 commit comments

Comments
 (0)