Skip to content

Commit 8a77e7a

Browse files
committed
Update frontend dependencies
1 parent 1405b23 commit 8a77e7a

8 files changed

Lines changed: 1754 additions & 1256 deletions

File tree

AGENTS.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Current Scope
44

5-
FlashMaster is now a Vite + Vue 3 + Vuetify 3 dense Memory Chip Intelligence
5+
FlashMaster is now a Vite + Vue 3 + Vuetify dense Memory Chip Intelligence
66
Platform for memory-chip part-number lookup, NAND Flash ID lookup, database
77
search, and result inspection. It is no longer in the Step 1 migration phase.
88

@@ -21,8 +21,13 @@ marketing-style first screen.
2121
- `pnpm build:singlefile:nano`
2222
- `pnpm build:singlefile:pico`
2323
- `pnpm preview`
24-
- The app is built with Vite, Vue 3, Vue Router 4, Vue I18n 11, Vuetify 3, and
24+
- The app is built with Vite, Vue 3, Vue Router, Vue I18n, Vuetify, and
2525
Material Design Icons.
26+
- Keep frontend/runtime tooling dependencies on the latest compatible versions
27+
by default. When dependency major versions move, update `package.json` and
28+
`pnpm-lock.yaml` together and run `pnpm lint` plus `pnpm build`.
29+
- Do not pin repository notes or docs to old major dependency versions unless a
30+
known compatibility constraint requires it.
2631
- Keep Vuetify components manually registered on demand in `src/main.js`.
2732
Do not use `import * as components from 'vuetify/components'` or
2833
`import * as directives from 'vuetify/directives'`; when adding Vuetify UI,

README-zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ FlashMaster 是一个工作站级别的静态 Vue 应用。与偏向营销的落
2626

2727
FlashMaster 采用“轻 UI,重引擎”的设计哲学。
2828

