From 4dd8d7dde24e49eb7bb56b66146d8386a24e4d2a Mon Sep 17 00:00:00 2001 From: Max Isom Date: Sun, 29 Oct 2023 21:44:45 -0700 Subject: [PATCH] Actually fix build --- Dockerfile | 4 +- package.json | 6 +-- yarn.lock | 140 +++++++++++++++++++++++++-------------------------- 3 files changed, 73 insertions(+), 77 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2580355..d200455 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:16 +FROM node:18 ENV NODE_ENV production ENV APP_HOME=/opt/node/app @@ -9,7 +9,7 @@ WORKDIR $APP_HOME COPY --chown=node:node package.json ./ COPY --chown=node:node yarn.lock ./ -RUN yarn install --frozen-lockfile +RUN yarn install --frozen-lockfile --production=false COPY --chown=node:node . . diff --git a/package.json b/package.json index 0a6dabf..cf4f7c9 100644 --- a/package.json +++ b/package.json @@ -41,9 +41,9 @@ "@rschedule/core": "^1.2.3", "@rschedule/json-tools": "^1.2.3", "@rschedule/standard-date-adapter": "^1.2.3", - "@sentry/node": "7.24.2", - "@sentry/profiling-node": "0.0.12", - "@sentry/tracing": "7.24.2", + "@sentry/node": "7.76.0", + "@sentry/profiling-node": "1.2.1", + "@sentry/tracing": "7.76.0", "JSONStream": "1.3.5", "arr-diff": "^4.0.0", "cache-manager": "^3.4.0", diff --git a/yarn.lock b/yarn.lock index e417cef..e899ab9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -536,74 +536,75 @@ resolved "https://registry.yarnpkg.com/@rschedule/standard-date-adapter/-/standard-date-adapter-1.2.3.tgz#37b7cf76a9d2a97cb2243df4e2bc7d3b19c173a9" integrity sha512-xE7cIAvIpI81ZDo8lMQJemEKaew70m/w/1htrPsGICyM9/9ri7F0Vvd9W/ltjW9aV4NLIozuSarIJyT8GaVKKA== -"@sentry/core@7.24.2": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.24.2.tgz#d3b69cc9c5703a4b35be1d648379804b099894e6" - integrity sha512-CDfrVvr3PQ0qImJv7/6yN/5hxhwxy1HicxTL9K5RwSDoXqgK3kUGv/WmTvPNIVB2RQKodLwzS2T52NFRxRoqNw== - dependencies: - "@sentry/types" "7.24.2" - "@sentry/utils" "7.24.2" - tslib "^1.9.3" - -"@sentry/hub@^7.16.0": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-7.24.2.tgz#5d09d6ecde9ecb7dab2da8ded481b3556cc016c6" - integrity sha512-i9uSIPex6TiyUR3csC/bpn/iys9ZullbamFD7a+sdqb0zwhen5mwz0yPcuLucdbqiM99WlxiN6SKqVbvm1nYmw== - dependencies: - "@sentry/core" "7.24.2" - "@sentry/types" "7.24.2" - "@sentry/utils" "7.24.2" - tslib "^1.9.3" - -"@sentry/node@7.24.2", "@sentry/node@^7.16.0": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.24.2.tgz#7dcb2692876267e2f3f9085e60c3d2f7075ddf35" - integrity sha512-wNUwiPOBogJmqmpwsbnsgBatUqbhvUpv8HChsBI1XLgCm6DlNlpb1BQHn2Z9PEMxvr4V43HJIdsfyrTC2SpAAA== - dependencies: - "@sentry/core" "7.24.2" - "@sentry/types" "7.24.2" - "@sentry/utils" "7.24.2" - cookie "^0.4.1" +"@sentry-internal/tracing@7.76.0": + version "7.76.0" + resolved "https://registry.yarnpkg.com/@sentry-internal/tracing/-/tracing-7.76.0.tgz#36c54425bc20c08e569e6da52e13d325611cad66" + integrity sha512-QQVIv+LS2sbGf/e5P2dRisHzXpy02dAcLqENLPG4sZ9otRaFNjdFYEqnlJ4qko+ORpJGQEQp/BX7Q/qzZQHlAg== + dependencies: + "@sentry/core" "7.76.0" + "@sentry/types" "7.76.0" + "@sentry/utils" "7.76.0" + +"@sentry/core@7.76.0", "@sentry/core@^7.64.0": + version "7.76.0" + resolved "https://registry.yarnpkg.com/@sentry/core/-/core-7.76.0.tgz#b0d1dc399a862ea8a1c8a1c60a409e92eaf8e9e1" + integrity sha512-M+ptkCTeCNf6fn7p2MmEb1Wd9/JXUWxIT/0QEc+t11DNR4FYy1ZP2O9Zb3Zp2XacO7ORrlL3Yc+VIfl5JTgjfw== + dependencies: + "@sentry/types" "7.76.0" + "@sentry/utils" "7.76.0" + +"@sentry/hub@^7.64.0": + version "7.76.0" + resolved "https://registry.yarnpkg.com/@sentry/hub/-/hub-7.76.0.tgz#16cd1605884277db369152df739710959ba8944e" + integrity sha512-fFs4dP/PxgJkzjsz2lpwGeFNB5q3jsLQ52Jo/Tq3Z7caOzo5scOQCVKO024RAG8uf4ICs8FVXCxHT/c4bs5B4A== + dependencies: + "@sentry/core" "7.76.0" + "@sentry/types" "7.76.0" + "@sentry/utils" "7.76.0" + +"@sentry/node@7.76.0", "@sentry/node@^7.64.0": + version "7.76.0" + resolved "https://registry.yarnpkg.com/@sentry/node/-/node-7.76.0.tgz#9efc8bbe4825b4a5a4f853210364d21980dd790e" + integrity sha512-C+YZ5S5W9oTphdWTBgV+3nDdcV1ldnupIHylHzf2Co+xNtJ76V06N5NjdJ/l9+qvQjMn0DdSp7Uu7KCEeNBT/g== + dependencies: + "@sentry-internal/tracing" "7.76.0" + "@sentry/core" "7.76.0" + "@sentry/types" "7.76.0" + "@sentry/utils" "7.76.0" https-proxy-agent "^5.0.0" - lru_map "^0.3.3" - tslib "^1.9.3" - -"@sentry/profiling-node@0.0.12": - version "0.0.12" - resolved "https://registry.yarnpkg.com/@sentry/profiling-node/-/profiling-node-0.0.12.tgz#e8dca42f90c5134ef486408d736aca3628575737" - integrity sha512-mC4HdadpXWK71FwA6LdrFPoaROeMgFrj8tZnwXwVrndCAFCA65Go055/ICLV0QHXtd0lt6QPdspsifvSvZhFqQ== - dependencies: - "@sentry/hub" "^7.16.0" - "@sentry/node" "^7.16.0" - "@sentry/tracing" "^7.16.0" - "@sentry/types" "^7.16.0" - "@sentry/utils" "^7.16.0" - nan "^2.17.0" + +"@sentry/profiling-node@1.2.1": + version "1.2.1" + resolved "https://registry.yarnpkg.com/@sentry/profiling-node/-/profiling-node-1.2.1.tgz#b7755f95d01a8f6975c861b0f2412caa50233f4b" + integrity sha512-+bu3qRG5Yd7a34YhkHfnfkrwPmsAPdp5cUhIx5BKit4hQf7zUaIw9UOUI/+VvK9rn8SUhC0oLNQf6HQJ0CIFUQ== + dependencies: + "@sentry/core" "^7.64.0" + "@sentry/hub" "^7.64.0" + "@sentry/node" "^7.64.0" + "@sentry/types" "^7.64.0" + "@sentry/utils" "^7.64.0" + detect-libc "^2.0.1" node-abi "^3.28.0" node-gyp "^9.3.0" -"@sentry/tracing@7.24.2", "@sentry/tracing@^7.16.0": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-7.24.2.tgz#d9f0cf7d3055283a50fd38b14e0891b729c5d107" - integrity sha512-rK1HUeCLM27DGGah1+5DN0C9Y4g9dnyMU5rdrRxGQGqxIJiwzHYwJI9xoNoAVMmt8jqFliDEpYvh2jsW8593IA== +"@sentry/tracing@7.76.0": + version "7.76.0" + resolved "https://registry.yarnpkg.com/@sentry/tracing/-/tracing-7.76.0.tgz#f238ea4205aac9f00b12fee6e8b5041a32b6a201" + integrity sha512-EgpvTp5IbEsfKAoQw+LxIkH7e3YrzQm1iR/dqa6F8wjSr+lABkSvaXNL5k5xrMB2BWqtu1Rpvf3F6+qpoMu9cw== dependencies: - "@sentry/core" "7.24.2" - "@sentry/types" "7.24.2" - "@sentry/utils" "7.24.2" - tslib "^1.9.3" + "@sentry-internal/tracing" "7.76.0" -"@sentry/types@7.24.2", "@sentry/types@^7.16.0": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.24.2.tgz#2ef728db8eea14de8ba916896837d0cbeb3d28da" - integrity sha512-x2LEnKBPzUVzTGspvB0CjZmt1dWeJsLVHGeDKPUMUm004nIscFCxJsmYefqaJQdaIUMqDit5ApwcmKchuK6VKQ== +"@sentry/types@7.76.0", "@sentry/types@^7.64.0": + version "7.76.0" + resolved "https://registry.yarnpkg.com/@sentry/types/-/types-7.76.0.tgz#628c9899bfa82ea762708314c50fd82f2138587d" + integrity sha512-vj6z+EAbVrKAXmJPxSv/clpwS9QjPqzkraMFk2hIdE/kii8s8kwnkBwTSpIrNc8GnzV3qYC4r3qD+BXDxAGPaw== -"@sentry/utils@7.24.2", "@sentry/utils@^7.16.0": - version "7.24.2" - resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.24.2.tgz#7120a8d36bd1d05043c902a0f22fbc2012fe2116" - integrity sha512-VuuYEF39v43Qk6YZMid8Em/N0HqCsS5ItuTSvunMtBai2dzDAIkJ2LqemF95wWFAXrzpLy4Nx3QyGVHayMn31A== +"@sentry/utils@7.76.0", "@sentry/utils@^7.64.0": + version "7.76.0" + resolved "https://registry.yarnpkg.com/@sentry/utils/-/utils-7.76.0.tgz#6b540b387d3ac539abd20978f4d3ae235114f6ab" + integrity sha512-40jFD+yfQaKpFYINghdhovzec4IEpB7aAuyH/GtE7E0gLpcqnC72r55krEIVILfqIR2Mlr5OKUzyeoCyWAU/yw== dependencies: - "@sentry/types" "7.24.2" - tslib "^1.9.3" + "@sentry/types" "7.76.0" "@sindresorhus/is@^4.0.0": version "4.6.0" @@ -2479,11 +2480,6 @@ cookie@0.5.0, cookie@^0.5.0: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b" integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw== -cookie@^0.4.1: - version "0.4.2" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.2.tgz#0e41f24de5ecf317947c82fc789e06a884824432" - integrity sha512-aSWTXFzaKWkvHO1Ny/s+ePFpvKsPnjc551iI41v3ny/ow6tBG5Vd+FuqGNhh1LxOmVzOlGUriIlOaokOvhaStA== - cookiejar@^2.1.3: version "2.1.3" resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.3.tgz#fc7a6216e408e74414b90230050842dacda75acc" @@ -2765,6 +2761,11 @@ destroy@~1.0.4: resolved "https://registry.yarnpkg.com/destroy/-/destroy-1.0.4.tgz#978857442c44749e4206613e37946205826abd80" integrity sha512-3NdhDuEXnfun/z7x9GOElY49LoqVHoGScmOKwmxhsS8N5Y+Z8KyPPDnaSzqWgYt/ji4mqwfTS34Htrk0zPIXVg== +detect-libc@^2.0.1: + version "2.0.2" + resolved "https://registry.yarnpkg.com/detect-libc/-/detect-libc-2.0.2.tgz#8ccf2ba9315350e1241b88d0ac3b0e1fbd99605d" + integrity sha512-UX6sGumvvqSaXgdKGUsgZWqcUyIXZ/vZTrlRT/iobiKhGL0zL4d3osHj3uqllWJK+i+sixDS/3COVEOFbupFyw== + dezalgo@1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/dezalgo/-/dezalgo-1.0.3.tgz#7f742de066fc748bc8db820569dddce49bf0d456" @@ -5257,11 +5258,6 @@ lru-cache@^7.7.1: resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-7.14.1.tgz#8da8d2f5f59827edb388e63e459ac23d6d408fea" integrity sha512-ysxwsnTKdAx96aTRdhDOCQfDgbHnt8SK0KY8SEjO0wHinhWOFTESbjVCMPbU1uGXg/ch4lifqx0wfjOawU2+WA== -lru_map@^0.3.3: - version "0.3.3" - resolved "https://registry.yarnpkg.com/lru_map/-/lru_map-0.3.3.tgz#b5c8351b9464cbd750335a79650a0ec0e56118dd" - integrity sha512-Pn9cox5CsMYngeDbmChANltQl+5pi6XmTrraMSzhPmMBbmgcxmqWry0U3PGapCU1yB4/LqCcom7qhHZiF/jGfQ== - luxon@^1.23.x: version "1.28.0" resolved "https://registry.yarnpkg.com/luxon/-/luxon-1.28.0.tgz#e7f96daad3938c06a62de0fb027115d251251fbf" @@ -5677,7 +5673,7 @@ mute-stream@0.0.8: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -nan@^2.15.0, nan@^2.16.0, nan@^2.17.0: +nan@^2.15.0, nan@^2.16.0: version "2.17.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb" integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ== @@ -7605,7 +7601,7 @@ tslib@2.4.0, tslib@^2.1.0, tslib@^2.4.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.4.0.tgz#7cecaa7f073ce680a05847aa77be941098f36dc3" integrity sha512-d6xOpEDfsi2CZVlPQzGeux8XMwLT9hssAsaPYExaQMuYskwb+x1x7J371tWlbBdWHroy99KnVB6qIkUbs5X3UQ== -tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: +tslib@^1.8.1, tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==