From e832afa5eecdf321fc3e5b7827a7054725c6e783 Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 2 Aug 2024 16:38:25 -0400 Subject: [PATCH] build(nvmrc): bump Node.js version from 18 to 20 --- .nvmrc | 2 +- src/browser.test.mjs | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.nvmrc b/.nvmrc index 3c03207..209e3ef 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -18 +20 diff --git a/src/browser.test.mjs b/src/browser.test.mjs index b365ba7..123587e 100644 --- a/src/browser.test.mjs +++ b/src/browser.test.mjs @@ -1,4 +1,3 @@ -import crypto from 'node:crypto'; import { before, describe, it } from 'node:test'; import assert from 'assert'; @@ -7,7 +6,6 @@ describe('browser', () => { let digest; before(async () => { - global.crypto = crypto; digest = (await import('../cjs/browser.js')).digest; });