@hawkeyexl/manni 1.1.0 → 1.1.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.
@@ -45,7 +45,7 @@ import {
45
45
  shouldColor,
46
46
  supportedExtensions,
47
47
  toJsonText
48
- } from "./chunk-7SE7XDCL.js";
48
+ } from "./chunk-HYPDUKRU.js";
49
49
 
50
50
  // src/shared/run.ts
51
51
  import { realpathSync } from "node:fs";
@@ -1180,4 +1180,4 @@ export {
1180
1180
  runIfMain,
1181
1181
  buildProgram
1182
1182
  };
1183
- //# sourceMappingURL=chunk-WP2BP3ZX.js.map
1183
+ //# sourceMappingURL=chunk-DOQUHXK3.js.map
@@ -3,7 +3,7 @@
3
3
  // package.json
4
4
  var package_default = {
5
5
  name: "@hawkeyexl/manni",
6
- version: "1.1.0",
6
+ version: "1.1.1",
7
7
  description: "One command line for documentation that is meant to be checked. `manni meta` validates the presence and format of document metadata (Markdown frontmatter and more) against JSON Schema, built for CI. Formerly docmeta.",
8
8
  type: "module",
9
9
  bin: {
@@ -404,6 +404,7 @@ var ToolError = class extends Error {
404
404
  function errorMessage(err) {
405
405
  if (err instanceof Error) return err.message;
406
406
  if (typeof err === "string") return err;
407
+ if (typeof err === "number" || typeof err === "bigint") return String(err);
407
408
  if (typeof err === "object" && err !== null && "message" in err && typeof err.message === "string") {
408
409
  return err.message;
409
410
  }
@@ -14432,4 +14433,4 @@ export {
14432
14433
  renderQuery,
14433
14434
  renderQueryCsv
14434
14435
  };
14435
- //# sourceMappingURL=chunk-7SE7XDCL.js.map
14436
+ //# sourceMappingURL=chunk-HYPDUKRU.js.map