@hawkeyexl/manni 1.1.0 → 2.0.0
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/dist/chunk-7ZN43F3Y.js +4492 -0
- package/dist/chunk-7ZN43F3Y.js.map +1 -0
- package/dist/{chunk-WP2BP3ZX.js → chunk-GGVNTB7W.js} +69 -43
- package/dist/chunk-GGVNTB7W.js.map +1 -0
- package/dist/{chunk-7SE7XDCL.js → chunk-XU2QTJQQ.js} +13461 -12212
- package/dist/chunk-XU2QTJQQ.js.map +1 -0
- package/dist/cli.js +558 -27
- package/dist/cli.js.map +1 -1
- package/dist/docmeta.js +2 -2
- package/dist/index.d.ts +2098 -12
- package/dist/index.js +30 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-7SE7XDCL.js.map +0 -1
- package/dist/chunk-WP2BP3ZX.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
KeyError,
|
|
4
|
+
cite_exports,
|
|
5
|
+
reencryptMetadata,
|
|
6
|
+
runKeyRotate,
|
|
7
|
+
runKeySet
|
|
8
|
+
} from "./chunk-7ZN43F3Y.js";
|
|
2
9
|
import {
|
|
3
10
|
BinMissing,
|
|
4
11
|
COMMON_FORMATS,
|
|
@@ -33,6 +40,7 @@ import {
|
|
|
33
40
|
SCHEMA_CACHE_VERSION,
|
|
34
41
|
SchemaCache,
|
|
35
42
|
Validator,
|
|
43
|
+
__export,
|
|
36
44
|
applyFrontmatter,
|
|
37
45
|
argvFor,
|
|
38
46
|
assertSourcesAvailable,
|
|
@@ -43,9 +51,11 @@ import {
|
|
|
43
51
|
consultedSources,
|
|
44
52
|
createResolvedView,
|
|
45
53
|
createReviewClient,
|
|
54
|
+
decryptValue,
|
|
46
55
|
deriveFromCommands,
|
|
47
56
|
deriveFromReviews,
|
|
48
57
|
deriveMetadata,
|
|
58
|
+
encryptValue,
|
|
49
59
|
externalMetadataJoin,
|
|
50
60
|
externalMetadataPointer,
|
|
51
61
|
externalMetadataUrlProblem,
|
|
@@ -61,6 +71,8 @@ import {
|
|
|
61
71
|
isCommonFormat,
|
|
62
72
|
isDeriveFormat,
|
|
63
73
|
isDeriveSource,
|
|
74
|
+
isEncryptedValue,
|
|
75
|
+
isErrorSeverity,
|
|
64
76
|
isFillFormat,
|
|
65
77
|
isIntegrity,
|
|
66
78
|
isMember,
|
|
@@ -91,6 +103,7 @@ import {
|
|
|
91
103
|
renderQuery,
|
|
92
104
|
renderQueryCsv,
|
|
93
105
|
renderSarif,
|
|
106
|
+
resolveEncryptionKey,
|
|
94
107
|
resolveRunConfig,
|
|
95
108
|
resolveSchemaSet,
|
|
96
109
|
resolvedColumns,
|
|
@@ -112,7 +125,19 @@ import {
|
|
|
112
125
|
valueOf,
|
|
113
126
|
vendorFileName,
|
|
114
127
|
writeFileAtomic
|
|
115
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-XU2QTJQQ.js";
|
|
129
|
+
|
|
130
|
+
// src/key/index.ts
|
|
131
|
+
var key_exports = {};
|
|
132
|
+
__export(key_exports, {
|
|
133
|
+
KeyError: () => KeyError,
|
|
134
|
+
decryptValue: () => decryptValue,
|
|
135
|
+
encryptValue: () => encryptValue,
|
|
136
|
+
isEncryptedValue: () => isEncryptedValue,
|
|
137
|
+
resolveEncryptionKey: () => resolveEncryptionKey,
|
|
138
|
+
runKeyRotate: () => runKeyRotate,
|
|
139
|
+
runKeySet: () => runKeySet
|
|
140
|
+
});
|
|
116
141
|
export {
|
|
117
142
|
BinMissing,
|
|
118
143
|
COMMON_FORMATS,
|
|
@@ -151,6 +176,7 @@ export {
|
|
|
151
176
|
argvFor,
|
|
152
177
|
assertSourcesAvailable,
|
|
153
178
|
cachedClient,
|
|
179
|
+
cite_exports as cite,
|
|
154
180
|
classifyRef,
|
|
155
181
|
collectSchemaPins,
|
|
156
182
|
compareDerived,
|
|
@@ -175,12 +201,14 @@ export {
|
|
|
175
201
|
isCommonFormat,
|
|
176
202
|
isDeriveFormat,
|
|
177
203
|
isDeriveSource,
|
|
204
|
+
isErrorSeverity,
|
|
178
205
|
isFillFormat,
|
|
179
206
|
isIntegrity,
|
|
180
207
|
isMember,
|
|
181
208
|
isPerFile,
|
|
182
209
|
isQueryFormat,
|
|
183
210
|
isReportFormat,
|
|
211
|
+
key_exports as key,
|
|
184
212
|
listBuiltins,
|
|
185
213
|
loadConfig,
|
|
186
214
|
loadExternalMetadata,
|
|
@@ -196,6 +224,7 @@ export {
|
|
|
196
224
|
parseConfig,
|
|
197
225
|
parseOriginUrl,
|
|
198
226
|
rebaseConfigSchemaRefs,
|
|
227
|
+
reencryptMetadata,
|
|
199
228
|
render,
|
|
200
229
|
renderDerive,
|
|
201
230
|
renderFill,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/key/index.ts"],"sourcesContent":["/**\n * The key domain's programmatic API, exported from the package as the `key`\n * namespace: `import { key } from \"@hawkeyexl/manni\"`. The command cores, and\n * the family's encryption primitives a caller needs beside them.\n */\nexport * from \"./types.js\";\nexport { KeyError } from \"./errors.js\";\nexport { runKeySet } from \"./commands/set.js\";\nexport { runKeyRotate } from \"./commands/rotate.js\";\nexport { decryptValue, encryptValue, isEncryptedValue } from \"../shared/encryption.js\";\nexport type { EncryptionContext } from \"../shared/encryption.js\";\nexport { resolveEncryptionKey } from \"../shared/encryption-key.js\";\nexport type { KeySource, ResolvedKey } from \"../shared/encryption-key.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hawkeyexl/manni",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.0",
|
|
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": {
|