@hawkeyexl/manni 4.0.0 → 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-J3KIKNWZ.js → chunk-KSH7XS2R.js} +2 -2
- package/dist/{chunk-YDUFTHBZ.js → chunk-L26XRFBJ.js} +2 -2
- package/dist/{chunk-O7RMPQZ4.js → chunk-TK5PYPFU.js} +10 -7
- package/dist/{chunk-O7RMPQZ4.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-J3KIKNWZ.js.map → chunk-KSH7XS2R.js.map} +0 -0
- /package/dist/{chunk-YDUFTHBZ.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: {
|
|
@@ -14759,6 +14759,7 @@ var LOG_ARGS = [
|
|
|
14759
14759
|
"core.quotePath=false",
|
|
14760
14760
|
"log",
|
|
14761
14761
|
"--raw",
|
|
14762
|
+
"--diff-merges=first-parent",
|
|
14762
14763
|
"-M",
|
|
14763
14764
|
"--no-abbrev",
|
|
14764
14765
|
RECORD_FORMAT
|
|
@@ -15030,7 +15031,7 @@ function judge(input, root, history, blobs, now, machines, manifestStamp2) {
|
|
|
15030
15031
|
lastBodyCommit = null;
|
|
15031
15032
|
const working = input.extracted.data["last-updated"];
|
|
15032
15033
|
const committed = stampsOf(headBlob)["last-updated"];
|
|
15033
|
-
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");
|
|
15034
15035
|
} else if (newestBody === void 0) {
|
|
15035
15036
|
lastBodyCommit = null;
|
|
15036
15037
|
lastUpdated = null;
|
|
@@ -15322,10 +15323,12 @@ function sameValue(a, b) {
|
|
|
15322
15323
|
return toJsonText(a) === toJsonText(b);
|
|
15323
15324
|
}
|
|
15324
15325
|
var short2 = (sha) => sha.slice(0, 7);
|
|
15325
|
-
var datePart = (iso) =>
|
|
15326
|
-
|
|
15327
|
-
|
|
15328
|
-
|
|
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);
|
|
15329
15332
|
}
|
|
15330
15333
|
function nameOf(trailer) {
|
|
15331
15334
|
const lt = trailer.lastIndexOf("<");
|
|
@@ -25110,4 +25113,4 @@ export {
|
|
|
25110
25113
|
renderQuery,
|
|
25111
25114
|
renderQueryCsv
|
|
25112
25115
|
};
|
|
25113
|
-
//# sourceMappingURL=chunk-
|
|
25116
|
+
//# sourceMappingURL=chunk-TK5PYPFU.js.map
|