Skip to content

Commit 7197b48

Browse files
committed
fix: package.json & yarn.lock to reduce vulnerabilities
The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-NEXTAUTH-13744118 - https://snyk.io/vuln/SNYK-JS-VALIDATOR-13395830
1 parent 1c964bb commit 7197b48

File tree

2 files changed

+45
-40
lines changed

2 files changed

+45
-40
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"lru-cache": "^7.14.1",
4141
"nanoid": "^4.0.0",
4242
"next": "^12.3.1",
43-
"next-auth": "^4.14.0",
43+
"next-auth": "^4.24.12",
4444
"next-pwa": "^5.5.5",
4545
"next-seo": "^5.4.0",
4646
"next-themes": "^0.2.0",
@@ -59,7 +59,7 @@
5959
"sharp": "^0.30.6",
6060
"simple-xml-to-json": "^1.0.9",
6161
"ts-node": "^10.8.1",
62-
"validator": "^13.7.0",
62+
"validator": "^13.15.20",
6363
"web3": "^1.7.3",
6464
"web3.storage": "4.2.0",
6565
"webtorrent": "^1.8.32"

yarn.lock

Lines changed: 43 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1075,6 +1075,11 @@
10751075
dependencies:
10761076
regenerator-runtime "^0.13.4"
10771077

1078+
"@babel/runtime@^7.20.13":
1079+
version "7.28.4"
1080+
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.28.4.tgz#a70226016fabe25c5783b2f22d3e1c9bc5ca3326"
1081+
integrity sha512-Q/N6JNWvIvPnLDvjlE1OUBLPQHH6l3CltCEsHIujp45zQUSSh8K+gHnaEX45yAT1nyngnINhvWtzN+Nb9D8RAQ==
1082+
10781083
"@babel/template@^7.15.4":
10791084
version "7.15.4"
10801085
resolved "https://registry.npmjs.org/@babel/template/-/template-7.15.4.tgz"
@@ -2444,10 +2449,10 @@
24442449
"@octokit/webhooks-types" "5.2.0"
24452450
aggregate-error "^3.1.0"
24462451

2447-
"@panva/hkdf@^1.0.1":
2448-
version "1.0.1"
2449-
resolved "https://registry.yarnpkg.com/@panva/hkdf/-/hkdf-1.0.1.tgz#ed0da773bd5f794d0603f5a5b5cee6d2354e5660"
2450-
integrity sha512-mMyQ9vjpuFqePkfe5bZVIf/H3Dmk6wA8Kjxff9RcO4kqzJo+Ek9pGKwZHpeMr7Eku0QhLXMCd7fNCSnEnRMubg==
2452+
"@panva/hkdf@^1.0.2":
2453+
version "1.2.1"
2454+
resolved "https://registry.yarnpkg.com/@panva/hkdf/-/hkdf-1.2.1.tgz#cb0d111ef700136f4580349ff0226bf25c853f23"
2455+
integrity sha512-6oclG6Y3PiDFcoyk8srjLfVKyMfVCKJ27JwNPViuXziFpmdz+MZnZN/aKY0JGXgYuO/VghU0jcOAZgWXZ1Dmrw==
24512456

24522457
"@prisma/client@^4.5.0":
24532458
version "4.5.0"
@@ -5036,10 +5041,10 @@ cookie@0.4.1:
50365041
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.1.tgz#afd713fe26ebd21ba95ceb61f9a8116e50a537d1"
50375042
integrity sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA==
50385043

5039-
cookie@^0.5.0:
5040-
version "0.5.0"
5041-
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.5.0.tgz#d1f5d71adec6558c58f389987c366aa47e994f8b"
5042-
integrity sha512-YZ3GUyn/o8gfKJlnlX7g7xq4gyO6OSuhGPKaaGssGB2qgDUS0gPgtTvoyZLTt9Ab6dC4hfc9dV5arkvc/OCmrw==
5044+
cookie@^0.7.0:
5045+
version "0.7.2"
5046+
resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.7.2.tgz#556369c472a2ba910f2979891b526b3436237ed7"
5047+
integrity sha512-yki5XnKuf750l50uGTllt6kKILY4nQ1eNIQatoXEByZ5dWgnKqbnqmTrBE5B4N7lrMJKQ2ytWMiTO2o0v6Ew/w==
50435048

