dsh-session-superagent 0.9.66 → 0.9.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/README.md +1 -1
- package/client.js +1786 -1786
- package/lib/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,37 @@
|
|
|
2
2
|
|
|
3
3
|
格式参照 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),版本号遵循 [语义化版本](https://semver.org/lang/zh-CN/)。
|
|
4
4
|
|
|
5
|
+
## [0.9.68] - 2026-11-02 —— 变异测试抓到一条"疑似失明"的指标
|
|
6
|
+
|
|
7
|
+
### 发生了什么
|
|
8
|
+
给 `UI 体检` 加注入时,三种写法(JSX inline 样式 / 自有样式块 / 文件首行注释)都没能改变
|
|
9
|
+
「写死颜色」这个数字,而**同一段表达式在独立进程里算同一个文件得到 9**。
|
|
10
|
+
也就是说:审计脚本打印的 0 与它自己的计算对不上 —— 指标疑似失明。
|
|
11
|
+
|
|
12
|
+
### 处理(先不盲改)
|
|
13
|
+
1. 撤掉这条注入(它证明不了检查有效);
|
|
14
|
+
2. `gate-coverage.json` 增加 `suspect` 字段写明原因;
|
|
15
|
+
3. `verify-gates` 每次打印「疑似失明」清单;验收清单里显示 `⚠️`;
|
|
16
|
+
4. 其余 3 个新注入(语法 / profile 断链 / 单行长度)保留 → 覆盖 **14/27**。
|
|
17
|
+
|
|
18
|
+
> **这轮最大的产出不是覆盖率 +3,而是发现一条一直在骗人的指标。**
|
|
19
|
+
|
|
20
|
+
## [0.9.67] - 2026-11-02 —— 注入验证变成"表格驱动 + 覆盖率可见"
|
|
21
|
+
|
|
22
|
+
### 做了什么
|
|
23
|
+
1. `test/fixtures/gate-coverage.json`:哪几项检查有注入样例,一处登记;
|
|
24
|
+
2. 新增 3 个注入(**错误建议**超长 / **全库文档一致**假工具名 / **文案快照**改标题)→ **11/11 全被检测到**;
|
|
25
|
+
3. `verify-gates` 结尾打印覆盖率:
|
|
26
|
+
```
|
|
27
|
+
注入覆盖:11/27 项检查有注入验证
|
|
28
|
+
未验证(不一定是问题,但要知道):单测 node --test、临时目录收口、门禁自检、…
|
|
29
|
+
```
|
|
30
|
+
4. `docs/验收清单.md` 多一列「注入验证」✅/—,并写明 **✅ = 有注入样例;— = 还没注入过,不等于没检查**。
|
|
31
|
+
|
|
32
|
+
### 为什么值得
|
|
33
|
+
"哪些门禁被验过"以前只在我脑子里;现在写在表里,而且**没验过的会自己列出来**。
|
|
34
|
+
这让"覆盖率提升"变成一个可以持续推进的清单,而不是一次性的热情。
|
|
35
|
+
|
|
5
36
|
## [0.9.66] - 2026-11-02 —— 门禁自检扩到 8 项注入(并把它跑快)
|
|
6
37
|
|
|
7
38
|
### 做了什么
|
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<img src="assets/icon-180.png" width="88" height="88" alt="">
|
|
4
4
|
|
|
5
5
|
[](LICENSE)
|
|
6
|
-
[](https://github.com/MYCF711/dsh-session-superagent/releases)
|
|
7
7
|
[](https://www.npmjs.com/package/dsh-session-superagent)
|
|
8
8
|
[](https://github.com/topics/dsh-plugin)
|
|
9
9
|
|