29-
- **前端:** 基于 [Vue 3](https://vuejs.org/)[Vuetify 3](https://vuetifyjs.com/)[Vite](https://vitejs.dev/) 构建。
29+
- **前端:** 基于 [Vue 3](https://vuejs.org/)[Vuetify](https://vuetifyjs.com/)[Vite](https://vitejs.dev/) 构建。
3030
- **引擎 ([fdnext](https://github.com/iTXTech/fdnext)):** 核心逻辑由作为 Git 子模块引入的 `fdnext` 引擎驱动。它处理所有的解析、规则匹配和数据库查询。
3131
- **双后端模式:**
3232
- **内嵌模式:** 引擎直接在浏览器中运行,无需服务器。

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ FlashMaster is a workstation-grade static Vue application. Unlike marketing-heav
2626

2727
FlashMaster is designed with a "Thin UI, Thick Engine" philosophy.
2828

29-
- **Frontend:** Built with [Vue 3](https://vuejs.org/), [Vuetify 3](https://vuetifyjs.com/), and [Vite](https://vitejs.dev/).
29+
- **Frontend:** Built with [Vue 3](https://vuejs.org/), [Vuetify](https://vuetifyjs.com/), and [Vite](https://vitejs.dev/).
3030
- **Engine ([fdnext](https://github.com/iTXTech/fdnext)):** The core logic is powered by the `fdnext` engine, bundled as a Git submodule. It handles all parsing, rule matching, and database queries.
3131
- **Dual Backends:**
3232
- **Embedded:** The engine runs directly in the browser. No server required.

package.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,19 @@
1616
"dependencies": {
1717
"@mdi/js": "^7.4.47",
1818
"lightweight-charts": "^5.2.0",
19-
"vue": "^3.5.24",
20-
"vue-i18n": "^11.1.12",
21-
"vue-router": "^4.5.1",
22-
"vuetify": "^3.10.9"
19+
"vue": "^3.5.38",
20+
"vue-i18n": "^11.4.6",
21+
"vue-router": "^5.1.0",
22+
"vuetify": "^4.1.2"
2323
},
2424
"devDependencies": {
25-
"@eslint/js": "^9.39.1",
26-
"@vitejs/plugin-vue": "^6.0.2",
27-
"eslint": "^9.39.1",
28-
"eslint-plugin-vue": "^10.6.0",
29-
"globals": "^16.5.0",
30-
"sass": "^1.99.0",
31-
"vite": "^7.2.6",
25+
"@eslint/js": "^10.0.1",
26+
"@vitejs/plugin-vue": "^6.0.7",
27+
"eslint": "^10.5.0",
28+
"eslint-plugin-vue": "^10.9.2",
29+
"globals": "^17.6.0",
30+
"sass": "^1.101.0",
31+
"vite": "^8.0.16",
3232
"vite-plugin-pwa": "^1.3.0",
3333
"vite-plugin-singlefile": "2.3.3"
3434
}

pnpm-lock.yaml

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

src/lang/chs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,5 +223,5 @@ export default {
223223
open: '打开',
224224
yes: '是',
225225
no: '否',
226-
about: '<div class="about-section"><div class="about-heading">FlashMaster</div><div><a href="https://github.com/iTXTech/FlashMaster" target="_blank" rel="noopener noreferrer">iTXTech FlashMaster</a> 是一个专为工程师打造的工作站级智能平台,提供高密度的交互界面,用于存储芯片料号查询、NAND Flash ID 解码、数据库搜索以及结果分析。</div></div><div class="about-section"><div class="about-heading">架构</div><div>当前版本基于 Vite、Vue 3、Vuetify 3 和 pnpm 构建,可在浏览器构建中内嵌 fdnext,也可调用配置的 fdnext HTTP API。</div></div><div class="about-section"><div class="about-heading">fdnext</div><div><a href="https://github.com/iTXTech/fdnext" target="_blank" rel="noopener noreferrer">iTXTech fdnext</a> 是 FlashMaster 的解析与数据引擎,提供统一规则、资源、搜索与标准结果模型,用于存储芯片料号和 NAND Flash ID 智能分析。解析器形态:<strong>{1}</strong>。</div></div><div class="about-section"><div class="about-heading">许可证</div><div>FlashMaster 基于 GNU Affero General Public License v3.0(AGPL 3.0)发布。</div></div><div class="about-section about-contact"><div class="about-heading">联系作者</div><a class="about-contact-link" href="mailto:peratx&#64;itxtech.org">PeratX &lt;peratx&#64;itxtech.org&gt;</a></div><div class="about-section about-meta">客户端:{0}<br/>Copyright © 2019-2026 <a href="https://itxtech.org" target="_blank" rel="noopener noreferrer">iTX Technologies</a></div>'
226+
about: '<div class="about-section"><div class="about-heading">FlashMaster</div><div><a href="https://github.com/iTXTech/FlashMaster" target="_blank" rel="noopener noreferrer">iTXTech FlashMaster</a> 是一个专为工程师打造的工作站级智能平台,提供高密度的交互界面,用于存储芯片料号查询、NAND Flash ID 解码、数据库搜索以及结果分析。</div></div><div class="about-section"><div class="about-heading">架构</div><div>当前版本基于 Vite、Vue 3、Vuetify 和 pnpm 构建,可在浏览器构建中内嵌 fdnext,也可调用配置的 fdnext HTTP API。</div></div><div class="about-section"><div class="about-heading">fdnext</div><div><a href="https://github.com/iTXTech/fdnext" target="_blank" rel="noopener noreferrer">iTXTech fdnext</a> 是 FlashMaster 的解析与数据引擎,提供统一规则、资源、搜索与标准结果模型,用于存储芯片料号和 NAND Flash ID 智能分析。解析器形态:<strong>{1}</strong>。</div></div><div class="about-section"><div class="about-heading">许可证</div><div>FlashMaster 基于 GNU Affero General Public License v3.0(AGPL 3.0)发布。</div></div><div class="about-section about-contact"><div class="about-heading">联系作者</div><a class="about-contact-link" href="mailto:peratx&#64;itxtech.org">PeratX &lt;peratx&#64;itxtech.org&gt;</a></div><div class="about-section about-meta">客户端:{0}<br/>Copyright © 2019-2026 <a href="https://itxtech.org" target="_blank" rel="noopener noreferrer">iTX Technologies</a></div>'
227227
}

src/lang/eng.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,5 +223,5 @@ export default {
223223
open: 'Open',
224224
yes: 'Yes',
225225
no: 'No',
226-
about: '<div class="about-section"><div class="about-heading">FlashMaster</div><div><a href="https://github.com/iTXTech/FlashMaster" target="_blank" rel="noopener noreferrer">iTXTech FlashMaster</a> is a workstation-grade intelligence platform for engineers, featuring a high-density, interactive interface for memory-chip part-number lookup, NAND Flash ID decoding, database search, and result inspection.</div></div><div class="about-section"><div class="about-heading">Architecture</div><div>The current version is built with Vite, Vue 3, Vuetify 3, and pnpm. It can run with embedded fdnext in browser builds, or call a configured fdnext HTTP API.</div></div><div class="about-section"><div class="about-heading">fdnext</div><div><a href="https://github.com/iTXTech/fdnext" target="_blank" rel="noopener noreferrer">iTXTech fdnext</a> is the parsing and data engine behind FlashMaster, providing shared rules, resources, search, and canonical result models for memory-chip PN and NAND Flash ID intelligence. Parser build: <strong>{1}</strong>.</div></div><div class="about-section"><div class="about-heading">License</div><div>FlashMaster is distributed under the GNU Affero General Public License v3.0 (AGPL 3.0).</div></div><div class="about-section about-contact"><div class="about-heading">Contact</div><a class="about-contact-link" href="mailto:peratx&#64;itxtech.org">PeratX &lt;peratx&#64;itxtech.org&gt;</a></div><div class="about-section about-meta">Client: {0}<br/>Copyright © 2019-2026 <a href="https://itxtech.org" target="_blank" rel="noopener noreferrer">iTX Technologies</a></div>'
226+
about: '<div class="about-section"><div class="about-heading">FlashMaster</div><div><a href="https://github.com/iTXTech/FlashMaster" target="_blank" rel="noopener noreferrer">iTXTech FlashMaster</a> is a workstation-grade intelligence platform for engineers, featuring a high-density, interactive interface for memory-chip part-number lookup, NAND Flash ID decoding, database search, and result inspection.</div></div><div class="about-section"><div class="about-heading">Architecture</div><div>The current version is built with Vite, Vue 3, Vuetify, and pnpm. It can run with embedded fdnext in browser builds, or call a configured fdnext HTTP API.</div></div><div class="about-section"><div class="about-heading">fdnext</div><div><a href="https://github.com/iTXTech/fdnext" target="_blank" rel="noopener noreferrer">iTXTech fdnext</a> is the parsing and data engine behind FlashMaster, providing shared rules, resources, search, and canonical result models for memory-chip PN and NAND Flash ID intelligence. Parser build: <strong>{1}</strong>.</div></div><div class="about-section"><div class="about-heading">License</div><div>FlashMaster is distributed under the GNU Affero General Public License v3.0 (AGPL 3.0).</div></div><div class="about-section about-contact"><div class="about-heading">Contact</div><a class="about-contact-link" href="mailto:peratx&#64;itxtech.org">PeratX &lt;peratx&#64;itxtech.org&gt;</a></div><div class="about-section about-meta">Client: {0}<br/>Copyright © 2019-2026 <a href="https://itxtech.org" target="_blank" rel="noopener noreferrer">iTX Technologies</a></div>'
227227
}

src/services/marketApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ export async function fetchMarketQuotes(options = {}) {
446446
primaryError?.message || String(primaryError),
447447
`${fallbackName}: ${fallbackError?.message || String(fallbackError)}`
448448
].join('; ');
449-
throw new Error(message);
449+
throw new Error(message, { cause: fallbackError });
450450
}
451451
}
452452
}
@@ -536,7 +536,7 @@ export async function fetchMarketCandles(asset, options = {}) {
536536
primaryError?.message || String(primaryError),
537537
`Fallback candles: ${fallbackError?.message || String(fallbackError)}`
538538
].join('; ');
539-
throw new Error(message);
539+
throw new Error(message, { cause: fallbackError });
540540
}
541541
}
542542

0 commit comments

Comments
 (0)