From 648da9b8d6e775c89f8594e5a4ab9e22a839bc49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Fri, 26 Apr 2024 08:50:57 +0200 Subject: [PATCH 1/5] Allow deprecated react render calls --- example/app.js | 1 + test/util/render.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/example/app.js b/example/app.js index 095898f9..0429d91d 100644 --- a/example/app.js +++ b/example/app.js @@ -128,4 +128,5 @@ function App() { ); } +// eslint-disable-next-line react/no-deprecated ReactDOM.render(, document.getElementById('example')); diff --git a/test/util/render.js b/test/util/render.js index ea48ee4b..a8b81371 100644 --- a/test/util/render.js +++ b/test/util/render.js @@ -36,6 +36,7 @@ const render = (initialProps) => { const div = env.document.createElement('div'); const container = new Promise((resolve) => { + // eslint-disable-next-line react/no-deprecated ReactDOM.render(, div); }); @@ -48,6 +49,7 @@ const render = (initialProps) => { } function unmount() { + // eslint-disable-next-line react/no-deprecated ReactDOM.unmountComponentAtNode(div); } From d7917af73f0dd7d97b93b7261db4aeef07783f37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9e=20Kooi?= Date: Fri, 26 Apr 2024 08:52:01 +0200 Subject: [PATCH 2/5] ci: update node.js version matrix --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efcea246..63d0d2cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: name: Tests strategy: matrix: - node-version: [14.x, 16.x, 17.x] + node-version: [16.x, 18.x, 20.x] react-version: [17.x, 18.x] include: - node-version: 12.x From 240b9f5efd20179603dfd15185549c6abbf07ac1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Apr 2024 08:56:37 +0200 Subject: [PATCH 3/5] build(deps): bump crazy-max/ghaction-github-pages from 1 to 4 (#231) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [crazy-max/ghaction-github-pages](https://github.com/crazy-max/ghaction-github-pages) from 1 to 4. - [Release notes](https://github.com/crazy-max/ghaction-github-pages/releases) - [Commits](https://github.com/crazy-max/ghaction-github-pages/compare/v1...v4) --- updated-dependencies: - dependency-name: crazy-max/ghaction-github-pages dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Renée --- .github/workflows/deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d676bd52..61c5d747 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -24,7 +24,7 @@ jobs: cp example/bundle.js example/index.html _deploy - name: Publish site if: success() - uses: crazy-max/ghaction-github-pages@v1 + uses: crazy-max/ghaction-github-pages@v4 with: target_branch: gh-pages build_dir: _deploy From d0f56e8c85d50f63a3acc2260560e591849adaeb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Apr 2024 08:56:55 +0200 Subject: [PATCH 4/5] build(deps): bump actions/setup-node from 2 to 4 (#230) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2 to 4. - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](https://github.com/actions/setup-node/compare/v2...v4) --- updated-dependencies: - dependency-name: actions/setup-node dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Renée --- .github/workflows/ci.yml | 6 +++--- .github/workflows/deploy.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 63d0d2cf..6dab93c1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,7 +10,7 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: lts/* - name: Install dependencies @@ -25,7 +25,7 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: lts/* - name: Install dependencies @@ -47,7 +47,7 @@ jobs: - name: Checkout sources uses: actions/checkout@v3 - name: Install Node.js ${{matrix.node-version}} - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: ${{matrix.node-version}} - name: Install dependencies diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 61c5d747..4e0e0710 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-node@v2 + - uses: actions/setup-node@v4 with: node-version: '16.x' - name: Install From ef3f27bf038b1048036b934036b968da46284af3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Apr 2024 08:58:44 +0200 Subject: [PATCH 5/5] build(deps): bump actions/checkout from 3 to 4 (#232) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Renée --- .github/workflows/ci.yml | 6 +++--- .github/workflows/deploy.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6dab93c1..ce8a96f7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Node.js uses: actions/setup-node@v4 with: @@ -23,7 +23,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Node.js uses: actions/setup-node@v4 with: @@ -45,7 +45,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout sources - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Node.js ${{matrix.node-version}} uses: actions/setup-node@v4 with: diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4e0e0710..5fc77dda 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,7 +9,7 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '16.x'