From 8e45325e988f985cb0333bf0cf1c9394317e09b1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Fri, 4 Nov 2022 04:19:20 +0000 Subject: [PATCH] chore(deps): update dependency puppeteer to v19 (#2164) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Gao Sun --- .github/workflows/integration-test.yml | 14 +++++++ packages/integration-tests/package.json | 2 +- pnpm-lock.yaml | 55 +++++++++++++------------ 3 files changed, 44 insertions(+), 27 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 110ce31e5..f2483f27d 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -18,6 +18,13 @@ jobs: steps: - uses: actions/checkout@v3 + - name: Cache Puppeteer + uses: actions/cache@v3 + with: + # https://pptr.dev/guides/configuration/#changing-the-default-cache-directory + path: ~/.cache/puppeteer + key: ${{ runner.os }}-pptr-${{ hashFiles('packages/integration-tests/package.json') }} + - name: Setup Node and pnpm uses: silverhand-io/actions-node-pnpm-run-steps@v2 @@ -47,6 +54,13 @@ jobs: with: path: tests + - name: Cache Puppeteer + uses: actions/cache@v3 + with: + # https://pptr.dev/guides/configuration/#changing-the-default-cache-directory + path: ~/.cache/puppeteer + key: ${{ runner.os }}-pptr-${{ hashFiles('tests/packages/integration-tests/package.json') }} + - name: Copy lockfile run: | cp tests/pnpm-lock.yaml ./ diff --git a/packages/integration-tests/package.json b/packages/integration-tests/package.json index 92757976c..1b6c75726 100644 --- a/packages/integration-tests/package.json +++ b/packages/integration-tests/package.json @@ -34,7 +34,7 @@ "openapi-schema-validator": "^12.0.0", "openapi-types": "^12.0.0", "prettier": "^2.7.1", - "puppeteer": "^18.0.0", + "puppeteer": "^19.0.0", "text-encoder": "^0.0.4", "ts-node": "^10.9.1", "typescript": "^4.7.4" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2d7e2df48..ba76cd4de 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -481,7 +481,7 @@ importers: openapi-schema-validator: ^12.0.0 openapi-types: ^12.0.0 prettier: ^2.7.1 - puppeteer: ^18.0.0 + puppeteer: ^19.0.0 text-encoder: ^0.0.4 ts-node: ^10.9.1 typescript: ^4.7.4 @@ -501,12 +501,12 @@ importers: eslint: 8.21.0 got: 11.8.3 jest: 29.1.2_k5ytkvaprncdyzidqqws5bqksq - jest-puppeteer: 6.1.1_puppeteer@18.0.0 + jest-puppeteer: 6.1.1_puppeteer@19.2.2 node-fetch: 2.6.7 openapi-schema-validator: 12.0.0 openapi-types: 12.0.0 prettier: 2.7.1 - puppeteer: 18.0.0 + puppeteer: 19.2.2 text-encoder: 0.0.4 ts-node: 10.9.1_ccwudyfw5se7hgalwgkzhn2yp4 typescript: 4.7.4 @@ -5849,8 +5849,8 @@ packages: resolution: {integrity: sha512-T0NIuQpnTvFDATNuHN5roPwSBG83rFsuO+MXXH9/3N1eFbn4wcPjttvjMLEPWJ0RGUYgQE7cGgS3tNxbqCGM7g==} dev: false - /devtools-protocol/0.0.1036444: - resolution: {integrity: sha512-0y4f/T8H9lsESV9kKP1HDUXgHxCdniFeJh6Erq+FbdOEvp/Ydp9t8kcAAM5gOd17pMrTDlFWntoHtzzeTUWKNw==} + /devtools-protocol/0.0.1056733: + resolution: {integrity: sha512-CmTu6SQx2g3TbZzDCAV58+LTxVdKplS7xip0g5oDXpZ+isr0rv5dDP8ToyVRywzPHkCCPKgKgScEcwz4uPWDIA==} dev: true /dezalgo/1.0.3: @@ -8773,14 +8773,14 @@ packages: jest-resolve: 29.1.2 dev: true - /jest-puppeteer/6.1.1_puppeteer@18.0.0: + /jest-puppeteer/6.1.1_puppeteer@19.2.2: resolution: {integrity: sha512-cBOszleUpyipDMNYmcmH3x+687x03ZvOVz7W8X5y5TgD+j4MK+BcumwGdE1YwVS21kPLjJUu1pIdEzEDuFEBfA==} peerDependencies: puppeteer: '>= 1.5.0' dependencies: expect-puppeteer: 6.1.1 jest-environment-puppeteer: 6.1.1 - puppeteer: 18.0.0 + puppeteer: 19.2.2 transitivePeerDependencies: - debug - supports-color @@ -11520,22 +11520,38 @@ packages: resolution: {integrity: sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==} engines: {node: '>=6'} - /puppeteer/18.0.0: - resolution: {integrity: sha512-g87rnbVwRbIJF3J2399jq7bic2TSJXxv6ysaPRi61pnwHf7eVm97YO3fEIldgVKWO/nxND192YWfhaeKjkcfOg==} + /puppeteer-core/19.2.2: + resolution: {integrity: sha512-faojf+1pZ/tHXSr4x1q+9MVd9FrL3rpdbC0w7qN7MNClMoLuCvMbpR4vzcjoiJYgclt1n+SOPUOmHQViTw6frw==} engines: {node: '>=14.1.0'} - requiresBuild: true dependencies: cross-fetch: 3.1.5 debug: 4.3.4 - devtools-protocol: 0.0.1036444 + devtools-protocol: 0.0.1056733 extract-zip: 2.0.1 https-proxy-agent: 5.0.1 - progress: 2.0.3 proxy-from-env: 1.1.0 rimraf: 3.0.2 tar-fs: 2.1.1 unbzip2-stream: 1.4.3 - ws: 8.8.1 + ws: 8.10.0 + transitivePeerDependencies: + - bufferutil + - encoding + - supports-color + - utf-8-validate + dev: true + + /puppeteer/19.2.2: + resolution: {integrity: sha512-m1T5Mog5qu5+dMBptWYTn6pXRdnFbydbVUCthqwbfd8/kOiMlzZBR9ywjX79LpvI1Sj+/z8+FKeIsjnMul8ZYA==} + engines: {node: '>=14.1.0'} + requiresBuild: true + dependencies: + cosmiconfig: 7.0.1 + devtools-protocol: 0.0.1056733 + https-proxy-agent: 5.0.1 + progress: 2.0.3 + proxy-from-env: 1.1.0 + puppeteer-core: 19.2.2 transitivePeerDependencies: - bufferutil - encoding @@ -14132,19 +14148,6 @@ packages: optional: true dev: true - /ws/8.8.1: - resolution: {integrity: sha512-bGy2JzvzkPowEJV++hF07hAD6niYSr0JzBNo/J29WsB57A2r7Wlc1UFcTR9IzrPvuNVO4B8LGqF8qcpsVOhJCA==} - engines: {node: '>=10.0.0'} - peerDependencies: - bufferutil: ^4.0.1 - utf-8-validate: ^5.0.2 - peerDependenciesMeta: - bufferutil: - optional: true - utf-8-validate: - optional: true - dev: true - /xml-name-validator/4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} engines: {node: '>=12'}