From 1c334a4d2b79ef6b80701fbdcc6f0c452a0400e4 Mon Sep 17 00:00:00 2001 From: Christina Holland Date: Thu, 26 Jun 2025 11:54:16 -0700 Subject: [PATCH 1/2] Update engines.node and workflow names --- .github/workflows/canary-deploy.yml | 2 +- .github/workflows/check-changeset.yml | 2 +- .github/workflows/check-docs.yml | 2 +- .github/workflows/check-pkg-paths.yml | 2 +- .github/workflows/deploy-config.yml | 2 +- .github/workflows/e2e-test.yml | 2 +- .github/workflows/format.yml | 2 +- .github/workflows/lint.yml | 2 +- .github/workflows/prerelease-manual-deploy.yml | 2 +- .github/workflows/release-prod.yml | 2 +- .github/workflows/release-staging.yml | 2 +- .github/workflows/test-all.yml | 10 +++++----- .github/workflows/test-changed-auth.yml | 6 +++--- .../workflows/test-changed-fcm-integration.yml | 2 +- .../test-changed-firestore-integration.yml | 2 +- .github/workflows/test-changed-firestore.yml | 16 ++++++++-------- .github/workflows/test-changed-misc.yml | 2 +- .github/workflows/test-changed.yml | 6 +++--- config/functions/package.json | 2 +- .../js/default-connector/package.json | 2 +- e2e/smoke-tests/package.json | 2 +- integration/compat-interop/package.json | 2 +- integration/compat-typings/package.json | 2 +- integration/firestore/package.json | 2 +- integration/messaging/package.json | 2 +- package.json | 2 +- packages/ai/package.json | 2 +- packages/app-check-compat/package.json | 2 +- packages/app-check/package.json | 2 +- packages/app-compat/package.json | 2 +- packages/app/package.json | 2 +- packages/auth-compat/package.json | 2 +- packages/auth/internal/package.json | 2 +- packages/auth/package.json | 2 +- packages/component/package.json | 2 +- packages/database-compat/package.json | 2 +- packages/database/package.json | 2 +- packages/firestore-compat/package.json | 2 +- packages/firestore/lite/package.json | 2 +- packages/firestore/package.json | 2 +- packages/functions-compat/package.json | 2 +- packages/functions/package.json | 2 +- packages/logger/package.json | 2 +- packages/rules-unit-testing/package.json | 2 +- packages/storage-compat/package.json | 2 +- packages/storage/package.json | 2 +- packages/util/package.json | 2 +- repo-scripts/api-documenter/package.json | 2 +- repo-scripts/changelog-generator/package.json | 2 +- repo-scripts/prune-dts/package.json | 2 +- repo-scripts/size-analysis/package.json | 2 +- 51 files changed, 66 insertions(+), 66 deletions(-) diff --git a/.github/workflows/canary-deploy.yml b/.github/workflows/canary-deploy.yml index 4b4cce63761..0d93ceefad8 100644 --- a/.github/workflows/canary-deploy.yml +++ b/.github/workflows/canary-deploy.yml @@ -31,7 +31,7 @@ jobs: with: # Canary release script requires git history and tags. fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/check-changeset.yml b/.github/workflows/check-changeset.yml index b3df2555c76..26eb962887f 100644 --- a/.github/workflows/check-changeset.yml +++ b/.github/workflows/check-changeset.yml @@ -37,7 +37,7 @@ jobs: with: # This makes Actions fetch all Git history so check_changeset script can diff properly. fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/check-docs.yml b/.github/workflows/check-docs.yml index 4afd97a131f..2e57efd0adf 100644 --- a/.github/workflows/check-docs.yml +++ b/.github/workflows/check-docs.yml @@ -27,7 +27,7 @@ jobs: with: # get all history for the diff fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/check-pkg-paths.yml b/.github/workflows/check-pkg-paths.yml index 96dfc6f6556..c7ae3c0c133 100644 --- a/.github/workflows/check-pkg-paths.yml +++ b/.github/workflows/check-pkg-paths.yml @@ -27,7 +27,7 @@ jobs: with: # This makes Actions fetch all Git history so run-changed script can diff properly. fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/deploy-config.yml b/.github/workflows/deploy-config.yml index 0c3604e4704..c6e32689e1d 100644 --- a/.github/workflows/deploy-config.yml +++ b/.github/workflows/deploy-config.yml @@ -35,7 +35,7 @@ jobs: with: # This makes Actions fetch all Git history so run-changed script can diff properly. fetch-depth: 0 - - name: Set up node (20) + - name: Set up node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/e2e-test.yml b/.github/workflows/e2e-test.yml index fbf43beada1..f9ac06ab9c0 100644 --- a/.github/workflows/e2e-test.yml +++ b/.github/workflows/e2e-test.yml @@ -36,7 +36,7 @@ jobs: steps: - name: Checkout Repo uses: actions/checkout@v4 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@master with: node-version: 22.10.0 diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index f0bbd672fc3..ef232d9ddf5 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -31,7 +31,7 @@ jobs: with: # get all history for the diff fetch-depth: 0 - - name: Set up node (20) + - name: Set up node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3ae2ae0a074..c922f9c6a67 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -23,7 +23,7 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up node (20) + - name: Set up node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/prerelease-manual-deploy.yml b/.github/workflows/prerelease-manual-deploy.yml index 73e82f11943..cf85836d997 100644 --- a/.github/workflows/prerelease-manual-deploy.yml +++ b/.github/workflows/prerelease-manual-deploy.yml @@ -34,7 +34,7 @@ jobs: with: # Canary release script requires git history and tags. fetch-depth: 0 - - name: Set up node (20) + - name: Set up node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/release-prod.yml b/.github/workflows/release-prod.yml index c89c7934db6..253ae95120f 100644 --- a/.github/workflows/release-prod.yml +++ b/.github/workflows/release-prod.yml @@ -32,7 +32,7 @@ jobs: contents: write steps: - - name: Set up node (20) + - name: Set up node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/release-staging.yml b/.github/workflows/release-staging.yml index e75ee4e703d..52aafa9273f 100644 --- a/.github/workflows/release-staging.yml +++ b/.github/workflows/release-staging.yml @@ -47,7 +47,7 @@ jobs: # Block this workflow if run on a non-release branch. if: github.event.inputs.release-branch == 'release' || endsWith(github.event.inputs.release-branch, '-releasebranch') steps: - - name: Set up node (20) + - name: Set up node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/test-all.yml b/.github/workflows/test-all.yml index dd74d2437e4..02c3ab0326f 100644 --- a/.github/workflows/test-all.yml +++ b/.github/workflows/test-all.yml @@ -40,7 +40,7 @@ jobs: run: | npx @puppeteer/browsers install chrome@stable - uses: actions/checkout@v4 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -79,7 +79,7 @@ jobs: name: build.tar.gz - name: Unzip build artifact run: tar xf build.tar.gz - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -126,7 +126,7 @@ jobs: name: build.tar.gz - name: Unzip build artifact run: tar xf build.tar.gz - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -166,7 +166,7 @@ jobs: name: build.tar.gz - name: Unzip build artifact run: tar xf build.tar.gz - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -209,7 +209,7 @@ jobs: name: build.tar.gz - name: Unzip build artifact run: tar xf build.tar.gz - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/test-changed-auth.yml b/.github/workflows/test-changed-auth.yml index b72c7cd9e2d..2ae77916492 100644 --- a/.github/workflows/test-changed-auth.yml +++ b/.github/workflows/test-changed-auth.yml @@ -56,7 +56,7 @@ jobs: with: # This makes Actions fetch all Git history so run-changed script can diff properly. fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -81,7 +81,7 @@ jobs: with: # This makes Actions fetch all Git history so run-changed script can diff properly. fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -105,7 +105,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/test-changed-fcm-integration.yml b/.github/workflows/test-changed-fcm-integration.yml index ff6023274a4..2fb6f9b890b 100644 --- a/.github/workflows/test-changed-fcm-integration.yml +++ b/.github/workflows/test-changed-fcm-integration.yml @@ -38,7 +38,7 @@ jobs: with: # This makes Actions fetch all Git history so run-changed script can diff properly. fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/test-changed-firestore-integration.yml b/.github/workflows/test-changed-firestore-integration.yml index 6841bdd47d6..b894e70e1ec 100644 --- a/.github/workflows/test-changed-firestore-integration.yml +++ b/.github/workflows/test-changed-firestore-integration.yml @@ -70,7 +70,7 @@ jobs: rm -f "$output_file" continue-on-error: true - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/test-changed-firestore.yml b/.github/workflows/test-changed-firestore.yml index 46d36059d14..feb5eb0f672 100644 --- a/.github/workflows/test-changed-firestore.yml +++ b/.github/workflows/test-changed-firestore.yml @@ -37,7 +37,7 @@ jobs: with: # This makes Actions fetch all Git history so run-changed script can diff properly. fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -84,7 +84,7 @@ jobs: needs: build if: ${{ needs.build.outputs.changed == 'true'}} steps: - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -112,7 +112,7 @@ jobs: needs: build if: ${{ needs.build.outputs.changed == 'true'}} steps: - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -142,7 +142,7 @@ jobs: needs: build if: ${{ github.event_name != 'pull_request' }} steps: - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -175,7 +175,7 @@ jobs: steps: - name: install Firefox stable run: npx @puppeteer/browsers install firefox@stable - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -209,7 +209,7 @@ jobs: name: build.tar.gz - name: Unzip build artifact run: tar xf build.tar.gz - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -227,7 +227,7 @@ jobs: needs: build if: ${{ needs.build.outputs.changed == 'true'}} steps: - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -264,7 +264,7 @@ jobs: name: build.tar.gz - name: Unzip build artifact run: tar xf build.tar.gz - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/test-changed-misc.yml b/.github/workflows/test-changed-misc.yml index ebcb2d1d366..52abe5ddddb 100644 --- a/.github/workflows/test-changed-misc.yml +++ b/.github/workflows/test-changed-misc.yml @@ -31,7 +31,7 @@ jobs: with: # This makes Actions fetch all Git history so run-changed script can diff properly. fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/.github/workflows/test-changed.yml b/.github/workflows/test-changed.yml index 948267aa9e7..5a0f18600f0 100644 --- a/.github/workflows/test-changed.yml +++ b/.github/workflows/test-changed.yml @@ -31,7 +31,7 @@ jobs: with: # This makes Actions fetch all Git history so run-changed script can diff properly. fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -57,7 +57,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 @@ -84,7 +84,7 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Set up Node (20) + - name: Set up Node (22) uses: actions/setup-node@v4 with: node-version: 22.10.0 diff --git a/config/functions/package.json b/config/functions/package.json index 9a032e8bb95..b4051cf8dc7 100644 --- a/config/functions/package.json +++ b/config/functions/package.json @@ -8,6 +8,6 @@ }, "private": true, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/e2e/data-connect/dataconnect-generated/js/default-connector/package.json b/e2e/data-connect/dataconnect-generated/js/default-connector/package.json index d0c9852ce3e..e9b57fa0a38 100644 --- a/e2e/data-connect/dataconnect-generated/js/default-connector/package.json +++ b/e2e/data-connect/dataconnect-generated/js/default-connector/package.json @@ -5,7 +5,7 @@ "description": "Generated SDK For default", "license": "Apache-2.0", "engines": { - "node": " >=18.0" + "node": " >=22.0.0" }, "typings": "index.d.ts", "module": "esm/index.esm.js", diff --git a/e2e/smoke-tests/package.json b/e2e/smoke-tests/package.json index ca33e7f696f..c3e08da84f8 100644 --- a/e2e/smoke-tests/package.json +++ b/e2e/smoke-tests/package.json @@ -35,6 +35,6 @@ "webpack-dev-server": "5.2.0" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/integration/compat-interop/package.json b/integration/compat-interop/package.json index f7da859c705..72c5c6c1d11 100644 --- a/integration/compat-interop/package.json +++ b/integration/compat-interop/package.json @@ -27,6 +27,6 @@ "typescript": "5.5.4" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/integration/compat-typings/package.json b/integration/compat-typings/package.json index 45ed087a0d7..a5d6306df07 100644 --- a/integration/compat-typings/package.json +++ b/integration/compat-typings/package.json @@ -13,6 +13,6 @@ "typescript": "5.5.4" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/integration/firestore/package.json b/integration/firestore/package.json index 903c182a5c0..60ccb10c514 100644 --- a/integration/firestore/package.json +++ b/integration/firestore/package.json @@ -26,6 +26,6 @@ "webpack-stream": "7.0.0" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/integration/messaging/package.json b/integration/messaging/package.json index 9c62c70ca5b..8a5da319880 100644 --- a/integration/messaging/package.json +++ b/integration/messaging/package.json @@ -18,6 +18,6 @@ "selenium-assistant": "6.1.1" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/package.json b/package.json index 30b6b09a003..17b8f2c4aa0 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "author": "Firebase (https://firebase.google.com/)", "license": "Apache-2.0", "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" }, "homepage": "https://github.com/firebase/firebase-js-sdk", "keywords": [ diff --git a/packages/ai/package.json b/packages/ai/package.json index 468f166ad7e..69f94f076f8 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -4,7 +4,7 @@ "description": "The Firebase AI SDK", "author": "Firebase (https://firebase.google.com/)", "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" }, "main": "dist/index.cjs.js", "browser": "dist/esm/index.esm2017.js", diff --git a/packages/app-check-compat/package.json b/packages/app-check-compat/package.json index 29ed9977205..c39334bf806 100644 --- a/packages/app-check-compat/package.json +++ b/packages/app-check-compat/package.json @@ -67,6 +67,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/app-check/package.json b/packages/app-check/package.json index e52ff90dbc7..1802e01082b 100644 --- a/packages/app-check/package.json +++ b/packages/app-check/package.json @@ -68,6 +68,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/app-compat/package.json b/packages/app-compat/package.json index 8dba6ff2ff6..8b452fac1dc 100644 --- a/packages/app-compat/package.json +++ b/packages/app-compat/package.json @@ -66,6 +66,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/app/package.json b/packages/app/package.json index 3d6a0ca5dca..b2a90c80ea2 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -70,6 +70,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/auth-compat/package.json b/packages/auth-compat/package.json index c27a8e1f31a..648f78003ca 100644 --- a/packages/auth-compat/package.json +++ b/packages/auth-compat/package.json @@ -81,6 +81,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/auth/internal/package.json b/packages/auth/internal/package.json index 4ecfdccbd20..e8c90e3a5f9 100644 --- a/packages/auth/internal/package.json +++ b/packages/auth/internal/package.json @@ -7,6 +7,6 @@ "typings": "../dist/esm2017/internal/index.d.ts", "private": true, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/auth/package.json b/packages/auth/package.json index 9ec35cfaec2..5553324e937 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -160,6 +160,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/component/package.json b/packages/component/package.json index b95204050f3..28333603bb4 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -56,6 +56,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/database-compat/package.json b/packages/database-compat/package.json index c746b8dde07..4eb9862cc4d 100644 --- a/packages/database-compat/package.json +++ b/packages/database-compat/package.json @@ -69,6 +69,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/database/package.json b/packages/database/package.json index 54a549b9f68..bcc4bed8850 100644 --- a/packages/database/package.json +++ b/packages/database/package.json @@ -78,6 +78,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/firestore-compat/package.json b/packages/firestore-compat/package.json index 4071cdb236f..65965aae76e 100644 --- a/packages/firestore-compat/package.json +++ b/packages/firestore-compat/package.json @@ -74,6 +74,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/firestore/lite/package.json b/packages/firestore/lite/package.json index ef362535fdb..ad377c022ee 100644 --- a/packages/firestore/lite/package.json +++ b/packages/firestore/lite/package.json @@ -9,6 +9,6 @@ "typings": "../dist/lite/index.d.ts", "private": true, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/firestore/package.json b/packages/firestore/package.json index 638b8914483..4f59cb5c15b 100644 --- a/packages/firestore/package.json +++ b/packages/firestore/package.json @@ -2,7 +2,7 @@ "name": "@firebase/firestore", "version": "4.7.17", "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" }, "description": "The Cloud Firestore component of the Firebase JS SDK.", "author": "Firebase (https://firebase.google.com/)", diff --git a/packages/functions-compat/package.json b/packages/functions-compat/package.json index 24a8efb46d8..0eaee6f4241 100644 --- a/packages/functions-compat/package.json +++ b/packages/functions-compat/package.json @@ -75,6 +75,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/functions/package.json b/packages/functions/package.json index 6354ed4dadb..c786e0c3a04 100644 --- a/packages/functions/package.json +++ b/packages/functions/package.json @@ -79,6 +79,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/logger/package.json b/packages/logger/package.json index f8661d3fdf7..1826a40e708 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -55,6 +55,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/rules-unit-testing/package.json b/packages/rules-unit-testing/package.json index 033e4f752bc..c63cb8bf9c3 100644 --- a/packages/rules-unit-testing/package.json +++ b/packages/rules-unit-testing/package.json @@ -20,7 +20,7 @@ "./package.json": "./package.json" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" }, "files": [ "dist" diff --git a/packages/storage-compat/package.json b/packages/storage-compat/package.json index c5a31d6c6f0..79d3bb863c2 100644 --- a/packages/storage-compat/package.json +++ b/packages/storage-compat/package.json @@ -63,6 +63,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/storage/package.json b/packages/storage/package.json index bb4a5004840..caf1b2c6b3c 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -72,6 +72,6 @@ }, "typings": "dist/src/index.d.ts", "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/packages/util/package.json b/packages/util/package.json index 8a1ebb49dd5..e35095ab622 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -68,6 +68,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/repo-scripts/api-documenter/package.json b/repo-scripts/api-documenter/package.json index 585890922a1..fd7a5f8da69 100644 --- a/repo-scripts/api-documenter/package.json +++ b/repo-scripts/api-documenter/package.json @@ -37,6 +37,6 @@ "mocha-chai-jest-snapshot": "1.1.6" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/repo-scripts/changelog-generator/package.json b/repo-scripts/changelog-generator/package.json index 961620142a0..5d9478ea939 100644 --- a/repo-scripts/changelog-generator/package.json +++ b/repo-scripts/changelog-generator/package.json @@ -40,6 +40,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } diff --git a/repo-scripts/prune-dts/package.json b/repo-scripts/prune-dts/package.json index 7a0890b00e2..b55eda6d4eb 100644 --- a/repo-scripts/prune-dts/package.json +++ b/repo-scripts/prune-dts/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" }, "description": "A script to prune non-exported types from a d.ts.", "author": "Firebase (https://firebase.google.com/)", diff --git a/repo-scripts/size-analysis/package.json b/repo-scripts/size-analysis/package.json index 5084ee78d04..09ad69bc8eb 100644 --- a/repo-scripts/size-analysis/package.json +++ b/repo-scripts/size-analysis/package.json @@ -57,6 +57,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=18.0.0" + "node": ">=22.0.0" } } From 72d001e80e311384f9e4e905aaa537d85d9dbb45 Mon Sep 17 00:00:00 2001 From: Christina Holland Date: Fri, 27 Jun 2025 12:06:01 -0700 Subject: [PATCH 2/2] bring it back down to 20 --- config/functions/package.json | 2 +- e2e/smoke-tests/package.json | 2 +- integration/compat-interop/package.json | 2 +- integration/compat-typings/package.json | 2 +- integration/firestore/package.json | 2 +- integration/messaging/package.json | 2 +- package.json | 2 +- packages/ai/package.json | 2 +- packages/app-check-compat/package.json | 2 +- packages/app-check/package.json | 2 +- packages/app-compat/package.json | 2 +- packages/app/package.json | 2 +- packages/auth-compat/package.json | 2 +- packages/auth/internal/package.json | 2 +- packages/auth/package.json | 2 +- packages/component/package.json | 2 +- packages/database-compat/package.json | 2 +- packages/database/package.json | 2 +- packages/firestore-compat/package.json | 2 +- packages/firestore/lite/package.json | 2 +- packages/firestore/package.json | 2 +- packages/functions-compat/package.json | 2 +- packages/functions/package.json | 2 +- packages/logger/package.json | 2 +- packages/rules-unit-testing/package.json | 2 +- packages/storage-compat/package.json | 2 +- packages/storage/package.json | 2 +- packages/util/package.json | 2 +- repo-scripts/api-documenter/package.json | 2 +- repo-scripts/changelog-generator/package.json | 2 +- repo-scripts/prune-dts/package.json | 2 +- repo-scripts/size-analysis/package.json | 2 +- 32 files changed, 32 insertions(+), 32 deletions(-) diff --git a/config/functions/package.json b/config/functions/package.json index b4051cf8dc7..4b823c3de04 100644 --- a/config/functions/package.json +++ b/config/functions/package.json @@ -8,6 +8,6 @@ }, "private": true, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/e2e/smoke-tests/package.json b/e2e/smoke-tests/package.json index c3e08da84f8..c957f018b5a 100644 --- a/e2e/smoke-tests/package.json +++ b/e2e/smoke-tests/package.json @@ -35,6 +35,6 @@ "webpack-dev-server": "5.2.0" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/integration/compat-interop/package.json b/integration/compat-interop/package.json index 72c5c6c1d11..bcbb932144b 100644 --- a/integration/compat-interop/package.json +++ b/integration/compat-interop/package.json @@ -27,6 +27,6 @@ "typescript": "5.5.4" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/integration/compat-typings/package.json b/integration/compat-typings/package.json index a5d6306df07..6ad4d2e1298 100644 --- a/integration/compat-typings/package.json +++ b/integration/compat-typings/package.json @@ -13,6 +13,6 @@ "typescript": "5.5.4" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/integration/firestore/package.json b/integration/firestore/package.json index 60ccb10c514..be49add3ef5 100644 --- a/integration/firestore/package.json +++ b/integration/firestore/package.json @@ -26,6 +26,6 @@ "webpack-stream": "7.0.0" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/integration/messaging/package.json b/integration/messaging/package.json index 8a5da319880..c3871751840 100644 --- a/integration/messaging/package.json +++ b/integration/messaging/package.json @@ -18,6 +18,6 @@ "selenium-assistant": "6.1.1" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/package.json b/package.json index 17b8f2c4aa0..466a381bf19 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "author": "Firebase (https://firebase.google.com/)", "license": "Apache-2.0", "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" }, "homepage": "https://github.com/firebase/firebase-js-sdk", "keywords": [ diff --git a/packages/ai/package.json b/packages/ai/package.json index 69f94f076f8..faa69fc12ee 100644 --- a/packages/ai/package.json +++ b/packages/ai/package.json @@ -4,7 +4,7 @@ "description": "The Firebase AI SDK", "author": "Firebase (https://firebase.google.com/)", "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" }, "main": "dist/index.cjs.js", "browser": "dist/esm/index.esm2017.js", diff --git a/packages/app-check-compat/package.json b/packages/app-check-compat/package.json index c39334bf806..9d9636ac382 100644 --- a/packages/app-check-compat/package.json +++ b/packages/app-check-compat/package.json @@ -67,6 +67,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/app-check/package.json b/packages/app-check/package.json index 1802e01082b..9e3ad5fa94b 100644 --- a/packages/app-check/package.json +++ b/packages/app-check/package.json @@ -68,6 +68,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/app-compat/package.json b/packages/app-compat/package.json index 8b452fac1dc..42660bc61b7 100644 --- a/packages/app-compat/package.json +++ b/packages/app-compat/package.json @@ -66,6 +66,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/app/package.json b/packages/app/package.json index b2a90c80ea2..5dbd0737c19 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -70,6 +70,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/auth-compat/package.json b/packages/auth-compat/package.json index 648f78003ca..93b3bda96d1 100644 --- a/packages/auth-compat/package.json +++ b/packages/auth-compat/package.json @@ -81,6 +81,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/auth/internal/package.json b/packages/auth/internal/package.json index e8c90e3a5f9..9af8afbe4bc 100644 --- a/packages/auth/internal/package.json +++ b/packages/auth/internal/package.json @@ -7,6 +7,6 @@ "typings": "../dist/esm2017/internal/index.d.ts", "private": true, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/auth/package.json b/packages/auth/package.json index 5553324e937..1bbab77cf45 100644 --- a/packages/auth/package.json +++ b/packages/auth/package.json @@ -160,6 +160,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/component/package.json b/packages/component/package.json index 28333603bb4..9797984c028 100644 --- a/packages/component/package.json +++ b/packages/component/package.json @@ -56,6 +56,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/database-compat/package.json b/packages/database-compat/package.json index 4eb9862cc4d..5da7a7d3708 100644 --- a/packages/database-compat/package.json +++ b/packages/database-compat/package.json @@ -69,6 +69,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/database/package.json b/packages/database/package.json index bcc4bed8850..c0e78a49c58 100644 --- a/packages/database/package.json +++ b/packages/database/package.json @@ -78,6 +78,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/firestore-compat/package.json b/packages/firestore-compat/package.json index 65965aae76e..64810b086ca 100644 --- a/packages/firestore-compat/package.json +++ b/packages/firestore-compat/package.json @@ -74,6 +74,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/firestore/lite/package.json b/packages/firestore/lite/package.json index ad377c022ee..f358ce1d093 100644 --- a/packages/firestore/lite/package.json +++ b/packages/firestore/lite/package.json @@ -9,6 +9,6 @@ "typings": "../dist/lite/index.d.ts", "private": true, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/firestore/package.json b/packages/firestore/package.json index 4f59cb5c15b..235bdd18607 100644 --- a/packages/firestore/package.json +++ b/packages/firestore/package.json @@ -2,7 +2,7 @@ "name": "@firebase/firestore", "version": "4.7.17", "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" }, "description": "The Cloud Firestore component of the Firebase JS SDK.", "author": "Firebase (https://firebase.google.com/)", diff --git a/packages/functions-compat/package.json b/packages/functions-compat/package.json index 0eaee6f4241..482e9c13de2 100644 --- a/packages/functions-compat/package.json +++ b/packages/functions-compat/package.json @@ -75,6 +75,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/functions/package.json b/packages/functions/package.json index c786e0c3a04..3b78c233f00 100644 --- a/packages/functions/package.json +++ b/packages/functions/package.json @@ -79,6 +79,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/logger/package.json b/packages/logger/package.json index 1826a40e708..828a3535034 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -55,6 +55,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/rules-unit-testing/package.json b/packages/rules-unit-testing/package.json index c63cb8bf9c3..57b6388b80c 100644 --- a/packages/rules-unit-testing/package.json +++ b/packages/rules-unit-testing/package.json @@ -20,7 +20,7 @@ "./package.json": "./package.json" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" }, "files": [ "dist" diff --git a/packages/storage-compat/package.json b/packages/storage-compat/package.json index 79d3bb863c2..ab1b777058c 100644 --- a/packages/storage-compat/package.json +++ b/packages/storage-compat/package.json @@ -63,6 +63,6 @@ "url": "https://github.com/firebase/firebase-js-sdk/issues" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/storage/package.json b/packages/storage/package.json index caf1b2c6b3c..24691274725 100644 --- a/packages/storage/package.json +++ b/packages/storage/package.json @@ -72,6 +72,6 @@ }, "typings": "dist/src/index.d.ts", "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/packages/util/package.json b/packages/util/package.json index e35095ab622..6a0fd07a73d 100644 --- a/packages/util/package.json +++ b/packages/util/package.json @@ -68,6 +68,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/repo-scripts/api-documenter/package.json b/repo-scripts/api-documenter/package.json index fd7a5f8da69..6305cbf9372 100644 --- a/repo-scripts/api-documenter/package.json +++ b/repo-scripts/api-documenter/package.json @@ -37,6 +37,6 @@ "mocha-chai-jest-snapshot": "1.1.6" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/repo-scripts/changelog-generator/package.json b/repo-scripts/changelog-generator/package.json index 5d9478ea939..8b3acaade05 100644 --- a/repo-scripts/changelog-generator/package.json +++ b/repo-scripts/changelog-generator/package.json @@ -40,6 +40,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } } diff --git a/repo-scripts/prune-dts/package.json b/repo-scripts/prune-dts/package.json index b55eda6d4eb..e94519863a2 100644 --- a/repo-scripts/prune-dts/package.json +++ b/repo-scripts/prune-dts/package.json @@ -3,7 +3,7 @@ "version": "0.1.0", "private": true, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" }, "description": "A script to prune non-exported types from a d.ts.", "author": "Firebase (https://firebase.google.com/)", diff --git a/repo-scripts/size-analysis/package.json b/repo-scripts/size-analysis/package.json index 09ad69bc8eb..41103ed7f75 100644 --- a/repo-scripts/size-analysis/package.json +++ b/repo-scripts/size-analysis/package.json @@ -57,6 +57,6 @@ "reportDir": "./coverage/node" }, "engines": { - "node": ">=22.0.0" + "node": ">=20.0.0" } }