kavrix 0.1.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/LICENSE +21 -0
- package/README.md +136 -0
- package/dist/bin.js +28566 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/kavrix.cdx.json +387 -0
- package/package.json +61 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const CLI_VERSION: "0.1.0";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const CLI_VERSION = "0.1.0";
|
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://cyclonedx.org/schema/bom-1.6.schema.json",
|
|
3
|
+
"bomFormat": "CycloneDX",
|
|
4
|
+
"specVersion": "1.6",
|
|
5
|
+
"serialNumber": "urn:uuid:a4b75e7c-54aa-5d05-96d9-6fb74fec7a15",
|
|
6
|
+
"version": 1,
|
|
7
|
+
"metadata": {
|
|
8
|
+
"component": {
|
|
9
|
+
"type": "application",
|
|
10
|
+
"bom-ref": "pkg:npm/kavrix@0.1.0",
|
|
11
|
+
"name": "kavrix",
|
|
12
|
+
"version": "0.1.0",
|
|
13
|
+
"licenses": [
|
|
14
|
+
{
|
|
15
|
+
"license": {
|
|
16
|
+
"id": "MIT"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"purl": "pkg:npm/kavrix@0.1.0",
|
|
21
|
+
"hashes": [
|
|
22
|
+
{
|
|
23
|
+
"alg": "SHA-256",
|
|
24
|
+
"content": "dd5f9d96102cbfb5f3728ee8607785343cf4747552ffb7b2c2ca388ea9c08b6d"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"properties": [
|
|
28
|
+
{
|
|
29
|
+
"name": "kavrix:artifact-sha256:dist/bin.js",
|
|
30
|
+
"value": "cc897ab9fa86469458b149b3d399c5778eefaf5672a1c8f5ac6baa78326df97c"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "kavrix:artifact-sha256:dist/index.js",
|
|
34
|
+
"value": "eae7d988ab6907e7bebd6d849d08e4c8eba026addd7d7d79c3151dfb9ef9854a"
|
|
35
|
+
}
|
|
36
|
+
]
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"components": [
|
|
40
|
+
{
|
|
41
|
+
"type": "library",
|
|
42
|
+
"bom-ref": "pkg:npm/@mongodb-js%2Fsaslprep@1.4.13",
|
|
43
|
+
"name": "@mongodb-js/saslprep",
|
|
44
|
+
"version": "1.4.13",
|
|
45
|
+
"licenses": [
|
|
46
|
+
{
|
|
47
|
+
"license": {
|
|
48
|
+
"id": "MIT"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
],
|
|
52
|
+
"purl": "pkg:npm/@mongodb-js%2Fsaslprep@1.4.13"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"type": "library",
|
|
56
|
+
"bom-ref": "pkg:npm/@types%2Fwebidl-conversions@7.0.3",
|
|
57
|
+
"name": "@types/webidl-conversions",
|
|
58
|
+
"version": "7.0.3",
|
|
59
|
+
"licenses": [
|
|
60
|
+
{
|
|
61
|
+
"license": {
|
|
62
|
+
"id": "MIT"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
"purl": "pkg:npm/@types%2Fwebidl-conversions@7.0.3"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"type": "library",
|
|
70
|
+
"bom-ref": "pkg:npm/@types%2Fwhatwg-url@13.0.0",
|
|
71
|
+
"name": "@types/whatwg-url",
|
|
72
|
+
"version": "13.0.0",
|
|
73
|
+
"licenses": [
|
|
74
|
+
{
|
|
75
|
+
"license": {
|
|
76
|
+
"id": "MIT"
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
],
|
|
80
|
+
"purl": "pkg:npm/@types%2Fwhatwg-url@13.0.0"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"type": "library",
|
|
84
|
+
"bom-ref": "pkg:npm/bson@7.3.1",
|
|
85
|
+
"name": "bson",
|
|
86
|
+
"version": "7.3.1",
|
|
87
|
+
"licenses": [
|
|
88
|
+
{
|
|
89
|
+
"license": {
|
|
90
|
+
"id": "Apache-2.0"
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
],
|
|
94
|
+
"purl": "pkg:npm/bson@7.3.1"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"type": "library",
|
|
98
|
+
"bom-ref": "pkg:npm/commander@15.0.0",
|
|
99
|
+
"name": "commander",
|
|
100
|
+
"version": "15.0.0",
|
|
101
|
+
"licenses": [
|
|
102
|
+
{
|
|
103
|
+
"license": {
|
|
104
|
+
"id": "MIT"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
],
|
|
108
|
+
"purl": "pkg:npm/commander@15.0.0"
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"type": "library",
|
|
112
|
+
"bom-ref": "pkg:npm/libsodium-wrappers@0.8.4",
|
|
113
|
+
"name": "libsodium-wrappers",
|
|
114
|
+
"version": "0.8.4",
|
|
115
|
+
"licenses": [
|
|
116
|
+
{
|
|
117
|
+
"license": {
|
|
118
|
+
"id": "ISC"
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"purl": "pkg:npm/libsodium-wrappers@0.8.4"
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"type": "library",
|
|
126
|
+
"bom-ref": "pkg:npm/libsodium@0.8.4",
|
|
127
|
+
"name": "libsodium",
|
|
128
|
+
"version": "0.8.4",
|
|
129
|
+
"licenses": [
|
|
130
|
+
{
|
|
131
|
+
"license": {
|
|
132
|
+
"id": "ISC"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
],
|
|
136
|
+
"purl": "pkg:npm/libsodium@0.8.4"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"type": "library",
|
|
140
|
+
"bom-ref": "pkg:npm/memory-pager@1.5.0",
|
|
141
|
+
"name": "memory-pager",
|
|
142
|
+
"version": "1.5.0",
|
|
143
|
+
"licenses": [
|
|
144
|
+
{
|
|
145
|
+
"license": {
|
|
146
|
+
"id": "MIT"
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
],
|
|
150
|
+
"purl": "pkg:npm/memory-pager@1.5.0"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"type": "library",
|
|
154
|
+
"bom-ref": "pkg:npm/mongodb-connection-string-url@7.0.2",
|
|
155
|
+
"name": "mongodb-connection-string-url",
|
|
156
|
+
"version": "7.0.2",
|
|
157
|
+
"licenses": [
|
|
158
|
+
{
|
|
159
|
+
"license": {
|
|
160
|
+
"id": "Apache-2.0"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
],
|
|
164
|
+
"purl": "pkg:npm/mongodb-connection-string-url@7.0.2"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"type": "library",
|
|
168
|
+
"bom-ref": "pkg:npm/mongodb@7.5.0",
|
|
169
|
+
"name": "mongodb",
|
|
170
|
+
"version": "7.5.0",
|
|
171
|
+
"licenses": [
|
|
172
|
+
{
|
|
173
|
+
"license": {
|
|
174
|
+
"id": "Apache-2.0"
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
],
|
|
178
|
+
"purl": "pkg:npm/mongodb@7.5.0"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"type": "library",
|
|
182
|
+
"bom-ref": "pkg:npm/punycode@2.3.1",
|
|
183
|
+
"name": "punycode",
|
|
184
|
+
"version": "2.3.1",
|
|
185
|
+
"licenses": [
|
|
186
|
+
{
|
|
187
|
+
"license": {
|
|
188
|
+
"id": "MIT"
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
],
|
|
192
|
+
"purl": "pkg:npm/punycode@2.3.1"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"type": "library",
|
|
196
|
+
"bom-ref": "pkg:npm/sparse-bitfield@3.0.3",
|
|
197
|
+
"name": "sparse-bitfield",
|
|
198
|
+
"version": "3.0.3",
|
|
199
|
+
"licenses": [
|
|
200
|
+
{
|
|
201
|
+
"license": {
|
|
202
|
+
"id": "MIT"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"purl": "pkg:npm/sparse-bitfield@3.0.3"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"type": "library",
|
|
210
|
+
"bom-ref": "pkg:npm/tr46@5.1.1",
|
|
211
|
+
"name": "tr46",
|
|
212
|
+
"version": "5.1.1",
|
|
213
|
+
"licenses": [
|
|
214
|
+
{
|
|
215
|
+
"license": {
|
|
216
|
+
"id": "MIT"
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"purl": "pkg:npm/tr46@5.1.1"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"type": "library",
|
|
224
|
+
"bom-ref": "pkg:npm/webidl-conversions@7.0.0",
|
|
225
|
+
"name": "webidl-conversions",
|
|
226
|
+
"version": "7.0.0",
|
|
227
|
+
"licenses": [
|
|
228
|
+
{
|
|
229
|
+
"license": {
|
|
230
|
+
"id": "BSD-2-Clause"
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"purl": "pkg:npm/webidl-conversions@7.0.0"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"type": "library",
|
|
238
|
+
"bom-ref": "pkg:npm/whatwg-url@14.2.0",
|
|
239
|
+
"name": "whatwg-url",
|
|
240
|
+
"version": "14.2.0",
|
|
241
|
+
"licenses": [
|
|
242
|
+
{
|
|
243
|
+
"license": {
|
|
244
|
+
"id": "MIT"
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"purl": "pkg:npm/whatwg-url@14.2.0"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"type": "library",
|
|
252
|
+
"bom-ref": "pkg:npm/zod@4.4.3",
|
|
253
|
+
"name": "zod",
|
|
254
|
+
"version": "4.4.3",
|
|
255
|
+
"licenses": [
|
|
256
|
+
{
|
|
257
|
+
"license": {
|
|
258
|
+
"id": "MIT"
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
],
|
|
262
|
+
"purl": "pkg:npm/zod@4.4.3"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"type": "data",
|
|
266
|
+
"bom-ref": "urn:kavrix:data:eff-short-wordlist-for-passphrases-1",
|
|
267
|
+
"name": "EFF Short Wordlist for Passphrases #1",
|
|
268
|
+
"copyright": "Electronic Frontier Foundation",
|
|
269
|
+
"licenses": [
|
|
270
|
+
{
|
|
271
|
+
"license": {
|
|
272
|
+
"id": "CC-BY-4.0"
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
],
|
|
276
|
+
"externalReferences": [
|
|
277
|
+
{
|
|
278
|
+
"type": "distribution",
|
|
279
|
+
"url": "https://www.eff.org/files/2016/09/08/eff_short_wordlist_1.txt"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"properties": [
|
|
283
|
+
{
|
|
284
|
+
"name": "kavrix:source-sha256",
|
|
285
|
+
"value": "8f5ca830b8bffb6fe39c9736c024a00a6a6411adb3f83a9be8bfeeb6e067ae69"
|
|
286
|
+
}
|
|
287
|
+
]
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"dependencies": [
|
|
291
|
+
{
|
|
292
|
+
"ref": "pkg:npm/kavrix@0.1.0",
|
|
293
|
+
"dependsOn": [
|
|
294
|
+
"pkg:npm/mongodb@7.5.0",
|
|
295
|
+
"urn:kavrix:data:eff-short-wordlist-for-passphrases-1"
|
|
296
|
+
]
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"ref": "pkg:npm/@mongodb-js%2Fsaslprep@1.4.13",
|
|
300
|
+
"dependsOn": [
|
|
301
|
+
"pkg:npm/sparse-bitfield@3.0.3"
|
|
302
|
+
]
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"ref": "pkg:npm/@types%2Fwebidl-conversions@7.0.3",
|
|
306
|
+
"dependsOn": []
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"ref": "pkg:npm/@types%2Fwhatwg-url@13.0.0",
|
|
310
|
+
"dependsOn": [
|
|
311
|
+
"pkg:npm/@types%2Fwebidl-conversions@7.0.3"
|
|
312
|
+
]
|
|
313
|
+
},
|
|
314
|
+
{
|
|
315
|
+
"ref": "pkg:npm/bson@7.3.1",
|
|
316
|
+
"dependsOn": []
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"ref": "pkg:npm/commander@15.0.0",
|
|
320
|
+
"dependsOn": []
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"ref": "pkg:npm/libsodium-wrappers@0.8.4",
|
|
324
|
+
"dependsOn": [
|
|
325
|
+
"pkg:npm/libsodium@0.8.4"
|
|
326
|
+
]
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"ref": "pkg:npm/libsodium@0.8.4",
|
|
330
|
+
"dependsOn": []
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"ref": "pkg:npm/memory-pager@1.5.0",
|
|
334
|
+
"dependsOn": []
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"ref": "pkg:npm/mongodb-connection-string-url@7.0.2",
|
|
338
|
+
"dependsOn": [
|
|
339
|
+
"pkg:npm/@types%2Fwhatwg-url@13.0.0",
|
|
340
|
+
"pkg:npm/whatwg-url@14.2.0"
|
|
341
|
+
]
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"ref": "pkg:npm/mongodb@7.5.0",
|
|
345
|
+
"dependsOn": [
|
|
346
|
+
"pkg:npm/@mongodb-js%2Fsaslprep@1.4.13",
|
|
347
|
+
"pkg:npm/bson@7.3.1",
|
|
348
|
+
"pkg:npm/mongodb-connection-string-url@7.0.2"
|
|
349
|
+
]
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"ref": "pkg:npm/punycode@2.3.1",
|
|
353
|
+
"dependsOn": []
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"ref": "pkg:npm/sparse-bitfield@3.0.3",
|
|
357
|
+
"dependsOn": [
|
|
358
|
+
"pkg:npm/memory-pager@1.5.0"
|
|
359
|
+
]
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"ref": "pkg:npm/tr46@5.1.1",
|
|
363
|
+
"dependsOn": [
|
|
364
|
+
"pkg:npm/punycode@2.3.1"
|
|
365
|
+
]
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"ref": "pkg:npm/webidl-conversions@7.0.0",
|
|
369
|
+
"dependsOn": []
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"ref": "pkg:npm/whatwg-url@14.2.0",
|
|
373
|
+
"dependsOn": [
|
|
374
|
+
"pkg:npm/tr46@5.1.1",
|
|
375
|
+
"pkg:npm/webidl-conversions@7.0.0"
|
|
376
|
+
]
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
"ref": "pkg:npm/zod@4.4.3",
|
|
380
|
+
"dependsOn": []
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"ref": "urn:kavrix:data:eff-short-wordlist-for-passphrases-1",
|
|
384
|
+
"dependsOn": []
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "kavrix",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Zero-knowledge credential vault command-line interface",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/d4rkNinja/kavrix.git",
|
|
9
|
+
"directory": "apps/cli"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/d4rkNinja/kavrix#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/d4rkNinja/kavrix/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"credentials",
|
|
17
|
+
"password-manager",
|
|
18
|
+
"security",
|
|
19
|
+
"terminal",
|
|
20
|
+
"zero-knowledge"
|
|
21
|
+
],
|
|
22
|
+
"private": false,
|
|
23
|
+
"publishConfig": {
|
|
24
|
+
"access": "public",
|
|
25
|
+
"registry": "https://registry.npmjs.org/"
|
|
26
|
+
},
|
|
27
|
+
"type": "module",
|
|
28
|
+
"main": "./dist/index.js",
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"exports": {
|
|
31
|
+
".": {
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"import": "./dist/index.js"
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
"bin": {
|
|
37
|
+
"kavrix": "./dist/bin.js"
|
|
38
|
+
},
|
|
39
|
+
"files": [
|
|
40
|
+
"dist/**/*.js",
|
|
41
|
+
"dist/**/*.d.ts",
|
|
42
|
+
"dist/*.cdx.json",
|
|
43
|
+
"README.md",
|
|
44
|
+
"LICENSE"
|
|
45
|
+
],
|
|
46
|
+
"engines": {
|
|
47
|
+
"node": ">=24.12.0 <25 || >=25.1.0"
|
|
48
|
+
},
|
|
49
|
+
"scripts": {
|
|
50
|
+
"build": "tsc -b tsconfig.build.json --pretty false && node scripts/build-package.js",
|
|
51
|
+
"typecheck": "tsc -b tsconfig.build.json --pretty false && tsc -p tsconfig.json --pretty false",
|
|
52
|
+
"test": "pnpm run build && vitest run --root ../.. apps/cli/test/local-vault-cli-view.test.ts apps/cli/test/package.test.ts",
|
|
53
|
+
"test:coverage": "pnpm run build && vitest run --root ../.. apps/cli/test/local-vault-cli-view.test.ts apps/cli/test/package.test.ts --coverage --coverage.include=apps/cli/src/**",
|
|
54
|
+
"prepack": "pnpm run build",
|
|
55
|
+
"pack:check": "pnpm pack --dry-run --json",
|
|
56
|
+
"package:smoke": "pnpm run build && node scripts/smoke-packed-package.js"
|
|
57
|
+
},
|
|
58
|
+
"dependencies": {
|
|
59
|
+
"mongodb": "7.5.0"
|
|
60
|
+
}
|
|
61
|
+
}
|