From aff3412582d6ee89a2b1008a78fb32be8d8a6c2e Mon Sep 17 00:00:00 2001 From: David Ortner Date: Wed, 24 Jan 2024 02:58:42 +0100 Subject: [PATCH 1/2] #1233@patch: Improves documentation for @happy-dom/global-registrator. --- packages/global-registrator/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/global-registrator/README.md b/packages/global-registrator/README.md index 5e6738801..88a8da880 100644 --- a/packages/global-registrator/README.md +++ b/packages/global-registrator/README.md @@ -56,7 +56,7 @@ npm install @happy-dom/global-registrator --save-dev ```javascript import { GlobalRegistrator } from '@happy-dom/global-registrator'; -GlobalRegistrator.register(); +GlobalRegistrator.register({ url: 'http://localhost:3000', width: 1920, height: 1080 }); document.body.innerHTML = ``; From 186a7ba0516834a76ebf3b042e5324144ad7b66d Mon Sep 17 00:00:00 2001 From: David Ortner Date: Wed, 24 Jan 2024 03:00:53 +0100 Subject: [PATCH 2/2] #1233@trivial: Sets correct node.js version in github actions. --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ff6e5224d..76551a5aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [16] + node-version: [20] outputs: next_version: ${{ steps.versionCheck.outputs.next_version }}