50445049
cookiejar@^2.1.1:
50455050
version "2.1.3"
@@ -8312,10 +8317,10 @@ join-async-iterator@^1.1.1:
83128317
resolved "https://registry.yarnpkg.com/join-async-iterator/-/join-async-iterator-1.1.1.tgz#7d2857d7f4066267861888d264769e842110d07e"
83138318
integrity sha512-ATse+nuNeKZ9K1y27LKdvPe/GCe9R/u9dw9vI248e+vILeRK3IcJP4JUPAlSmKRCDK0cKhEwfmiw4Skqx7UnGQ==
83148319

8315-
jose@^4.1.4, jose@^4.9.3:
8316-
version "4.10.3"
8317-
resolved "https://registry.yarnpkg.com/jose/-/jose-4.10.3.tgz#36ffeae395f14624a99961db6ada957476eccb19"
8318-
integrity sha512-3S4wQnaoJKSAx9uHSoyf8B/lxjs1qCntHWL6wNFszJazo+FtWe+qD0zVfY0BlqJ5HHK4jcnM98k3BQzVLbzE4g==
8320+
jose@^4.15.5, jose@^4.15.9:
8321+
version "4.15.9"
8322+
resolved "https://registry.yarnpkg.com/jose/-/jose-4.15.9.tgz#9b68eda29e9a0614c042fa29387196c7dd800100"
8323+
integrity sha512-1vUQX+IdDMVPj4k8kOxgUqlcK518yluMuGZwqlr44FS1ppZB/5GWh4rZG89erpOBOJjU/OBsnCVFfapsRz6nEA==
83198324

83208325
js-cookie@^3.0.1:
83218326
version "3.0.1"
@@ -9247,17 +9252,17 @@ netmask@^2.0.1:
92479252
resolved "https://registry.yarnpkg.com/netmask/-/netmask-2.0.2.tgz#8b01a07644065d536383835823bc52004ebac5e7"
92489253
integrity sha512-dBpDMdxv9Irdq66304OLfEmQ9tbNRFnFTuZiLo+bD+r332bBmMJ8GBLXklIXXgxd3+v9+KUnZaUR5PJMa75Gsg==
92499254

9250-
next-auth@^4.14.0:
9251-
version "4.14.0"
9252-
resolved "https://registry.yarnpkg.com/next-auth/-/next-auth-4.14.0.tgz#d2c6d4ebeac5e7e9ba1519fb778c65f6efe00079"
9253-
integrity sha512-pD5sin6kq/uIx3Cod2/0JFnViEnngBTTNy4CdfRaYc2QzV2zwpWAbQny2Ezlg0GjEozDhKC53JJxRRE4AmNKEw==
9255+
next-auth@^4.24.12:
9256+
version "4.24.13"
9257+
resolved "https://registry.yarnpkg.com/next-auth/-/next-auth-4.24.13.tgz#e55e524b3c060d670c3fa2c0731026894b9897c6"
9258+
integrity sha512-sgObCfcfL7BzIK76SS5TnQtc3yo2Oifp/yIpfv6fMfeBOiBJkDWF3A2y9+yqnmJ4JKc2C+nMjSjmgDeTwgN1rQ==
92549259
dependencies:
9255-
"@babel/runtime" "^7.16.3"
9256-
"@panva/hkdf" "^1.0.1"
9257-
cookie "^0.5.0"
9258-
jose "^4.9.3"
9260+
"@babel/runtime" "^7.20.13"
9261+
"@panva/hkdf" "^1.0.2"
9262+
cookie "^0.7.0"
9263+
jose "^4.15.5"
92599264
oauth "^0.9.15"
9260-
openid-client "^5.1.0"
9265+
openid-client "^5.4.0"
92619266
preact "^10.6.3"
92629267
preact-render-to-string "^5.1.19"
92639268
uuid "^8.3.2"
@@ -9488,9 +9493,9 @@ object-assign@^4, object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1
94889493
resolved "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz"
94899494
integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=
94909495

9491-
object-hash@^2.0.1:
9496+
object-hash@^2.2.0:
94929497
version "2.2.0"
9493-
resolved "https://registry.npmjs.org/object-hash/-/object-hash-2.2.0.tgz"
9498+
resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-2.2.0.tgz#5ad518581eefc443bd763472b8ff2e9c2c0d54a5"
94949499
integrity sha512-gScRMn0bS5fH+IuwyIFgnh9zBdo4DV+6GhygmWM9HyNJSgS0hScp1f5vjtm7oIIOiT9trXrShAkLFSc2IqKNgw==
94959500

