@hawkeyexl/manni 4.0.1 → 4.0.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/README.md +1 -1
- package/dist/{chunk-RBAJIEGC.js → chunk-KSH7XS2R.js} +2 -2
- package/dist/{chunk-Z2RBN4N4.js → chunk-L26XRFBJ.js} +2 -2
- package/dist/{chunk-DJ2WOJIG.js → chunk-TK5PYPFU.js} +9 -7
- package/dist/{chunk-DJ2WOJIG.js.map → chunk-TK5PYPFU.js.map} +1 -1
- package/dist/cli.js +3 -3
- package/dist/docmeta.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- /package/dist/{chunk-RBAJIEGC.js.map → chunk-KSH7XS2R.js.map} +0 -0
- /package/dist/{chunk-Z2RBN4N4.js.map → chunk-L26XRFBJ.js.map} +0 -0
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
terminalConfirm,
|
|
64
64
|
toJsonText,
|
|
65
65
|
warn
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-TK5PYPFU.js";
|
|
67
67
|
|
|
68
68
|
// src/meta/cli.ts
|
|
69
69
|
import { existsSync } from "node:fs";
|
|
@@ -1533,4 +1533,4 @@ export {
|
|
|
1533
1533
|
reportConfig,
|
|
1534
1534
|
buildProgram
|
|
1535
1535
|
};
|
|
1536
|
-
//# sourceMappingURL=chunk-
|
|
1536
|
+
//# sourceMappingURL=chunk-KSH7XS2R.js.map
|
|
@@ -90,7 +90,7 @@ import {
|
|
|
90
90
|
writeEncryptionKey,
|
|
91
91
|
writeFileAtomic,
|
|
92
92
|
writeTextAtomic
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-TK5PYPFU.js";
|
|
94
94
|
|
|
95
95
|
// src/meta/core/reencrypt.ts
|
|
96
96
|
import { extname } from "node:path";
|
|
@@ -13905,4 +13905,4 @@ export {
|
|
|
13905
13905
|
renderTemplates,
|
|
13906
13906
|
renderTools
|
|
13907
13907
|
};
|
|
13908
|
-
//# sourceMappingURL=chunk-
|
|
13908
|
+
//# sourceMappingURL=chunk-L26XRFBJ.js.map
|
|
@@ -8,7 +8,7 @@ var __export = (target, all) => {
|
|
|
8
8
|
// package.json
|
|
9
9
|
var package_default = {
|
|
10
10
|
name: "@hawkeyexl/manni",
|
|
11
|
-
version: "4.0.
|
|
11
|
+
version: "4.0.2",
|
|
12
12
|
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.",
|
|
13
13
|
type: "module",
|
|
14
14
|
bin: {
|
|
@@ -15031,7 +15031,7 @@ function judge(input, root, history, blobs, now, machines, manifestStamp2) {
|
|
|
15031
15031
|
lastBodyCommit = null;
|
|
15032
15032
|
const working = input.extracted.data["last-updated"];
|
|
15033
15033
|
const committed = stampsOf(headBlob)["last-updated"];
|
|
15034
|
-
lastUpdated = working !== void 0 && working !== null && !sameValue(working, committed) ? git(working, "stamped in working tree") : git(
|
|
15034
|
+
lastUpdated = working !== void 0 && working !== null && !sameValue(working, committed) ? git(working, "stamped in working tree") : git(utcDate2(now()), "uncommitted body change");
|
|
15035
15035
|
} else if (newestBody === void 0) {
|
|
15036
15036
|
lastBodyCommit = null;
|
|
15037
15037
|
lastUpdated = null;
|
|
@@ -15323,10 +15323,12 @@ function sameValue(a, b) {
|
|
|
15323
15323
|
return toJsonText(a) === toJsonText(b);
|
|
15324
15324
|
}
|
|
15325
15325
|
var short2 = (sha) => sha.slice(0, 7);
|
|
15326
|
-
var datePart = (iso) =>
|
|
15327
|
-
|
|
15328
|
-
|
|
15329
|
-
|
|
15326
|
+
var datePart = (iso) => {
|
|
15327
|
+
const d = new Date(iso);
|
|
15328
|
+
return Number.isNaN(d.getTime()) ? "" : utcDate2(d);
|
|
15329
|
+
};
|
|
15330
|
+
function utcDate2(d) {
|
|
15331
|
+
return d.toISOString().slice(0, 10);
|
|
15330
15332
|
}
|
|
15331
15333
|
function nameOf(trailer) {
|
|
15332
15334
|
const lt = trailer.lastIndexOf("<");
|
|
@@ -25111,4 +25113,4 @@ export {
|
|
|
25111
25113
|
renderQuery,
|
|
25112
25114
|
renderQueryCsv
|
|
25113
25115
|
};
|
|
25114
|
-
//# sourceMappingURL=chunk-
|
|
25116
|
+
//# sourceMappingURL=chunk-TK5PYPFU.js.map
|