Skip to content

Commit 9cd2ef8

Browse files
fix(deps): update all major dependencies
1 parent 323945a commit 9cd2ef8

File tree

5 files changed

+61
-64
lines changed

5 files changed

+61
-64
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v5
2020
with:
2121
# We must fetch at least the immediate parents so that if this is
2222
# a pull request then we can checkout the head.
@@ -29,15 +29,15 @@ jobs:
2929

3030
# Initializes the CodeQL tools for scanning.
3131
- name: Initialize CodeQL
32-
uses: github/codeql-action/init@v1
32+
uses: github/codeql-action/init@v3
3333
# Override language selection by uncommenting this and choosing your languages (go, javascript, csharp, python, cpp, java)
3434
with:
3535
languages: javascript
3636

3737
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3838
# If this step fails, then you should remove it and run the build manually (see below)
3939
- name: Autobuild
40-
uses: github/codeql-action/autobuild@v1
40+
uses: github/codeql-action/autobuild@v3
4141

4242
# ℹ️ Command-line programs to run using the OS shell.
4343
# 📚 https://git.io/JvXDl
@@ -51,4 +51,4 @@ jobs:
5151
# make release
5252

5353
- name: Perform CodeQL Analysis
54-
uses: github/codeql-action/analyze@v1
54+
uses: github/codeql-action/analyze@v3

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
node-version: [20.x, 22.x]
2828

2929
steps:
30-
- uses: actions/checkout@v3
30+
- uses: actions/checkout@v5
3131
- name: Use Node.js ${{ matrix.node-version }}
32-
uses: actions/setup-node@v3
32+
uses: actions/setup-node@v4
3333
with:
3434
node-version: ${{ matrix.node-version }}
3535
- run: env | sort
@@ -50,7 +50,7 @@ jobs:
5050
buildDemo:
5151
runs-on: ubuntu-latest
5252
steps:
53-
- uses: actions/checkout@v3
53+
- uses: actions/checkout@v5
5454
- name: Install React
5555
run: npm install react react-dom prop-types
5656
- run: npm install

example/package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
"version": "0.1.0",
44
"private": true,
55
"dependencies": {
6-
"@testing-library/jest-dom": "^5.17.0",
7-
"@testing-library/react": "^13.4.0",
8-
"@testing-library/user-event": "^13.5.0",
9-
"@types/jest": "^27.5.2",
10-
"@types/node": "^16.18.69",
11-
"@types/react": "^18.2.46",
6+
"@testing-library/jest-dom": "^6.0.0",
7+
"@testing-library/react": "^16.0.0",
8+
"@testing-library/user-event": "^14.0.0",
9+
"@types/jest": "^30.0.0",
10+
"@types/node": "^22.0.0",
11+
"@types/react": "^19.0.0",
1212
"bootstrap": "^5.3.2",
13-
"react": "^18.2.0",
14-
"react-dom": "^18.2.0",
13+
"react": "^19.0.0",
14+
"react-dom": "^19.0.0",
1515
"react-scripts": "5.0.1",
1616
"react-scrollable-feed": "file:..",
17-
"typescript": "^4.9.5",
18-
"web-vitals": "^2.1.4"
17+
"typescript": "^5.0.0",
18+
"web-vitals": "^5.0.0"
1919
},
2020
"scripts": {
2121
"start": "react-scripts start",
@@ -43,6 +43,6 @@
4343
]
4444
},
4545
"devDependencies": {
46-
"@types/react-dom": "^18.2.18"
46+
"@types/react-dom": "^19.0.0"
4747
}
4848
}

package-lock.json

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

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
},
3030
"peerDependencies": {
3131
"prop-types": "^15.7.2",
32-
"react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0",
33-
"react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0"
32+
"react": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
33+
"react-dom": "^15.0.0 || ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
3434
},
3535
"devDependencies": {
36-
"@types/react": "^18.2.46",
37-
"cross-env": "^7.0.3",
36+
"@types/react": "^19.0.0",
37+
"cross-env": "^10.0.0",
3838
"cypress": "^14.4.1",
3939
"microbundle": "^0.15.1"
4040
},

0 commit comments

Comments
 (0)