@hawkeyexl/manni 2.3.0 → 2.3.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-7QVYG66K.js → chunk-4XNZNHQH.js} +2 -2
- package/dist/{chunk-UCLMW3RE.js → chunk-KFB6EYK3.js} +2 -2
- package/dist/{chunk-UCLMW3RE.js.map → chunk-KFB6EYK3.js.map} +1 -1
- package/dist/{chunk-ZWPVZUJI.js → chunk-PTCA7ETL.js} +98 -15
- package/dist/chunk-PTCA7ETL.js.map +1 -0
- package/dist/cli.js +9 -8
- package/dist/cli.js.map +1 -1
- package/dist/docmeta.js +2 -2
- package/dist/index.d.ts +7 -4
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-ZWPVZUJI.js.map +0 -1
- /package/dist/{chunk-7QVYG66K.js.map → chunk-4XNZNHQH.js.map} +0 -0
package/dist/docmeta.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
buildProgram
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4XNZNHQH.js";
|
|
5
5
|
import {
|
|
6
6
|
runIfMain
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KFB6EYK3.js";
|
|
8
8
|
|
|
9
9
|
// src/docmeta.ts
|
|
10
10
|
runIfMain(import.meta.url, () => buildProgram().name("docmeta"));
|
package/dist/index.d.ts
CHANGED
|
@@ -4148,9 +4148,10 @@ declare function detectEol(text: string): "\n" | "\r\n";
|
|
|
4148
4148
|
/**
|
|
4149
4149
|
* The paragraph starting at or after `offset` (skipping blank lines), as
|
|
4150
4150
|
* `{ start, end, line }` file offsets and the file line it starts on. A fence
|
|
4151
|
-
* opener ends the search with no paragraph.
|
|
4151
|
+
* opener ends the search with no paragraph. Given a `format`, a marker-only
|
|
4152
|
+
* line is skipped like a blank one before the paragraph, and ends it after.
|
|
4152
4153
|
*/
|
|
4153
|
-
declare function paragraphAfter(content: string, offset: number): {
|
|
4154
|
+
declare function paragraphAfter(content: string, offset: number, format?: string): {
|
|
4154
4155
|
start: number;
|
|
4155
4156
|
end: number;
|
|
4156
4157
|
line: number;
|
|
@@ -4203,8 +4204,10 @@ declare function insideFence(text: string, bodyOffset: number, line: number, for
|
|
|
4203
4204
|
/**
|
|
4204
4205
|
* The lines a marker anchors, as 1-based lines of `text`: the rest of its own
|
|
4205
4206
|
* line when that carries text, else the paragraph or fenced block that
|
|
4206
|
-
* follows.
|
|
4207
|
-
*
|
|
4207
|
+
* follows. Marker-only lines below it are skipped, so markers stacked above
|
|
4208
|
+
* one paragraph all anchor it, and none is part of the pin. With `quote`, the
|
|
4209
|
+
* next fenced block after it, wherever that is. Undefined when nothing
|
|
4210
|
+
* follows to anchor.
|
|
4208
4211
|
*/
|
|
4209
4212
|
declare function anchoredLines(text: string, after: number, format: string, quote?: boolean): {
|
|
4210
4213
|
start: number;
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
reencryptMetadata,
|
|
6
6
|
runKeyRotate,
|
|
7
7
|
runKeySet
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-PTCA7ETL.js";
|
|
9
9
|
import {
|
|
10
10
|
BinMissing,
|
|
11
11
|
COMMON_FORMATS,
|
|
@@ -127,7 +127,7 @@ import {
|
|
|
127
127
|
valueOf,
|
|
128
128
|
vendorFileName,
|
|
129
129
|
writeFileAtomic
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-KFB6EYK3.js";
|
|
131
131
|
|
|
132
132
|
// src/key/index.ts
|
|
133
133
|
var key_exports = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hawkeyexl/manni",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"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.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|