mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-29 06:29:42 -08:00
8 lines
185 B
TypeScript
8 lines
185 B
TypeScript
import { randomFillSync } from 'crypto';
|
|
|
|
Object.defineProperty(globalThis, 'crypto', {
|
|
value: {
|
|
getRandomValues: (buffer: NodeJS.ArrayBufferView) => randomFillSync(buffer),
|
|
},
|
|
});
|