Skip to content

Commit ce12c83

Browse files
Keith-CYrenovate[bot]yanguoyu
authored
Bump dependencies (#3003)
* chore(deps): update dependency @types/npmlog to v7 * chore(deps): update dependency electron-builder to v24 * chore(deps): update dependency electron to v28 (#357) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Keith <keithwhisper@gmail.com> Co-authored-by: yanguoyu <841185308@qq.com> * chore(deps): update dependency eslint-config-prettier to v9 * chore(deps): update dependency lint-staged to v15 * chore(deps): update dependency lerna to v8 * chore(deps): update dependency react-i18next to v14 * fix(deps): update dependency react-router-dom to v6.21.1 * chore(deps): update dependency electron to v28.1.0 (#367) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency react-i18next to v14 (#368) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update dependency storybook-addon-react-router-v6 to v2 * chore(deps): update github/codeql-action action to v3 (#370) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update node.js to v20 (#371) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update peter-evans/commit-comment action to v3 (#372) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update tj-actions/changed-files action to v41 (#373) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore: revert wait-on * fix(deps): update dependency archiver to v6 (#375) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * chore(deps): update typescript-eslint monorepo to v6 (#374) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: yanguoyu <841185308@qq.com>
1 parent 4af44ea commit ce12c83

File tree

9 files changed

+946
-697
lines changed

9 files changed

+946
-697
lines changed

.github/workflows/check-code-style.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
3232
- name: Changed Files
3333
id: changed-files
34-
uses: tj-actions/changed-files@v37
34+
uses: tj-actions/changed-files@v41
3535
with:
3636
files: "packages/**/*.{js,cjs,mjs,jsx,ts,tsx,css,scss}"
3737

.github/workflows/check_checksums.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
body="${body//$'\r'/'%0D'}"
3434
echo "body=$body" >> $GITHUB_OUTPUT
3535
36-
- uses: peter-evans/commit-comment@v2
36+
- uses: peter-evans/commit-comment@v3
3737
with:
3838
body: ${{ steps.comment_body.outputs.body }}
3939

.github/workflows/codeql-analysis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL
45-
uses: github/codeql-action/init@v2
45+
uses: github/codeql-action/init@v3
4646
with:
4747
languages: ${{ matrix.language }}
4848
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -56,7 +56,7 @@ jobs:
5656
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5757
# If this step fails, then you should remove it and run the build manually (see below)
5858
- name: Autobuild
59-
uses: github/codeql-action/autobuild@v2
59+
uses: github/codeql-action/autobuild@v3
6060

6161
# ℹ️ Command-line programs to run using the OS shell.
6262
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
@@ -69,4 +69,4 @@ jobs:
6969
# ./location_of_script_within_repo/buildscript.sh
7070

7171
- name: Perform CodeQL Analysis
72-
uses: github/codeql-action/analyze@v2
72+
uses: github/codeql-action/analyze@v3

.github/workflows/package_for_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ jobs:
211211
steps:
212212
- name: Comment by push event
213213
if: ${{ github.event_name == 'push' }}
214-
uses: peter-evans/commit-comment@v2
214+
uses: peter-evans/commit-comment@v3
215215
with:
216216
body: |
217217
Packaging for test is done in [${{ github.run_id }}](https://github.com/${{github.repository}}/actions/runs/${{github.run_id}})

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@
4343
"devDependencies": {
4444
"@babel/core": "7.23.6",
4545
"@types/jest": "27.5.2",
46-
"@types/node": "18.19.3",
47-
"@types/npmlog": "4.1.6",
48-
"@typescript-eslint/eslint-plugin": "5.62.0",
49-
"@typescript-eslint/parser": "5.62.0",
46+
"@types/node": "20.10.5",
47+
"@types/npmlog": "7.0.0",
48+
"@typescript-eslint/eslint-plugin": "6.16.0",
49+
"@typescript-eslint/parser": "6.16.0",
5050
"concurrently": "8.2.2",
5151
"cross-env": "7.0.3",
5252
"eslint": "8.56.0",
53-
"eslint-config-prettier": "8.10.0",
53+
"eslint-config-prettier": "9.1.0",
5454
"eslint-plugin-prettier": "4.2.1",
5555
"husky": "8.0.3",
56-
"lerna": "7.4.2",
57-
"lint-staged": "13.3.0",
56+
"lerna": "8.0.1",
57+
"lint-staged": "15.2.0",
5858
"ncp": "2.0.0",
5959
"prettier": "2.8.8",
6060
"ts-jest": "29.1.1",
@@ -67,6 +67,6 @@
6767
"react-i18next": ">=11.16.4"
6868
},
6969
"volta": {
70-
"node": "18.19.0"
70+
"node": "20.10.0"
7171
}
7272
}

packages/neuron-ui/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363
"react": "18.2.0",
6464
"react-dom": "18.2.0",
6565
"react-i18next": "13.5.0",
66-
"react-router-dom": "6.21.0",
66+
"react-router-dom": "6.21.1",
6767
"react-transition-group": "4.4.5",
6868
"sass": "1.69.5",
6969
"tslib": "2.6.2"
@@ -83,14 +83,14 @@
8383
"@storybook/testing-library": "0.2.2",
8484
"@types/enzyme": "3.10.18",
8585
"@types/enzyme-adapter-react-16": "1.0.9",
86-
"@types/node": "18.19.3",
86+
"@types/node": "20.10.5",
8787
"@types/react": "18.2.45",
8888
"@types/react-dom": "18.2.18",
8989
"@types/react-router-dom": "5.3.3",
9090
"@types/styled-components": "5.1.34",
9191
"@wojtekmaj/enzyme-adapter-react-17": "0.8.0",
9292
"babel-jest": "25.5.1",
93-
"electron": "24.8.8",
93+
"electron": "28.1.0",
9494
"enzyme": "3.11.0",
9595
"enzyme-adapter-react-16": "1.15.7",
9696
"eslint-config-airbnb": "19.0.4",
@@ -102,10 +102,10 @@
102102
"react-scripts": "5.0.1",
103103
"react-test-renderer": "18.2.0",
104104
"storybook": "7.6.6",
105-
"storybook-addon-react-router-v6": "1.0.2",
105+
"storybook-addon-react-router-v6": "2.0.10",
106106
"webpack": "5.89.0"
107107
},
108108
"resolutions": {
109-
"react-i18next": "12.3.1"
109+
"react-i18next": "14.0.0"
110110
}
111111
}

