@calcit/procs 0.12.38 → 0.12.39
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/.yarn/install-state.gz
CHANGED
|
Binary file
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# check-md 与 EDN 报错(2026-06-03)
|
|
2
|
+
|
|
3
|
+
- `collect_check_md_module_paths`:用 `extract_modules_from_edn` 只读 `configs.modules`,避免对旧格式大快照(如 `demos/calcit.cirru` 的 `%Expr` 代码字段)做全量 `load_snapshot_data`。
|
|
4
|
+
- `check-md`:`prepare_program_for_snippet` 以 entry 快照为底、最后写入 `app.main`;no-run 优先编译片段里的 `app.main` defs;片段若全是顶层 `def/defn/defcomp/...` 则拆成多个 `CodeEntry`(`create_file_from_snippet`)。
|
|
5
|
+
- `data/edn.rs`:反序列化失败时在 `got:` 里把旧 `%Expr`/`%Leaf` 还原为格式化 Cirru(约 520 字上限),`snapshot`/`call_stack` 错误预览走同一套。
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# 2026-06-04 check-md 入口加载与 app.main 注入
|
|
2
|
+
|
|
3
|
+
- `prepare_program_for_snippet` 加载 entry snapshot 失败时不再回退空 snapshot,改为直接报错。
|
|
4
|
+
- `extract_modules_from_edn` 对畸形 `configs.modules` 返回明确 EDN 预览,不再静默忽略。
|
|
5
|
+
- check-md 注入片段固定使用 `app.main/main!`,避免误跑 entry 项目的 `:init-fn`(如 memof 测试套件)。
|
|
6
|
+
- `docs/run/cli-options.md` 注明 Run 模式使用 `app.main/main!`。
|
package/lib/package.json
CHANGED