@okforest/okf 0.18.1 → 0.20.0
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/dist/index.d.mts +1 -1
- package/dist/node.mjs +1 -1
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Verification, S as TypeTemplate, _ as TreeFile, a as DiagramSettings, b as TrustTier, c as Link, d as OtherMarkdown, f as Position, g as Tree, h as Status, i as Diagnostic, l as MarkdownFile, m as Source, n as CodeBlock, o as FootnoteReference, p as ReservedMarkdown, r as Concept, s as KeyPath, t as BundleMetadata, u as MermaidRenderer, v as TreeOutline, x as TypeSchema, y as TreeSettings } from "./types-CVC2lqRM.mjs";
|
|
2
1
|
import { Nodes } from "mdast";
|
|
2
|
+
import { C as Verification, S as TypeTemplate, _ as TreeFile, a as DiagramSettings, b as TrustTier, c as Link, d as OtherMarkdown, f as Position, g as Tree, h as Status, i as Diagnostic, l as MarkdownFile, m as Source, n as CodeBlock, o as FootnoteReference, p as ReservedMarkdown, r as Concept, s as KeyPath, t as BundleMetadata, u as MermaidRenderer, v as TreeOutline, x as TypeSchema, y as TreeSettings } from "./types-CVC2lqRM.mjs";
|
|
3
3
|
/** Depth-first, document-order walk over an mdast tree. */
|
|
4
4
|
export declare function visit(node: Nodes, fn: (node: Nodes) => void): void;
|
|
5
5
|
/** Strip a byte-order mark and normalize line endings to LF. */
|
package/dist/node.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { a as ignoreMatcher, f as readSettings, n as SETTINGS_PATH, o as isTypeFilePath, u as parseTree } from "./tree-BRMsNzzv.mjs";
|
|
2
1
|
import { readFile, readdir } from "node:fs/promises";
|
|
3
2
|
import { join } from "node:path";
|
|
3
|
+
import { a as ignoreMatcher, f as readSettings, n as SETTINGS_PATH, o as isTypeFilePath, u as parseTree } from "./tree-BRMsNzzv.mjs";
|
|
4
4
|
// src/node.ts
|
|
5
5
|
/**
|
|
6
6
|
* Read a tree from disk and build its model with {@link parseTree}. Reads the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okforest/okf",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"description": "Read an Open Knowledge Format (OKF) tree, 0.2 or 0.3, into a model: concepts, frontmatter, links, backlinks, trust tiers, staleness, and a metadata inventory. No SDKs or frameworks; runs in Node, browsers, and Workers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"okf",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"yaml": "^2.9.1"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@types/node": "^
|
|
52
|
-
"@vitest/coverage-v8": "^5.1.
|
|
51
|
+
"@types/node": "^22.20.7",
|
|
52
|
+
"@vitest/coverage-v8": "^5.1.2",
|
|
53
53
|
"tsdown": "^0.23.7",
|
|
54
54
|
"typescript": "^7.0.2",
|
|
55
|
-
"vitest": "^5.1.
|
|
55
|
+
"vitest": "^5.1.2"
|
|
56
56
|
},
|
|
57
57
|
"scripts": {
|
|
58
58
|
"build": "tsdown",
|