@okfit/core 0.4.0 → 0.4.1

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.
@@ -62,7 +62,7 @@ const footnoteSourceUnknown = rule("footnote-source-unknown", (context, severity
62
62
  if (label === void 0 || ids.has(label) || seen.has(label)) continue;
63
63
  seen.add(label);
64
64
  const range = DiagnosticRange.fromOffset(source, start + match.index, match[0].length);
65
- out.push(diagnostic(concept.path, "footnote-source-unknown", severity, `Footnote label "${label}" matches no sources[].id`, range));
65
+ out.push(diagnostic(concept.path, "footnote-source-unknown", severity, `Footnote label "${label}" must equal a sources[].id exactly (declared: ${[...ids].join(", ")})`, range));
66
66
  }
67
67
  }
68
68
  return out;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@okfit/core",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "private": false,
5
5
  "description": "Spec-level Open Knowledge Format (OKF) v0.2 schemas, bundle loading, graph, derivation, and validation for Effect.",
6
6
  "keywords": [