@hawkeyexl/manni 2.3.5 → 2.3.6
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-2ESHX2HT.js → chunk-3TVBXXJD.js} +2 -2
- package/dist/{chunk-FG7LVRZ3.js → chunk-CGE2SVW7.js} +2 -2
- package/dist/{chunk-HUBOM7FZ.js → chunk-UUXTFBWD.js} +11 -2
- package/dist/chunk-UUXTFBWD.js.map +1 -0
- 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-HUBOM7FZ.js.map +0 -1
- /package/dist/{chunk-2ESHX2HT.js.map → chunk-3TVBXXJD.js.map} +0 -0
- /package/dist/{chunk-FG7LVRZ3.js.map → chunk-CGE2SVW7.js.map} +0 -0
package/README.md
CHANGED
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
supportedExtensions,
|
|
62
62
|
terminalConfirm,
|
|
63
63
|
toJsonText
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-UUXTFBWD.js";
|
|
65
65
|
|
|
66
66
|
// src/meta/cli.ts
|
|
67
67
|
import { existsSync } from "node:fs";
|
|
@@ -1517,4 +1517,4 @@ export {
|
|
|
1517
1517
|
reportConfig,
|
|
1518
1518
|
buildProgram
|
|
1519
1519
|
};
|
|
1520
|
-
//# sourceMappingURL=chunk-
|
|
1520
|
+
//# sourceMappingURL=chunk-3TVBXXJD.js.map
|
|
@@ -70,7 +70,7 @@ import {
|
|
|
70
70
|
withValueAt,
|
|
71
71
|
writeEncryptionKey,
|
|
72
72
|
writeFileAtomic
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-UUXTFBWD.js";
|
|
74
74
|
|
|
75
75
|
// src/meta/core/reencrypt.ts
|
|
76
76
|
import { extname } from "node:path";
|
|
@@ -4265,4 +4265,4 @@ export {
|
|
|
4265
4265
|
runKeyRotate,
|
|
4266
4266
|
runKeySet
|
|
4267
4267
|
};
|
|
4268
|
-
//# sourceMappingURL=chunk-
|
|
4268
|
+
//# sourceMappingURL=chunk-CGE2SVW7.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: "2.3.
|
|
11
|
+
version: "2.3.6",
|
|
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: {
|
|
@@ -199,8 +199,17 @@ function isMainModule(moduleUrl) {
|
|
|
199
199
|
return false;
|
|
200
200
|
}
|
|
201
201
|
}
|
|
202
|
+
function endOutputOnClosedReader(streams = [process.stdout, process.stderr]) {
|
|
203
|
+
for (const stream of streams) {
|
|
204
|
+
stream.on("error", (err) => {
|
|
205
|
+
if (err.code === "EPIPE") return;
|
|
206
|
+
throw err;
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
}
|
|
202
210
|
function runIfMain(moduleUrl, build) {
|
|
203
211
|
if (!isMainModule(moduleUrl)) return;
|
|
212
|
+
endOutputOnClosedReader();
|
|
204
213
|
runProgram(build()).catch(fail);
|
|
205
214
|
}
|
|
206
215
|
|
|
@@ -19933,4 +19942,4 @@ export {
|
|
|
19933
19942
|
renderQuery,
|
|
19934
19943
|
renderQueryCsv
|
|
19935
19944
|
};
|
|
19936
|
-
//# sourceMappingURL=chunk-
|
|
19945
|
+
//# sourceMappingURL=chunk-UUXTFBWD.js.map
|