From 57065d95c2025347bfeaac1e261bb866fddaffd1 Mon Sep 17 00:00:00 2001 From: ghe Date: Fri, 18 Feb 2022 11:19:33 +0000 Subject: [PATCH 1/2] test: use Node 14 + grab latest headless chrome --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 65338e2..7ac5e4f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -13,7 +13,7 @@ commands: - run: name: Install Headless Chrome dependencies command: | - sudo apt-get install -yq \ + sudo apt update && sudo apt-get install -yq \ gconf-service libasound2 libatk1.0-0 libatk-bridge2.0-0 libc6 libcairo2 libcups2 libdbus-1-3 \ libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 \ libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 \ @@ -53,7 +53,7 @@ jobs: only_for_branches: master build-test: docker: - - image: circleci/node:12 + - image: circleci/node:14 steps: - slack/notify: channel: C0137E8F72A @@ -72,7 +72,7 @@ jobs: only_for_branches: master build-test-from-fork: docker: - - image: circleci/node:12 + - image: circleci/node:14 steps: - checkout - install_deps From 309489a74218350149e93eee852e4a2ff7db9ad2 Mon Sep 17 00:00:00 2001 From: ghe Date: Fri, 18 Feb 2022 11:54:27 +0000 Subject: [PATCH 2/2] fix: upgrade node-fetch to fix vuln https://snyk.io/vuln/SNYK-JS-NODEFETCH-2342118 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 4ae3794..5d0a8de 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,7 @@ "debug": "4.3.3", "handlebars": "4.7.7", "lodash": "4.17.21", - "node-fetch": "2.6.6", + "node-fetch": "2.6.7", "p-map": "4.0.0", "puppeteer": "5.4.1", "snyk-api-ts-client": "1.8.1",