Skip to content

Commit 32f0386

Browse files
committed
MacOS cannot import from node:crypto
1 parent ea2e8ed commit 32f0386

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/DB.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import type { DBWorkerModule } from './workers/dbWorkerModule';
44
import os from 'os';
55
import path from 'path';
66
import fs from 'fs';
7-
import nodeCrypto from 'node:crypto';
8-
import nodeUtil from 'node:util';
7+
import nodeCrypto from 'crypto';
8+
import nodeUtil from 'util';
99
import lexi from 'lexicographic-integer';
1010
import Logger, { LogLevel, StreamHandler } from '@matrixai/logger';
1111
import { WorkerManager } from '@matrixai/workers';

0 commit comments

Comments
 (0)