Skip to content

Commit 1dad4f0

Browse files
committed
chore(deps): update deps
1 parent 0b14deb commit 1dad4f0

File tree

6 files changed

+478
-254
lines changed

6 files changed

+478
-254
lines changed

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
"@sa/simple-router": "workspace:*",
6161
"@sa/utils": "workspace:*",
6262
"ahooks": "3.8.1",
63-
"antd": "5.20.3",
63+
"antd": "5.20.5",
6464
"classnames": "2.5.1",
6565
"dayjs": "1.11.13",
6666
"echarts": "5.5.1",
@@ -79,44 +79,44 @@
7979
"typeit": "8.8.4"
8080
},
8181
"devDependencies": {
82-
"@iconify/json": "2.2.241",
82+
"@iconify/json": "2.2.245",
8383
"@iconify/types": "2.0.0",
8484
"@ohh-889/react-auto-route": "0.3.2",
8585
"@sa/scripts": "workspace:*",
8686
"@sa/uno-preset": "workspace:*",
87-
"@soybeanjs/eslint-config": "1.4.0",
87+
"@soybeanjs/eslint-config": "1.4.1",
8888
"@svgr/core": "8.1.0",
8989
"@svgr/plugin-jsx": "8.1.0",
9090
"@types/gradient-string": "1.1.6",
91-
"@types/node": "22.5.0",
91+
"@types/node": "22.5.4",
9292
"@types/nprogress": "0.2.3",
93-
"@types/react": "18.3.4",
93+
"@types/react": "18.3.5",
9494
"@types/react-beautiful-dnd": "13.1.8",
9595
"@types/react-dom": "18.3.0",
9696
"@types/react-transition-group": "4.4.11",
97-
"@typescript-eslint/eslint-plugin": "8.3.0",
98-
"@typescript-eslint/parser": "8.3.0",
97+
"@typescript-eslint/eslint-plugin": "8.4.0",
98+
"@typescript-eslint/parser": "8.4.0",
9999
"@unocss/eslint-config": "0.62.3",
100100
"@unocss/preset-icons": "0.62.3",
101101
"@unocss/preset-uno": "0.62.3",
102102
"@unocss/transformer-variant-group": "0.62.3",
103103
"@unocss/vite": "0.62.3",
104104
"@vitejs/plugin-react": "4.3.1",
105105
"boxen": "8.0.1",
106-
"eslint": "9.9.1",
107-
"eslint-plugin-react": "7.35.0",
106+
"eslint": "9.10.0",
107+
"eslint-plugin-react": "7.35.2",
108108
"eslint-plugin-react-hooks": "4.6.2",
109109
"eslint-plugin-react-refresh": "0.4.11",
110110
"gradient-string": "2.0.2",
111111
"json5": "2.2.3",
112-
"lint-staged": "15.2.9",
113-
"sass": "1.77.8",
112+
"lint-staged": "15.2.10",
113+
"sass": "1.78.0",
114114
"simple-git-hooks": "2.11.1",
115-
"tsx": "4.18.0",
115+
"tsx": "4.19.0",
116116
"typescript": "5.5.4",
117117
"unplugin-auto-import": "0.18.2",
118-
"unplugin-icons": "0.19.2",
119-
"vite": "5.4.2",
118+
"unplugin-icons": "0.19.3",
119+
"vite": "5.4.3",
120120
"vite-plugin-inspect": "0.8.7",
121121
"vite-plugin-remove-console": "2.2.0",
122122
"vite-plugin-svg-icons": "2.0.1"

packages/axios/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@sa/utils": "workspace:*",
14-
"axios": "1.7.5",
14+
"axios": "1.7.7",
1515
"axios-retry": "4.5.0",
1616
"qs": "6.13.0"
1717
},

packages/scripts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@
1616
"@soybeanjs/changelog": "0.3.24",
1717
"@types/yargs": "17.0.33",
1818
"bumpp": "9.5.2",
19-
"c12": "1.11.1",
19+
"c12": "1.11.2",
2020
"cac": "6.7.14",
2121
"consola": "3.2.3",
2222
"enquirer": "2.4.1",
2323
"execa": "9.3.1",
2424
"kolorist": "1.8.0",
25-
"npm-check-updates": "17.1.0",
25+
"npm-check-updates": "17.1.1",
2626
"rimraf": "6.0.1",
2727
"yargs": "17.7.2"
2828
}

packages/simple-router/src/matcher/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ class CreateRouterMatcher {
145145
fullPath = generatePath(matcher.record.path, params);
146146
query = location.query || {};
147147
const queryParams = stringifyQuery(query);
148+
148149
fullPath += queryParams ? `?${queryParams}` : '';
149150
path = matcher.record.path;
150151
component = matcher.record.component;
@@ -160,6 +161,7 @@ class CreateRouterMatcher {
160161

161162
// matcher should have a value after the loop
162163
query = getQueryParams(location.search);
164+
163165
if (matcher) {
164166
name = matcher.record.name;
165167
fullPath = location.pathname + location.search;

packages/simple-router/src/router.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ class CreateRouter {
266266
#afterRouteChange = (state: RouterState, afterEach: RouterOptions['afterEach']) => {
267267
if (state.navigation.state === 'idle') {
268268
const from = this.currentRoute;
269+
269270
this.currentRoute = this.resolve(state.location);
270271

271272
afterEach(this.currentRoute, from);

0 commit comments

Comments
 (0)