difftab 0.1.1 → 0.1.2

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/bin/difftab.js CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  // difftab CLI 入口 —— 版本守卫。
3
3
  //
4
- // 本文件手写维护,不参与 TypeScript 编译、不作为任何打包入口(spec §5.1 / §10)。
4
+ // 本文件手写维护,不参与 TypeScript 编译、不作为任何打包入口。
5
5
  // 一旦它进了构建管线,就可能被注入超出 Node 22 的语法或被合并进主模块,
6
6
  // 低于下限的用户拿到的将是解析期 SyntaxError —— 守卫在解析期即失效。
7
7
  //
@@ -17,7 +17,7 @@
17
17
  import { writeSync } from 'node:fs';
18
18
 
19
19
  /**
20
- * 退出前的报错**一律 `writeSync(2, …)`**(spec §5.8 红线)。
20
+ * 退出前的报错**一律 `writeSync(2, …)`**(红线)。
21
21
  *
22
22
  * `process.stderr.write(…)` + `process.exit()` 在 Windows 上写**管道**时是异步的,
23
23
  * 整条消息会被丢掉 —— 症状是 stderr 全空、只剩一个退出码。而**文件重定向看不出