From 0c4fa77917ba4f99658c25b60e446003d64ab94c Mon Sep 17 00:00:00 2001 From: Josh Gross Date: Fri, 4 Oct 2024 17:23:42 -0400 Subject: [PATCH] Explicitly import `crypto` (#1842) * Explicitly import `crypto` * Add release notes for 1.11.1 * Fix crypto mock in test * Fix `crypto` mock * Lint --- src/tool-cache.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tool-cache.ts b/src/tool-cache.ts index f7a7545..961c26b 100644 --- a/src/tool-cache.ts +++ b/src/tool-cache.ts @@ -1,5 +1,6 @@ import * as core from '@actions/core' import * as io from '@actions/io' +import * as crypto from 'crypto' import * as fs from 'fs' import * as mm from './manifest' import * as os from 'os'