diff --git a/.github/workflows/pr-actions.yml b/.github/workflows/pr-actions.yml index c09e70d..7d146b8 100644 --- a/.github/workflows/pr-actions.yml +++ b/.github/workflows/pr-actions.yml @@ -4,7 +4,7 @@ on: [pull_request] jobs: backend-jest-test: runs-on: ubuntu-latest - container: buildkite/puppeteer:5.2.1 + container: satantime/puppeteer-node:16-bullseye-slim steps: - name: Check out repo code diff --git a/.nvmrc b/.nvmrc index 83f2a92..7fd0237 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v12.18.3 +v16.15.0 diff --git a/Dockerfile b/Dockerfile index 1a3d461..46b412c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:12.18.3-slim +FROM node:16.15.0-slim RUN apt-get update -y @@ -26,7 +26,7 @@ RUN rm -rf node_modules RUN yarn install --prod -FROM node:12.18.3-slim +FROM node:16.15.0-slim RUN apt-get update \ && apt-get install -y wget gnupg \ diff --git a/package.json b/package.json index 60a1811..44f338a 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "bull": "^3.29.0", "ioredis": "^4.27.2", "node-config-ts": "^3.0.4", - "puppeteer": "^13.0.1", + "puppeteer": "^15.4.0", "vm2": "^3.9.4" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 1cfb0f2..e09478d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1792,10 +1792,10 @@ detect-newline@^3.0.0: resolved "https://registry.yarnpkg.com/detect-newline/-/detect-newline-3.1.0.tgz#576f5dfc63ae1a192ff192d8ad3af6308991b651" integrity sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA== -devtools-protocol@0.0.969999: - version "0.0.969999" - resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.969999.tgz#3d6be0a126b3607bb399ae2719b471dda71f3478" - integrity sha512-6GfzuDWU0OFAuOvBokXpXPLxjOJ5DZ157Ue3sGQQM3LgAamb8m0R0ruSfN0DDu+XG5XJgT50i6zZ/0o8RglreQ== +devtools-protocol@0.0.1019158: + version "0.0.1019158" + resolved "https://registry.yarnpkg.com/devtools-protocol/-/devtools-protocol-0.0.1019158.tgz#4b08d06108a784a2134313149626ba55f030a86f" + integrity sha512-wvq+KscQ7/6spEV7czhnZc9RM/woz1AY+/Vpd8/h2HFMwJSdTliu7f/yr1A6vDdJfKICZsShqsYpEQbdhg8AFQ== diff-sequences@^26.6.2: version "26.6.2" @@ -2600,7 +2600,15 @@ http-proxy-agent@^4.0.1: agent-base "6" debug "4" -https-proxy-agent@5.0.0, https-proxy-agent@^5.0.0: +https-proxy-agent@5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.1.tgz#c59ef224a04fe8b754f3db0063a25ea30d0005d6" + integrity sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA== + dependencies: + agent-base "6" + debug "4" + +https-proxy-agent@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-5.0.0.tgz#e2a90542abb68a762e0a0850f6c9edadfd8506b2" integrity sha512-EkYm5BcKUGiduxzSt3Eppko+PiNWNEpa4ySk9vTC6wDsQJW9rHSa+UhGNJoRYp7bz6Ht1eaRIa6QaJqO5rCFbA== @@ -4297,23 +4305,23 @@ punycode@^2.1.0, punycode@^2.1.1: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -puppeteer@^13.0.1: - version "13.5.2" - resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-13.5.2.tgz#73ae84969cbf514aeee871a05ec4549d67f6abee" - integrity sha512-DJAyXODBikZ3xPs8C35CtExEw78LZR9RyelGDAs0tX1dERv3OfW7qpQ9VPBgsfz+hG2HiMTO/Tyf7BuMVWsrxg== +puppeteer@^15.4.0: + version "15.5.0" + resolved "https://registry.yarnpkg.com/puppeteer/-/puppeteer-15.5.0.tgz#446e01547ba0f47c37ac2148e5333433b4ecb371" + integrity sha512-+vZPU8iBSdCx1Kn5hHas80fyo0TiVyMeqLGv/1dygX2HKhAZjO9YThadbRTCoTYq0yWw+w/CysldPsEekDtjDQ== dependencies: cross-fetch "3.1.5" debug "4.3.4" - devtools-protocol "0.0.969999" + devtools-protocol "0.0.1019158" extract-zip "2.0.1" - https-proxy-agent "5.0.0" + https-proxy-agent "5.0.1" pkg-dir "4.2.0" 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.5.0" + ws "8.8.0" queue-microtask@^1.2.2: version "1.2.3" @@ -5482,10 +5490,10 @@ write-file-atomic@^3.0.0: signal-exit "^3.0.2" typedarray-to-buffer "^3.1.5" -ws@8.5.0: - version "8.5.0" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.5.0.tgz#bfb4be96600757fe5382de12c670dab984a1ed4f" - integrity sha512-BWX0SWVgLPzYwF8lTzEy1egjhS4S4OEAHfsO8o65WOVsrnSRGaSiUaa9e0ggGlkMTtBlmOpEXiie9RUcBO86qg== +ws@8.8.0: + version "8.8.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.8.0.tgz#8e71c75e2f6348dbf8d78005107297056cb77769" + integrity sha512-JDAgSYQ1ksuwqfChJusw1LSJ8BizJ2e/vVu5Lxjq3YvNJNlROv1ui4i+c/kUUrPheBvQl4c5UbERhTwKa6QBJQ== ws@^7.4.6: version "7.5.7"