Skip to content

Commit a718a9f

Browse files
authored
Merge pull request #1681 from ccnmtl/dependabot/npm_and_yarn/react-router-dom-7.8.0
Bump react-router-dom from 6.28.0 to 7.8.0
2 parents 2c14e5b + 721a38b commit a718a9f

File tree

4 files changed

+45
-27
lines changed

4 files changed

+45
-27
lines changed

jest.setup.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import { TextEncoder } from 'util';
2+
3+
global.TextEncoder = TextEncoder;
14
import "@testing-library/jest-dom";
25

36
// Polyfill "window.fetch" used in the React component.

package-lock.json

Lines changed: 38 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"react": "^19.1.0",
3535
"react-dom": "^19.1.0",
3636
"react-ga4": "~2.1.0",
37-
"react-router-dom": "^6.0.2",
37+
"react-router-dom": "^7.8.0",
3838
"typescript": "^5.4.5"
3939
},
4040
"devDependencies": {

tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"compilerOptions": {
3-
"module": "esnext",
4-
"target": "es5",
3+
"module": "node16",
4+
"target": "ES2015",
55
"lib": ["es6", "dom", "es2016", "es2017"],
66
"sourceMap": true,
77
"jsx": "react",
8-
"moduleResolution": "node",
8+
"moduleResolution": "node16",
99
"allowSyntheticDefaultImports": true,
1010
"esModuleInterop": true,
1111
"resolveJsonModule": true

0 commit comments

Comments
 (0)