packages/neuron-ui/src/services/subjects.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { CONSTANTS } from 'utils'
2-
import { ipcRenderer } from 'electron'
2+
import { ipcRenderer, type IpcRendererEvent } from 'electron'
33

44
const { LOCALES } = CONSTANTS
55

@@ -37,7 +37,7 @@ const SubjectConstructor = <T>(
3737
return ipcRenderer
3838
? {
3939
subscribe: (handler: (data: T) => void) => {
40-
const handlerWrap = (_e: Event, data: T) => {
40+
const handlerWrap = (_e: IpcRendererEvent, data: T) => {
4141
handler(data)
4242
}
4343
ipcRenderer.on(channel, handlerWrap)

packages/neuron-wallet/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"@iarna/toml": "2.2.5",
5555
"@ledgerhq/hw-transport-node-hid": "6.27.22",
5656
"@spore-sdk/core": "0.1.0-beta.9",
57-
"archiver": "5.3.2",
57+
"archiver": "6.0.1",
5858
"async": "3.2.5",
5959
"bn.js": "4.12.0",
6060
"chalk": "3.0.0",
@@ -80,7 +80,7 @@
8080
"devDependencies": {
8181
"@electron/notarize": "2.2.0",
8282
"@nervosnetwork/ckb-types": "0.109.0",
83-
"@types/archiver": "3.1.1",
83+
"@types/archiver": "6.0.2",
8484
"@types/async": "3.2.24",
8585
"@types/electron-devtools-installer": "2.2.5",
8686
"@types/elliptic": "6.4.18",
@@ -93,9 +93,9 @@
9393
"@types/sqlite3": "3.1.11",
9494
"@types/uuid": "8.3.4",
9595
"devtron": "1.4.0",
96-
"electron": "24.8.8",
96+
"electron": "28.1.0",
9797
"electron-build-env": "0.2.0",
98-
"electron-builder": "23.6.0",
98+
"electron-builder": "24.9.1",
9999
"electron-devtools-installer": "3.2.0",
100100
"jest-when": "3.6.0",
101101
"neuron-ui": "0.112.0",

0 commit comments

Comments
 (0)