From 88d15b6d450004d513b1cdcf43a4da0320dffd0b Mon Sep 17 00:00:00 2001 From: James Sumners Date: Fri, 8 Dec 2023 09:28:48 -0500 Subject: [PATCH] Fix crypto require --- hook.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hook.js b/hook.js index 43341ce..df8a4f7 100644 --- a/hook.js +++ b/hook.js @@ -2,7 +2,7 @@ // // This product includes software developed at Datadog (https://www.datadoghq.com/). Copyright 2021 Datadog, Inc. -const { randomBytes } = require('node:crypto') +const { randomBytes } = require('crypto') const specifiers = new Map() const isWin = process.platform === "win32"