94969501
object-hash@^3.0.0:
@@ -9574,10 +9579,10 @@ octokit@^1.8.0:
95749579
"@octokit/plugin-throttling" "^3.5.1"
95759580
"@octokit/types" "^6.35.0"
95769581

9577-
oidc-token-hash@^5.0.1:
9578-
version "5.0.1"
9579-
resolved "https://registry.npmjs.org/oidc-token-hash/-/oidc-token-hash-5.0.1.tgz"
9580-
integrity sha512-EvoOtz6FIEBzE+9q253HsLCVRiK/0doEJ2HCvvqMQb3dHZrP3WlJKYtJ55CRTw4jmYomzH4wkPuCj/I3ZvpKxQ==
9582+
oidc-token-hash@^5.0.3:
9583+
version "5.1.1"
9584+
resolved "https://registry.yarnpkg.com/oidc-token-hash/-/oidc-token-hash-5.1.1.tgz#d35e31ca26d3a26678f5e9bda100b095ab58011f"
9585+
integrity sha512-D7EmwxJV6DsEB6vOFLrBM2OzsVgQzgPWyHlV2OOAVj772n+WTXpudC9e9u5BVKQnYwaD30Ivhi9b+4UeBcGu9g==
95819586

95829587
on-finished@~2.3.0:
95839588
version "2.3.0"
@@ -9600,15 +9605,15 @@ onetime@^5.1.2:
96009605
dependencies:
96019606
mimic-fn "^2.1.0"
96029607

9603-
openid-client@^5.1.0:
9604-
version "5.1.1"
9605-
resolved "https://registry.yarnpkg.com/openid-client/-/openid-client-5.1.1.tgz#4b6597c34444f77494e1a057e93ad83875529324"
9606-
integrity sha512-vwbS4T7hpaWol0GerNabnslUWTxq1NHjnLqdFovzqWlLHW5kp08Tme8FSSeTswABjSC9d88ofTFnfAYy/zwtlQ==
9608+
openid-client@^5.4.0:
9609+
version "5.7.1"
9610+
resolved "https://registry.yarnpkg.com/openid-client/-/openid-client-5.7.1.tgz#34cace862a3e6472ed7d0a8616ef73b7fb85a9c3"
9611+
integrity sha512-jDBPgSVfTnkIh71Hg9pRvtJc6wTwqjRkN88+gCFtYWrlP4Yx2Dsrow8uPi3qLr/aeymPF3o2+dS+wOpglK04ew==
96079612
dependencies:
9608-
jose "^4.1.4"
9613+
jose "^4.15.9"
96099614
lru-cache "^6.0.0"
9610-
object-hash "^2.0.1"
9611-
oidc-token-hash "^5.0.1"
9615+
object-hash "^2.2.0"
9616+
oidc-token-hash "^5.0.3"
96129617

96139618
optionator@^0.8.1:
96149619
version "0.8.3"
@@ -12176,10 +12181,10 @@ validate-npm-package-license@^3.0.1:
1217612181
spdx-correct "^3.0.0"
1217712182
spdx-expression-parse "^3.0.0"
1217812183

12179-
validator@^13.7.0:
12180-
version "13.7.0"
12181-
resolved "https://registry.yarnpkg.com/validator/-/validator-13.7.0.tgz#4f9658ba13ba8f3d82ee881d3516489ea85c0857"
12182-
integrity sha512-nYXQLCBkpJ8X6ltALua9dRrZDHVYxjJ1wgskNt1lH9fzGjs3tgojGSCBjmEPwkWS1y29+DrizMTW19Pr9uB2nw==
12184+
validator@^13.15.20:
12185+
version "13.15.20"
12186+
resolved "https://registry.yarnpkg.com/validator/-/validator-13.15.20.tgz#054e9238109538a1bf46ae3e1290845a64fa2186"
12187+
integrity sha512-KxPOq3V2LmfQPP4eqf3Mq/zrT0Dqp2Vmx2Bn285LwVahLc+CsxOM0crBHczm8ijlcjZ0Q5Xd6LW3z3odTPnlrw==
1218312188

1218412189
varint@^5.0.0:
1218512190
version "5.0.2"

0 commit comments

Comments
 (0)