mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -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),
|
|
},
|
|
});
|