mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 21:19:43 -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),
|
|
},
|
|
});
|