@weezy20/zv 0.8.0 → 0.9.1

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 CHANGED
@@ -212,6 +212,7 @@ zv setup # Set up shell environment for zv with in
212
212
  zv sync # Resync community mirrors list from [ziglang.org/download/community-mirrors.txt]; also force resync of index to fetch latest nightly builds. Replaces `ZV_DIR/bin/zv` if outdated against current invocation.
213
213
  zv upgrade | update # Update zv to the latest release only if present in GH Releases: https://github.com/weezy20/zv/releases
214
214
  zv help # Detailed instructions for zv. Use `--help` for long help or `-h` for short help with a subcommand.
215
+ zv uninstall # Uninstall zv completely by attempting to remove ZV_DIR.
215
216
  ```
216
217
 
217
218
  `minisign` verification is done using [jedisct1/rust-minisign-verify](https://github.com/jedisct1/rust-minisign-verify) — a small minisign library in pure Rust.
@@ -7,14 +7,14 @@
7
7
  "zv": "run-zv.js"
8
8
  },
9
9
  "dependencies": {
10
- "axios": "^1.11.0",
10
+ "axios": "^1.13.2",
11
11
  "axios-proxy-builder": "^0.1.2",
12
12
  "console.table": "^0.10.0",
13
- "detect-libc": "^2.0.4",
14
- "rimraf": "^6.0.1"
13
+ "detect-libc": "^2.1.2",
14
+ "rimraf": "^6.1.2"
15
15
  },
16
16
  "devDependencies": {
17
- "prettier": "^3.6.2"
17
+ "prettier": "^3.7.4"
18
18
  },
19
19
  "engines": {
20
20
  "node": ">=14",
@@ -23,7 +23,7 @@
23
23
  "hasInstallScript": true,
24
24
  "license": "MIT",
25
25
  "name": "@weezy20/zv",
26
- "version": "0.8.0"
26
+ "version": "0.9.1"
27
27
  },
28
28
  "node_modules/@isaacs/balanced-match": {
29
29
  "engines": {
@@ -46,47 +46,6 @@
46
46
  "resolved": "https://registry.npmjs.org/@isaacs/brace-expansion/-/brace-expansion-5.0.0.tgz",
47
47
  "version": "5.0.0"
48
48
  },
49
- "node_modules/@isaacs/cliui": {
50
- "dependencies": {
51
- "string-width": "^5.1.2",
52
- "string-width-cjs": "npm:string-width@^4.2.0",
53
- "strip-ansi": "^7.0.1",
54
- "strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
55
- "wrap-ansi": "^8.1.0",
56
- "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
57
- },
58
- "engines": {
59
- "node": ">=12"
60
- },
61
- "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==",
62
- "license": "ISC",
63
- "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz",
64
- "version": "8.0.2"
65
- },
66
- "node_modules/ansi-regex": {
67
- "engines": {
68
- "node": ">=12"
69
- },
70
- "funding": {
71
- "url": "https://github.com/chalk/ansi-regex?sponsor=1"
72
- },
73
- "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==",
74
- "license": "MIT",
75
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
76
- "version": "6.1.0"
77
- },
78
- "node_modules/ansi-styles": {
79
- "engines": {
80
- "node": ">=12"
81
- },
82
- "funding": {
83
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
84
- },
85
- "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==",
86
- "license": "MIT",
87
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz",
88
- "version": "6.2.1"
89
- },
90
49
  "node_modules/asynckit": {
91
50
  "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==",
92
51
  "license": "MIT",
@@ -99,10 +58,10 @@
99
58
  "form-data": "^4.0.4",
100
59
  "proxy-from-env": "^1.1.0"
101
60
  },
102
- "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==",
61
+ "integrity": "sha512-VPk9ebNqPcy5lRGuSlKx752IlDatOjT9paPlm8A7yOuW2Fbvp4X3JznJtT4f0GzGLLiWE9W8onz51SqLYwzGaA==",
103
62
  "license": "MIT",
104
- "resolved": "https://registry.npmjs.org/axios/-/axios-1.11.0.tgz",
105
- "version": "1.11.0"
63
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.13.2.tgz",
64
+ "version": "1.13.2"
106
65
  },
107
66
  "node_modules/axios-proxy-builder": {
108
67
  "dependencies": {
@@ -136,24 +95,6 @@
136
95
  "resolved": "https://registry.npmjs.org/clone/-/clone-1.0.4.tgz",
137
96
  "version": "1.0.4"
138
97
  },
139
- "node_modules/color-convert": {
140
- "dependencies": {
141
- "color-name": "~1.1.4"
142
- },
143
- "engines": {
144
- "node": ">=7.0.0"
145
- },
146
- "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==",
147
- "license": "MIT",
148
- "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz",
149
- "version": "2.0.1"
150
- },
151
- "node_modules/color-name": {
152
- "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
153
- "license": "MIT",
154
- "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz",
155
- "version": "1.1.4"
156
- },
157
98
  "node_modules/combined-stream": {
158
99
  "dependencies": {
159
100
  "delayed-stream": "~1.0.0"
@@ -178,20 +119,6 @@
178
119
  "resolved": "https://registry.npmjs.org/console.table/-/console.table-0.10.0.tgz",
179
120
  "version": "0.10.0"
180
121
  },
181
- "node_modules/cross-spawn": {
182
- "dependencies": {
183
- "path-key": "^3.1.0",
184
- "shebang-command": "^2.0.0",
185
- "which": "^2.0.1"
186
- },
187
- "engines": {
188
- "node": ">= 8"
189
- },
190
- "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==",
191
- "license": "MIT",
192
- "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz",
193
- "version": "7.0.6"
194
- },
195
122
  "node_modules/defaults": {
196
123
  "dependencies": {
197
124
  "clone": "^1.0.2"
@@ -218,10 +145,10 @@
218
145
  "engines": {
219
146
  "node": ">=8"
220
147
  },
221
- "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==",
148
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
222
149
  "license": "Apache-2.0",
223
- "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.0.4.tgz",
224
- "version": "2.0.4"
150
+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",
151
+ "version": "2.1.2"
225
152
  },
226
153
  "node_modules/dunder-proto": {
227
154
  "dependencies": {
@@ -237,12 +164,6 @@
237
164
  "resolved": "https://registry.npmjs.org/dunder-proto/-/dunder-proto-1.0.1.tgz",
238
165
  "version": "1.0.1"
239
166
  },
240
- "node_modules/eastasianwidth": {
241
- "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==",
242
- "license": "MIT",
243
- "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz",
244
- "version": "0.2.0"
245
- },
246
167
  "node_modules/easy-table": {
247
168
  "integrity": "sha512-oq33hWOSSnl2Hoh00tZWaIPi1ievrD9aFG82/IgjlycAnW9hHx5PkJiXpxPsgEE+H7BsbVQXFVFST8TEXS6/pA==",
248
169
  "license": "MIT",
@@ -252,12 +173,6 @@
252
173
  "resolved": "https://registry.npmjs.org/easy-table/-/easy-table-1.1.0.tgz",
253
174
  "version": "1.1.0"
254
175
  },
255
- "node_modules/emoji-regex": {
256
- "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==",
257
- "license": "MIT",
258
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz",
259
- "version": "9.2.2"
260
- },
261
176
  "node_modules/es-define-property": {
262
177
  "engines": {
263
178
  "node": ">= 0.4"
@@ -323,22 +238,6 @@
323
238
  "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.6.tgz",
324
239
  "version": "1.15.6"
325
240
  },
326
- "node_modules/foreground-child": {
327
- "dependencies": {
328
- "cross-spawn": "^7.0.6",
329
- "signal-exit": "^4.0.1"
330
- },
331
- "engines": {
332
- "node": ">=14"
333
- },
334
- "funding": {
335
- "url": "https://github.com/sponsors/isaacs"
336
- },
337
- "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==",
338
- "license": "ISC",
339
- "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz",
340
- "version": "3.3.1"
341
- },
342
241
  "node_modules/form-data": {
343
242
  "dependencies": {
344
243
  "asynckit": "^0.4.0",
@@ -402,15 +301,9 @@
402
301
  "version": "1.0.1"
403
302
  },
404
303
  "node_modules/glob": {
405
- "bin": {
406
- "glob": "dist/esm/bin.mjs"
407
- },
408
304
  "dependencies": {
409
- "foreground-child": "^3.3.1",
410
- "jackspeak": "^4.1.1",
411
- "minimatch": "^10.0.3",
305
+ "minimatch": "^10.1.1",
412
306
  "minipass": "^7.1.2",
413
- "package-json-from-dist": "^1.0.0",
414
307
  "path-scurry": "^2.0.0"
415
308
  },
416
309
  "engines": {
@@ -419,10 +312,10 @@
419
312
  "funding": {
420
313
  "url": "https://github.com/sponsors/isaacs"
421
314
  },
422
- "integrity": "sha512-2Nim7dha1KVkaiF4q6Dj+ngPPMdfvLJEOpZk/jKiUAkqKebpGAWQXAq9z1xu9HKu5lWfqw/FASuccEjyznjPaA==",
423
- "license": "ISC",
424
- "resolved": "https://registry.npmjs.org/glob/-/glob-11.0.3.tgz",
425
- "version": "11.0.3"
315
+ "integrity": "sha512-tvZgpqk6fz4BaNZ66ZsRaZnbHvP/jG3uKJvAZOwEVUL4RTA5nJeeLYfyN9/VA8NX/V3IBG+hkeuGpKjvELkVhA==",
316
+ "license": "BlueOak-1.0.0",
317
+ "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.0.tgz",
318
+ "version": "13.0.0"
426
319
  },
427
320
  "node_modules/gopd": {
428
321
  "engines": {
@@ -475,44 +368,14 @@
475
368
  "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz",
476
369
  "version": "2.0.2"
477
370
  },
478
- "node_modules/is-fullwidth-code-point": {
479
- "engines": {
480
- "node": ">=8"
481
- },
482
- "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==",
483
- "license": "MIT",
484
- "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz",
485
- "version": "3.0.0"
486
- },
487
- "node_modules/isexe": {
488
- "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==",
489
- "license": "ISC",
490
- "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
491
- "version": "2.0.0"
492
- },
493
- "node_modules/jackspeak": {
494
- "dependencies": {
495
- "@isaacs/cliui": "^8.0.2"
496
- },
497
- "engines": {
498
- "node": "20 || >=22"
499
- },
500
- "funding": {
501
- "url": "https://github.com/sponsors/isaacs"
502
- },
503
- "integrity": "sha512-zptv57P3GpL+O0I7VdMJNBZCu+BPHVQUk55Ft8/QCJjTVxrnJHuVuX/0Bl2A6/+2oyR/ZMEuFKwmzqqZ/U5nPQ==",
504
- "license": "BlueOak-1.0.0",
505
- "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-4.1.1.tgz",
506
- "version": "4.1.1"
507
- },
508
371
  "node_modules/lru-cache": {
509
372
  "engines": {
510
373
  "node": "20 || >=22"
511
374
  },
512
- "integrity": "sha512-QIXZUBJUx+2zHUdQujWejBkcD9+cs94tLn0+YL8UrCh+D5sCXZ4c7LaEH48pNwRY3MLDgqUFyhlCyjJPf1WP0A==",
513
- "license": "ISC",
514
- "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.1.0.tgz",
515
- "version": "11.1.0"
375
+ "integrity": "sha512-B5Y16Jr9LB9dHVkh6ZevG+vAbOsNOYCX+sXvFWFu7B3Iz5mijW3zdbMyhsh8ANd2mSWBYdJgnqi+mL7/LrOPYg==",
376
+ "license": "BlueOak-1.0.0",
377
+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.2.4.tgz",
378
+ "version": "11.2.4"
516
379
  },
517
380
  "node_modules/math-intrinsics": {
518
381
  "engines": {
@@ -554,10 +417,10 @@
554
417
  "funding": {
555
418
  "url": "https://github.com/sponsors/isaacs"
556
419
  },
557
- "integrity": "sha512-IPZ167aShDZZUMdRk66cyQAW3qr0WzbHkPdMYa8bzZhlHhO3jALbKdxcaak7W9FfT2rZNpQuUu4Od7ILEpXSaw==",
558
- "license": "ISC",
559
- "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.0.3.tgz",
560
- "version": "10.0.3"
420
+ "integrity": "sha512-enIvLvRAFZYXJzkCYG5RKmPfrFArdLv+R+lbQ53BmIMLIry74bjKzX6iHAm8WYamJkhSSEabrWN5D97XnKObjQ==",
421
+ "license": "BlueOak-1.0.0",
422
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.1.1.tgz",
423
+ "version": "10.1.1"
561
424
  },
562
425
  "node_modules/minipass": {
563
426
  "engines": {
@@ -574,15 +437,6 @@
574
437
  "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz",
575
438
  "version": "1.0.1"
576
439
  },
577
- "node_modules/path-key": {
578
- "engines": {
579
- "node": ">=8"
580
- },
581
- "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==",
582
- "license": "MIT",
583
- "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz",
584
- "version": "3.1.1"
585
- },
586
440
  "node_modules/path-scurry": {
587
441
  "dependencies": {
588
442
  "lru-cache": "^11.0.0",
@@ -594,10 +448,10 @@
594
448
  "funding": {
595
449
  "url": "https://github.com/sponsors/isaacs"
596
450
  },
597
- "integrity": "sha512-ypGJsmGtdXUOeM5u93TyeIEfEhM6s+ljAhrk5vAvSx8uyY/02OvrZnA0YNGUrPXfpJMgI1ODd3nwz8Npx4O4cg==",
451
+ "integrity": "sha512-oWyT4gICAu+kaA7QWk/jvCHWarMKNs6pXOGWKDTr7cw4IGcUbW+PeTfbaQiLGheFRpjo6O9J0PmyMfQPjH71oA==",
598
452
  "license": "BlueOak-1.0.0",
599
- "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.0.tgz",
600
- "version": "2.0.0"
453
+ "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.1.tgz",
454
+ "version": "2.0.1"
601
455
  },
602
456
  "node_modules/prettier": {
603
457
  "bin": {
@@ -610,10 +464,10 @@
610
464
  "funding": {
611
465
  "url": "https://github.com/prettier/prettier?sponsor=1"
612
466
  },
613
- "integrity": "sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==",
467
+ "integrity": "sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==",
614
468
  "license": "MIT",
615
- "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.6.2.tgz",
616
- "version": "3.6.2"
469
+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.7.4.tgz",
470
+ "version": "3.7.4"
617
471
  },
618
472
  "node_modules/proxy-from-env": {
619
473
  "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==",
@@ -626,8 +480,8 @@
626
480
  "rimraf": "dist/esm/bin.mjs"
627
481
  },
628
482
  "dependencies": {
629
- "glob": "^11.0.0",
630
- "package-json-from-dist": "^1.0.0"
483
+ "glob": "^13.0.0",
484
+ "package-json-from-dist": "^1.0.1"
631
485
  },
632
486
  "engines": {
633
487
  "node": "20 || >=22"
@@ -635,139 +489,10 @@
635
489
  "funding": {
636
490
  "url": "https://github.com/sponsors/isaacs"
637
491
  },
638
- "integrity": "sha512-9dkvaxAsk/xNXSJzMgFqqMCuFgt2+KsOFek3TMLfo8NCPfWpBmqwyNn5Y+NX56QUYfCtsyhF3ayiboEoUmJk/A==",
639
- "license": "ISC",
640
- "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.0.1.tgz",
641
- "version": "6.0.1"
642
- },
643
- "node_modules/shebang-command": {
644
- "dependencies": {
645
- "shebang-regex": "^3.0.0"
646
- },
647
- "engines": {
648
- "node": ">=8"
649
- },
650
- "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==",
651
- "license": "MIT",
652
- "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz",
653
- "version": "2.0.0"
654
- },
655
- "node_modules/shebang-regex": {
656
- "engines": {
657
- "node": ">=8"
658
- },
659
- "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==",
660
- "license": "MIT",
661
- "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz",
662
- "version": "3.0.0"
663
- },
664
- "node_modules/signal-exit": {
665
- "engines": {
666
- "node": ">=14"
667
- },
668
- "funding": {
669
- "url": "https://github.com/sponsors/isaacs"
670
- },
671
- "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
672
- "license": "ISC",
673
- "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
674
- "version": "4.1.0"
675
- },
676
- "node_modules/string-width": {
677
- "dependencies": {
678
- "eastasianwidth": "^0.2.0",
679
- "emoji-regex": "^9.2.2",
680
- "strip-ansi": "^7.0.1"
681
- },
682
- "engines": {
683
- "node": ">=12"
684
- },
685
- "funding": {
686
- "url": "https://github.com/sponsors/sindresorhus"
687
- },
688
- "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==",
689
- "license": "MIT",
690
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz",
691
- "version": "5.1.2"
692
- },
693
- "node_modules/string-width-cjs": {
694
- "dependencies": {
695
- "emoji-regex": "^8.0.0",
696
- "is-fullwidth-code-point": "^3.0.0",
697
- "strip-ansi": "^6.0.1"
698
- },
699
- "engines": {
700
- "node": ">=8"
701
- },
702
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
703
- "license": "MIT",
704
- "name": "string-width",
705
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
706
- "version": "4.2.3"
707
- },
708
- "node_modules/string-width-cjs/node_modules/ansi-regex": {
709
- "engines": {
710
- "node": ">=8"
711
- },
712
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
713
- "license": "MIT",
714
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
715
- "version": "5.0.1"
716
- },
717
- "node_modules/string-width-cjs/node_modules/emoji-regex": {
718
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
719
- "license": "MIT",
720
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
721
- "version": "8.0.0"
722
- },
723
- "node_modules/string-width-cjs/node_modules/strip-ansi": {
724
- "dependencies": {
725
- "ansi-regex": "^5.0.1"
726
- },
727
- "engines": {
728
- "node": ">=8"
729
- },
730
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
731
- "license": "MIT",
732
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
733
- "version": "6.0.1"
734
- },
735
- "node_modules/strip-ansi": {
736
- "dependencies": {
737
- "ansi-regex": "^6.0.1"
738
- },
739
- "engines": {
740
- "node": ">=12"
741
- },
742
- "funding": {
743
- "url": "https://github.com/chalk/strip-ansi?sponsor=1"
744
- },
745
- "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==",
746
- "license": "MIT",
747
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz",
748
- "version": "7.1.0"
749
- },
750
- "node_modules/strip-ansi-cjs": {
751
- "dependencies": {
752
- "ansi-regex": "^5.0.1"
753
- },
754
- "engines": {
755
- "node": ">=8"
756
- },
757
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
758
- "license": "MIT",
759
- "name": "strip-ansi",
760
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
761
- "version": "6.0.1"
762
- },
763
- "node_modules/strip-ansi-cjs/node_modules/ansi-regex": {
764
- "engines": {
765
- "node": ">=8"
766
- },
767
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
768
- "license": "MIT",
769
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
770
- "version": "5.0.1"
492
+ "integrity": "sha512-cFCkPslJv7BAXJsYlK1dZsbP8/ZNLkCAQ0bi1hf5EKX2QHegmDFEFA6QhuYJlk7UDdc+02JjO80YSOrWPpw06g==",
493
+ "license": "BlueOak-1.0.0",
494
+ "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-6.1.2.tgz",
495
+ "version": "6.1.2"
771
496
  },
772
497
  "node_modules/tunnel": {
773
498
  "engines": {
@@ -787,114 +512,8 @@
787
512
  "optional": true,
788
513
  "resolved": "https://registry.npmjs.org/wcwidth/-/wcwidth-1.0.1.tgz",
789
514
  "version": "1.0.1"
790
- },
791
- "node_modules/which": {
792
- "bin": {
793
- "node-which": "bin/node-which"
794
- },
795
- "dependencies": {
796
- "isexe": "^2.0.0"
797
- },
798
- "engines": {
799
- "node": ">= 8"
800
- },
801
- "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==",
802
- "license": "ISC",
803
- "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
804
- "version": "2.0.2"
805
- },
806
- "node_modules/wrap-ansi": {
807
- "dependencies": {
808
- "ansi-styles": "^6.1.0",
809
- "string-width": "^5.0.1",
810
- "strip-ansi": "^7.0.1"
811
- },
812
- "engines": {
813
- "node": ">=12"
814
- },
815
- "funding": {
816
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
817
- },
818
- "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==",
819
- "license": "MIT",
820
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz",
821
- "version": "8.1.0"
822
- },
823
- "node_modules/wrap-ansi-cjs": {
824
- "dependencies": {
825
- "ansi-styles": "^4.0.0",
826
- "string-width": "^4.1.0",
827
- "strip-ansi": "^6.0.0"
828
- },
829
- "engines": {
830
- "node": ">=10"
831
- },
832
- "funding": {
833
- "url": "https://github.com/chalk/wrap-ansi?sponsor=1"
834
- },
835
- "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==",
836
- "license": "MIT",
837
- "name": "wrap-ansi",
838
- "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz",
839
- "version": "7.0.0"
840
- },
841
- "node_modules/wrap-ansi-cjs/node_modules/ansi-regex": {
842
- "engines": {
843
- "node": ">=8"
844
- },
845
- "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==",
846
- "license": "MIT",
847
- "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz",
848
- "version": "5.0.1"
849
- },
850
- "node_modules/wrap-ansi-cjs/node_modules/ansi-styles": {
851
- "dependencies": {
852
- "color-convert": "^2.0.1"
853
- },
854
- "engines": {
855
- "node": ">=8"
856
- },
857
- "funding": {
858
- "url": "https://github.com/chalk/ansi-styles?sponsor=1"
859
- },
860
- "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==",
861
- "license": "MIT",
862
- "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz",
863
- "version": "4.3.0"
864
- },
865
- "node_modules/wrap-ansi-cjs/node_modules/emoji-regex": {
866
- "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==",
867
- "license": "MIT",
868
- "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz",
869
- "version": "8.0.0"
870
- },
871
- "node_modules/wrap-ansi-cjs/node_modules/string-width": {
872
- "dependencies": {
873
- "emoji-regex": "^8.0.0",
874
- "is-fullwidth-code-point": "^3.0.0",
875
- "strip-ansi": "^6.0.1"
876
- },
877
- "engines": {
878
- "node": ">=8"
879
- },
880
- "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==",
881
- "license": "MIT",
882
- "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz",
883
- "version": "4.2.3"
884
- },
885
- "node_modules/wrap-ansi-cjs/node_modules/strip-ansi": {
886
- "dependencies": {
887
- "ansi-regex": "^5.0.1"
888
- },
889
- "engines": {
890
- "node": ">=8"
891
- },
892
- "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==",
893
- "license": "MIT",
894
- "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz",
895
- "version": "6.0.1"
896
515
  }
897
516
  },
898
517
  "requires": true,
899
- "version": "0.8.0"
518
+ "version": "0.9.1"
900
519
  }
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
- "artifactDownloadUrl": "https://github.com/weezy20/zv/releases/download/v0.8.0",
3
- "author": "Abhishek Shah <abhishekshah3@gmail.com>",
2
+ "artifactDownloadUrl": "https://github.com/weezy20/zv/releases/download/v0.9.1",
3
+ "author": "Abhishek Shah",
4
4
  "bin": {
5
5
  "zv": "run-zv.js"
6
6
  },
7
7
  "dependencies": {
8
- "axios": "^1.11.0",
8
+ "axios": "^1.13.2",
9
9
  "axios-proxy-builder": "^0.1.2",
10
10
  "console.table": "^0.10.0",
11
- "detect-libc": "^2.0.4",
12
- "rimraf": "^6.0.1"
11
+ "detect-libc": "^2.1.2",
12
+ "rimraf": "^6.1.2"
13
13
  },
14
14
  "description": "Ziglang Version Manager and Project Starter",
15
15
  "devDependencies": {
16
- "prettier": "^3.6.2"
16
+ "prettier": "^3.7.4"
17
17
  },
18
18
  "engines": {
19
19
  "node": ">=14",
@@ -105,7 +105,7 @@
105
105
  "zipExt": ".tar.gz"
106
106
  }
107
107
  },
108
- "version": "0.8.0",
108
+ "version": "0.9.1",
109
109
  "volta": {
110
110
  "node": "18.14.1",
111
111
  "npm": "9.5.0"
package/CHANGELOG.md DELETED
@@ -1,47 +0,0 @@
1
- # Changelog
2
-
3
- ## v0.5.1 → v0.6.0
4
-
5
- ## ✨ Features
6
- - Support installations of non indexed zig versions. MachEngine and many other projects rely on zig versions that are not available in the official zig index. Now `zv` supports installations of non-indexed zig versions as they're most likely present on community mirrors even if not indexed. Maybe a future version of `zv` will expand the index to include the machengine zig index for shasum/size information.
7
-
8
- ## v0.5.0 → v0.5.1
9
-
10
- ## Bug Fixes
11
- - Before: `zv install 0.15.2` would fail if zig index hadn't expired and `zv sync` was not run, or `zv install latest` wasn't used to fetch latest zig.
12
- - Now: `zv install <version>` falls back to fetching latest zig index if specified version is not found in cached index instead of erroring out.
13
- - That doesn't mean `zv v0.5.0` can't install the latest without a sync, you just had to use `zv install latest` or `zv use latest` or `zv use 0.15.2 -f` without any kind of sync beforehand.
14
-
15
- ## v0.4.0 → v0.5.0
16
- ## ✨ Features
17
- - **`zv install`**: Install without setting a zig version as active.
18
- - Uses same flags as `zv use` i.e. `-f` to force using ziglang.org as a download source.
19
- - Shorthand: **`zv i <version>`** installs the specified version without setting it as active.
20
- - Can also install multiple versions which are comma separated list: `zv i 0.11,master,stable,latest`
21
- - De-duplication for zigversions is handled internally so if you specify `zv i latest,stable` then it only installs one version, provided cached index stable == remote index stable which is true for 99.99% of the time.
22
-
23
- ## v0.3.1 → v0.4.0
24
-
25
- ## ✨ Features
26
-
27
- - **`zv init`**: Added `build.zig.zon` generation via `-p/--package/--zon` flag (#17)
28
- - **`zv init`**: Generate `.zigversion` file to specify minimum Zig version for builds
29
- - **Self-update**: Refactored using `self-replace` dependency with SHA256 verification for downloaded github assets (#21). This also removes a ton of dependencies.
30
- - **Self-update**: Added `upgrade` as alias for `update` command
31
- - **Self-update**: Added `--rc` flag to include pre-release versions when checking for updates
32
-
33
- ## Bug Fixes
34
-
35
- - Fixed phantom active Zig display when no version was set (zv)
36
- - Fixed toolchain manager fallback for mismatches between version scan and `active.json`
37
- - Improved auto-switching logic when cleaning/removing installations
38
- - Fixed ZIP extraction path issues in update mechanism
39
-
40
- ## Others
41
-
42
- - Deduplicated shim generation logic, Added quiet flag to supress output during automatic shim regeneration
43
- - Target triple detection now at compile time
44
- - Better async handling (replaced blocking calls with `await`)
45
- - Updated documentation and Homebrew tap configuration
46
-
47
- ---