From 28db707b2d5fd93137fc417fbc903071f43ec808 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sun, 11 May 2025 09:58:55 +0000 Subject: [PATCH] fix: package.json & yarn.lock to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-BABELRUNTIME-10044504 --- package.json | 4 ++-- yarn.lock | 34 ++++++++++++++++++++++++++-------- 2 files changed, 28 insertions(+), 10 deletions(-) diff --git a/package.json b/package.json index d13f505..21d0197 100644 --- a/package.json +++ b/package.json @@ -59,13 +59,13 @@ }, "dependencies": { "@testing-library/jest-dom": "^5.16.4", - "@testing-library/react": "^13.1.0", + "@testing-library/react": "^16.0.0", "@testing-library/user-event": "^14.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", "react-icons": "^4.3.1", "react-markdown": "^8.0.3", - "react-router-dom": "^6.3.0", + "react-router-dom": "^6.4.0", "react-router-prop-types": "^1.0.5", "react-scripts": "5.0.1", "serve": "^14.1.0", diff --git a/yarn.lock b/yarn.lock index bbffe79..5129616 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2220,6 +2220,11 @@ resolved "https://registry.npmjs.org/@popperjs/core/-/core-2.11.5.tgz" integrity sha512-9X2obfABZuDVLCgPK9aX0a/x4jaOEweTTWE2+9sr0Qqqevj2Uv5XorvusThmc9XGYpS9yI+fhh8RTafBtGposw== +"@remix-run/router@1.23.0": + version "1.23.0" + resolved "https://registry.yarnpkg.com/@remix-run/router/-/router-1.23.0.tgz#35390d0e7779626c026b11376da6789eb8389242" + integrity sha512-O3rHJzAQKamUz1fvE0Qaw0xSFqsA/yafi2iqeE0pvdFtCO1viYx8QL6f3Ln/aCCTLxs68SLf0KPM9eSeM8yBnA== + "@rollup/plugin-babel@^5.2.0": version "5.3.1" resolved "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.1.tgz" @@ -3531,7 +3536,7 @@ "@svgr/plugin-svgo" "^5.5.0" loader-utils "^2.0.0" -"@testing-library/dom@^8.3.0", "@testing-library/dom@^8.5.0": +"@testing-library/dom@^8.3.0": version "8.13.0" resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.13.0.tgz#bc00bdd64c7d8b40841e27a70211399ad3af46f5" integrity sha512-9VHgfIatKNXQNaZTtLnalIy0jNZzY35a4S3oi08YAt9Hv1VsfZ/DfA45lM8D/UhtHBGJ4/lGwp0PZkVndRkoOQ== @@ -3560,14 +3565,12 @@ lodash "^4.17.15" redent "^3.0.0" -"@testing-library/react@^13.1.0": - version "13.2.0" - resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-13.2.0.tgz#2db00bc94d71c4e90e5c25582e90a650ae2925bf" - integrity sha512-Bprbz/SZVONCJy5f7hcihNCv313IJXdYiv0nSJklIs1SQCIHHNlnGNkosSXnGZTmesyGIcBGNppYhXcc11pb7g== +"@testing-library/react@^16.0.0": + version "16.3.0" + resolved "https://registry.yarnpkg.com/@testing-library/react/-/react-16.3.0.tgz#3a85bb9bdebf180cd76dba16454e242564d598a6" + integrity sha512-kFSyxiEDwv1WLl2fgsq6pPBbw5aWKrsY2/noi1Id0TK0UParSF62oFQFGHXIyaG4pp2tEub/Zlel+fjjZILDsw== dependencies: "@babel/runtime" "^7.12.5" - "@testing-library/dom" "^8.5.0" - "@types/react-dom" "^18.0.0" "@testing-library/user-event@^13.2.1": version "13.5.0" @@ -15453,7 +15456,7 @@ react-refresh@^0.11.0: resolved "https://registry.npmjs.org/react-refresh/-/react-refresh-0.11.0.tgz" integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A== -react-router-dom@^6.0.0, react-router-dom@^6.3.0: +react-router-dom@^6.0.0: version "6.3.0" resolved "https://registry.npmjs.org/react-router-dom/-/react-router-dom-6.3.0.tgz" integrity sha512-uaJj7LKytRxZNQV8+RbzJWnJ8K2nPsOOEuX7aQstlMZKQT0164C+X2w6bnkqU3sjtLvpd5ojrezAyfZ1+0sStw== @@ -15461,6 +15464,14 @@ react-router-dom@^6.0.0, react-router-dom@^6.3.0: history "^5.2.0" react-router "6.3.0" +react-router-dom@^6.4.0: + version "6.30.0" + resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-6.30.0.tgz#a64774104508bff56b1affc2796daa3f7e76b7df" + integrity sha512-x30B78HV5tFk8ex0ITwzC9TTZMua4jGyA9IUlH1JLQYQTFyxr/ZxwOJq7evg1JX1qGVUcvhsmQSKdPncQrjTgA== + dependencies: + "@remix-run/router" "1.23.0" + react-router "6.30.0" + react-router-prop-types@^1.0.5: version "1.0.5" resolved "https://registry.npmjs.org/react-router-prop-types/-/react-router-prop-types-1.0.5.tgz" @@ -15476,6 +15487,13 @@ react-router@6.3.0, react-router@^6.0.0: dependencies: history "^5.2.0" +react-router@6.30.0: + version "6.30.0" + resolved "https://registry.yarnpkg.com/react-router/-/react-router-6.30.0.tgz#9789d775e63bc0df60f39ced77c8c41f1e01ff90" + integrity sha512-D3X8FyH9nBcTSHGdEKurK7r8OYE1kKFn3d/CF+CoxbSHkxU7o37+Uh7eAHRXr6k2tSExXYO++07PeXJtA/dEhQ== + dependencies: + "@remix-run/router" "1.23.0" + react-scripts@5.0.1: version "5.0.1" resolved "https://registry.npmjs.org/react-scripts/-/react-scripts-5.0.1.tgz"