From b160f389d16aea442a54e283923cf031651ba8e3 Mon Sep 17 00:00:00 2001 From: LongYinan Date: Wed, 4 May 2022 15:27:13 +0800 Subject: [PATCH] Update components in GitHub Actions --- .github/workflows/build_test_deploy.yml | 359 ++++++++++-------- .github/workflows/pull_request_stats.yml | 16 +- .github/workflows/test_react_experimental.yml | 8 +- .github/workflows/test_react_next.yml | 8 +- errors/no-cache.md | 2 +- package.json | 24 +- packages/next/package.json | 2 +- test/integration/chunking/pages/page3.js | 4 +- turbo.json | 12 + yarn.lock | 343 ++++++++++------- 10 files changed, 440 insertions(+), 338 deletions(-) create mode 100644 turbo.json diff --git a/.github/workflows/build_test_deploy.yml b/.github/workflows/build_test_deploy.yml index 1b91c3fb11ab..f43ded31ba50 100644 --- a/.github/workflows/build_test_deploy.yml +++ b/.github/workflows/build_test_deploy.yml @@ -6,12 +6,19 @@ on: name: Build, test, and deploy +env: + NAPI_CLI_VERSION: 2.7.0 + TURBO_VERSION: 1.2.6 + RUST_TOOLCHAIN: nightly-2022-02-23 + PLAYWRIGHT_CHROMIUM_VERSION: 1.21.1 + BROWSERSTACK_LOCAL_VERSION: 1.4.9 + jobs: check-examples: name: Check examples runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Install moreutils run: sudo apt install moreutils - name: Check examples @@ -30,12 +37,13 @@ jobs: weekNum: ${{ steps.get-week.outputs.WEEK }} steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{ steps.docs-change.outputs.docsChange != 'docs only change' }} with: - node-version: 14 + node-version: 16 + check-latest: true - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 25 @@ -64,7 +72,7 @@ jobs: - id: get-week run: echo ::set-output name=WEEK::$(date +%U) - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: cache-build with: path: ./* @@ -75,12 +83,13 @@ jobs: needs: build steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{ steps.docs-change.outputs.docsChange != 'docs only change' }} with: - node-version: 14 + node-version: 16 + check-latest: true - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: restore-build with: path: ./* @@ -97,24 +106,24 @@ jobs: if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: profile: minimal - toolchain: nightly-2022-02-23 + toolchain: ${{ env.RUST_TOOLCHAIN }} components: rustfmt, clippy - name: Cache cargo registry - uses: actions/cache@v2 + uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: path: ~/.cargo/registry key: stable-ubuntu-clippy-cargo-registry - name: Cache cargo index - uses: actions/cache@v2 + uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: path: ~/.cargo/git key: stable-ubuntu-clippy-cargo-index - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: restore-build if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: @@ -136,23 +145,24 @@ jobs: NEXT_TELEMETRY_DISABLED: 1 steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: - node-version: 14 + node-version: 16 + check-latest: true # https://github.com/actions/virtual-environments/issues/1187 - name: tune linux network if: ${{needs.build.outputs.docsChange != 'docs only change'}} run: sudo ethtool -K eth0 tx off rx off - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: mv .git .git-bak if: ${{needs.build.outputs.docsChange != 'docs only change'}} - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: @@ -180,19 +190,20 @@ jobs: NEXT_TEST_JOB: 1 steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: - node-version: 14 + node-version: 16 + check-latest: true - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary @@ -211,13 +222,14 @@ jobs: strategy: fail-fast: false matrix: - node: [16, 17] + node: [16, 18] steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: node-version: ${{ matrix.node }} + check-latest: true - run: echo ${{needs.build.outputs.docsChange}} @@ -225,20 +237,20 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary path: packages/next-swc/native - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@${{ env.PLAYWRIGHT_CHROMIUM_VERSION }} && npx playwright install-deps if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: node run-tests.js --type development @@ -247,7 +259,7 @@ jobs: - name: Upload test trace if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: test-trace if-no-files-found: ignore @@ -265,10 +277,11 @@ jobs: NEXT_TEST_REACT_VERSION: ^17 steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: node-version: 16 + check-latest: true - run: echo ${{needs.build.outputs.docsChange}} @@ -276,20 +289,20 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary path: packages/next-swc/native - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@${{ env.PLAYWRIGHT_CHROMIUM_VERSION }} && npx playwright install-deps if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: node run-tests.js --type development @@ -298,7 +311,7 @@ jobs: - name: Upload test trace if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: test-trace if-no-files-found: ignore @@ -316,13 +329,14 @@ jobs: strategy: fail-fast: false matrix: - node: [16, 17] + node: [16, 18] steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: node-version: ${{ matrix.node }} + check-latest: true - run: echo ${{needs.build.outputs.docsChange}} @@ -330,20 +344,20 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary path: packages/next-swc/native - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@${{ env.PLAYWRIGHT_CHROMIUM_VERSION }} && npx playwright install-deps if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: NEXT_TEST_MODE=dev node run-tests.js --type e2e @@ -352,7 +366,7 @@ jobs: - name: Upload test trace if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: test-trace if-no-files-found: ignore @@ -370,10 +384,11 @@ jobs: NEXT_TEST_REACT_VERSION: ^17 steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: node-version: 16 + check-latest: true - run: echo ${{needs.build.outputs.docsChange}} @@ -381,20 +396,20 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary path: packages/next-swc/native - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@${{ env.PLAYWRIGHT_CHROMIUM_VERSION }} && npx playwright install-deps if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: NEXT_TEST_MODE=dev node run-tests.js --type e2e @@ -403,7 +418,7 @@ jobs: - name: Upload test trace if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: test-trace if-no-files-found: ignore @@ -421,13 +436,14 @@ jobs: strategy: fail-fast: false matrix: - node: [16, 17] + node: [16, 18] steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: node-version: ${{ matrix.node }} + check-latest: true - run: echo ${{needs.build.outputs.docsChange}} @@ -435,20 +451,20 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary path: packages/next-swc/native - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@${{ env.PLAYWRIGHT_CHROMIUM_VERSION }} && npx playwright install-deps if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: node run-tests.js --type production @@ -465,10 +481,11 @@ jobs: NEXT_TEST_REACT_VERSION: ^17 steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: node-version: 16 + check-latest: true - run: echo ${{needs.build.outputs.docsChange}} @@ -476,20 +493,20 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary path: packages/next-swc/native - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@${{ env.PLAYWRIGHT_CHROMIUM_VERSION }} && npx playwright install-deps if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: node run-tests.js --type production @@ -506,13 +523,14 @@ jobs: strategy: fail-fast: false matrix: - node: [16, 17] + node: [16, 18] steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: node-version: ${{ matrix.node }} + check-latest: true - run: echo ${{needs.build.outputs.docsChange}} @@ -520,20 +538,20 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary path: packages/next-swc/native - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@${{ env.PLAYWRIGHT_CHROMIUM_VERSION }} && npx playwright install-deps if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: NEXT_TEST_MODE=start node run-tests.js --type e2e @@ -548,12 +566,17 @@ jobs: NEXT_TELEMETRY_DISABLED: 1 NEXT_TEST_JOB: 1 NEXT_TEST_REACT_VERSION: ^17 + strategy: + fail-fast: false + matrix: + node: [16, 18] steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: node-version: ${{ matrix.node }} + check-latest: true - run: echo ${{needs.build.outputs.docsChange}} @@ -561,20 +584,20 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary path: packages/next-swc/native - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@${{ env.PLAYWRIGHT_CHROMIUM_VERSION }} && npx playwright install-deps if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: NEXT_TEST_MODE=start node run-tests.js --type e2e @@ -595,10 +618,11 @@ jobs: group: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18] steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: - node-version: 14 + node-version: 16 + check-latest: true - run: echo ${{needs.build.outputs.docsChange}} @@ -606,7 +630,7 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: @@ -617,13 +641,13 @@ jobs: with: version: 6.32.2 - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary path: packages/next-swc/native - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@${{ env.PLAYWRIGHT_CHROMIUM_VERSION }} && npx playwright install-deps if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: xvfb-run node run-tests.js --timings -g ${{ matrix.group }}/18 @@ -631,7 +655,7 @@ jobs: - name: Upload test trace if: always() - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: test-trace if-no-files-found: ignore @@ -649,19 +673,20 @@ jobs: TEST_ELECTRON: 1 steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: - node-version: 14 + node-version: 16 + check-latest: true - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary @@ -699,18 +724,19 @@ jobs: NEXT_TELEMETRY_DISABLED: 1 steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: - node-version: 14 + node-version: 16 + check-latest: true - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary @@ -737,23 +763,24 @@ jobs: BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: - node-version: 14 + node-version: 16 + check-latest: true # https://github.com/actions/virtual-environments/issues/1187 - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary @@ -761,7 +788,7 @@ jobs: # TODO: use macos runner so that we can use playwright to test against # PRs instead of only running on canary? - - run: '[[ -z "$BROWSERSTACK_ACCESS_KEY" ]] && echo "Skipping for PR" || npm i -g browserstack-local@1.4.0' + - run: '[[ -z "$BROWSERSTACK_ACCESS_KEY" ]] && echo "Skipping for PR" || npm i -g browserstack-local@${{ env.BROWSERSTACK_LOCAL_VERSION }}' if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: '[[ -z "$BROWSERSTACK_ACCESS_KEY" ]] && echo "Skipping for PR" || node run-tests.js -c 1 test/integration/production/test/index.test.js test/e2e/basepath.test.ts' @@ -781,36 +808,37 @@ jobs: BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: - node-version: 14 + node-version: 16 + check-latest: true # https://github.com/actions/virtual-environments/issues/1187 - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary path: packages/next-swc/native - - run: '[[ -z "$BROWSERSTACK_ACCESS_KEY" ]] && echo "Skipping for PR" || npm i -g browserstack-local@1.4.0' + - run: '[[ -z "$BROWSERSTACK_ACCESS_KEY" ]] && echo "Skipping for PR" || npm i -g browserstack-local@${{ env.BROWSERSTACK_LOCAL_VERSION }}' if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: '[[ -z "$BROWSERSTACK_ACCESS_KEY" ]] && echo "Skipping for PR" || node run-tests.js test/integration/production-nav/test/index.test.js' if: ${{needs.build.outputs.docsChange != 'docs only change'}} - testFirefoxNode17: - name: Test Firefox Node.js 17 + testFirefoxNode18: + name: Test Firefox Node.js 18 runs-on: ubuntu-latest needs: [build, testFirefox, build-native-test] env: @@ -818,18 +846,18 @@ jobs: NEXT_TELEMETRY_DISABLED: 1 steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: - node-version: 17 + node-version: 18 check-latest: true - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary @@ -851,27 +879,28 @@ jobs: NPM_TOKEN: ${{ secrets.NPM_TOKEN_ELEVATED }} steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: - node-version: 14 + node-version: 16 + check-latest: true # https://github.com/actions/virtual-environments/issues/1187 - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: next-swc-binaries path: packages/next-swc/native - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: wasm-binaries path: packages/next-swc/crates/wasm @@ -886,17 +915,18 @@ jobs: needs: [publishRelease, build-native-test] steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 + check-latest: true - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 with: name: next-swc-test-binary path: packages/next-swc/native @@ -916,7 +946,7 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 25 @@ -924,7 +954,7 @@ jobs: id: docs-change - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} with: node-version: 16 @@ -935,17 +965,17 @@ jobs: if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} with: profile: minimal - toolchain: nightly-2022-02-23 + toolchain: ${{ env.RUST_TOOLCHAIN }} - name: Cache cargo registry - uses: actions/cache@v2 + uses: actions/cache@v3 if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} with: path: ~/.cargo/registry key: stable-ubuntu-18.04-cargo-registry - name: Cache cargo index - uses: actions/cache@v2 + uses: actions/cache@v3 if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} with: path: ~/.cargo/git @@ -957,7 +987,7 @@ jobs: - name: Turbo Cache id: turbo-cache - uses: actions/cache@v2 + uses: actions/cache@v3 if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} with: path: .turbo @@ -972,7 +1002,7 @@ jobs: # "If there are multiple partial matches for a restore key, the action returns the most recently created cache." # So we get latest cache - name: Cache built files - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ./packages/next-swc/target key: next-swc-cargo-cache-dev-ubuntu-18.04-${{ hashFiles('**/Cargo.lock') }} @@ -981,7 +1011,7 @@ jobs: # since the repo's dependencies aren't installed we need # to install napi globally - - run: npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 + - run: npm i -g @napi-rs/cli@${{ env.NAPI_CLI_VERSION }} turbo@${{ env.TURBO_VERSION }} - name: Build if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} run: turbo run build-native --cache-dir=".turbo" -- --release @@ -989,7 +1019,7 @@ jobs: MACOSX_DEPLOYMENT_TARGET: '10.13' - name: Upload artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v3 with: name: next-swc-test-binary path: packages/next-swc/native/next-swc.linux-x64-gnu.node @@ -1005,7 +1035,7 @@ jobs: runs-on: ubuntu-18.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 25 - run: echo ::set-output name=DOCS_CHANGE::$(node skip-docs-change.js echo 'not-docs-only-change') @@ -1014,7 +1044,7 @@ jobs: if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} uses: actions-rs/toolchain@v1 with: - toolchain: nightly-2022-02-23 + toolchain: ${{ env.RUST_TOOLCHAIN }} profile: minimal - run: cd packages/next-swc && cargo test if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} @@ -1025,14 +1055,14 @@ jobs: needs: [build, build-native-test, build-wasm-dev] steps: - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: path: ./* key: ${{ github.sha }} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: wasm-dev-binary @@ -1041,7 +1071,7 @@ jobs: - run: ls packages/next-swc/crates/wasm if: ${{needs.build.outputs.docsChange != 'docs only change'}} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary @@ -1050,12 +1080,12 @@ jobs: # node version needs to be 16+ to use --no-addons option - name: Setup node if: ${{needs.build.outputs.docsChange != 'docs only change'}} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 16 check-latest: true - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@${{ env.PLAYWRIGHT_CHROMIUM_VERSION }} && npx playwright install-deps if: ${{needs.build.outputs.docsChange != 'docs only change'}} - run: node ./scripts/setup-wasm.mjs @@ -1076,17 +1106,17 @@ jobs: - host: macos-latest target: 'x86_64-apple-darwin' build: | - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" turbo run build-native --cache-dir=".turbo" -- --release strip -x packages/next-swc/native/next-swc.*.node - host: windows-latest build: | - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" turbo run build-native --cache-dir=".turbo" -- --release target: 'x86_64-pc-windows-msvc' - host: windows-latest build: | - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" turbo run build-native --cache-dir=".turbo" -- --release --target i686-pc-windows-msvc target: 'i686-pc-windows-msvc' - host: ubuntu-latest @@ -1095,10 +1125,10 @@ jobs: # Node.js in Baidu need to compatible with `GLIBC_2.12` build: >- set -e && - rustup toolchain install nightly-2022-02-23 && - rustup default nightly-2022-02-23 && + rustup toolchain install "${RUST_TOOLCHAIN}" && + rustup default "${RUST_TOOLCHAIN}" && rustup target add x86_64-unknown-linux-gnu && - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 && + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" && turbo run build-native --cache-dir=".turbo" -- --release --target x86_64-unknown-linux-gnu --zig --zig-abi-suffix 2.12 && llvm-strip -x packages/next-swc/native/next-swc.*.node - host: ubuntu-latest @@ -1106,10 +1136,10 @@ jobs: docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine build: >- set -e && - rustup toolchain install nightly-2022-02-23 && - rustup default nightly-2022-02-23 && + rustup toolchain install "${RUST_TOOLCHAIN}" && + rustup default "${RUST_TOOLCHAIN}" && rustup target add x86_64-unknown-linux-musl && - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 && + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" && turbo run build-native --cache-dir=".turbo" -- --release --target x86_64-unknown-linux-musl && strip packages/next-swc/native/next-swc.*.node - host: macos-latest @@ -1120,7 +1150,7 @@ jobs: export CXX=$(xcrun -f clang++); SYSROOT=$(xcrun --sdk macosx --show-sdk-path); export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT"; - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" turbo run build-native --cache-dir=".turbo" -- --release --target aarch64-apple-darwin strip -x packages/next-swc/native/next-swc.*.node - host: ubuntu-latest @@ -1128,10 +1158,10 @@ jobs: docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine-zig build: >- set -e && - rustup toolchain install nightly-2022-02-23 && - rustup default nightly-2022-02-23 && + rustup toolchain install "${RUST_TOOLCHAIN}" && + rustup default "${RUST_TOOLCHAIN}" && rustup target add aarch64-unknown-linux-gnu && - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 && + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" && turbo run build-native --cache-dir=".turbo" -- --release --target aarch64-unknown-linux-gnu --zig --zig-abi-suffix 2.12 && llvm-strip -x packages/next-swc/native/next-swc.*.node - host: ubuntu-18.04 @@ -1140,7 +1170,7 @@ jobs: sudo apt-get update sudo apt-get install gcc-arm-linux-gnueabihf g++-arm-linux-gnueabihf -y build: | - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" turbo run build-native --cache-dir=".turbo" -- --release --target armv7-unknown-linux-gnueabihf arm-linux-gnueabihf-strip packages/next-swc/native/next-swc.*.node - host: ubuntu-latest @@ -1150,7 +1180,7 @@ jobs: export CC="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang" export CXX="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android24-clang++" export PATH="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin:${PATH}" - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" turbo run build-native --cache-dir=".turbo" -- --release --target aarch64-linux-android ${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/aarch64-linux-android-strip packages/next-swc/native/next-swc.*.node - host: ubuntu-latest @@ -1160,7 +1190,7 @@ jobs: export CC="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi24-clang" export CXX="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/armv7a-linux-androideabi24-clang++" export PATH="${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin:${PATH}" - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" turbo run build-native --cache-dir=".turbo" -- --release --target armv7-linux-androideabi ${ANDROID_NDK_HOME}/toolchains/llvm/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip packages/next-swc/native/next-swc.*.node - host: ubuntu-latest @@ -1168,18 +1198,18 @@ jobs: docker: ghcr.io/napi-rs/napi-rs/nodejs-rust:lts-alpine build: >- set -e && - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 && - rustup toolchain install nightly-2022-02-23 && - rustup default nightly-2022-02-23 && + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" && + rustup toolchain install "${RUST_TOOLCHAIN}" && + rustup default "${RUST_TOOLCHAIN}" && rustup target add aarch64-unknown-linux-musl && turbo run build-native --cache-dir=".turbo" -- --release --target aarch64-unknown-linux-musl && llvm-strip -x packages/next-swc/native/next-swc.*.node - host: windows-latest target: 'aarch64-pc-windows-msvc' build: | - npm i -g @napi-rs/cli@2.4.4 turbo@1.0.28 + npm i -g "@napi-rs/cli@${NAPI_CLI_VERSION}" "turbo@${TURBO_VERSION}" turbo run build-native --cache-dir=".turbo" -- --release --target aarch64-pc-windows-msvc - if: ${{ needs.build.outputs.isRelease == 'true' }} + # if: ${{ needs.build.outputs.isRelease == 'true' }} needs: build name: stable - ${{ matrix.settings.target }} - node@16 runs-on: ${{ matrix.settings.host }} @@ -1199,13 +1229,13 @@ jobs: if: ${{ matrix.settings.host == 'macos-latest' }} # we use checkout here instead of the build cache since # it can fail to restore in different OS' - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 # We use restore-key to pick latest cache. # We will not get exact match, but doc says # "If there are multiple partial matches for a restore key, the action returns the most recently created cache." # So we get latest cache - name: Cache built files - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ./packages/next-swc/target key: next-swc-cargo-cache-${{ matrix.settings.target }}--${{ hashFiles('**/Cargo.lock') }} @@ -1213,7 +1243,7 @@ jobs: next-swc-cargo-cache-${{ matrix.settings.target }} - name: Turbo Cache id: turbo-cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: .turbo key: turbo-${{ github.job }}-${{ github.ref_name }}-${{ matrix.settings.target }}-${{ needs.build.outputs.weekNum }}-${{ github.sha }} @@ -1223,7 +1253,7 @@ jobs: turbo-${{ github.job }}-canary-${{ matrix.settings.target }}-${{ needs.build.outputs.weekNum }}- - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{ !matrix.settings.docker }} with: node-version: 16 @@ -1236,17 +1266,17 @@ jobs: with: profile: minimal override: true - toolchain: nightly-2022-02-23 + toolchain: ${{ env.RUST_TOOLCHAIN }} target: ${{ matrix.settings.target }} - name: Cache cargo registry - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/registry key: ${{ matrix.settings.target }}-cargo-registry - name: Cache cargo index - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ~/.cargo/git key: ${{ matrix.settings.target }}-cargo-index @@ -1261,7 +1291,7 @@ jobs: if: ${{ matrix.settings.docker }} with: image: ${{ matrix.settings.docker }} - options: -v ${{ env.HOME }}/.cargo/git:/root/.cargo/git -v ${{ env.HOME }}/.cargo/registry:/root/.cargo/registry -v ${{ github.workspace }}:/build -w /build + options: -e RUST_TOOLCHAIN=${{ env.RUST_TOOLCHAIN }} -e NAPI_CLI_VERSION=${{ env.NAPI_CLI_VERSION }} -e TURBO_VERSION=${{ env.TURBO_VERSION }} -v ${{ env.HOME }}/.cargo/git:/root/.cargo/git -v ${{ env.HOME }}/.cargo/registry:/root/.cargo/registry -v ${{ github.workspace }}:/build -w /build run: ${{ matrix.settings.build }} - name: 'Build' @@ -1270,7 +1300,7 @@ jobs: shell: bash - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: next-swc-binaries path: packages/next-swc/native/next-swc.*.node @@ -1283,30 +1313,31 @@ jobs: target: [web, nodejs] runs-on: ubuntu-latest steps: - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: restore-build with: path: ./* key: ${{ github.sha }}-${{ github.run_number }} - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 + check-latest: true - name: Install Rust uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2022-02-23 + toolchain: ${{ env.RUST_TOOLCHAIN }} override: true target: wasm32-unknown-unknown - - run: npm i -g turbo@1.0.28 + - run: npm i -g turbo@${{ env.TURBO_VERSION }} - name: Turbo cache id: turbo-cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: .turbo key: turbo-${{ github.job }}-${{ matrix.target }}-${{ github.ref_name }}-${{ needs.build.outputs.weekNum }}-${{ github.sha }} @@ -1325,7 +1356,7 @@ jobs: run: '[[ -d "packages/next-swc/crates/wasm/pkg" ]] && mv packages/next-swc/crates/wasm/pkg packages/next-swc/crates/wasm/pkg-${{ matrix.target }} || ls packages/next-swc/crates/wasm' - name: Upload artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wasm-binaries path: packages/next-swc/crates/wasm/pkg-* @@ -1334,7 +1365,7 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/cache@v2 + - uses: actions/cache@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} id: restore-build with: @@ -1343,24 +1374,25 @@ jobs: - name: Setup node if: ${{needs.build.outputs.docsChange != 'docs only change'}} - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: 14 + node-version: 16 + check-latest: true - - run: npm i -g turbo@1.0.28 + - run: npm i -g turbo@${{ env.TURBO_VERSION }} - name: Install Rust if: ${{needs.build.outputs.docsChange != 'docs only change'}} uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2022-02-23 + toolchain: ${{ env.RUST_TOOLCHAIN }} override: true target: wasm32-unknown-unknown - name: Turbo Cache id: turbo-cache - uses: actions/cache@v2 + uses: actions/cache@v3 if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} with: path: .turbo @@ -1384,7 +1416,7 @@ jobs: - name: Upload artifact if: ${{needs.build.outputs.docsChange != 'docs only change'}} - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: wasm-dev-binary path: packages/next-swc/crates/wasm/pkg-nodejs @@ -1406,12 +1438,13 @@ jobs: if: needs.check-trace-secrests.outputs.trace-api-key == 'true' steps: - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: - node-version: 14 + node-version: 16 + check-latest: true - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: restore-build if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: @@ -1426,7 +1459,7 @@ jobs: if: ${{needs.build.outputs.docsChange != 'docs only change'}} run: echo ${GIT_SHORT_SHA} - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{needs.build.outputs.docsChange != 'docs only change'}} with: name: next-swc-test-binary diff --git a/.github/workflows/pull_request_stats.yml b/.github/workflows/pull_request_stats.yml index 0d1e32362409..22615c2f4119 100644 --- a/.github/workflows/pull_request_stats.yml +++ b/.github/workflows/pull_request_stats.yml @@ -13,7 +13,7 @@ jobs: - name: tune linux network run: sudo ethtool -K eth0 tx off rx off - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 25 @@ -21,10 +21,10 @@ jobs: id: docs-change - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} with: - node-version: 14 + node-version: 16 check-latest: true - name: Install @@ -54,7 +54,7 @@ jobs: - name: Turbo Cache id: turbo-cache - uses: actions/cache@v2 + uses: actions/cache@v3 if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} with: path: .turbo @@ -68,7 +68,7 @@ jobs: # "If there are multiple partial matches for a restore key, the action returns the most recently created cache." # So we get latest cache - name: Cache built files - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: ./packages/next-target key: next-swc-cargo-cache-ubuntu-18.04--${{ hashFiles('**/Cargo.lock') }} @@ -90,7 +90,7 @@ jobs: TURBO_PROJECT: nextjs - name: Upload artifact - uses: actions/upload-artifact@v2.2.4 + uses: actions/upload-artifact@v3 with: name: next-swc-dev-binary path: packages/next-swc/native/next-swc.linux-x64-gnu.node @@ -106,14 +106,14 @@ jobs: needs: build-native-dev runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: fetch-depth: 25 - run: echo ::set-output name=DOCS_CHANGE::$(node skip-docs-change.js echo 'not-docs-only-change') id: docs-change - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v3 if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} with: name: next-swc-dev-binary diff --git a/.github/workflows/test_react_experimental.yml b/.github/workflows/test_react_experimental.yml index 8b56f79f4d9b..0e15e4acc083 100644 --- a/.github/workflows/test_react_experimental.yml +++ b/.github/workflows/test_react_experimental.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: yarn install --frozen-lockfile --check-files env: @@ -19,7 +19,7 @@ jobs: - run: node run-tests.js --timings --write-timings -g 1/1 - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: cache-build with: path: ./* @@ -38,12 +38,12 @@ jobs: matrix: group: [1, 2, 3, 4, 5, 6] steps: - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: restore-build with: path: ./* key: ${{ github.sha }}-react-experimental - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@1.21.1 && npx playwright install-deps - run: node run-tests.js --timings -g ${{ matrix.group }}/6 diff --git a/.github/workflows/test_react_next.yml b/.github/workflows/test_react_next.yml index 4411c0a521a5..f9f5ba7a196b 100644 --- a/.github/workflows/test_react_next.yml +++ b/.github/workflows/test_react_next.yml @@ -9,7 +9,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - run: yarn install --frozen-lockfile --check-files env: @@ -19,7 +19,7 @@ jobs: - run: node run-tests.js --timings --write-timings -g 1/1 - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: cache-build with: path: ./* @@ -38,12 +38,12 @@ jobs: matrix: group: [1, 2, 3, 4, 5, 6] steps: - - uses: actions/cache@v2 + - uses: actions/cache@v3 id: restore-build with: path: ./* key: ${{ github.sha }}-react-next - - run: npm i -g playwright-chromium@1.14.1 && npx playwright install-deps + - run: npm i -g playwright-chromium@1.21.1 && npx playwright install-deps - run: node run-tests.js --timings -g ${{ matrix.group }}/6 diff --git a/errors/no-cache.md b/errors/no-cache.md index b3b0214ca31f..3ef035538512 100644 --- a/errors/no-cache.md +++ b/errors/no-cache.md @@ -78,7 +78,7 @@ cache: Using GitHub's [actions/cache](https://github.com/actions/cache), add the following step in your workflow file: ```yaml -uses: actions/cache@v2 +uses: actions/cache@v3 with: # See here for caching with `yarn` https://github.com/actions/cache/blob/main/examples.md#node---yarn or you can leverage caching with actions/setup-node https://github.com/actions/setup-node path: | diff --git a/package.json b/package.json index af8fd7315dd9..2218944a456b 100644 --- a/package.json +++ b/package.json @@ -135,7 +135,7 @@ "npm-run-all": "4.1.5", "nprogress": "0.2.0", "pixrem": "5.0.0", - "playwright-chromium": "1.14.1", + "playwright-chromium": "1.21.1", "plop": "3.0.5", "postcss-nested": "4.2.1", "postcss-pseudoelements": "5.0.0", @@ -167,7 +167,7 @@ "taskr": "1.1.0", "tree-kill": "1.2.2", "tsec": "0.2.1", - "turbo": "1.0.28", + "turbo": "1.2.6", "typescript": "4.6.3", "wait-port": "0.2.2", "web-streams-polyfill": "2.1.1", @@ -181,25 +181,5 @@ }, "engines": { "node": ">=12.22.0" - }, - "turbo": { - "pipeline": { - "build-native": { - "dependsOn": [ - "^build-native" - ], - "outputs": [ - "native/*.node" - ] - }, - "build-wasm": { - "dependsOn": [ - "^build-wasm" - ], - "outputs": [ - "crates/wasm/pkg/*" - ] - } - } } } diff --git a/packages/next/package.json b/packages/next/package.json index d50386bfdc09..bfbc1e18e87a 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -115,7 +115,7 @@ "@babel/traverse": "7.15.0", "@babel/types": "7.15.0", "@hapi/accept": "5.0.2", - "@napi-rs/cli": "2.4.4", + "@napi-rs/cli": "2.7.0", "@napi-rs/triples": "1.1.0", "@next/polyfill-module": "12.1.7-canary.1", "@next/polyfill-nomodule": "12.1.7-canary.1", diff --git a/test/integration/chunking/pages/page3.js b/test/integration/chunking/pages/page3.js index 03d534597ca2..a49f3544a696 100644 --- a/test/integration/chunking/pages/page3.js +++ b/test/integration/chunking/pages/page3.js @@ -1,5 +1,7 @@ import Link from 'next/link' -import('lodash').then((_) => console.log(_.chunk(['a', 'b', 'c', 'd'], 2))) +import('lodash').then(({ default: _ }) => + console.log(_.chunk(['a', 'b', 'c', 'd'], 2)) +) const Page = () => { return ( diff --git a/turbo.json b/turbo.json new file mode 100644 index 000000000000..62b903aeb59f --- /dev/null +++ b/turbo.json @@ -0,0 +1,12 @@ +{ + "pipeline": { + "build-native": { + "dependsOn": ["^build-native"], + "outputs": ["native/*.node"] + }, + "build-wasm": { + "dependsOn": ["^build-wasm"], + "outputs": ["crates/wasm/pkg/*"] + } + } +} diff --git a/yarn.lock b/yarn.lock index 3cae0cb367a2..3f2234096507 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4145,10 +4145,10 @@ call-me-maybe "^1.0.1" glob-to-regexp "^0.3.0" -"@napi-rs/cli@2.4.4": - version "2.4.4" - resolved "https://registry.yarnpkg.com/@napi-rs/cli/-/cli-2.4.4.tgz#878a38f0fba1709d89d66eba706745ce728a61a5" - integrity sha512-f+tvwCv1ka24dBqI2DgBhR7Oxl3DKHOp4onxLXwyBFt6iCADnr3YZIr1/2Iq5r3uqxFgaf01bfPsRQZPkEp0kQ== +"@napi-rs/cli@2.7.0": + version "2.7.0" + resolved "https://registry.npmjs.org/@napi-rs/cli/-/cli-2.7.0.tgz#afcfc6f8476f1c2c259c626270841bd24fc52588" + integrity sha512-bQb+r9/xW8LFRbpEN7A/4fX8LnEWbI0JzyOzXGDpO+cI8dXRxX7OPySOpzT2nBgP1brA2Ydkw/t9lyxLN9TlxQ== "@napi-rs/triples@1.1.0": version "1.1.0" @@ -6101,6 +6101,13 @@ agent-base@6: dependencies: debug "4" +agent-base@^6.0.2: + version "6.0.2" + resolved "https://registry.npmjs.org/agent-base/-/agent-base-6.0.2.tgz#49fff58577cfee3f37176feab4c22e00f86d7f77" + integrity sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ== + dependencies: + debug "4" + agentkeepalive@3.4.1: version "3.4.1" resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-3.4.1.tgz#aa95aebc3a749bca5ed53e3880a09f5235b48f0c" @@ -7948,6 +7955,11 @@ commander@7.2.0, commander@^7.1.0: resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== +commander@8.3.0: + version "8.3.0" + resolved "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" + integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== + commander@^2.20.0, commander@^2.9.0, commander@~2.20.3: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" @@ -7956,7 +7968,7 @@ commander@^5.0.0: version "5.1.0" resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" -commander@^6.1.0, commander@^6.2.0: +commander@^6.2.0: version "6.2.1" resolved "https://registry.yarnpkg.com/commander/-/commander-6.2.1.tgz#0792eb682dfbc325999bb2b84fddddba110ac73c" integrity sha512-U7VdrJFnJgo4xjrHpTzu0yrHPGImdsmD95ZlgYSEajAn2JKzDhDTPG9kBTefmObL2w/ngeZnilk+OV9CG3d7UA== @@ -8859,6 +8871,13 @@ debug@4, debug@4.1.1, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1: dependencies: ms "^2.1.1" +debug@4.3.3, debug@^4.3.2: + version "4.3.3" + resolved "https://registry.npmjs.org/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" + integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== + dependencies: + ms "2.1.2" + debug@^3.0.0, debug@^3.1.0: version "3.2.6" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.6.tgz#e83d17de16d8a7efb7717edbe5fb10135eee629b" @@ -8886,13 +8905,6 @@ debug@^4.3.1: dependencies: ms "2.1.2" -debug@^4.3.2: - version "4.3.3" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.3.tgz#04266e0b70a98d4462e6e288e38259213332b664" - integrity sha512-/zxw5+vh1Tfv+4Qn7a5nsbcJKPaSvCDhojn6FEl9vupwK2VCSDtEiEtqr8DFtzYFOdz63LBkxec7DYuc2jon6Q== - dependencies: - ms "2.1.2" - debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" @@ -10310,9 +10322,9 @@ extglob@^2.0.4: snapdragon "^0.8.1" to-regex "^3.0.1" -extract-zip@^2.0.1: +extract-zip@2.0.1: version "2.0.1" - resolved "https://registry.yarnpkg.com/extract-zip/-/extract-zip-2.0.1.tgz#663dca56fe46df890d5f131ef4a06d22bb8ba13a" + resolved "https://registry.npmjs.org/extract-zip/-/extract-zip-2.0.1.tgz#663dca56fe46df890d5f131ef4a06d22bb8ba13a" integrity sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg== dependencies: debug "^4.1.1" @@ -13390,9 +13402,9 @@ jest@27.0.6: import-local "^3.0.2" jest-cli "^27.0.6" -jpeg-js@^0.4.2: +jpeg-js@0.4.3: version "0.4.3" - resolved "https://registry.yarnpkg.com/jpeg-js/-/jpeg-js-0.4.3.tgz#6158e09f1983ad773813704be80680550eff977b" + resolved "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.3.tgz#6158e09f1983ad773813704be80680550eff977b" integrity sha512-ru1HWKek8octvUHFHvE5ZzQ1yAsJmIvRdGWvSoKV52XKyuyYA437QWDttXT8eZXDSbuMpHlLzPDZUPd6idIz+Q== js-base64@^2.1.8, js-base64@^2.1.9: @@ -14851,16 +14863,16 @@ mime@1.6.0, mime@^1.4.1: version "1.6.0" resolved "https://registry.yarnpkg.com/mime/-/mime-1.6.0.tgz#32cd9e5c64553bd58d19a568af452acff04981b1" +mime@3.0.0: + version "3.0.0" + resolved "https://registry.npmjs.org/mime/-/mime-3.0.0.tgz#b374550dca3a0c18443b0c950a6a58f1931cf7a7" + integrity sha512-jSCU7/VB1loIWBZe14aEYHU/+1UMEHoaO7qxCOVJOw9GgH72VAWppxNcjU+x9a2k3GSIBXNKxXQFqRvvZ7vr3A== + mime@^2.3.1: version "2.4.7" resolved "https://registry.yarnpkg.com/mime/-/mime-2.4.7.tgz#962aed9be0ed19c91fd7dc2ece5d7f4e89a90d74" integrity sha512-dhNd1uA2u397uQk3Nv5LM4lm93WYDUXFn3Fu291FJerns4jyTudqhIWe4W04YLy7Uk1tm1Ore04NpjRvQp/NPA== -mime@^2.4.6: - version "2.5.2" - resolved "https://registry.yarnpkg.com/mime/-/mime-2.5.2.tgz#6e3dc6cc2b9510643830e5f19d5cb753da5eeabe" - integrity sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg== - mimic-fn@^1.0.0: version "1.2.0" resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.2.0.tgz#820c86a39334640e99516928bd03fca88057d022" @@ -16626,6 +16638,13 @@ pirates@^4.0.5: resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.5.tgz#feec352ea5c3268fb23a37c702ab1699f35a5f3b" integrity sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ== +pixelmatch@5.2.1: + version "5.2.1" + resolved "https://registry.npmjs.org/pixelmatch/-/pixelmatch-5.2.1.tgz#9e4e4f4aa59648208a31310306a5bed5522b0d65" + integrity sha512-WjcAdYSnKrrdDdqTcVEY7aB7UhhwjYQKYhHiBXdJef0MOaQeYpUdQ+iVyBLa5YBKS8MPVPPMX7rpOByISLpeEQ== + dependencies: + pngjs "^4.0.1" + pixrem@5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/pixrem/-/pixrem-5.0.0.tgz#460c534fbc19e4e9fbf39012ae26c7107cd40bca" @@ -16664,25 +16683,36 @@ platform@1.3.6: resolved "https://registry.yarnpkg.com/platform/-/platform-1.3.6.tgz#48b4ce983164b209c2d45a107adb31f473a6e7a7" integrity sha512-fnWVljUchTro6RiCFvCXBbNhJc2NijN7oIQxbwsyL0buWJPG85v81ehlHI9fXrJsMNgTofEoWIQeClKpgxFLrg== -playwright-chromium@1.14.1: - version "1.14.1" - resolved "https://registry.yarnpkg.com/playwright-chromium/-/playwright-chromium-1.14.1.tgz#0a43fdb33d77bd7053a7c9b7619f9f445c371835" - integrity sha512-gAHDcrBKrl1Az6TuzC4T013Nl+qKVZeblc2VkElHqEuNQHPKW7840cQBZavFz38xJshC993iClVc6Y+bLgF8FA== +playwright-chromium@1.21.1: + version "1.21.1" + resolved "https://registry.npmjs.org/playwright-chromium/-/playwright-chromium-1.21.1.tgz#ca9000ffc4105d6e02d4cb34a7d095cecfda0651" + integrity sha512-bbqFFpcTs+3amiofja/KvTmZ+FZnMNEOuGkRyJk2p6DV9EbgRYVrlzzgLtMnX2DwaX3ZZ23MukGuQ+bVKOdsnw== dependencies: - commander "^6.1.0" - debug "^4.1.1" - extract-zip "^2.0.1" - https-proxy-agent "^5.0.0" - jpeg-js "^0.4.2" - mime "^2.4.6" - pngjs "^5.0.0" - progress "^2.0.3" - proper-lockfile "^4.1.1" - proxy-from-env "^1.1.0" - rimraf "^3.0.2" - stack-utils "^2.0.3" - ws "^7.4.6" - yazl "^2.5.1" + playwright-core "1.21.1" + +playwright-core@1.21.1: + version "1.21.1" + resolved "https://registry.npmjs.org/playwright-core/-/playwright-core-1.21.1.tgz#2757be7921576f047c0a622194dc45f4e1962e17" + integrity sha512-SbK5dEsai9ZUKlxcinqegorBq4GnftXd4/GfW+pLsdQIQWrLCM/JNh6YQ2Rf2enVykXCejtoXW8L5vJXBBVSJQ== + dependencies: + colors "1.4.0" + commander "8.3.0" + debug "4.3.3" + extract-zip "2.0.1" + https-proxy-agent "5.0.0" + jpeg-js "0.4.3" + mime "3.0.0" + pixelmatch "5.2.1" + pngjs "6.0.0" + progress "2.0.3" + proper-lockfile "4.1.2" + proxy-from-env "1.1.0" + rimraf "3.0.2" + socks-proxy-agent "6.1.1" + stack-utils "2.0.5" + ws "8.4.2" + yauzl "2.10.0" + yazl "2.5.1" please-upgrade-node@^3.2.0: version "3.2.0" @@ -16709,10 +16739,15 @@ pluralize@^8.0.0: resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-8.0.0.tgz#1a6fa16a38d12a1901e0320fa017051c539ce3b1" integrity sha512-Nc3IT5yHzflTfbjgqWcCPpo7DaKy4FnpB0l/zCAW0Tc7jxAiuqSxHasntB3D7887LSrA93kDJ9IXovxJYxyLCA== -pngjs@^5.0.0: - version "5.0.0" - resolved "https://registry.yarnpkg.com/pngjs/-/pngjs-5.0.0.tgz#e79dd2b215767fd9c04561c01236df960bce7fbb" - integrity sha512-40QW5YalBNfQo5yRYmiw7Yz6TKKVr3h6970B2YE+3fQpsWcrbj1PzJgxeJ19DRQjhMbKPIuMY8rFaXc8moolVw== +pngjs@6.0.0: + version "6.0.0" + resolved "https://registry.npmjs.org/pngjs/-/pngjs-6.0.0.tgz#ca9e5d2aa48db0228a52c419c3308e87720da821" + integrity sha512-TRzzuFRRmEoSW/p1KVAmiOgPco2Irlah+bGFCeNfJXxxYGwSw7YwAOAcd7X28K/m5bjBWKsC29KyoMfHbypayg== + +pngjs@^4.0.1: + version "4.0.1" + resolved "https://registry.npmjs.org/pngjs/-/pngjs-4.0.1.tgz#f803869bb2fc1bfe1bf99aa4ec21c108117cfdbe" + integrity sha512-rf5+2/ioHeQxR6IxuYNYGFytUyG3lma/WW1nsmjeHlWwtb2aByla6dkVc8pmJ9nplzkTA0q2xx7mMWrOTqT4Gg== posix-character-classes@^0.1.0: version "0.1.1" @@ -17493,7 +17528,7 @@ process@0.11.10, process@^0.11.10: resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182" integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI= -progress@^2.0.0, progress@^2.0.3: +progress@2.0.3, progress@^2.0.0: version "2.0.3" resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.3.tgz#7e8cf8d8f5b8f239c1bc68beb4eb78567d572ef8" @@ -17579,9 +17614,9 @@ prop-types@^15.8.1: object-assign "^4.1.1" react-is "^16.13.1" -proper-lockfile@^4.1.1: +proper-lockfile@4.1.2: version "4.1.2" - resolved "https://registry.yarnpkg.com/proper-lockfile/-/proper-lockfile-4.1.2.tgz#c8b9de2af6b2f1601067f98e01ac66baa223141f" + resolved "https://registry.npmjs.org/proper-lockfile/-/proper-lockfile-4.1.2.tgz#c8b9de2af6b2f1601067f98e01ac66baa223141f" integrity sha512-TjNPblN4BwAWMXU8s9AEz4JmQxnD1NNL7bNOY/AKUzyamc379FWASUhc/K1pL2noVb+XmZKLL68cjzLsiOAMaA== dependencies: graceful-fs "^4.2.4" @@ -17647,9 +17682,9 @@ proxy-addr@~2.0.5: forwarded "~0.1.2" ipaddr.js "1.9.0" -proxy-from-env@^1.1.0: +proxy-from-env@1.1.0: version "1.1.0" - resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" + resolved "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== prr@~1.0.1: @@ -18729,19 +18764,19 @@ rimraf@3.0.0: dependencies: glob "^7.1.3" -rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.3: - version "2.7.1" - resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" - dependencies: - glob "^7.1.3" - -rimraf@^3.0.0, rimraf@^3.0.2: +rimraf@3.0.2, rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" integrity sha512-JZkJMZkAGFFPP2YqXZXPbMlMBgsxzE8ILs4lMIX/2o0L9UBw9O/Y3o6wFw/i9YLapcUJWwqbi3kdxIPdC62TIA== dependencies: glob "^7.1.3" +rimraf@^2.5.4, rimraf@^2.6.1, rimraf@^2.6.3: + version "2.7.1" + resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.7.1.tgz#35797f13a7fdadc566142c29d4f07ccad483e3ec" + dependencies: + glob "^7.1.3" + ripemd160@^2.0.0, ripemd160@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/ripemd160/-/ripemd160-2.0.2.tgz#a1c1a6f624751577ba5d07914cbc92850585890c" @@ -19248,6 +19283,11 @@ smart-buffer@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/smart-buffer/-/smart-buffer-4.1.0.tgz#91605c25d91652f4661ea69ccf45f1b331ca21ba" +smart-buffer@^4.2.0: + version "4.2.0" + resolved "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz#6e1d71fa4f18c05f7d0ff216dd16a481d0e8d9ae" + integrity sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg== + snake-case@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/snake-case/-/snake-case-2.1.0.tgz#41bdb1b73f30ec66a04d4e2cad1b76387d4d6d9f" @@ -19290,6 +19330,15 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" +socks-proxy-agent@6.1.1: + version "6.1.1" + resolved "https://registry.npmjs.org/socks-proxy-agent/-/socks-proxy-agent-6.1.1.tgz#e664e8f1aaf4e1fb3df945f09e3d94f911137f87" + integrity sha512-t8J0kG3csjA4g6FTbsMOWws+7R7vuRC8aQ/wy3/1OWmsgwA68zs/+cExQ0koSitUDXqhufF/YJr9wtNMZHw5Ew== + dependencies: + agent-base "^6.0.2" + debug "^4.3.1" + socks "^2.6.1" + socks-proxy-agent@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/socks-proxy-agent/-/socks-proxy-agent-5.0.0.tgz#7c0f364e7b1cf4a7a437e71253bed72e9004be60" @@ -19307,6 +19356,14 @@ socks@^2.3.3: ip "^1.1.5" smart-buffer "^4.1.0" +socks@^2.6.1: + version "2.6.2" + resolved "https://registry.npmjs.org/socks/-/socks-2.6.2.tgz#ec042d7960073d40d94268ff3bb727dc685f111a" + integrity sha512-zDZhHhZRY9PxRruRMR7kMhnf3I8hDs4S3f9RecfnGxvcBHQcKcIH/oUcEWffsfl1XxdYlA7nnlGbbTvPz9D8gA== + dependencies: + ip "^1.1.5" + smart-buffer "^4.2.0" + sort-keys@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" @@ -19519,6 +19576,13 @@ stable@^0.1.8: version "0.1.8" resolved "https://registry.yarnpkg.com/stable/-/stable-0.1.8.tgz#836eb3c8382fe2936feaf544631017ce7d47a3cf" +stack-utils@2.0.5: + version "2.0.5" + resolved "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.5.tgz#d25265fca995154659dbbfba3b49254778d2fdd5" + integrity sha512-xrQcmYhOsn/1kX+Vraq+7j4oE2j/6BFscZ0etmYg81xuM8Gq0022Pxb8+IqgOFUIaxHs0KaSb7T1+OegiNrNFA== + dependencies: + escape-string-regexp "^2.0.0" + stack-utils@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/stack-utils/-/stack-utils-2.0.3.tgz#cd5f030126ff116b78ccb3c027fe302713b61277" @@ -20622,83 +20686,89 @@ tunnel-agent@^0.6.0: dependencies: safe-buffer "^5.0.1" -turbo-darwin-64@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-darwin-64/-/turbo-darwin-64-1.0.28.tgz#662392368698c4e698b31871f0953836872f7b0e" - integrity sha512-uvARrncW6HNTFi7PFe4sq4JqSOKs1vPgWjJjOEyVhsCFwBgYkXxYsJSdDfO8OhvJa3wv+eYFAK5RaUCk80Z8eg== - -turbo-darwin-arm64@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-darwin-arm64/-/turbo-darwin-arm64-1.0.28.tgz#3ba1a6f9a960321391b8cf809ed8fab0276a499d" - integrity sha512-d/ANU+RIq4Fx/MphkqFThvwOpb+NYDuR+07aV5w8cwI7ljw7hPAe3EW3CSlkPJhvjs6P/oh+F86jhh1Q581mVA== - -turbo-freebsd-64@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-freebsd-64/-/turbo-freebsd-64-1.0.28.tgz#f94e39dc455573c0a42f96f1a84649b252bf0571" - integrity sha512-JMJWftuWhJan+Momc39vbbwaLYEcMpYyBxIrumyIrIkQVaiSKs/6oEFzh1YA+KE16kAgzTPJPXFDkmsY3idAQg== - -turbo-freebsd-arm64@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-freebsd-arm64/-/turbo-freebsd-arm64-1.0.28.tgz#5551f5c67a82a16ce1ba3193410764bae0849d1a" - integrity sha512-fGJNE8qJUhosaIK5sGBheeve9y074FLWv8KfYuXMyV/6+dxpNV60HoAFvw8tL3q8TNp47pU6x8e8h+u1/rn1wQ== - -turbo-linux-32@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-linux-32/-/turbo-linux-32-1.0.28.tgz#742340e6ca7d77c4fb884159bbc8c7faa8d61026" - integrity sha512-fE0qIExxYuVFo5WlVWY0DJ1YZ/w+EC9RheT9nc1tU2EK83XPE1CZFW4lFIsWsXnIy9337zUeNDFVoVxOxCBSUQ== - -turbo-linux-64@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-linux-64/-/turbo-linux-64-1.0.28.tgz#167acbd2899c0da9252f755ae74d619aaf99efe6" - integrity sha512-e+f/O1MlcKCMhJf10q1x+1KSImHwuFUW2+A6DbLk+ekBUW5RELC2qF7hGypCzcpm8xIqtj5A0kP3blFy60AMxw== - -turbo-linux-arm64@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-linux-arm64/-/turbo-linux-arm64-1.0.28.tgz#785415e2a04125a69c7b1d45073150dbab3985f6" - integrity sha512-zN0nQClxp4nP4edinbdTd/9CpPjgNPsULc8LgunuJD+B9A0NRcRP5NCDo8/6ctTWs456sE3UhUF3t2b+uEgDzw== - -turbo-linux-arm@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-linux-arm/-/turbo-linux-arm-1.0.28.tgz#f6de485aa732ba14cc1c851ba30b0f0a901507f3" - integrity sha512-PbB/RzN4W9M6sNZTvcjmc3PZ2S4CeFyQv/53tSs82pIlwM7NKVJzxVC0j3xCtoqoDDgXoJBhCpPV7MUEjCARQg== - -turbo-linux-mips64le@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-linux-mips64le/-/turbo-linux-mips64le-1.0.28.tgz#4f993f387d90fa99037ad9592e98648fdb9ca608" - integrity sha512-7LKmFS9M+AKW5slTHLz00Y4ovZh2CpjgMUkNNC6qtJB8YyWwXwoU0U7Yz28q3+rNVkcEiqWWx4l1Tj1AotTlaA== - -turbo-linux-ppc64le@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-linux-ppc64le/-/turbo-linux-ppc64le-1.0.28.tgz#053163e9042790102ceb1d299a3b79b1aa197be4" - integrity sha512-R382Op75XxcIiY1pWPnVnefxOeVbrVAeABIHLL1hKetbu9UPNzKAnQKqJYGzKIdTRKtPh5CQuErEFzs/Ky2ZgA== - -turbo-windows-32@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-windows-32/-/turbo-windows-32-1.0.28.tgz#b2b735fa56182aaf4095c9e4555fcf39ba050561" - integrity sha512-SjDgimlD5TMvkrFRtsJb4uVP7T44gwr0HqiIpAuWj1m5d8Pz/OisOoUkM/ISPKqVycIU5JF8wx0+CTnxC7YNhQ== - -turbo-windows-64@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo-windows-64/-/turbo-windows-64-1.0.28.tgz#7a2ad6f8416f04f20a1445c8b7123b80c6b16583" - integrity sha512-nT7bgcdl/9QNGBiwCYwTQ2VszcsqJ4NqT4YkE954KFZYxgSwMjjVTdoXcsnXMHpWiMiYfFF7HZLecUNnDm1uUA== - -turbo@1.0.28: - version "1.0.28" - resolved "https://registry.yarnpkg.com/turbo/-/turbo-1.0.28.tgz#fb33cecd2d025e3140ddbcc8c274f0ed7328f09d" - integrity sha512-5xmyVabNYqA0sCAU4VLdUS2A6GwIyy8FTszB/Fx4eNHwHudQwo00F2qORcDFwBHE4MqtnRoBFhL3ZJzo8c9A2w== +turbo-darwin-64@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-darwin-64/-/turbo-darwin-64-1.2.6.tgz#64e5a9b0b6600b4198a2914ea0623c0a73ce10c9" + integrity sha512-YNH49cZKw6rrq6ef/PMuryk3lKzE9QI0R72Yj3lcA4C5FIekUA7RZY8xZK7152r6YNgZ6aPWOQN9lauSN58gPQ== + +turbo-darwin-arm64@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-darwin-arm64/-/turbo-darwin-arm64-1.2.6.tgz#4a9dfe726c371dc8370e196ccabdee3ae753bef1" + integrity sha512-1yk0UK59qGQjFkhmSnrNrGMIVxTeMZSaJ9YhJquyQG7PPHxIpCnz4uQQkZFRb0HQDGMEmsPC49Sx4h6UBQ/3aA== + +turbo-freebsd-64@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-freebsd-64/-/turbo-freebsd-64-1.2.6.tgz#4a883575fdd0fdd37cf545a58f197ce8190b4692" + integrity sha512-m5G86zILy0Qc/fy/2Auu74c5St/yS+SQi8ka2Wb/uVMPQjh7VpM3mB/z7U5pZTv92w2HJ8q5krC0uLT+pH4n8Q== + +turbo-freebsd-arm64@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-freebsd-arm64/-/turbo-freebsd-arm64-1.2.6.tgz#d8457be803bd9c1b138657150f4ef2af739bdc47" + integrity sha512-tjbrRoN8fMuyfyKJ/Dw97cNy9CVlzoT8zZbpo1rVZkMRYpnizIDECdecoiMttBZIP9/ktNcj6nJVHh40+a0EMw== + +turbo-linux-32@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-linux-32/-/turbo-linux-32-1.2.6.tgz#4393c2ed9393326b3533e2201491384d108c0d1f" + integrity sha512-NBCeqsNbTQKuP+5rTwfd4dyd/LTdfUuX+4B6FxXswz6IuCHymUaCRwmRfN6TdeGRFnSP4y2tAymU5zqrI4/Leg== + +turbo-linux-64@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-linux-64/-/turbo-linux-64-1.2.6.tgz#4bffaba1e0593450fb808d1cbfd30480a8250129" + integrity sha512-27NGdEaAOkM/2Bj/QwSNI0b8VxWj9TrfqIE7ATENaMV4B+ukFgFvUkXQuJhnmb4InMxZSc8q01KaSou5P034Sw== + +turbo-linux-arm64@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-linux-arm64/-/turbo-linux-arm64-1.2.6.tgz#5c9f7bdf34f34f8b637f24b45c90fcd2ead7a946" + integrity sha512-zvk7vQ3N3QU2kKKJQ/qalAen3wkPhcoBD3NIlEwKVL2OYaSCa4UDgOSjpwLw+FAmbWh0zB5Jm8mcLXcok9xyUQ== + +turbo-linux-arm@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-linux-arm/-/turbo-linux-arm-1.2.6.tgz#b050d530c0195f507f653c0b12cc6643d38c3d90" + integrity sha512-a0aw0kUfvUVLRV7K+5CjscJKDCLwLtb8p28KLHpjvy8EP7Us+n9DH0tZ2M/CAy02cZI7yOzbWEx0L4Q3a1Dajw== + +turbo-linux-mips64le@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-linux-mips64le/-/turbo-linux-mips64le-1.2.6.tgz#d3f309d10297647b351d2d46c51039bf3f8593ff" + integrity sha512-5sLTNpXedD4aPCtKzbGOo3THImQVgywivFzbLgD5apkF5eYImG/1oRPH0tjdIN/uEqKFJdxniN5EnLE3uUA76g== + +turbo-linux-ppc64le@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-linux-ppc64le/-/turbo-linux-ppc64le-1.2.6.tgz#7264644c87dc46a0e72185eb101b6ea1b003afa5" + integrity sha512-dNIDtCXZolAdm84tCWynntcTbaOErCEbT0onuWwwhJ3CZfC68vqghkYJu7o4T8rMek0RLLcIh/Y4dNM3bp1Mvg== + +turbo-windows-32@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-windows-32/-/turbo-windows-32-1.2.6.tgz#6a34b2476199097f2322a31287dc2de475b40121" + integrity sha512-1rzktj68Ohqi+OPeSvWqbb6Er0yS7FidRku8IQIZJ0bmwP/a5OMqIHXHoIEbn5/ceXry6vJm8aYDgm1FAKkbZw== + +turbo-windows-64@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-windows-64/-/turbo-windows-64-1.2.6.tgz#bc799919142310e268b7b0e27257ef83d404f4ba" + integrity sha512-91m+np5oxTRVORjkFVf2BypYjrhB+Q7ZaKqti5q4A0qLIvYs0dqGitT45j547XKWtlk2dP2ziXhYs2btDOCr4w== + +turbo-windows-arm64@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo-windows-arm64/-/turbo-windows-arm64-1.2.6.tgz#5495fc0a08d725343246f468afaf61d012c1ba8f" + integrity sha512-92vhzWNu+ZrjMK1D6y1bjHTQjIVx0YViYCHDSQNY56STQgUleRW+aColVGs2MnZ4lv7vHhA9FIDJ19CRYpTiNA== + +turbo@1.2.6: + version "1.2.6" + resolved "https://registry.npmjs.org/turbo/-/turbo-1.2.6.tgz#36f2e776903f7935593d22c5d7600f46073994c1" + integrity sha512-7zh48qI2dTb1ktVhTyVLvleRWYVIDNlYnZt9rb8nA/evwZJC5x7ETK4a86f0f4WBAzp3A/TRbE8HNF4cGSkWvw== optionalDependencies: - turbo-darwin-64 "1.0.28" - turbo-darwin-arm64 "1.0.28" - turbo-freebsd-64 "1.0.28" - turbo-freebsd-arm64 "1.0.28" - turbo-linux-32 "1.0.28" - turbo-linux-64 "1.0.28" - turbo-linux-arm "1.0.28" - turbo-linux-arm64 "1.0.28" - turbo-linux-mips64le "1.0.28" - turbo-linux-ppc64le "1.0.28" - turbo-windows-32 "1.0.28" - turbo-windows-64 "1.0.28" + turbo-darwin-64 "1.2.6" + turbo-darwin-arm64 "1.2.6" + turbo-freebsd-64 "1.2.6" + turbo-freebsd-arm64 "1.2.6" + turbo-linux-32 "1.2.6" + turbo-linux-64 "1.2.6" + turbo-linux-arm "1.2.6" + turbo-linux-arm64 "1.2.6" + turbo-linux-mips64le "1.2.6" + turbo-linux-ppc64le "1.2.6" + turbo-windows-32 "1.2.6" + turbo-windows-64 "1.2.6" + turbo-windows-arm64 "1.2.6" tweetnacl@^0.14.3, tweetnacl@~0.14.0: version "0.14.5" @@ -21908,6 +21978,11 @@ ws@8.2.3: resolved "https://registry.yarnpkg.com/ws/-/ws-8.2.3.tgz#63a56456db1b04367d0b721a0b80cae6d8becbba" integrity sha512-wBuoj1BDpC6ZQ1B7DWQBYVLphPWkm8i9Y0/3YdHjHKHiohOJ1ws+3OccDWtH+PoC9DZD5WOTrJvNbWvjS6JWaA== +ws@8.4.2: + version "8.4.2" + resolved "https://registry.npmjs.org/ws/-/ws-8.4.2.tgz#18e749868d8439f2268368829042894b6907aa0b" + integrity sha512-Kbk4Nxyq7/ZWqr/tarI9yIt/+iNNFOjBXEWgTb4ydaNHBNGgvf2QHbS9fdfsndfjFlFwEd4Al+mw83YkaD10ZA== + ws@>=7.4.6: version "8.2.0" resolved "https://registry.yarnpkg.com/ws/-/ws-8.2.0.tgz#0b738cd484bfc9303421914b11bb4011e07615bb" @@ -22057,7 +22132,7 @@ yargs@^16.0.3, yargs@^16.2.0: y18n "^5.0.5" yargs-parser "^20.2.2" -yauzl@^2.10.0: +yauzl@2.10.0, yauzl@^2.10.0: version "2.10.0" resolved "https://registry.yarnpkg.com/yauzl/-/yauzl-2.10.0.tgz#c7eb17c93e112cb1086fa6d8e51fb0667b79a5f9" integrity sha1-x+sXyT4RLLEIb6bY5R+wZnt5pfk= @@ -22065,9 +22140,9 @@ yauzl@^2.10.0: buffer-crc32 "~0.2.3" fd-slicer "~1.1.0" -yazl@^2.5.1: +yazl@2.5.1: version "2.5.1" - resolved "https://registry.yarnpkg.com/yazl/-/yazl-2.5.1.tgz#a3d65d3dd659a5b0937850e8609f22fffa2b5c35" + resolved "https://registry.npmjs.org/yazl/-/yazl-2.5.1.tgz#a3d65d3dd659a5b0937850e8609f22fffa2b5c35" integrity sha512-phENi2PLiHnHb6QBVot+dJnaAZ0xosj7p3fWl+znIjBDlnMI2PsZCJZ306BPTFOaHf5qdDEI8x5qFrSOBN5vrw== dependencies: buffer-crc32 "~0.2.3"