n8n 1.47.1 → 1.47.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bin/n8n CHANGED
@@ -55,6 +55,11 @@ if (process.env.NODEJS_PREFER_IPV4 === 'true') {
55
55
  // More details: https://github.com/nodejs/node/issues/48145
56
56
  require('net').setDefaultAutoSelectFamily?.(false);
57
57
 
58
+ // WebCrypto Polyfill for older versions of Node.js 18
59
+ if (!globalThis.crypto?.getRandomValues) {
60
+ globalThis.crypto = require('node:crypto').webcrypto;
61
+ }
62
+
58
63
  (async () => {
59
64
  const oclif = await import('@oclif/core');
60
65
  await oclif.execute({ dir: __dirname });