Skip to content

Commit 865e125

Browse files
committed
更新除了GUI以外的所有依赖(GUI那一坨真的搞不动),美化了底栏的配置信息
1 parent c6237d1 commit 865e125

5 files changed

Lines changed: 3475 additions & 2862 deletions

File tree

package.json

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,20 @@
1010
"lint:fix": "eslint . --fix"
1111
},
1212
"devDependencies": {
13-
"@antfu/eslint-config": "^3.9.1",
14-
"eslint": "^9.15.0",
15-
"eslint-plugin-format": "^0.1.2"
13+
"@antfu/eslint-config": "^3.16.0",
14+
"eslint": "^9.39.4",
15+
"eslint-plugin-format": "^0.1.3"
1616
},
1717
"pnpm": {
1818
"supportedArchitectures": {
19-
"os": ["current"],
20-
"cpu": ["x64", "arm64", "ia32"]
19+
"os": [
20+
"current"
21+
],
22+
"cpu": [
23+
"x64",
24+
"arm64",
25+
"ia32"
26+
]
2127
}
2228
}
2329
}

packages/core/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@
1717
},
1818
"dependencies": {
1919
"@starknt/sysproxy": "^0.0.3",
20-
"@vscode/sudo-prompt": "^9.3.1",
20+
"@vscode/sudo-prompt": "^9.3.2",
2121
"fix-path": "^3.0.0",
2222
"iconv-lite": "^0.6.3",
23-
"lodash": "^4.17.21",
23+
"lodash": "^4.18.1",
2424
"log4js": "^6.9.1",
2525
"node-powershell": "^4.0.0",
2626
"spawn-sync": "^2.0.0",
2727
"winreg": "^1.2.5"
2828
},
2929
"devDependencies": {
30-
"chai": "^4.3.4",
31-
"mocha": "^8.2.1"
30+
"chai": "^4.5.0",
31+
"mocha": "^8.4.0"
3232
}
3333
}

packages/gui/src/view/App.vue

Lines changed: 45 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -149,12 +149,13 @@ export default {
149149
<template>
150150
<a-config-provider :locale="locale">
151151
<div class="ds_layout" :class="themeClass">
152-
<SearchBar ref="searchBar"
153-
:root="'#document'"
154-
:highlightClass="'search-bar-highlight'"
155-
:selectedClass="'selected-highlight'"
156-
:hiden.sync="hideSearchBar"
157-
style="inset:auto auto 53px 210px; background-color:#ddd"
152+
<SearchBar
153+
ref="searchBar"
154+
root="#document"
155+
highlight-class="search-bar-highlight"
156+
selected-class="selected-highlight"
157+
:hiden.sync="hideSearchBar"
158+
style="inset:auto auto 53px 210px; background-color:#ddd"
158159
/>
159160
<a-layout>
160161
<a-layout-sider :theme="theme" style="overflow-y: auto">
@@ -187,9 +188,44 @@ export default {
187188
</a-layout-content>
188189
<a-layout-footer>
189190
<div class="footer">
190-
出厂自带配置id: {{ (info.configProfiles && info.configProfiles.internal && info.configProfiles.internal.id) || '-' }} 版本: {{ (info.configProfiles && info.configProfiles.internal && info.configProfiles.internal.version) || '-' }}<br>
191-
共享远程配置id: {{ (info.configProfiles && info.configProfiles.sharedRemote && info.configProfiles.sharedRemote.id) || '-' }} 版本: {{ (info.configProfiles && info.configProfiles.sharedRemote && info.configProfiles.sharedRemote.version) || '-' }}<br>
192-
个人远程配置id: {{ (info.configProfiles && info.configProfiles.personalRemote && info.configProfiles.personalRemote.id) || '-' }} 版本: {{ (info.configProfiles && info.configProfiles.personalRemote && info.configProfiles.personalRemote.version) || '-' }}<br>
191+
<table style="margin: 0 auto">
192+
<thead>
193+
<tr>
194+
<th>配置类型</th>
195+
<th>ID</th>
196+
<th>版本</th>
197+
</tr>
198+
</thead>
199+
<tr>
200+
<td>
201+
出厂自带
202+
</td>
203+
<td>
204+
<code>{{ (info.configProfiles && info.configProfiles.internal && info.configProfiles.internal.id) || '-' }}</code>
205+
</td>
206+
<td>
207+
<code>{{ (info.configProfiles && info.configProfiles.internal && info.configProfiles.internal.version) || '-' }}</code>
208+
</td>
209+
</tr>
210+
<tr>
211+
<td>共享远程</td>
212+
<td>
213+
<code>{{ (info.configProfiles && info.configProfiles.sharedRemote && info.configProfiles.sharedRemote.id) || '-' }}</code>
214+
</td>
215+
<td>
216+
<code>{{ (info.configProfiles && info.configProfiles.sharedRemote && info.configProfiles.sharedRemote.version) || '-' }}</code>
217+
</td>
218+
</tr>
219+
<tr>
220+
<td>个人远程</td>
221+
<td>
222+
<code>{{ (info.configProfiles && info.configProfiles.personalRemote && info.configProfiles.personalRemote.id) || '-' }}</code>
223+
</td>
224+
<td>
225+
<code>{{ (info.configProfiles && info.configProfiles.personalRemote && info.configProfiles.personalRemote.version) || '-' }}</code>
226+
</td>
227+
</tr>
228+
</table>
193229
©2020-2026 docmirror.cn by <a @click="openExternal('https://github.com/greper')">Greper</a>, <a @click="openExternal('https://github.com/wangliang181230')">WangLiang</a>, <a @click="openExternal('https://github.com/cute-omega')">CuteOmega</a> <span>{{ info.version }}</span>
194230
</div>
195231
</a-layout-footer>

packages/mitmproxy/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@
1414
},
1515
"dependencies": {
1616
"@docmirror/dev-sidecar": "workspace:*",
17-
"agentkeepalive": "^4.5.0",
18-
"axios": "^1.7.7",
17+
"agentkeepalive": "^4.6.0",
18+
"axios": "^1.15.0",
1919
"baidu-aip-sdk": "^4.16.16",
2020
"dns-over-http": "^0.2.0",
2121
"is-browser": "^2.1.0",
2222
"json5": "^2.2.3",
23-
"lodash": "^4.17.21",
24-
"lru-cache": "^7.15.0",
25-
"node-forge": "^1.3.1",
23+
"lodash": "^4.18.1",
24+
"lru-cache": "^7.18.3",
25+
"node-forge": "^1.4.0",
2626
"stream-throttle": "^0.1.3",
2727
"through2": "^4.0.2",
2828
"tunnel-agent": "^0.6.0"

0 commit comments

Comments
 (0)