Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91938420f6 | ||
|
|
d07563cf5e | ||
|
|
cf6df4e9f3 | ||
|
|
91ee2ab7a8 | ||
|
|
1d77ed3bbe | ||
|
|
83d7d33d86 | ||
|
|
0295223a3d | ||
|
|
8974b3048d | ||
|
|
6e021e9848 | ||
|
|
8d13f0a176 | ||
|
|
231930dd56 | ||
|
|
b5eace85db | ||
|
|
e7758934a8 | ||
|
|
324a6be4d0 | ||
|
|
8f94ed3619 | ||
|
|
41297c80f8 | ||
|
|
f122bafaa9 | ||
|
|
ec33d7df26 | ||
|
|
47943c76ac | ||
|
|
bb3ef34052 | ||
|
|
d77917f24c | ||
|
|
d6e478c277 | ||
|
|
788d4fdded | ||
|
|
8ec559012d | ||
|
|
b64d2a1742 | ||
|
|
6241fa6352 | ||
|
|
3af8e4a4cd | ||
|
|
81c12017ce | ||
|
|
d53e745854 | ||
|
|
94c0bbfcbc | ||
|
|
b536f040be | ||
|
|
4a80283786 | ||
|
|
ea30976669 | ||
|
|
bb00dcb8de | ||
|
|
de40fc7a98 | ||
|
|
a891be1a13 | ||
|
|
1b8d4879ac | ||
|
|
0203c2388a | ||
|
|
d785329e74 | ||
|
|
f1b20c7c18 | ||
|
|
3872432a07 | ||
|
|
9b655473bc | ||
|
|
b688f528bd | ||
|
|
3e7f8459ff | ||
|
|
4e5c0fd401 | ||
|
|
e179bd5b9b | ||
|
|
44f1298471 | ||
|
|
f196182261 | ||
|
|
cba443dc39 | ||
|
|
fad759efda | ||
|
|
fd37ca3dda | ||
|
|
51cb09339c | ||
|
|
6aa2e1cebb | ||
|
|
90b779356f | ||
|
|
da38faa9be | ||
|
|
7fc4b79172 | ||
|
|
641fa857b4 | ||
|
|
0f4c7b1d68 | ||
|
|
c96fd39482 | ||
|
|
bc1d9a3199 | ||
|
|
c80a08be64 | ||
|
|
0039bd7213 | ||
|
|
62ab0bf92f | ||
|
|
a049d1c519 | ||
|
|
bc44870665 | ||
|
|
5bf94bc567 | ||
|
|
a5607e04ad | ||
|
|
39c616f609 | ||
|
|
002a211ca5 | ||
|
|
0a1f5dc450 | ||
|
|
ec740dd063 | ||
|
|
2912cf3eb9 | ||
|
|
fbc7d47fbd | ||
|
|
d39255ac20 | ||
|
|
903ffb8b90 | ||
|
|
5e4972e285 | ||
|
|
8b7bc0a650 | ||
|
|
69f508442c | ||
|
|
c82794af62 | ||
|
|
07102a6128 | ||
|
|
04cfee6f3e | ||
|
|
db3a344568 | ||
|
|
671e8a11c7 | ||
|
|
9bc3cb74b5 | ||
|
|
db9ac4e729 | ||
|
|
bc12798327 | ||
|
|
e725356eee | ||
|
|
6e89d3dd03 | ||
|
|
27ab891343 | ||
|
|
e5a2017f7d | ||
|
|
be4d22587f | ||
|
|
66e2ac5df2 | ||
|
|
fb6cc731f5 | ||
|
|
38643233a3 | ||
|
|
f1358d55b4 | ||
|
|
c105c1ec17 | ||
|
|
2abda9b71e | ||
|
|
65955d9b33 | ||
|
|
b1d3849f87 | ||
|
|
c4f7ded565 | ||
|
|
db32bb0835 | ||
|
|
db050b2617 | ||
|
|
96a2079283 | ||
|
|
a2d696168a | ||
|
|
e1de52bdf3 | ||
|
|
23dc0d4046 | ||
|
|
bbc819f28c | ||
|
|
aa515d96f3 | ||
|
|
175c860ec8 | ||
|
|
fe2766e554 | ||
|
|
0620f57691 | ||
|
|
03099a149b | ||
|
|
2a310b499f | ||
|
|
9ab81ab28d | ||
|
|
d1c51da6e0 | ||
|
|
aa2674af35 | ||
|
|
b788aaf03f | ||
|
|
239c69ee40 | ||
|
|
74604235ad | ||
|
|
dfa836b7d4 | ||
|
|
b016d34c2d | ||
|
|
37cc92faf9 | ||
|
|
45ed4a7aed | ||
|
|
02df0f3e98 | ||
|
|
8b19bf00c3 | ||
|
|
b662c6b356 | ||
|
|
81149949b7 | ||
|
|
d041556f9f | ||
|
|
8ecdf990d2 | ||
|
|
6f93cd19c1 | ||
|
|
00584bd549 | ||
|
|
14bfc21b0a | ||
|
|
329bf35a9d | ||
|
|
9302b8e0da | ||
|
|
bad27cfe39 | ||
|
|
63f011b071 | ||
|
|
3c76776e2c | ||
|
|
d544bf2b3a | ||
|
|
218ae7a862 | ||
|
|
fe2a1be194 | ||
|
|
2a4fcc6e4d | ||
|
|
be6a951e43 | ||
|
|
652ac8234d | ||
|
|
040d659055 | ||
|
|
816dc55db7 | ||
|
|
93d50560de | ||
|
|
be4cf74210 | ||
|
|
b6f8cb0546 | ||
|
|
5efbb87ea5 | ||
|
|
a510e5005c | ||
|
|
0889c1324f | ||
|
|
9ff69dc69f | ||
|
|
93d4318884 | ||
|
|
464e005afd | ||
|
|
521a957640 | ||
|
|
9bbff46317 | ||
|
|
7e979b37e7 | ||
|
|
bce809a5cc | ||
|
|
eaea6e9fd5 | ||
|
|
102bb9926e | ||
|
|
dfb92f2441 | ||
|
|
fb8a1eb5b1 | ||
|
|
c5a93af9cc | ||
|
|
3b7ddb4b8f | ||
|
|
d5f4dcb91c | ||
|
|
1a664fe096 | ||
|
|
5fd2bb66f3 | ||
|
|
4100059b3a | ||
|
|
d8787317a4 | ||
|
|
23ede48549 | ||
|
|
6cc1ad7e98 | ||
|
|
7e9cf35c28 | ||
|
|
89975dc505 | ||
|
|
f0e35b09ee | ||
|
|
905de13a84 | ||
|
|
efd0b2513a | ||
|
|
4103bd7e6e | ||
|
|
92bf2b5bd7 | ||
|
|
04c2575ab6 | ||
|
|
b05e70d6d8 | ||
|
|
f7f82a57d6 | ||
|
|
6dbbe5dc6d | ||
|
|
8a11a8d14c | ||
|
|
24e1955847 | ||
|
|
6e60520cba | ||
|
|
d7bfb9c2b0 | ||
|
|
8e169e32e7 | ||
|
|
25dc146ece | ||
|
|
832ff9043b | ||
|
|
2c9db240e4 | ||
|
|
3eec331cfa | ||
|
|
806b058cdf | ||
|
|
2a6e583d38 | ||
|
|
4178707ee5 | ||
|
|
ee94dc9d07 | ||
|
|
72e65d181d | ||
|
|
468f963ddd | ||
|
|
c4e2fcc56d | ||
|
|
fe5a33f484 | ||
|
|
93bed09c78 | ||
|
|
646f37d9be | ||
|
|
2758caad13 | ||
|
|
0201a9b5c0 | ||
|
|
c6d68d2d3f | ||
|
|
cc67bf0dcd | ||
|
|
dd6b701a29 | ||
|
|
ec434cf673 | ||
|
|
8af95df0aa | ||
|
|
0d1dc3b621 | ||
|
|
610c639739 | ||
|
|
8b3047ae77 | ||
|
|
e50899fa9f | ||
|
|
4ade15b099 | ||
|
|
3c58f7c2c0 | ||
|
|
ecdf2c1803 | ||
|
|
b776a40806 | ||
|
|
c2408f42a3 | ||
|
|
d44ab4f6d0 | ||
|
|
6bd8078d75 | ||
|
|
a1e2f4cea2 | ||
|
|
4816cbc58e | ||
|
|
8330f99260 | ||
|
|
87f7604d80 | ||
|
|
e478da7d31 | ||
|
|
03bb1e5711 | ||
|
|
ba1bea3944 | ||
|
|
a6c29ebb3d | ||
|
|
a6344b8062 | ||
|
|
aa545e7f75 | ||
|
|
90e1813003 | ||
|
|
98b98a7d68 | ||
|
|
f69a4e76fa | ||
|
|
40fb4b7c8f | ||
|
|
4a2e83ee31 | ||
|
|
81fa4c598b | ||
|
|
4b926fe426 | ||
|
|
c2f9e6249c | ||
|
|
4956df7650 | ||
|
|
65f0d12ade | ||
|
|
40f1833aae | ||
|
|
64d06e5a1f | ||
|
|
1c9705764b | ||
|
|
2944daa552 | ||
|
|
19a61f16c8 | ||
|
|
01e006f99d | ||
|
|
e10a83edc6 | ||
|
|
b59be3fe52 | ||
|
|
c56cc39f9b | ||
|
|
91a93488c3 | ||
|
|
1c51c389b9 | ||
|
|
fe44bf9e52 | ||
|
|
03e3ae725a | ||
|
|
a84e8af4b0 | ||
|
|
253231f40d | ||
|
|
aa20dc19f7 | ||
|
|
59edad80de | ||
|
|
e737029e69 | ||
|
|
443369c585 | ||
|
|
2f3fe4f280 | ||
|
|
c209954ffd | ||
|
|
6438a366b2 | ||
|
|
9b0b1ee261 | ||
|
|
77e013526e | ||
|
|
22e15c86db | ||
|
|
093c424b5c | ||
|
|
96633733ac | ||
|
|
a9b7d06d2a | ||
|
|
ef91a8603b | ||
|
|
9724e0f33a | ||
|
|
74edd94226 | ||
|
|
b30a06428c | ||
|
|
709ab479a3 | ||
|
|
ed3db5d4a7 | ||
|
|
d7b7b204ac | ||
|
|
89d1615eda | ||
|
|
bafddb3319 | ||
|
|
da94c09688 | ||
|
|
88e0e8bdf9 | ||
|
|
6f6eccd82a | ||
|
|
35110fcd6c | ||
|
|
84d7da9705 | ||
|
|
52e0429678 | ||
|
|
b37ae30d94 | ||
|
|
6485e8afb2 | ||
|
|
f6ee1e2c0f | ||
|
|
9a1c825055 | ||
|
|
f2e13aa9bf | ||
|
|
b8deacf682 | ||
|
|
c4c6d3883f | ||
|
|
95590f1d7b | ||
|
|
ea37ca60cf | ||
|
|
3c7e690fbd | ||
|
|
12c821fafa | ||
|
|
6c862d6a33 | ||
|
|
252b5e7696 | ||
|
|
7ba56bf81b | ||
|
|
ebad961241 | ||
|
|
d6d51799b7 | ||
|
|
5ee3c18db3 | ||
|
|
bfbfee874f | ||
|
|
529c7da1e2 | ||
|
|
08ac203def | ||
|
|
53c447ad6b | ||
|
|
8e379e4611 | ||
|
|
be14d3a62b | ||
|
|
aebb3f2052 | ||
|
|
ed2519e937 | ||
|
|
1cafdfa9ad | ||
|
|
4351e57075 | ||
|
|
2cf9c75d96 | ||
|
|
0715b2862a | ||
|
|
4fd5d89c3a | ||
|
|
19da4e31c8 | ||
|
|
0c334e9560 | ||
|
|
93b688a1b9 | ||
|
|
1eb6ec6e8a | ||
|
|
be41dd6175 | ||
|
|
28eedcf114 | ||
|
|
c24f94ce4c | ||
|
|
32a680faf1 | ||
|
|
f36451f47a | ||
|
|
15ca81d8f0 | ||
|
|
abd685b4c1 | ||
|
|
bf5833524c | ||
|
|
23fbd21432 | ||
|
|
acb95afe1b | ||
|
|
19d494fbb3 | ||
|
|
bae6175c4b | ||
|
|
b700c2cfdd | ||
|
|
fbe9c58cc4 | ||
|
|
20c0791fc6 | ||
|
|
209988a3f2 | ||
|
|
a87559696c | ||
|
|
2b9f4f84da | ||
|
|
5943dc4ec5 | ||
|
|
617bd37ee3 | ||
|
|
342399ce45 | ||
|
|
6fd3c6b695 | ||
|
|
e6cbe0884d | ||
|
|
ac08813407 | ||
|
|
8fad71868a | ||
|
|
cb0725dc7c | ||
|
|
801e3d52d1 | ||
|
|
6e525b92c7 | ||
|
|
9e2eca25c4 | ||
|
|
acaa5d7ccd | ||
|
|
057999596d | ||
|
|
f0d2347ee2 | ||
|
|
99f4be60ec | ||
|
|
7955f5013d | ||
|
|
f811b996dd | ||
|
|
811e52f5bd | ||
|
|
27818151e7 | ||
|
|
2461cba237 | ||
|
|
6e901196fe | ||
|
|
484729cdbe | ||
|
|
835ff8d428 | ||
|
|
86683d81d6 | ||
|
|
ecb81ec535 | ||
|
|
fb9ddb02c4 | ||
|
|
a4af330721 | ||
|
|
6737df4be1 | ||
|
|
4db9743221 | ||
|
|
c25ec86546 | ||
|
|
6af606be55 | ||
|
|
3763f9e076 | ||
|
|
23581a34b0 | ||
|
|
b24021771b | ||
|
|
504cbe1c23 | ||
|
|
475a86ab52 | ||
|
|
461dabf362 | ||
|
|
a3161e9afe | ||
|
|
c7d77e1b6b | ||
|
|
8c97e191f4 | ||
|
|
102cfce37b | ||
|
|
58db3b3397 | ||
|
|
6aa69eb39d | ||
|
|
4df614eeec | ||
|
|
5d8b28d36b | ||
|
|
3fc1614ce0 | ||
|
|
b7a28dbfaa | ||
|
|
29c14837b6 | ||
|
|
5dd16d4b49 | ||
|
|
bc7166324a | ||
|
|
4a148b5cf2 | ||
|
|
73483fa736 | ||
|
|
b3fb940d20 | ||
|
|
c156222e52 | ||
|
|
20f484c561 | ||
|
|
814bae2897 | ||
|
|
ba5c95024c | ||
|
|
a18259595e | ||
|
|
935600c969 | ||
|
|
8873b9d0a1 | ||
|
|
c8f0d53821 | ||
|
|
c1b0694097 | ||
|
|
9f52df1197 | ||
|
|
75637340a2 | ||
|
|
01928b3ad9 | ||
|
|
fb99fb24c7 | ||
|
|
8a89a78830 | ||
|
|
3ba3b222ad | ||
|
|
7516aae2c1 | ||
|
|
aab0e2eb18 | ||
|
|
c1d962c9b9 | ||
|
|
c30d598d77 | ||
|
|
3f8d2db9b9 | ||
|
|
20251116c3 | ||
|
|
a7776baa1a | ||
|
|
f6411f862c | ||
|
|
2c2643b14c | ||
|
|
087860c472 | ||
|
|
de2de50769 | ||
|
|
37164f3ced | ||
|
|
6c4f64b662 | ||
|
|
9425d3419b | ||
|
|
fdb39a80cb | ||
|
|
50ffafc9dc | ||
|
|
83a9fe564d | ||
|
|
4119b049cf | ||
|
|
330b18d945 | ||
|
|
b853dfa0d4 | ||
|
|
6914e3e325 | ||
|
|
545d7f01c4 | ||
|
|
92a0dda3e7 | ||
|
|
ca64d2a018 | ||
|
|
825d90c22b | ||
|
|
fc9c0abe70 | ||
|
|
cb3d366080 | ||
|
|
a47e25a360 | ||
|
|
282acba77e | ||
|
|
c02b358dcc | ||
|
|
23b853415f | ||
|
|
116ee92eab | ||
|
|
4fabdf9cf5 | ||
|
|
3275c7041e | ||
|
|
1236082735 | ||
|
|
bfb4a45d9c | ||
|
|
3ad698544c | ||
|
|
76551387d7 | ||
|
|
46a1b9b163 | ||
|
|
8f160bb241 | ||
|
|
4b1ca280e4 | ||
|
|
71700b92c6 | ||
|
|
608ee95753 | ||
|
|
abc0d11b09 | ||
|
|
5a6c3fb9e2 | ||
|
|
c0e57eafc7 | ||
|
|
13b8f041be | ||
|
|
b4255a3e32 | ||
|
|
61d2beae2f | ||
|
|
44a21380ab | ||
|
|
b5b3aa02c0 | ||
|
|
91f554845a | ||
|
|
b94a25c963 | ||
|
|
1234dca5ff | ||
|
|
fc36499963 | ||
|
|
39c47a0a5a | ||
|
|
72169aaf8d | ||
|
|
e4b2869aa7 | ||
|
|
34373f1a3f | ||
|
|
c2f5b6477c | ||
|
|
14dd110bfe | ||
|
|
6682517544 | ||
|
|
e1d05b11a4 | ||
|
|
2ee02742e7 | ||
|
|
5f8aea2d09 | ||
|
|
454b347fac | ||
|
|
3240a257bc | ||
|
|
3d3850f76c | ||
|
|
201e17b00d | ||
|
|
bd7e018e23 | ||
|
|
900c4c9266 | ||
|
|
dd87f353aa | ||
|
|
e942fe4f04 | ||
|
|
81bc96515b | ||
|
|
dbb56a4db6 | ||
|
|
6b1825f568 | ||
|
|
6a8d1d30f3 | ||
|
|
50bd3ed699 | ||
|
|
0716afba0a | ||
|
|
9f08fe6886 | ||
|
|
9f70133188 | ||
|
|
dfe13de18b | ||
|
|
c031d57f41 | ||
|
|
2b06b5b64c | ||
|
|
d450f3b38c | ||
|
|
d2e32ace21 | ||
|
|
01beb24ce7 | ||
|
|
cf3defed07 | ||
|
|
083b5e1834 | ||
|
|
6cb4958013 | ||
|
|
1b15214a1d | ||
|
|
241dd6f9fb | ||
|
|
e2f6a8299c | ||
|
|
8ee06eeedb | ||
|
|
71b60fc961 | ||
|
|
9f5792d2b4 | ||
|
|
1127fbd260 | ||
|
|
40901c976d | ||
|
|
dacb5ec378 | ||
|
|
f5f2938817 | ||
|
|
4dc9dcfe91 | ||
|
|
03e6e208ec | ||
|
|
1f314da094 | ||
|
|
ca3c3a6b91 | ||
|
|
ab7f046386 | ||
|
|
a0beb74601 | ||
|
|
58b3bd4404 | ||
|
|
d554f2961a | ||
|
|
d175e60ce9 | ||
|
|
100563cc70 | ||
|
|
63065a59e5 | ||
|
|
686c9fb08b | ||
|
|
c63e10a135 | ||
|
|
1d737a0bc3 | ||
|
|
603140a25d | ||
|
|
e20b284fba | ||
|
|
acc5ab5f13 | ||
|
|
de9f44e09e | ||
|
|
87c7609bc8 | ||
|
|
6706c682d5 | ||
|
|
438bb09dda | ||
|
|
a3b75a60e7 | ||
|
|
ae0ef63a03 | ||
|
|
8ad6157f7e | ||
|
|
72f541c7a3 | ||
|
|
75670a71ab | ||
|
|
11e2ac8130 | ||
|
|
e36bc459a9 | ||
|
|
0325b11746 | ||
|
|
0462c17fc1 | ||
|
|
6cbfa60e89 | ||
|
|
99393d2683 | ||
|
|
b612eed948 | ||
|
|
3ccbd85342 | ||
|
|
a26f2a2cf9 | ||
|
|
0bb259c734 | ||
|
|
b434ad7246 | ||
|
|
1202011926 | ||
|
|
babff364d6 | ||
|
|
cfe5b4fece | ||
|
|
504aff98d0 | ||
|
|
a4576e040c | ||
|
|
9cb58fccf3 | ||
|
|
521d0bf638 | ||
|
|
1d02e32486 | ||
|
|
d28f275168 | ||
|
|
eafc6f87fc | ||
|
|
5bdbaa920e | ||
|
|
aabbfca763 | ||
|
|
be9d659763 | ||
|
|
96ad3ebba0 | ||
|
|
c46e65fe3c | ||
|
|
79e0db7ef6 | ||
|
|
b0c43e2bdb | ||
|
|
ad312d788f | ||
|
|
a8c6ebc81b | ||
|
|
0d4267e356 | ||
|
|
e5d842571b | ||
|
|
2be6d4d412 | ||
|
|
05d25dac5a | ||
|
|
e811a5b654 | ||
|
|
7824f48383 | ||
|
|
e9dbf1fb0e | ||
|
|
3ffb8052d6 | ||
|
|
1a2e152e16 | ||
|
|
4ea4420b35 | ||
|
|
7527853897 | ||
|
|
a9d6b86198 | ||
|
|
cca32baf0f | ||
|
|
207b2ab54d | ||
|
|
7fd60b0356 | ||
|
|
3b921e64ed | ||
|
|
d625f622ca | ||
|
|
700cc2a196 | ||
|
|
c53a8cb773 | ||
|
|
ea0a99ef20 | ||
|
|
241dd13c17 | ||
|
|
9f5f7d80de | ||
|
|
5e3648e141 | ||
|
|
a78201bffd | ||
|
|
a12c43bfae | ||
|
|
e00b78b5b4 | ||
|
|
f868b97cd7 | ||
|
|
9186038c6f | ||
|
|
de76ee5b4d | ||
|
|
91564e0a0a | ||
|
|
5904fa7f84 | ||
|
|
399e9d008c | ||
|
|
161b0e8c03 | ||
|
|
20a26514d8 | ||
|
|
0048f48b47 | ||
|
|
be25e17687 | ||
|
|
1e405c3446 | ||
|
|
203f207be7 | ||
|
|
8e9d921b88 | ||
|
|
a93a99b138 | ||
|
|
56da33f2cd | ||
|
|
a768d22700 | ||
|
|
bf395a1862 | ||
|
|
4537cc6f63 | ||
|
|
db0aff39c3 | ||
|
|
ac3648c749 | ||
|
|
bc8524d9d3 | ||
|
|
64ef495a3f | ||
|
|
39479739e5 | ||
|
|
78fdcebefd | ||
|
|
cfcc21d21b | ||
|
|
0c29c19de0 | ||
|
|
da8c5df0a0 | ||
|
|
d4447dfb2e | ||
|
|
6f1b17fc66 | ||
|
|
e14fd2f9e2 | ||
|
|
fd7691495b | ||
|
|
b77c57e08d | ||
|
|
3ed3f90ee7 | ||
|
|
eb401042a6 | ||
|
|
ca47590376 | ||
|
|
09d56f5cbf | ||
|
|
02df1bc9f2 | ||
|
|
226081db3a | ||
|
|
8decf33ec8 | ||
|
|
4313ce9215 | ||
|
|
7d6753f344 | ||
|
|
bed46c6045 | ||
|
|
f1d6a167a0 | ||
|
|
19d3179339 | ||
|
|
884a4474d6 | ||
|
|
c9b448ce64 | ||
|
|
f90a69c86c | ||
|
|
80a2fb78c3 | ||
|
|
a99744646a | ||
|
|
b489f3aa02 | ||
|
|
2355232aed |
No files matched your search
@@ -1,294 +0,0 @@
|
||||
{
|
||||
"globals": {
|
||||
"Component": true,
|
||||
"ComponentPublicInstance": true,
|
||||
"ComputedRef": true,
|
||||
"EffectScope": true,
|
||||
"InjectionKey": true,
|
||||
"PropType": true,
|
||||
"Ref": true,
|
||||
"VNode": true,
|
||||
"asyncComputed": true,
|
||||
"autoResetRef": true,
|
||||
"computed": true,
|
||||
"computedAsync": true,
|
||||
"computedEager": true,
|
||||
"computedInject": true,
|
||||
"computedWithControl": true,
|
||||
"controlledComputed": true,
|
||||
"controlledRef": true,
|
||||
"createApp": true,
|
||||
"createEventHook": true,
|
||||
"createGlobalState": true,
|
||||
"createInjectionState": true,
|
||||
"createReactiveFn": true,
|
||||
"createReusableTemplate": true,
|
||||
"createSharedComposable": true,
|
||||
"createTemplatePromise": true,
|
||||
"createUnrefFn": true,
|
||||
"customRef": true,
|
||||
"debouncedRef": true,
|
||||
"debouncedWatch": true,
|
||||
"defineAsyncComponent": true,
|
||||
"defineComponent": true,
|
||||
"eagerComputed": true,
|
||||
"effectScope": true,
|
||||
"extendRef": true,
|
||||
"getCurrentInstance": true,
|
||||
"getCurrentScope": true,
|
||||
"h": true,
|
||||
"ignorableWatch": true,
|
||||
"inject": true,
|
||||
"isDefined": true,
|
||||
"isProxy": true,
|
||||
"isReactive": true,
|
||||
"isReadonly": true,
|
||||
"isRef": true,
|
||||
"makeDestructurable": true,
|
||||
"markRaw": true,
|
||||
"nextTick": true,
|
||||
"onActivated": true,
|
||||
"onBeforeMount": true,
|
||||
"onBeforeRouteLeave": true,
|
||||
"onBeforeRouteUpdate": true,
|
||||
"onBeforeUnmount": true,
|
||||
"onBeforeUpdate": true,
|
||||
"onClickOutside": true,
|
||||
"onDeactivated": true,
|
||||
"onErrorCaptured": true,
|
||||
"onKeyStroke": true,
|
||||
"onLongPress": true,
|
||||
"onMounted": true,
|
||||
"onRenderTracked": true,
|
||||
"onRenderTriggered": true,
|
||||
"onScopeDispose": true,
|
||||
"onServerPrefetch": true,
|
||||
"onStartTyping": true,
|
||||
"onUnmounted": true,
|
||||
"onUpdated": true,
|
||||
"pausableWatch": true,
|
||||
"provide": true,
|
||||
"reactify": true,
|
||||
"reactifyObject": true,
|
||||
"reactive": true,
|
||||
"reactiveComputed": true,
|
||||
"reactiveOmit": true,
|
||||
"reactivePick": true,
|
||||
"readonly": true,
|
||||
"ref": true,
|
||||
"refAutoReset": true,
|
||||
"refDebounced": true,
|
||||
"refDefault": true,
|
||||
"refThrottled": true,
|
||||
"refWithControl": true,
|
||||
"resolveComponent": true,
|
||||
"resolveRef": true,
|
||||
"resolveUnref": true,
|
||||
"shallowReactive": true,
|
||||
"shallowReadonly": true,
|
||||
"shallowRef": true,
|
||||
"syncRef": true,
|
||||
"syncRefs": true,
|
||||
"templateRef": true,
|
||||
"throttledRef": true,
|
||||
"throttledWatch": true,
|
||||
"toRaw": true,
|
||||
"toReactive": true,
|
||||
"toRef": true,
|
||||
"toRefs": true,
|
||||
"triggerRef": true,
|
||||
"tryOnBeforeMount": true,
|
||||
"tryOnBeforeUnmount": true,
|
||||
"tryOnMounted": true,
|
||||
"tryOnScopeDispose": true,
|
||||
"tryOnUnmounted": true,
|
||||
"unref": true,
|
||||
"unrefElement": true,
|
||||
"until": true,
|
||||
"useActiveElement": true,
|
||||
"useAnimate": true,
|
||||
"useArrayDifference": true,
|
||||
"useArrayEvery": true,
|
||||
"useArrayFilter": true,
|
||||
"useArrayFind": true,
|
||||
"useArrayFindIndex": true,
|
||||
"useArrayFindLast": true,
|
||||
"useArrayIncludes": true,
|
||||
"useArrayJoin": true,
|
||||
"useArrayMap": true,
|
||||
"useArrayReduce": true,
|
||||
"useArraySome": true,
|
||||
"useArrayUnique": true,
|
||||
"useAsyncQueue": true,
|
||||
"useAsyncState": true,
|
||||
"useAttrs": true,
|
||||
"useBase64": true,
|
||||
"useBattery": true,
|
||||
"useBluetooth": true,
|
||||
"useBreakpoints": true,
|
||||
"useBroadcastChannel": true,
|
||||
"useBrowserLocation": true,
|
||||
"useCached": true,
|
||||
"useClipboard": true,
|
||||
"useCloned": true,
|
||||
"useColorMode": true,
|
||||
"useConfirmDialog": true,
|
||||
"useCounter": true,
|
||||
"useCssModule": true,
|
||||
"useCssVar": true,
|
||||
"useCssVars": true,
|
||||
"useCurrentElement": true,
|
||||
"useCycleList": true,
|
||||
"useDark": true,
|
||||
"useDateFormat": true,
|
||||
"useDebounce": true,
|
||||
"useDebounceFn": true,
|
||||
"useDebouncedRefHistory": true,
|
||||
"useDeviceMotion": true,
|
||||
"useDeviceOrientation": true,
|
||||
"useDevicePixelRatio": true,
|
||||
"useDevicesList": true,
|
||||
"useDialog": true,
|
||||
"useDisplayMedia": true,
|
||||
"useDocumentVisibility": true,
|
||||
"useDraggable": true,
|
||||
"useDropZone": true,
|
||||
"useElementBounding": true,
|
||||
"useElementByPoint": true,
|
||||
"useElementHover": true,
|
||||
"useElementSize": true,
|
||||
"useElementVisibility": true,
|
||||
"useEventBus": true,
|
||||
"useEventListener": true,
|
||||
"useEventSource": true,
|
||||
"useEyeDropper": true,
|
||||
"useFavicon": true,
|
||||
"useFetch": true,
|
||||
"useFileDialog": true,
|
||||
"useFileSystemAccess": true,
|
||||
"useFocus": true,
|
||||
"useFocusWithin": true,
|
||||
"useFps": true,
|
||||
"useFullscreen": true,
|
||||
"useGamepad": true,
|
||||
"useGeolocation": true,
|
||||
"useI18n": true,
|
||||
"useIdle": true,
|
||||
"useImage": true,
|
||||
"useInfiniteScroll": true,
|
||||
"useIntersectionObserver": true,
|
||||
"useInterval": true,
|
||||
"useIntervalFn": true,
|
||||
"useKeyModifier": true,
|
||||
"useLastChanged": true,
|
||||
"useLink": true,
|
||||
"useLoadingBar": true,
|
||||
"useLocalStorage": true,
|
||||
"useMagicKeys": true,
|
||||
"useManualRefHistory": true,
|
||||
"useMediaControls": true,
|
||||
"useMediaQuery": true,
|
||||
"useMemoize": true,
|
||||
"useMemory": true,
|
||||
"useMessage": true,
|
||||
"useMounted": true,
|
||||
"useMouse": true,
|
||||
"useMouseInElement": true,
|
||||
"useMousePressed": true,
|
||||
"useMutationObserver": true,
|
||||
"useNavigatorLanguage": true,
|
||||
"useNetwork": true,
|
||||
"useNotification": true,
|
||||
"useNow": true,
|
||||
"useObjectUrl": true,
|
||||
"useOffsetPagination": true,
|
||||
"useOnline": true,
|
||||
"usePageLeave": true,
|
||||
"useParallax": true,
|
||||
"useParentElement": true,
|
||||
"usePerformanceObserver": true,
|
||||
"usePermission": true,
|
||||
"usePointer": true,
|
||||
"usePointerLock": true,
|
||||
"usePointerSwipe": true,
|
||||
"usePreferredColorScheme": true,
|
||||
"usePreferredContrast": true,
|
||||
"usePreferredDark": true,
|
||||
"usePreferredLanguages": true,
|
||||
"usePreferredReducedMotion": true,
|
||||
"usePrevious": true,
|
||||
"useRafFn": true,
|
||||
"useRefHistory": true,
|
||||
"useResizeObserver": true,
|
||||
"useRoute": true,
|
||||
"useRouter": true,
|
||||
"useScreenOrientation": true,
|
||||
"useScreenSafeArea": true,
|
||||
"useScriptTag": true,
|
||||
"useScroll": true,
|
||||
"useScrollLock": true,
|
||||
"useSessionStorage": true,
|
||||
"useShare": true,
|
||||
"useSlots": true,
|
||||
"useSorted": true,
|
||||
"useSpeechRecognition": true,
|
||||
"useSpeechSynthesis": true,
|
||||
"useStepper": true,
|
||||
"useStorage": true,
|
||||
"useStorageAsync": true,
|
||||
"useStyleTag": true,
|
||||
"useSupported": true,
|
||||
"useSwipe": true,
|
||||
"useTemplateRefsList": true,
|
||||
"useTextDirection": true,
|
||||
"useTextSelection": true,
|
||||
"useTextareaAutosize": true,
|
||||
"useThrottle": true,
|
||||
"useThrottleFn": true,
|
||||
"useThrottledRefHistory": true,
|
||||
"useTimeAgo": true,
|
||||
"useTimeout": true,
|
||||
"useTimeoutFn": true,
|
||||
"useTimeoutPoll": true,
|
||||
"useTimestamp": true,
|
||||
"useTitle": true,
|
||||
"useToNumber": true,
|
||||
"useToString": true,
|
||||
"useToggle": true,
|
||||
"useTransition": true,
|
||||
"useUrlSearchParams": true,
|
||||
"useUserMedia": true,
|
||||
"useVModel": true,
|
||||
"useVModels": true,
|
||||
"useVibrate": true,
|
||||
"useVirtualList": true,
|
||||
"useWakeLock": true,
|
||||
"useWebNotification": true,
|
||||
"useWebSocket": true,
|
||||
"useWebWorker": true,
|
||||
"useWebWorkerFn": true,
|
||||
"useWindowFocus": true,
|
||||
"useWindowScroll": true,
|
||||
"useWindowSize": true,
|
||||
"watch": true,
|
||||
"watchArray": true,
|
||||
"watchAtMost": true,
|
||||
"watchDebounced": true,
|
||||
"watchDeep": true,
|
||||
"watchEffect": true,
|
||||
"watchIgnorable": true,
|
||||
"watchImmediate": true,
|
||||
"watchOnce": true,
|
||||
"watchPausable": true,
|
||||
"watchPostEffect": true,
|
||||
"watchSyncEffect": true,
|
||||
"watchThrottled": true,
|
||||
"watchTriggerable": true,
|
||||
"watchWithFilter": true,
|
||||
"whenever": true,
|
||||
"toValue": true,
|
||||
"injectLocal": true,
|
||||
"provideLocal": true,
|
||||
"useClipboardItems": true
|
||||
}
|
||||
}
|
||||
@@ -1,23 +0,0 @@
|
||||
/**
|
||||
* @type {import('eslint').Linter.Config}
|
||||
*/
|
||||
module.exports = {
|
||||
root: true,
|
||||
extends: ['@antfu', './.eslintrc-auto-import.json', '@unocss'],
|
||||
|
||||
ignorePatterns: ['src/libs/*'],
|
||||
|
||||
rules: {
|
||||
'curly': ['error', 'all'],
|
||||
'@typescript-eslint/semi': ['error', 'always'],
|
||||
'@typescript-eslint/no-use-before-define': ['error', { allowNamedExports: true, functions: false }],
|
||||
'vue/no-empty-component-block': ['error'],
|
||||
'no-restricted-imports': ['error', {
|
||||
paths: [{
|
||||
name: '@vueuse/core',
|
||||
importNames: ['useClipboard'],
|
||||
message: 'Please use local useCopy from src/composable/copy.ts instead of useClipboard.',
|
||||
}],
|
||||
}],
|
||||
},
|
||||
};
|
||||
@@ -1,2 +1,2 @@
|
||||
github:
|
||||
- CorentinTh
|
||||
github: sharevb
|
||||
buy_me_a_coffee: sharevb
|
||||
@@ -2,7 +2,7 @@ name: 🐞 Bug Report
|
||||
description: File a bug report.
|
||||
labels: ['bug', 'triage']
|
||||
assignees:
|
||||
- CorentinTh
|
||||
- sharevb
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
@@ -13,7 +13,7 @@ body:
|
||||
id: bug-description
|
||||
attributes:
|
||||
label: Describe the bug
|
||||
description: A clear and concise description of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
|
||||
description: A clear and concise description, in PLAIN ENGLISH ONLY, of what the bug is. If you intend to submit a PR for this issue, tell us in the description. Thanks!
|
||||
placeholder: Bug description
|
||||
validations:
|
||||
required: true
|
||||
|
||||
@@ -25,7 +25,7 @@ body:
|
||||
id: feature-description
|
||||
attributes:
|
||||
label: Clear and concise description of the feature you are proposing
|
||||
description: A clear and concise description of what the feature is.
|
||||
description: A clear and concise description of what the feature is, in PLAIN ENGLISH ONLY.
|
||||
placeholder: 'Example: a token generator tool'
|
||||
validations:
|
||||
required: true
|
||||
@@ -33,7 +33,7 @@ body:
|
||||
- type: textarea
|
||||
id: alternative
|
||||
attributes:
|
||||
label: Is their example of this tool in the wild?
|
||||
label: Is there example of this tool in the wild?
|
||||
description: Provide link to already existing tool (like websites, apps, cli, ...) or npm packages that could be used or provide inspiration for the feature.
|
||||
|
||||
- type: textarea
|
||||
@@ -54,3 +54,5 @@ body:
|
||||
required: true
|
||||
- label: Check that the feature can be implemented in a client side only app (IT-Tools is client side only, no server).
|
||||
required: true
|
||||
- label: Everything is written in PLAIN ENGLISH
|
||||
required: true
|
||||
@@ -19,7 +19,8 @@
|
||||
|
||||
### Before submitting the PR, please make sure you do the following
|
||||
|
||||
- [ ] Submit the PR against the `dev` branch.
|
||||
- [ ] Submit the PR against the `chore/all-my-stuffs` branch.
|
||||
- [ ] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
|
||||
- [ ] Provide a description in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`).
|
||||
- [ ] Provide a description, in PLAIN ENGLISH ONLY, in this PR that addresses **what** the PR is solving, or reference the issue that it solves (e.g. `fixes #123`).
|
||||
- [ ] Run `pnpm install --ignore-scripts && pnpm lint:fix && pnpm typecheck` to ensure pnpm lock, oxlint (including type-aware rules) and vue-tsc are ok
|
||||
- [ ] Ideally, include relevant tests that fail without this PR but pass with it.
|
||||
@@ -0,0 +1,244 @@
|
||||
---
|
||||
name: Deploy
|
||||
|
||||
# Builds here and deploys the result to Vercel. The Git integration is off for this project
|
||||
# (`git.deploymentEnabled: false` in vercel.json), so this workflow is what deploys it.
|
||||
#
|
||||
# chore/all-my-stuffs goes to production. Every pull request gets a preview, linked from the
|
||||
# PR's "View deployment" button through the GitHub environment set on the job.
|
||||
#
|
||||
# Setup: VERCEL_TOKEN, VERCEL_ORG_ID and VERCEL_PROJECT_ID as secrets, on the repository or on
|
||||
# the Production and Preview environments. Optionally the VERCEL_PRODUCTION_URL repository
|
||||
# variable (e.g. https://it-tools.example.com/): production builds generate sitemap.xml and
|
||||
# robots.txt for it, and without it they are left out.
|
||||
#
|
||||
# Replaces sharevb-vercel-preview.yml and sharevb-vercel-prod.yml, which deployed the same two
|
||||
# targets without a concurrency group or a GitHub environment. One deployment per burst of
|
||||
# pushes keeps Vercel's daily deployment and upload caps, and Deployment Storage, in check.
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- chore/all-my-stuffs
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
concurrency:
|
||||
# Per ref, cancelling in progress: pushing three times in a minute should cost one
|
||||
# deployment, not three. Production is grouped per ref too, so a rapid merge sequence
|
||||
# collapses the same way.
|
||||
group: deploy-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
# Same-repository events only. GitHub withholds secrets from `pull_request` runs on forks,
|
||||
# so a fork would fail the credentials check on every push — and more to the point, this
|
||||
# job runs the checked-out branch's build scripts with VERCEL_TOKEN in the environment.
|
||||
# That is fine for branches in this repository, whose authors already have the secrets, and
|
||||
# is not something to offer an arbitrary fork.
|
||||
# Skip renovate[bot] too as it exceeds Vercel Free Plan limits.
|
||||
if: >-
|
||||
(
|
||||
github.event_name != 'pull_request' ||
|
||||
github.event.pull_request.head.repo.full_name == github.repository
|
||||
) &&
|
||||
github.actor != 'renovate[bot]'
|
||||
runs-on: ubuntu-26.04-arm
|
||||
timeout-minutes: 15
|
||||
# Records a GitHub Deployment per run, which is what puts the Environments sidebar, the
|
||||
# "deployed to Preview" PR timeline entry and its "View deployment" button back — the parts
|
||||
# of the Vercel Git integration lost when building moved here. The names match the
|
||||
# environments that integration created, so their history carries on. The condition has to
|
||||
# be restated rather than read from the `target` step: the environment is fixed before any
|
||||
# step runs. `url` is evaluated at the end, so it can use the deploy step's output.
|
||||
environment:
|
||||
name: >-
|
||||
${{ github.ref == 'refs/heads/chore/all-my-stuffs' && github.event_name != 'pull_request'
|
||||
&& 'Production' || 'Preview' }}
|
||||
url: ${{ steps.deploy.outputs.url }}
|
||||
permissions:
|
||||
contents: read
|
||||
steps:
|
||||
- name: Fail early if the Vercel credentials are missing
|
||||
env:
|
||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
missing=""
|
||||
for name in VERCEL_TOKEN VERCEL_ORG_ID VERCEL_PROJECT_ID; do
|
||||
[ -z "${!name}" ] && missing="$missing $name"
|
||||
done
|
||||
if [ -n "$missing" ]; then
|
||||
# Either place works, so name both rather than send anyone to the wrong settings
|
||||
# page.
|
||||
echo "::error::Missing secrets:$missing — set them on the repository (Settings > Secrets and variables > Actions) or on the Production and Preview environments (Settings > Environments). See .github/workflows/deploy.yaml"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
# On pull requests, the exact commit that triggered the run, not GitHub's detached
|
||||
# merge commit: this builds the PR's own head, as Vercel's Git integration did.
|
||||
# Pinned to the event's SHA rather than the branch name, so a push that lands while
|
||||
# this run is queued, or a re-run of an old run, can't deploy a different commit
|
||||
# under this run's deployment. Empty on push and workflow_dispatch, which keeps the
|
||||
# default ref.
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
|
||||
# The Vercel CLI reads the deployment's branch and commit message from git. A detached
|
||||
# checkout shows up in Vercel as branch "HEAD", so name the commit after the PR branch.
|
||||
- name: Name the checked-out commit after the PR branch
|
||||
if: github.event_name == 'pull_request'
|
||||
env:
|
||||
# From the environment, not interpolated: branch names can contain shell
|
||||
# metacharacters.
|
||||
HEAD_REF: ${{ github.head_ref }}
|
||||
run: git checkout -B "$HEAD_REF"
|
||||
|
||||
- uses: pnpm/setup@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0
|
||||
with:
|
||||
cache: true
|
||||
|
||||
- name: Install Vercel CLI
|
||||
# Into a scratch directory outside the repository, not globally: `pnpm add --global`
|
||||
# needs a global bin directory that `pnpm/setup` does not configure, and it failed
|
||||
# immediately on the first run with the secrets in place. Installing here also keeps
|
||||
# package.json and the lockfile untouched, so the tree the build sees is the tree that
|
||||
# was committed.
|
||||
#
|
||||
# Pinned: an unpinned CLI changes how this workflow builds and deploys with no commit
|
||||
# here to explain it.
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mkdir -p "$RUNNER_TEMP/vercel-cli"
|
||||
cd "$RUNNER_TEMP/vercel-cli"
|
||||
pnpm init >/dev/null
|
||||
# Build approvals as config rather than --allow-build flags, matching how the
|
||||
# repository declares its own. This directory is outside the repository so it
|
||||
# inherits nothing; both packages that run install scripts are named here. esbuild
|
||||
# is the one that actually needs it — a transitive dependency of the CLI whose
|
||||
# postinstall links its native binary.
|
||||
#
|
||||
# minimumReleaseAge is deliberately not set: pnpm's built-in default is already
|
||||
# 1440 minutes, so restating it would only create a second place to keep in sync.
|
||||
printf 'allowBuilds:\n vercel: true\n esbuild: true\n' > pnpm-workspace.yaml
|
||||
pnpm add vercel@60.1.3
|
||||
echo "$RUNNER_TEMP/vercel-cli/node_modules/.bin" >> "$GITHUB_PATH"
|
||||
|
||||
# Environment is decided once and reused, so the pull, the build and the deploy cannot
|
||||
# disagree about which one they are targeting.
|
||||
- name: Resolve target environment
|
||||
id: target
|
||||
env:
|
||||
# Read from the environment, not interpolated into the script. workflow_dispatch can
|
||||
# run on any branch, and a branch name containing shell metacharacters would
|
||||
# otherwise be pasted straight into this `if` as source.
|
||||
REF: ${{ github.ref }}
|
||||
EVENT: ${{ github.event_name }}
|
||||
PRODUCTION_URL: ${{ vars.VERCEL_PRODUCTION_URL }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [ "$REF" = "refs/heads/chore/all-my-stuffs" ] && [ "$EVENT" != "pull_request" ]; then
|
||||
{
|
||||
echo "environment=production"
|
||||
echo "prod_flag=--prod"
|
||||
echo "hostname=$PRODUCTION_URL"
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
{
|
||||
echo "environment=preview"
|
||||
echo "prod_flag="
|
||||
# No sitemap or robots.txt for previews: they would advertise the preview URL.
|
||||
echo "hostname="
|
||||
} >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
- name: Pull Vercel project settings
|
||||
env:
|
||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
# The link is written out rather than left to the CLI to infer from environment
|
||||
# variables. Relying on VERCEL_ORG_ID/VERCEL_PROJECT_ID alone failed here with
|
||||
# "Could not retrieve Project Settings", and which variables a given CLI version
|
||||
# honours is not something to guess at from a workflow. This file is exactly what
|
||||
# `vercel link` produces, so the CLI has nothing left to work out.
|
||||
mkdir -p .vercel
|
||||
# printf rather than a heredoc: a heredoc's terminator has to sit at column zero,
|
||||
# which it cannot inside an indented YAML block, and %s keeps the ids out of the
|
||||
# shell's word splitting.
|
||||
printf '{"projectId":"%s","orgId":"%s"}\n' "$VERCEL_PROJECT_ID" "$VERCEL_ORG_ID" \
|
||||
> .vercel/project.json
|
||||
# Shape only — the ids are secrets and are not printed.
|
||||
python3 -c "import json;d=json.load(open('.vercel/project.json'));print('link written, keys:', sorted(d))"
|
||||
vercel pull --yes \
|
||||
--environment="${{ steps.target.outputs.environment }}" \
|
||||
--token="$VERCEL_TOKEN"
|
||||
|
||||
- name: Build
|
||||
env:
|
||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||
# What sharevb-vercel-*.yml set, kept so the build is the same:
|
||||
# VITE_VERCEL_ENV is the env label the app reports (src/config.ts), and
|
||||
# VITE_VERCEL_DEPLOY turns off full PWA precaching (vite.config.ts).
|
||||
VITE_VERCEL_ENV: ${{ steps.target.outputs.environment }}
|
||||
VITE_VERCEL_DEPLOY: true
|
||||
# HOSTNAME is what vite.config.ts generates sitemap.xml and robots.txt from, so it is
|
||||
# set for production only, from the VERCEL_PRODUCTION_URL repository variable.
|
||||
HOSTNAME: ${{ steps.target.outputs.hostname }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
vercel build ${{ steps.target.outputs.prod_flag }} --token="$VERCEL_TOKEN"
|
||||
# A build that produces nothing would otherwise deploy an empty site over a working
|
||||
# one. Checked before anything is uploaded.
|
||||
test -s .vercel/output/static/index.html || {
|
||||
echo "::error::Build produced no .vercel/output/static/index.html — refusing to deploy"
|
||||
exit 1
|
||||
}
|
||||
|
||||
- name: Deploy
|
||||
id: deploy
|
||||
env:
|
||||
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
|
||||
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
|
||||
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
# --archive=tgz uploads the output as one archive instead of file by file. The Hobby
|
||||
# plan caps CLI uploads at 5000 files a day across the whole account
|
||||
# ("api-upload-free"), and per-file uploads hit that after a busy
|
||||
# day of deploys.
|
||||
url=$(vercel deploy --prebuilt --archive=tgz ${{ steps.target.outputs.prod_flag }} --token="$VERCEL_TOKEN")
|
||||
# `vercel deploy` prints the URL on stdout and progress on stderr, so this is the URL
|
||||
# and nothing else. Empty means the deploy did not produce one, which is a failure
|
||||
# even if the CLI exited 0.
|
||||
[ -n "$url" ] || { echo "::error::Deploy returned no URL"; exit 1; }
|
||||
echo "url=$url" >> "$GITHUB_OUTPUT"
|
||||
echo "Deployed to $url"
|
||||
|
||||
- name: Summary
|
||||
if: always()
|
||||
env:
|
||||
ENVIRONMENT: ${{ steps.target.outputs.environment }}
|
||||
URL: ${{ steps.deploy.outputs.url }}
|
||||
STATUS: ${{ job.status }}
|
||||
run: |
|
||||
{
|
||||
echo "### Deploy"
|
||||
echo ""
|
||||
if [ "$STATUS" = "success" ]; then
|
||||
echo "Deployed to **$ENVIRONMENT**: $URL"
|
||||
else
|
||||
echo "**Deploy failed.** See the failing step above."
|
||||
fi
|
||||
} >> "$GITHUB_STEP_SUMMARY"
|
||||
@@ -6,34 +6,37 @@ on:
|
||||
branches:
|
||||
- chore/all-my-stuffs
|
||||
|
||||
concurrency:
|
||||
# A new push supersedes the previous run on the same ref, so a burst of pushes
|
||||
# costs one run instead of one per push.
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-26.04-arm
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
- run: |
|
||||
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
|
||||
npm install -g corepack@latest
|
||||
echo "After : corepack version => $(corepack --version)"
|
||||
corepack enable
|
||||
pnpm --version
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- name: Setup pnpm and install dependencies
|
||||
uses: pnpm/setup@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'pnpm'
|
||||
cache: true
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm i
|
||||
# The checks are independent of each other, so they share the runner
|
||||
# instead of queueing behind one another. The build is the long pole.
|
||||
- parallel:
|
||||
- name: Check formatting
|
||||
run: pnpm fmt:check
|
||||
|
||||
- name: Run linters
|
||||
run: pnpm lint
|
||||
- name: Run linters
|
||||
run: pnpm lint
|
||||
|
||||
- name: Run unit test
|
||||
run: pnpm test
|
||||
- name: Run unit test
|
||||
run: pnpm test:unit
|
||||
|
||||
- name: Type check
|
||||
run: pnpm typecheck
|
||||
- name: Type check
|
||||
run: pnpm typecheck
|
||||
|
||||
- name: Build the app
|
||||
run: pnpm build
|
||||
- name: Build the app
|
||||
run: pnpm build
|
||||
@@ -21,7 +21,9 @@ on:
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
runs-on: ubuntu-latest
|
||||
# x64 on purpose: the x64 runner image ships the CodeQL bundle in its tool
|
||||
# cache, the arm64 image does not, so arm would download it on every run.
|
||||
runs-on: ubuntu-26.04
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
@@ -37,11 +39,9 @@ jobs:
|
||||
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
|
||||
# Initializes the CodeQL tools for scanning.
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- name: Initialize CodeQL
|
||||
uses: github/codeql-action/init@v3
|
||||
uses: github/codeql-action/init@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
|
||||
with:
|
||||
languages: ${{ matrix.language }}
|
||||
# If you wish to specify custom queries, you can do so here or in a config file.
|
||||
@@ -55,9 +55,7 @@ jobs:
|
||||
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
|
||||
# If this step fails, then you should remove it and run the build manually (see below)
|
||||
- name: Autobuild
|
||||
uses: github/codeql-action/autobuild@v3
|
||||
|
||||
# ℹ️ Command-line programs to run using the OS shell.
|
||||
uses: github/codeql-action/autobuild@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
|
||||
# 📚 https://git.io/JvXDl
|
||||
|
||||
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
|
||||
@@ -69,4 +67,4 @@ jobs:
|
||||
# make release
|
||||
|
||||
- name: Perform CodeQL Analysis
|
||||
uses: github/codeql-action/analyze@v3
|
||||
uses: github/codeql-action/analyze@2892aa5e19bbd11bc0cff5427e3b750a04d9e3c2 # v4.38.2
|
||||
@@ -1,5 +1,8 @@
|
||||
name: Docker nightly release
|
||||
|
||||
env:
|
||||
VITE_VERCEL_ENV: production
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
@@ -7,12 +10,12 @@ on:
|
||||
|
||||
jobs:
|
||||
check_date:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-26.04-arm
|
||||
name: Check latest commit
|
||||
outputs:
|
||||
should_run: ${{ steps.should_run.outputs.should_run }}
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- name: print latest_commit
|
||||
run: echo ${{ github.sha }}
|
||||
|
||||
@@ -23,75 +26,128 @@ jobs:
|
||||
run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false"
|
||||
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-26.04-arm
|
||||
needs: check_date
|
||||
if: ${{ needs.check_date.outputs.should_run != 'false' }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
- run: |
|
||||
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
|
||||
npm install -g corepack@latest
|
||||
echo "After : corepack version => $(corepack --version)"
|
||||
corepack enable
|
||||
pnpm --version
|
||||
- uses: actions/setup-node@v3
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
- name: Setup pnpm and install dependencies
|
||||
uses: pnpm/setup@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm i
|
||||
cache: true
|
||||
|
||||
- name: Run linters
|
||||
run: pnpm lint
|
||||
|
||||
- name: Run unit test
|
||||
run: pnpm test
|
||||
run: pnpm test:unit
|
||||
|
||||
- name: Type check
|
||||
run: pnpm typecheck
|
||||
|
||||
- name: Build the app
|
||||
run: pnpm build
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-26.04-arm
|
||||
needs:
|
||||
- ci
|
||||
|
||||
steps:
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
|
||||
with:
|
||||
images: sharevb/it-tools
|
||||
labels: |
|
||||
org.opencontainers.image.version=nightly
|
||||
|
||||
# Checkout the repository
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
tags: |
|
||||
sharevb/it-tools:nightly
|
||||
ghcr.io/${{ github.repository_owner }}/it-tools:nightly
|
||||
|
||||
# Optionally log out
|
||||
- name: Log out from GitHub Container Registry
|
||||
run: docker logout ghcr.io
|
||||
run: docker logout ghcr.io
|
||||
|
||||
github-release:
|
||||
runs-on: ubuntu-26.04-arm
|
||||
needs: ci
|
||||
steps:
|
||||
- name: Set release version to nightly
|
||||
run: echo "RELEASE_VERSION=nightly" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- name: Setup pnpm and install dependencies
|
||||
uses: pnpm/setup@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0
|
||||
with:
|
||||
cache: true
|
||||
|
||||
- name: Build the app
|
||||
run: pnpm build
|
||||
|
||||
- name: Zip the app
|
||||
run: zip -r it-tools-${{ env.RELEASE_VERSION }}.zip dist/*
|
||||
|
||||
- name: Get changelog
|
||||
id: changelog
|
||||
run: |
|
||||
EOF=$(openssl rand -hex 8)
|
||||
echo "changelog<<$EOF" >> $GITHUB_OUTPUT
|
||||
node ./scripts/getLatestChangelog.mjs >> $GITHUB_OUTPUT
|
||||
echo "$EOF" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
files: it-tools-${{ env.RELEASE_VERSION }}.zip
|
||||
tag_name: ${{ env.RELEASE_VERSION }}
|
||||
draft: false
|
||||
prerelease: true
|
||||
body: |
|
||||
## Docker images
|
||||
|
||||
- Docker Hub Registry
|
||||
- `sharevb/it-tools:${{ env.RELEASE_VERSION}}`
|
||||
|
||||
- GitHub Container Registry
|
||||
- `ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}`
|
||||
|
||||
## Changelog
|
||||
|
||||
${{ steps.changelog.outputs.changelog }}
|
||||
@@ -1,69 +1,75 @@
|
||||
name: Build and Push Docker Image (baseurl-it-tools)
|
||||
|
||||
# Kept for the deployments already pulling the `baseurl-it-tools` tag. It is no longer a
|
||||
# different build: BASE_URL is a runtime setting now, so this image is the same one as
|
||||
# `latest` with the default moved to /it-tools/, and `latest` with `-e BASE_URL=/it-tools/`
|
||||
# gets you exactly the same thing.
|
||||
|
||||
env:
|
||||
VITE_VERCEL_ENV: production
|
||||
|
||||
# Runs after the ci workflow passes on a push to the default branch, rather than
|
||||
# repeating its lint, tests, typecheck and build here: the image build compiles
|
||||
# the app anyway, and ci is what decides whether this commit is fit to publish.
|
||||
on:
|
||||
push:
|
||||
workflow_run:
|
||||
workflows: [ci]
|
||||
types: [completed]
|
||||
branches:
|
||||
- chore/all-my-stuffs
|
||||
|
||||
concurrency:
|
||||
# One publish at a time, newest wins: without this, an older run that finishes
|
||||
# last would overwrite the tags with an older commit. ci cancels its own
|
||||
# superseded runs, so these runs arrive in commit order and cancelling the
|
||||
# older one always leaves the newest commit published.
|
||||
group: ${{ github.workflow }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
|
||||
npm install -g corepack@latest
|
||||
echo "After : corepack version => $(corepack --version)"
|
||||
corepack enable
|
||||
pnpm --version
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm i
|
||||
|
||||
- name: Run linters
|
||||
run: pnpm lint
|
||||
|
||||
- name: Run unit tests
|
||||
run: pnpm test
|
||||
|
||||
- name: Build the app
|
||||
run: pnpm build
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- ci
|
||||
# Only a successful ci run for a push; a pull request's run must never publish.
|
||||
if: >-
|
||||
github.event.workflow_run.conclusion == 'success' &&
|
||||
github.event.workflow_run.event == 'push'
|
||||
runs-on: ubuntu-26.04-arm
|
||||
steps:
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
|
||||
with:
|
||||
images: sharevb/it-tools
|
||||
labels: |
|
||||
org.opencontainers.image.version=baseurl-it-tools
|
||||
|
||||
# Checkout the repository
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
# The commit ci tested, not whatever the branch points at by now.
|
||||
ref: ${{ github.event.workflow_run.head_sha }}
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||
|
||||
- name: Build and push (BASE_URL)
|
||||
uses: docker/build-push-action@v5
|
||||
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
@@ -71,6 +77,7 @@ jobs:
|
||||
"BASE_URL=/it-tools/"
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
tags: |
|
||||
sharevb/it-tools:baseurl-it-tools
|
||||
ghcr.io/sharevb/it-tools:baseurl-it-tools
|
||||
|
||||
@@ -1,77 +1,86 @@
|
||||
name: Build and Push Docker Image (latest)
|
||||
|
||||
env:
|
||||
VITE_VERCEL_ENV: production
|
||||
|
||||
# Runs after the ci workflow passes on a push to the default branch, rather than
|
||||
# repeating its lint, tests, typecheck and build here: the image build compiles
|
||||
# the app anyway, and ci is what decides whether this commit is fit to publish.
|
||||
on:
|
||||
push:
|
||||
workflow_run:
|
||||
workflows: [ci]
|
||||
types: [completed]
|
||||
branches:
|
||||
- chore/all-my-stuffs
|
||||
|
||||
concurrency:
|
||||
# One publish at a time, newest wins: without this, an older run that finishes
|
||||
# last would overwrite the tags with an older commit. ci cancels its own
|
||||
# superseded runs, so these runs arrive in commit order and cancelling the
|
||||
# older one always leaves the newest commit published.
|
||||
group: ${{ github.workflow }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- run: |
|
||||
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
|
||||
npm install -g corepack@latest
|
||||
echo "After : corepack version => $(corepack --version)"
|
||||
corepack enable
|
||||
pnpm --version
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm i
|
||||
|
||||
- name: Run linters
|
||||
run: pnpm lint
|
||||
|
||||
- name: Run unit tests
|
||||
run: pnpm test
|
||||
|
||||
- name: Build the app
|
||||
run: pnpm build
|
||||
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- ci
|
||||
# Only a successful ci run for a push; a pull request's run must never publish.
|
||||
if: >-
|
||||
github.event.workflow_run.conclusion == 'success' &&
|
||||
github.event.workflow_run.event == 'push'
|
||||
runs-on: ubuntu-26.04-arm
|
||||
strategy:
|
||||
matrix:
|
||||
language: ['', 'en']
|
||||
steps:
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
|
||||
with:
|
||||
images: sharevb/it-tools
|
||||
labels: |
|
||||
org.opencontainers.image.version=${{ case(matrix.language != '', format('latest-{0}', matrix.language), 'latest') }}
|
||||
|
||||
# Checkout the repository
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
with:
|
||||
# The commit ci tested, not whatever the branch points at by now.
|
||||
ref: ${{ github.event.workflow_run.head_sha }}
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
build-args: |
|
||||
"BASE_URL=/"
|
||||
"VITE_AVAILABLE_LOCALES=${{ matrix.language }}"
|
||||
"VITE_LANGUAGE=${{ matrix.language }}"
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
tags: |
|
||||
sharevb/it-tools:latest
|
||||
ghcr.io/${{ github.repository_owner }}/it-tools:latest
|
||||
sharevb/it-tools:${{ case(matrix.language != '', format('latest-{0}', matrix.language), 'latest') }}
|
||||
ghcr.io/sharevb/it-tools:${{ case(matrix.language != '', format('latest-{0}', matrix.language), 'latest') }}
|
||||
|
||||
# Optionally log out
|
||||
- name: Log out from GitHub Container Registry
|
||||
|
||||
@@ -4,49 +4,80 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- chore/all-my-stuffs
|
||||
|
||||
concurrency:
|
||||
# A new push supersedes the previous run on the same ref, so a burst of pushes
|
||||
# costs one run instead of one per push.
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
test:
|
||||
timeout-minutes: 30
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
shard: [1/3, 2/3, 3/3]
|
||||
# Built once and shared: the build output is the same for every browser, so
|
||||
# each test job downloads it instead of spending a minute rebuilding it.
|
||||
build:
|
||||
runs-on: ubuntu-26.04-arm
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- run: |
|
||||
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
|
||||
npm install -g corepack@latest
|
||||
echo "After : corepack version => $(corepack --version)"
|
||||
corepack enable
|
||||
pnpm --version
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
- name: Setup pnpm and install dependencies
|
||||
uses: pnpm/setup@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Get Playwright version
|
||||
id: playwright-version
|
||||
run: echo "PLAYWRIGHT_VERSION=$(jq -r .dependencies.playwright package.json)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install
|
||||
cache: true
|
||||
|
||||
- name: Build app
|
||||
run: pnpm build
|
||||
|
||||
- name: Upload build output
|
||||
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
|
||||
with:
|
||||
name: dist
|
||||
path: dist
|
||||
if-no-files-found: error
|
||||
retention-days: 1
|
||||
|
||||
test:
|
||||
needs: build
|
||||
name: test (${{ matrix.browser }})
|
||||
timeout-minutes: 120
|
||||
runs-on: ubuntu-26.04-arm
|
||||
strategy:
|
||||
# Always report every browser, rather than cancelling the rest on the
|
||||
# first failure.
|
||||
fail-fast: false
|
||||
matrix:
|
||||
browser: [chromium, firefox, webkit]
|
||||
steps:
|
||||
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- name: Setup pnpm and install dependencies
|
||||
uses: pnpm/setup@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0
|
||||
with:
|
||||
cache: true
|
||||
|
||||
- name: Get Playwright version
|
||||
id: playwright-version
|
||||
# The installed version, not the range in package.json: a lockfile bump
|
||||
# inside the same range would otherwise leave the key unchanged and the
|
||||
# cached browsers out of sync with Playwright.
|
||||
run: echo "PLAYWRIGHT_VERSION=$(jq -r .version node_modules/@playwright/test/package.json)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Download build output
|
||||
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
|
||||
with:
|
||||
name: dist
|
||||
path: dist
|
||||
|
||||
- name: Restore Playwright browsers from cache
|
||||
uses: actions/cache@v4
|
||||
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
|
||||
with:
|
||||
path: ~/.cache/ms-playwright
|
||||
key: ${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}-${{ hashFiles('**/playwright.config.ts') }}
|
||||
key: ${{ runner.os }}-${{ runner.arch }}-playwright-${{ matrix.browser }}-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}-${{ hashFiles('**/playwright.config.ts') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-playwright-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}-
|
||||
${{ runner.os }}-playwright-
|
||||
${{ runner.os }}-${{ runner.arch }}-playwright-${{ matrix.browser }}-${{ steps.playwright-version.outputs.PLAYWRIGHT_VERSION }}-
|
||||
${{ runner.os }}-${{ runner.arch }}-playwright-${{ matrix.browser }}-
|
||||
|
||||
- name: Install Playwright Browsers
|
||||
run: pnpm exec playwright install --with-deps
|
||||
run: pnpm exec playwright install --with-deps ${{ matrix.browser }}
|
||||
|
||||
- name: Run Playwright tests
|
||||
run: pnpm run test:e2e --shard=${{ matrix.shard }}
|
||||
run: pnpm run test:e2e --project=${{ matrix.browser }}
|
||||
@@ -0,0 +1,62 @@
|
||||
name: Deploy static content to Pages
|
||||
|
||||
env:
|
||||
VITE_VERCEL_ENV: production
|
||||
|
||||
on:
|
||||
# Runs on pushes targeting the default branch
|
||||
push:
|
||||
branches: ["chore/all-my-stuffs"]
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
|
||||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
|
||||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
||||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
|
||||
jobs:
|
||||
# Single deploy job since we're just deploying
|
||||
deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-26.04-arm
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- name: Setup pnpm and install dependencies
|
||||
uses: pnpm/setup@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0
|
||||
with:
|
||||
cache: true
|
||||
|
||||
- name: Run linters
|
||||
run: pnpm lint
|
||||
|
||||
- name: Type check
|
||||
run: pnpm typecheck
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
BASE_URL="/it-tools/" pnpm build
|
||||
cp dist/index.html dist/404.html
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
|
||||
with:
|
||||
path: './dist'
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1
|
||||
@@ -1,5 +1,8 @@
|
||||
name: Release new versions
|
||||
|
||||
env:
|
||||
VITE_VERCEL_ENV: production
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
@@ -7,35 +10,41 @@ on:
|
||||
|
||||
jobs:
|
||||
docker-release:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-26.04-arm
|
||||
steps:
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@dc802804100637a589fabce1cb79ff13a1411302 # v6.2.0
|
||||
with:
|
||||
images: sharevb/it-tools
|
||||
|
||||
- name: Get release version
|
||||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
||||
|
||||
- name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@dbcb813823bdd20940b903addbd779551569679f # v4.6.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
uses: docker/setup-qemu-action@99012661954931238ded8c8b007157a8430204e1 # v4.4.0
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1
|
||||
|
||||
- name: Build and push (BASE_URL)
|
||||
uses: docker/build-push-action@v5
|
||||
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
@@ -43,49 +52,51 @@ jobs:
|
||||
"BASE_URL=/it-tools/"
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
tags: |
|
||||
sharevb/it-tools:baseurl-it-tools
|
||||
sharevb/it-tools:stable-baseurl-it-tools
|
||||
sharevb/it-tools:${{ env.RELEASE_VERSION}}-baseurl-it-tools
|
||||
ghcr.io/sharevb/it-tools:baseurl-it-tools
|
||||
ghcr.io/sharevb/it-tools:stable-baseurl-it-tools
|
||||
ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}-baseurl-it-tools
|
||||
|
||||
- name: Build and push
|
||||
uses: docker/build-push-action@v5
|
||||
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
|
||||
with:
|
||||
context: .
|
||||
file: ./Dockerfile
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
tags: |
|
||||
sharevb/it-tools:latest
|
||||
sharevb/it-tools:stable
|
||||
sharevb/it-tools:${{ env.RELEASE_VERSION}}
|
||||
ghcr.io/sharevb/it-tools:latest
|
||||
ghcr.io/sharevb/it-tools:stable
|
||||
ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}
|
||||
|
||||
github-release:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-26.04-arm
|
||||
needs: docker-release
|
||||
steps:
|
||||
- name: Get release version
|
||||
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
||||
|
||||
- run: |
|
||||
echo "Before: corepack version => $(corepack --version || echo 'not installed')"
|
||||
npm install -g corepack@latest
|
||||
echo "After : corepack version => $(corepack --version)"
|
||||
corepack enable
|
||||
pnpm --version
|
||||
|
||||
- uses: actions/setup-node@v3
|
||||
- name: Setup pnpm and install dependencies
|
||||
uses: pnpm/setup@fbda4c85fc2e1e08721cd8763afea8f48d60f024 # v3.0.0
|
||||
with:
|
||||
node-version: 20
|
||||
cache: 'pnpm'
|
||||
cache: true
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm i
|
||||
- name: Run linters
|
||||
run: pnpm lint
|
||||
|
||||
- name: Type check
|
||||
run: pnpm typecheck
|
||||
|
||||
- name: Build the app
|
||||
run: pnpm build
|
||||
@@ -102,22 +113,25 @@ jobs:
|
||||
echo "$EOF" >> $GITHUB_OUTPUT
|
||||
|
||||
- name: Create Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
files: it-tools-${{ env.RELEASE_VERSION }}.zip
|
||||
tag_name: v${{ env.RELEASE_VERSION }}
|
||||
draft: true
|
||||
draft: false
|
||||
prerelease: false
|
||||
make_latest: "true"
|
||||
body: |
|
||||
## Docker images
|
||||
|
||||
- Docker Hub Registry
|
||||
- `sharevb/it-tools:latest`
|
||||
- `sharevb/it-tools:stable`
|
||||
- `sharevb/it-tools:${{ env.RELEASE_VERSION}}`
|
||||
|
||||
- GitHub Container Registry
|
||||
- `ghcr.io/sharevb/it-tools:latest`
|
||||
- `ghcr.io/sharevb/it-tools:stable`
|
||||
- `ghcr.io/sharevb/it-tools:${{ env.RELEASE_VERSION}}`
|
||||
|
||||
## Changelog
|
||||
|
||||
@@ -18,8 +18,6 @@ coverage
|
||||
/cypress/screenshots/
|
||||
|
||||
# Editor directories and files
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
.idea
|
||||
*.suo
|
||||
*.ntvs*
|
||||
@@ -34,4 +32,21 @@ coverage
|
||||
# Webkit with playwright creates a salt file
|
||||
salt
|
||||
# WSL can create Zone.Identifier
|
||||
*:Zone.Identifier
|
||||
*:Zone.Identifier
|
||||
.vercel
|
||||
|
||||
components.d.ts
|
||||
|
||||
# .vscode specific files: Include known configuration files, but ignore everything else inside the folder
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
!.vscode/*.code-snippets
|
||||
!*.code-workspace
|
||||
|
||||
# Ignore build or packaged VS Code extensions
|
||||
*.vsix
|
||||
*.tsbuildinfo
|
||||
stats.html
|
||||
@@ -1,7 +0,0 @@
|
||||
{
|
||||
"singleQuote": true,
|
||||
"semi": true,
|
||||
"tabWidth": 2,
|
||||
"trailingComma": "all",
|
||||
"printWidth": 120
|
||||
}
|
||||
@@ -1,3 +1,8 @@
|
||||
{
|
||||
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin", "dbaeumer.vscode-eslint", "lokalise.i18n-ally"]
|
||||
"recommendations": [
|
||||
"Vue.volar",
|
||||
"oxc.oxc-vscode",
|
||||
"lokalise.i18n-ally",
|
||||
"ms-vscode-remote.remote-wsl"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "oxc.oxc-vscode",
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.oxc": "always"
|
||||
},
|
||||
"oxc.fmt.experimental": true,
|
||||
"i18n-ally.localesPaths": [
|
||||
"locales",
|
||||
"src/modules/i18n"
|
||||
],
|
||||
"i18n-ally.keystyle": "nested"
|
||||
}
|
||||
@@ -2,6 +2,748 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
## Version 2026.10.25
|
||||
|
||||
### Features
|
||||
- **json-viewer, yaml-viewer, currency-converter, geo-coordinates-converter**: support intranet mirrors (3af8e4a)
|
||||
- **gitignore-generator, gitattributes-generator**: fall back to a bundled template snapshot (81c1201)
|
||||
- **translator, remove-background, math-ocr, ocr-image, gif-to-mp4**: ship runtimes with the app (d53e745)
|
||||
- **settings**: add an offline mode that hides internet-only tools (4a80283)
|
||||
- **zpool-memo**: add localized content and recategorize (f196182)
|
||||
|
||||
### Bug fixes
|
||||
- **dns-query, gitattributes-generator**: hide dns-query offline, pin commands to the snapshot (788d4fd)
|
||||
- **explainshell, ocr-image**: honour the configured mirrors (8ec5590)
|
||||
- **countdown, cron-alarm, time-alarm**: resolve Beep.mp3 against the app base (94c0bbf)
|
||||
- **markdown-editor, unicode-formatter, pomodoro-timer**: bundle editor extensions and fonts (b536f04)
|
||||
- **visualsubnetcalc, zpool-calc**: escape user data before inserting HTML (de40fc7)
|
||||
- **scripts**: make extract-tools-desc quote matching linear (a891be1)
|
||||
- **database-builder**: quote names and passwords in generated SQL (1b8d487)
|
||||
- **random**: use crypto.getRandomValues for generated secrets (0203c23)
|
||||
- **layout**: escape every bracket and paren in footer package links (d785329)
|
||||
- **markdown**: escape backslashes in generated table cells (3872432)
|
||||
- **json-viewer**: unescape JSON strings in a single pass (9b65547)
|
||||
- **objgen**: comment detection and whitespace stripping (b688f52)
|
||||
- **docker**: serve precompressed static assets (#583) (4e5c0fd)
|
||||
|
||||
### Refactoring
|
||||
- **turndown**: remove text-node escape rules that never run (f1b20c7)
|
||||
|
||||
### Build system
|
||||
- **deps**: add the assets offline mode ships, drop unused currency and ffmpeg helpers (ea30976)
|
||||
|
||||
### I18n
|
||||
- add Traditional Chinese (zh-TW) locale (#587) (d6e478c)
|
||||
- **en, zh**: describe bundled assets, mirrors and snapshots (6241fa6)
|
||||
- **zh**: review the Simplified Chinese translation (#584) (bb00dcb)
|
||||
- rewrite Italian locale with human-quality translations (#582) (3e7f845)
|
||||
- update translations for iptables and fstab generator tools (cba443d)
|
||||
|
||||
### Documentation
|
||||
- **readme**: document offline mode and the mirror settings (b64d2a1)
|
||||
- **zpool-memo**: reformat vdev type table (e179bd5)
|
||||
- **locales**: improve zh UFW generator translations (44f1298)
|
||||
|
||||
## Version 2026.09.27
|
||||
|
||||
### Features
|
||||
- **Timezone Converter**: add POSIX string filterable list (7fc4b79)
|
||||
- **JSON Editor**: store data and add an auto height option (0f4c7b1)
|
||||
- **new tool**: Restic Command Generator (#573) (c96fd39)
|
||||
- **Keys Generator**: add fingerprint (bc1d9a3)
|
||||
- **new tool**: EPC QR Code Generator (c80a08b)
|
||||
- **new tool**: URL Redirection Checker (0039bd7)
|
||||
- **QRCode Generator**: add embeddable link and cropy dataurl (39c616f)
|
||||
- **docker**: serve the app from any subpath with a runtime BASE_URL (#565) (0a1f5dc)
|
||||
- add i18n internationalization for memo and cheatsheet (#552) (04cfee6)
|
||||
- mermaid live preview (#548) (db3a344)
|
||||
- **new tool**: Markdown Format Converter (#488) (671e8a1)
|
||||
- **k8s-memo**: add i18n support for memo content (#546) (db9ac4e)
|
||||
- **common-regex-memo**: add i18n support for memo content (#547) (bc12798)
|
||||
- add warning about need of external self hosted for related tools (6e89d3d)
|
||||
- useNetworkUtilsConfig and basic auth for all tools requiring external docker services (65955d9)
|
||||
- **Math OCR**: replace MathJAX by Katex (b1d3849)
|
||||
- add Cross Origin Isolation (HTTP Headers) (c4f7ded)
|
||||
- **Sitemap**: add HOSTNAME env var to generate a sitemap (96a2079)
|
||||
- Integer Base Converter space separator support (#481) (a2d6961)
|
||||
- **new tool**: Ping (aa515d9)
|
||||
- **IBAN Validator and Parser**: add bank infos (0620f57)
|
||||
|
||||
### Bug fixes
|
||||
- c-link to vs href (62ab0bf)
|
||||
- **deps**: move the two remaining deprecated direct dependencies onto supported versions (#559) (d39255a)
|
||||
- **docker**: run on read-only filesystems, IPv6-less hosts and cpu-limited containers (#556) (8b7bc0a)
|
||||
- **i18n**: tool search in current language and handle switching (e5a2017)
|
||||
- **Code Block Copyable**: enable lineWrapping (be4d225)
|
||||
- **Units Converter**: make units translatable (66e2ac5)
|
||||
- **Units Converter**: ensure label fits (fb6cc73)
|
||||
- **Regex Tester**: navigation bug due to shaddowroot (3864323)
|
||||
- **layout**: prevent horizontal page overflow with wide code content (#483) (f1358d5)
|
||||
- allows cross origin isolation for tools with img and iframe (db32bb0)
|
||||
- **i18n**: some text (e1de52b)
|
||||
- **Dockerfile**: Add source label to Dockerfile (175c860)
|
||||
- **Cron Expression Generator**: handle input cron and standard only (fe2766e)
|
||||
|
||||
### Performance
|
||||
- **bundle**: improve initial load + loading of tools (#575) (641fa85)
|
||||
|
||||
### Refactoring
|
||||
- **websocket-tester**: use the native WebSocket instead of w-websocket-client (#558) (903ffb8)
|
||||
|
||||
### Continuous integration
|
||||
- pnpm 12, pnpm/setup v3, faster and pinned CI, single Vercel deploy workflow (#577) (da38faa)
|
||||
- rework the test and lint toolchain — per-browser E2E, scoped jsdom, type-aware oxlint (#561) (ec740dd)
|
||||
- use pnpm/setup for pnpm and Node setup, pin Node in package.json (#560) (fbc7d47)
|
||||
|
||||
### Chores
|
||||
- fix release script (51cb093)
|
||||
- update deps (90b7793)
|
||||
- remove fm:check ypass (a049d1c)
|
||||
- global code formatting (bc44870)
|
||||
- **deps**: replace the five deprecated packages from the dependency dashboard (#557) (5e4972e)
|
||||
- **deps**: update dependency @playwright/test to ^1.62.0 (#511) (9bc3cb7)
|
||||
- **deps**: update type packages with their dependencies (#452) (db050b2)
|
||||
- update deps (23dc0d4)
|
||||
|
||||
### Other
|
||||
- Restructure and enhance cheat sheets for improved readability (#566) (5bf94bc)
|
||||
- add proxmox helper script (#568) (a5607e0)
|
||||
- Enhance Docker Swarm documentation (#564) (002a211)
|
||||
- Fix regex to clean base64 data URI (#563) (2912cf3)
|
||||
- Optimize the Chinese translationUpdate zh.yml (#549) (69f5084)
|
||||
- Update FUNDING.yml to include Buy Me a Coffee (c82794a)
|
||||
- Fix French translations in fr.yml (#551) (07102a6)
|
||||
- Optimize Chinese translation (#487) (27ab891)
|
||||
- Translate another docker cheatsheets to zh-cn (#479) (c105c1e)
|
||||
|
||||
### I18n
|
||||
- extract and translate remaining (6aa2e1c)
|
||||
- translate remaining (e725356)
|
||||
- translate remaining (bbc819f)
|
||||
|
||||
### Doc
|
||||
- add a docker compose sample with all related services (2abda9b)
|
||||
|
||||
## Version 2026.07.11
|
||||
|
||||
### Features
|
||||
- mobile UX overhaul, theme flash prevention and build cleanup (#474) (239c69e)
|
||||
- **Base64 String Converter**: handle text encoding other than utf8 (7460423)
|
||||
- **new tool**: Keyboard Tester (dfa836b)
|
||||
- **new tool**: Cron Expression Generator (b016d34)
|
||||
- **new tool**: DNS/RDAP queries (37cc92f)
|
||||
- **new tool**: CSS/JS Prettify & Minify (45ed4a7)
|
||||
- **new tool**: Markdown Diff (02df0f3)
|
||||
- **Token Generator**: add ambigous chars exclusion by default (8b19bf0)
|
||||
- **new tool**: Markdown Preview (b662c6b)
|
||||
- **new tool**: Markdown Table Generator (8114994)
|
||||
- **new tool**: nmap Command Builder (d041556)
|
||||
- **new tool**: k6 Generator (8ecdf99)
|
||||
- **new tool**: JSON Patch Tools (6f93cd1)
|
||||
- **Docker Compose to .env**: add updated Docker compose (00584bd)
|
||||
- **docker-compose-memo**: add Chinese translation and refactor locale-based memo loading (#421) (14bfc21)
|
||||
- **Case Converter**: add Language specific Title Case (9302b8e)
|
||||
- add a viewer for JSON/XML and other languages with folding to many tools (3c76776)
|
||||
- **new tool**: Picomatch tester (d544bf2)
|
||||
- **new tool**: Docker Label Generator (218ae7a)
|
||||
- **Color Converter**: add oklab/oklch and lab as CSS (fe2a1be)
|
||||
- **new tools**: HTML/Markdown to data (2a4fcc6)
|
||||
- **Case Converter**: allow multiline (be6a951)
|
||||
- **new tool**: SAML Parser (652ac82)
|
||||
- **new tool**: URL Builder (040d659)
|
||||
- hide network utils config when tools settings url is set (#411) (b6f8cb0)
|
||||
- **new tool**: Crop Image (#404) (5efbb87)
|
||||
- **new tool**: Running Pace Calculator (93d4318)
|
||||
- **Image to SVG**: intégration de esm-potrace-wasm et VTracer pour le mode couleur (bce809a)
|
||||
- **new tool**: HTTPS Tester (1a664fe)
|
||||
- **new tool**: Powershell Memo (5fd2bb6)
|
||||
- **new tool**: DNS Propagation Tester (4100059)
|
||||
- **new tool**: DNS Tester (d878731)
|
||||
- **x509 Certificate Generator**: add options for RSA bits (23ede48)
|
||||
- **new tool**: Random Line Picker (#393) (89975dc)
|
||||
- **Geo Coordinates Converter**: add DMS/Decimal/UTM and a interactive map (f0e35b0)
|
||||
- **UUID Generator**: Case and hyphen options (04c2575)
|
||||
- **new tool**: JSON to .env converter (#349) (b05e70d)
|
||||
|
||||
### Bug fixes
|
||||
- **Release**: needs lodash for now (9ab81ab)
|
||||
- **Bash Cheatsheet**: fix default to en (329bf35)
|
||||
- **script**: Update set_node_mem.sh to work in MacOS (#405) (0889c13)
|
||||
- **Certificate Key Parser**: option to add missing BEGIN/END (464e005)
|
||||
- **Open graph meta generator**: display subtypes (for Music...) (521a957)
|
||||
- **Open Graph Metadata Generator**: fix missing translation keys (9bbff46)
|
||||
- **Fitness Computer**: Change arguments order to fix wrong BMI calculation (#407) (eaea6e9)
|
||||
- **Data Storage Units Converter**: fix b/iB/B conversion (102bb99)
|
||||
- **Speed Converter**: wrong m/h is in fact mi/h (miles) (dfb92f2)
|
||||
- **Amortization Calculator**: exclude historical currencies (fb8a1eb)
|
||||
- optimize Home loading (3b7ddb4)
|
||||
- node-forge patch for EcDSA (6cc1ad7)
|
||||
- **Geo Coordinates Converter**: fix marker display (7e9cf35)
|
||||
- remove HTTP Headers security as this broke many tools (905de13)
|
||||
- **Pdf Signature Checker**: not supported certificate (92bf2b5)
|
||||
|
||||
### Performance
|
||||
- overhaul startup performance, dependencies and UI responsiveness (#419) (bad27cf)
|
||||
|
||||
### Chores
|
||||
- add rollup-plugin-visualizer (7e979b3)
|
||||
- update dependencies (f7f82a5)
|
||||
|
||||
### Other
|
||||
- Add resolver dropdown to dns tester (#410) (93d5056)
|
||||
- Add Chinese translation for bash memo and enhance dynamic loading in … (#408) (be4cf74)
|
||||
- fix unit in placeholder (#414) (a510e50)
|
||||
- jwt-parser - show full date with timezone for date claims (#412) (9ff69dc)
|
||||
|
||||
### I18n
|
||||
- add Hindi (d1c51da)
|
||||
- translate remaining (aa2674a)
|
||||
- extract strings (b788aaf)
|
||||
- translate remaining (efd0b25)
|
||||
- extract more strings (4103bd7)
|
||||
|
||||
### Upgrade toolchain
|
||||
- Vite 8, Vue 3.5, Vitest 4, TypeScript 6, pnpm 11, Node 24; replace ESLint/Prettier with oxlint/oxfmt (#418) (63f011b)
|
||||
|
||||
### Doc
|
||||
- **readme**: add build memory requirements (816dc55)
|
||||
|
||||
### Documentation
|
||||
- enhance Docker cheat sheet (#397) (c5a93af)
|
||||
|
||||
### Fixup! fix
|
||||
- node-forge patch for EcDSA (d5f4dcb)
|
||||
|
||||
## Version 2026.01.04
|
||||
|
||||
### Features
|
||||
- **JSON Viewer**: add unescape JSON string (c4c6d38)
|
||||
- **new tool**: Wiktionary Search (ea37ca6)
|
||||
- add download buttons for many tools (3c7e690)
|
||||
- **string extraction**: add attribute download-button-text (12c821f)
|
||||
- **HTML WYSIWYG Editor**: add XHTML output option (252b5e7)
|
||||
- **new tool**: HTML to XHTML (7ba56bf)
|
||||
- **HTML WYSIWYG Editor**: upgrade tiptap + add aligments + enhance cell selection (ebad961)
|
||||
- **new tool**: JavaScript Obfuscator (529c7da)
|
||||
- **new tool**: Database Table Generator (08ac203)
|
||||
- **new tool**: Database Creation Generator (53c447a)
|
||||
- **Git Attributes Generator**: get all .gitattributes on subfolders + fallback in case of API Rate (8e379e4)
|
||||
- **new-tool**: Add Dead Pixel detection tool (#256) (aebb3f2)
|
||||
- **new tool**: PTR/ARPA generator/decoder (ed2519e)
|
||||
- **new tool**: Gitattributes Generator (1cafdfa)
|
||||
- **new tool**: Zellij Cheatsheet (4fd5d89)
|
||||
- **JSON tools**: handle big float (0c334e9)
|
||||
- **datetime converter**: add custom timezone (#248) (abd685b)
|
||||
- **new tool**: implement amortization-calculator tool (#242) (bf58335)
|
||||
- **new tool**: Trigo/equation visualizer (23fbd21)
|
||||
- **Case Converter**: add title, sponge and swap case (acb95af)
|
||||
- **Git Semantic Commit Memo**: enhanced version (19d494f)
|
||||
- **new tool**: SVG Preview (bae6175)
|
||||
- **JSON Editor**: add Repair and schema validation (fbe9c58)
|
||||
- **new tools**: Screen and Tmux Cheatsheets (20c0791)
|
||||
|
||||
### Bug fixes
|
||||
- **README**: add better new features + typo (d6d5179)
|
||||
- **README**: enhance create new tool description (5ee3c18)
|
||||
- **README**: add explaination for PORT env var (bfbfee8)
|
||||
- **Docker**: allow PORT environment variable (be14d3a)
|
||||
- **Code Highlighter**: copy HTML for Word (text/html) and for code editors (text/plain) (0715b28)
|
||||
- **JSON Schema Validation**: handle JSON parse error (19da4e3)
|
||||
- implement JSON.parseBigNum with decimal.js (93b688a)
|
||||
- handle quoted big numbers + fix unit tests (1eb6ec6)
|
||||
- **JQ Tester**: fix import and typo (be41dd6)
|
||||
- json schema validation 'no validation' reset errors (b700c2c)
|
||||
- enable json repair by default (a875596)
|
||||
- correct docker compose with subfolder sample and links (2b9f4f8)
|
||||
- **Barcode Generator**: linear UI (5943dc4)
|
||||
|
||||
### Performance
|
||||
- **ssh-key-generators**: Added debounce to key pair generators (#249) (c24f94c)
|
||||
|
||||
### Chores
|
||||
- **README**: link to VSCode installation (f2e13aa)
|
||||
- **deps**: update some packages (b8deacf)
|
||||
- update some deps (95590f1)
|
||||
- enhance github issue/pr models (28eedcf)
|
||||
- update renovate.json with better grouping (f36451f)
|
||||
|
||||
### Other
|
||||
- Add components.d.ts to .gitignore (32a680f)
|
||||
|
||||
### I18n
|
||||
- translate remaining tools (9a1c825)
|
||||
- string extractions (6c862d6)
|
||||
- useCopy messages (4351e57)
|
||||
- **zh**: add new translation keys for tools (#247) (15ca81d)
|
||||
|
||||
### Fixup! feat
|
||||
- **JSON tools**: handle big float (2cf9c75)
|
||||
|
||||
### Documentation
|
||||
- add lxc container instructions (209988a)
|
||||
|
||||
## Version 2025.12.07
|
||||
|
||||
### Features
|
||||
- Custom External Tools (801e3d5)
|
||||
- **new tool**: Argon2 Hasher (6e525b9)
|
||||
- **new tool**: GitIgnore Generator (9e2eca2)
|
||||
- **Url Parser**: add Open URL button for url params that contains xxx:// (acaa5d7)
|
||||
- **JSON Viewer**: add repair search keyword (0579995)
|
||||
- **JSON Linter**: add auto repair option (f0d2347)
|
||||
- **new tool**: IP Subnets Lister (99f4be6)
|
||||
- **Lorem Ipsum Generators**: add a Print to PDF button (7955f50)
|
||||
- **unicode-search**: Added ability to search using unicode characters (#213) (2781815)
|
||||
- **new tool**: Shamir's Secret Sharing (2461cba)
|
||||
- **new tool**: Short Urls expander (6e90119)
|
||||
- **new tool**: Markdown Lorem Ipsum generator (484729c)
|
||||
- **new tool**: CSS Units Converter (835ff8d)
|
||||
- **new tool**: CSS Gradient Generator (86683d8)
|
||||
- **HTML to Markdown**: heading and emphasis variants (fb9ddb0)
|
||||
- **new tool**: Pdf Compressor (4db9743)
|
||||
- **Docker Compose to Docker Run**: add multiline options (6af606b)
|
||||
- **JWT Generator**: allow to paste an existing token to edit (23581a3)
|
||||
- **new tools**: JSON to TOON, TOON to JSON (b240217)
|
||||
- **JWT Parser**: secret encoding (text, hex array or base64) (504cbe1)
|
||||
- **JWT Generator**: handle secret encodings (base64, hex array or text) (475a86a)
|
||||
- **Many Units Converter**: references other units conversion (6aa69eb)
|
||||
- **new tool**: Binary Calculator (4df614e)
|
||||
- **new tool**: EMV TLV Parser (5d8b28d)
|
||||
- **new tool**: ETH Transaction Decoder (3fc1614)
|
||||
- **new tool**: JSON <> Message Pack (b7a28db)
|
||||
- **new tool**: File Splitter (json, txt, xml) (29c1483)
|
||||
- **new tool**: Serial Terminal (5dd16d4)
|
||||
- **new tool**: Docker Compose to .env file (bc71663)
|
||||
- **JSON Linter**: add copyable formatted json (4a148b5)
|
||||
- **Keycode Info**: add scancodes (73483fa)
|
||||
- **Chmod Calculator**: add a cheatsheet (b3fb940)
|
||||
- **new tool**: I or L checker (c156222)
|
||||
- **Base64 File Converter**: add paste-image (935600c)
|
||||
|
||||
### Bug fixes
|
||||
- **Text Statistics**: word counts for only spaces (e6cbe08)
|
||||
- **token-generator**: add the missing character 'N' & 'n' (#221) (ac08813)
|
||||
- **JSON DIff**: wrap and indent diffs (8fad718)
|
||||
- remove sponsor banner (cb0725d)
|
||||
- **dBm mW Converter**: change category (ecb81ec)
|
||||
- **Text Diff**: sticky overlap fix (a4af330)
|
||||
- **Port Numbers**: unknown port throws (3763f9e)
|
||||
- invalid watch callback (461dabf)
|
||||
- **CRC Calculator**: input text watcher was wrong (a3161e9)
|
||||
- router-link color contrast (c7d77e1)
|
||||
- **Translate Missings Script**: ensure format of en.yml (8c97e19)
|
||||
- remove Credit Card Generator as usage could be malicious (814bae2)
|
||||
- **Image Formats Converter**: add SVG in keywords (ba5c950)
|
||||
- **Vite/PWA**: on vite preload error, reload (a182595)
|
||||
- **Data Storage Converter**: make precision even for 1.00 (c8f0d53)
|
||||
|
||||
### Chores
|
||||
- overrides @vueuse/shared (811e52f)
|
||||
- **Vercel**: ensure no cache for index.html (6737df4)
|
||||
- clean qpdf (c25ec86)
|
||||
- **Vercel**: limit PWA precaching to avoid Fast Data Transfer exceed (20f484c)
|
||||
- **Build**: ignore scripts (8873b9d)
|
||||
|
||||
### Other
|
||||
- Use async versions of bcrypt methods to avoid freezing browser tab (#204) (102cfce)
|
||||
|
||||
### I18n
|
||||
- translate all (6fd3c6b)
|
||||
|
||||
### Merge branch 'chore/all-my-stuffs' of https
|
||||
- //github.com/sharevb/it-tools into chore/all-my-stuffs (f811b99)
|
||||
|
||||
### Documentation
|
||||
- spelling updates and quadlet instructions (#203) (58db3b3)
|
||||
|
||||
### Fixup! chore
|
||||
- optimize unit test memory use (c1b0694)
|
||||
|
||||
## Version 2025.10.19
|
||||
|
||||
### Features
|
||||
- **Script**: add a translation script for missing translations (a7776ba)
|
||||
|
||||
### Bug fixes
|
||||
- **Scripts**: remove target languages unused + keep line break (8a89a78)
|
||||
- **Scripts**: translate only if missing + handle ' (7516aae)
|
||||
- **Scripts**: extract string, avoid if has already t() + /* NO EXTRACT SCRIPT */ (c30d598)
|
||||
- **i18n**: wrong input-label,... text extractions (2025111)
|
||||
- **Tools Filtering**: filter tools everywhere (2c2643b)
|
||||
- **JSON Diff**: display removed original text (de2de50)
|
||||
|
||||
### Chores
|
||||
- update some deps (01928b3)
|
||||
- optimize unit test memory use (fb99fb2)
|
||||
- add script:translate-missing (3f8d2db)
|
||||
- add a stable tag on release (f6411f8)
|
||||
- add buymeacoffee (087860c)
|
||||
|
||||
### Other
|
||||
- Update fr.yml fix few punctuations (#201) (c1d962c)
|
||||
|
||||
### I18n
|
||||
- auto translatte missing + add da, it, nl, tr, kr (3ba3b22)
|
||||
|
||||
### Merge branch 'chore/all-my-stuffs' of https
|
||||
- //github.com/sharevb/it-tools into chore/all-my-stuffs (aab0e2e)
|
||||
|
||||
## Version 2025.10.12
|
||||
|
||||
### Features
|
||||
- extract strings of new tools (9425d34)
|
||||
- **Citation Generator**: Add Vancouver Style (fdb39a8)
|
||||
- **new tool**: Database Connection String Generator (83a9fe5)
|
||||
- **new tool**: Niceware Bytes Passphrase Converter (4119b04)
|
||||
- **List Converter**: filter item regexps (330b18d)
|
||||
- **new tool**: Credit Card Checker and Info (6914e3e)
|
||||
- **new tool**: Random Credit Card Number Generator (545d7f0)
|
||||
- **IBAN Validator**: allow multiple IBANs (92a0dda)
|
||||
- **new tool**: Diceware Password Generator (ca64d2a)
|
||||
- **new tool**: IANA Whois Checker (825d90c)
|
||||
- unit test for JSON.parseBigInt (fc9c0ab)
|
||||
- **new tool**: dBm mW Converter (cb3d366)
|
||||
- **new tool**: GTIN Validator (282acba)
|
||||
- **new tool**: Keyboard Layouts Converter (c02b358)
|
||||
- **About page**: import/export favorites (3ad6985)
|
||||
|
||||
### Bug fixes
|
||||
- **Github Page**: pnpm 9 (50ffafc)
|
||||
- **IBAN Validator**: update placeholder regarding multiline input (b853dfa)
|
||||
- **Text To Unicode**: fix python \U padded to 8 for high ucods (a47e25a)
|
||||
- **JSON Bigint parser**: better handle large numbers in strings (116ee92)
|
||||
- **iso-3166-searcher**: timezones separator (3275c70)
|
||||
- **issues**: fix textarea always grows (#194) (bfb4a45)
|
||||
- **Energy Computer**: label and fixed precision (7655138)
|
||||
- **Text Translator**: filter available languages (46a1b9b)
|
||||
- **QR Code Generator**: Fixed an issue where the text input provided to the terminal QR code wasn't trimming leading/trailing spaces and newlines from the string (#189) (4b1ca28)
|
||||
- **QR Code Generator**: bring back multiline (71700b9)
|
||||
- **Docker**: remove CSP header (608ee95)
|
||||
|
||||
### Continuous integration
|
||||
- **Docker**: fix VITE_VERCEL_ENV to production (8f160bb)
|
||||
|
||||
### Chores
|
||||
- **Release**: remove commit hash from version (23b8534)
|
||||
- contribute section (1236082)
|
||||
|
||||
### Other
|
||||
- Spelling error (#183) (abc0d11)
|
||||
|
||||
### Merge branch 'chore/all-my-stuffs' of https
|
||||
- //github.com/sharevb/it-tools into chore/all-my-stuffs (4fabdf9)
|
||||
|
||||
## Version 2025.08.31-13b8f041
|
||||
|
||||
### Features
|
||||
- **new tool**: add image color inversion tool (#179) (b94a25c)
|
||||
|
||||
### Bug fixes
|
||||
- **Extract Text from HTML**: display conversion errors (13b8f04)
|
||||
- **Docker Compose Cheatsheet**: new syntax (61d2bea)
|
||||
- **Extract Text From HTML**: use html-to-text for better result (91f5548)
|
||||
|
||||
### Chores
|
||||
- **deps**: update node.js to v22 (#182) (b5b3aa0)
|
||||
- **preview workflow**: fix for running on pull requests (1234dca)
|
||||
- fix env.VITE_VERCEL_ENV for prod (39c47a0)
|
||||
|
||||
### Other
|
||||
- - Fixed an issue where the center of the wheel was misaligned compared to the fortune wheel (#177) (fc36499)
|
||||
|
||||
### I18n
|
||||
- add fr translation (b4255a3)
|
||||
|
||||
### Merge branch 'chore/all-my-stuffs' of https
|
||||
- //github.com/sharevb/it-tools into chore/all-my-stuffs (44a2138)
|
||||
|
||||
## Version 2025.08.24-34373f1a
|
||||
|
||||
### Features
|
||||
- fix typescript issue and translate all remaining tools (14dd110)
|
||||
- **About**: rewrite and list all tools (6682517)
|
||||
- **new tool**: DNSBL Checker (e1d05b1)
|
||||
- **Yaml Prettifier**: add a JSON Schema Validator (2ee0274)
|
||||
- **JSON Prettifier/Linter**: add a JSON Schema Validator (5f8aea2)
|
||||
- **new tool**: Which Day Calculator (454b347)
|
||||
- **new tool**: Random Numbers Generator (3240a25)
|
||||
- **new tool**: Favicon Generator (3d3850f)
|
||||
- **new tool**: Image Comparer (201e17b)
|
||||
- **new tool**: Pack files for AI (Repomix) (bd7e018)
|
||||
- **new tool**: Resistor Data Calculator (900c4c9)
|
||||
- **new tool**: Docker Inspect to Docker Run (e942fe4)
|
||||
- **new tool**: Apache Logrotate Generator (81bc965)
|
||||
- **new tool**: RAID Reliability Calculator/MTTDL (dbb56a4)
|
||||
- **new tool**: Font Comparer (6a8d1d3)
|
||||
- **new tool**: Unicode to GSM7 (and SMS info) (50bd3ed)
|
||||
- **new tool**: GPT Token Encoder/Decoder (dfe13de)
|
||||
- **GPT Token Estimator**: expose all models of tiktoken (and remove price thus) (c031d57)
|
||||
- **new tool**: Charset Detector/Decoder (2b06b5b)
|
||||
- **new tool**: Markdown to DOCX (d2e32ac)
|
||||
- **new tool**: Text Translator (01beb24)
|
||||
- **SSL Certificate Converter**: allow converting crt... with multiple certificate (cf3defe)
|
||||
- **new tool**: Env Variables Converter (083b5e1)
|
||||
- **new tool**: Wireguard Config Generator (241dd6f)
|
||||
- **JSON Escaper**: option Wrap in quotes (e2f6a82)
|
||||
- **new tools**: Zpool/OpenZFS calculator and cheatsheet (8ee06ee)
|
||||
- **new tool**: SQL Parameters Generator (71b60fc)
|
||||
- **new tool**: Social Link Sharer (9f5792d)
|
||||
- **new tool**: Middle Endian Converter (1127fbd)
|
||||
- **new tool**: zxcvbn Password Strength (40901c9)
|
||||
- **new tool**: JSON to Data (dacb5ec)
|
||||
- **CSV to Data**: add xlsx format (f5f2938)
|
||||
- **new tool**: TOML Linter (4dc9dcf)
|
||||
- **new tool**: XML Linter (03e6e20)
|
||||
- **YAML Viewer**: add lint keyword (1f314da)
|
||||
- **new tool**: Markdown Table Prettifier (ab7f046)
|
||||
- tools default params and default language at runtime and more url parameters (63065a5)
|
||||
- **new tool**: Mailto Generator (686c9fb)
|
||||
- **new tool**: Django Secret Key generator (603140a)
|
||||
- **new tools**: Docker Compose/file/Swarm Cheatsheet (e20b284)
|
||||
- **new tool**: Sed Command Generator + Cheatsheet (a3b75a6)
|
||||
|
||||
### Bug fixes
|
||||
- optimize Docker build (slow on arm64) (34373f1)
|
||||
- **Text Tranlator**: enhance UI and fix for arm64 (dd87f35)
|
||||
- **Vercel**: Vercel deployment 404 (9f08fe6)
|
||||
- **JSON to TOML**: e2e tests (6cb4958)
|
||||
- add BASE_URL to useScriptTag (1b15214)
|
||||
- **TOML tools**: replace iarna_toml-esm by smol-toml (ca3c3a6)
|
||||
- **deps**: update tiptap monorepo to v2.26.1 (#144) (d554f29)
|
||||
- **Unit Tests**: disable getITToolsSetting (d175e60)
|
||||
- **SEO**: ensure title and description in all <meta> (100563c)
|
||||
- **My IP**: resolve country by IPv4 first (c63e10a)
|
||||
- **Sed Cheatsheet**: naming and table formatting (1d737a0)
|
||||
- **Percentage Calculator**: e2e test failing (de9f44e)
|
||||
- **Docker/Pomodoro Timer**: allow Google Fonts for CSP + fix translation call (87c7609)
|
||||
- **Cron Generator**: fix disappearing UI (6706c68)
|
||||
- **Docker**: allow image upload (connect-src CSP) in nginx config (438bb09)
|
||||
- tool loading indicator after 350ms only (ae0ef63)
|
||||
- **Data Faker**: insert method names + handle options (8ad6157)
|
||||
- **Input Number**: handle dot and comma (and other format) (72f541c)
|
||||
- **QRCode Decoder**: limit to image/* and leave empty if no qr code to decode (75670a7)
|
||||
|
||||
### Chores
|
||||
- cleaning sponsors and buymeacoffee (c2f5b64)
|
||||
- **Translator**: fix typescript stange error (6b1825f)
|
||||
- **Build**: fix maximumFileSizeToCacheInBytes to 25MB (0716afb)
|
||||
- add --archive=tgz to vercel deploy (for rate limiting) (a0beb74)
|
||||
- **config**: migrate config renovate.json (#150) (58b3bd4)
|
||||
- replace Vercel deploiement in Vercel by GitHub Action (acc5ab5)
|
||||
|
||||
### Fixup! feat
|
||||
- **new tool**: Env Variables Converter (9f70133)
|
||||
- **new tool**: Env Variables Converter (d450f3b)
|
||||
|
||||
## Version 2025.08.06-0325b117
|
||||
|
||||
### Features
|
||||
- **i18n**: add Chinese translation (#163) (6cbfa60)
|
||||
|
||||
### Other
|
||||
- - Added a loading background color for light and dark theme (#166) (0325b11)
|
||||
- QR code generator UI improvements (#165) (0462c17)
|
||||
|
||||
## Version 2025.07.20-3ccbd853
|
||||
|
||||
### Features
|
||||
- prepare new tools for translation (cfe5b4f)
|
||||
- translation scripts enhancements (a4576e0)
|
||||
- **new tool**: Levenshtein Distance Calculator (9cb58fc)
|
||||
- **new tools**: YAML/JSON Flattener/Unflattener (521d0bf)
|
||||
- **new tools**: YAML/JSON Merger (1d02e32)
|
||||
- **new tools**: Docker Run/Compose to Quadlets (d28f275)
|
||||
- **Git Memo**: add git pull (c46e65f)
|
||||
- **XPath Tester**: handle namespaces (b0c43e2)
|
||||
- **new tool**: Swagger UI Tester (e5d8425)
|
||||
- **yaml-to-json**: add nestify options (e9dbf1f)
|
||||
- **i18n**: extract some more (1a2e152)
|
||||
- **i18n**: extract some more (7527853)
|
||||
- **i18n**: extract all tools name and description (a9d6b86)
|
||||
- add script to extract tools name and description (cca32ba)
|
||||
- **HTML Editor**: add raw html editor (d625f62)
|
||||
- **new tool**: Citation Generator (APA/MLA) (700cc2a)
|
||||
- **new tool**: JSON Query (lang) (c53a8cb)
|
||||
- **JQ Tester**: add some keywords and move to JSON category (ea0a99e)
|
||||
- **new tool**: ANSI Escape Tester (241dd13)
|
||||
- **new tool**: HTML Minifier (9f5f7d8)
|
||||
- **HTML Editor**: option to minify output (5e3648e)
|
||||
- **Watermarker**: add options for repeated tile spacing and single watermark positioning (a78201b)
|
||||
- **new tool**: Image Watermarker (e00b78b)
|
||||
- **Unicode Search**: improve unicode search loading speed (#97) (f868b97)
|
||||
- **Folder Structure**: Add backwards converter for Folder Structure Page (#105) (9186038)
|
||||
|
||||
### Bug fixes
|
||||
- use t for translate in tools name/description (3ccbd85)
|
||||
- **Regex Tester**: remove shadow root on unmount (a26f2a2)
|
||||
- **iCal Merger**: fix name and desc + regenerate UIDs (0bb259c)
|
||||
- remove stub @types + update podletjs + use @xterm/xterm (504aff9)
|
||||
- **nginx.conf**: allow image-src to blob and http(s) (eafc6f8)
|
||||
- **deps**: update dependency @iplookup/country-extra to v1.0.20250717 (#115) (5bdbaa9)
|
||||
- allow connect-src any https: and http: (79e0db7)
|
||||
- JSON stringify/parse BigInt (ad312d7)
|
||||
- read yaml with intAsBigInt (0d4267e)
|
||||
- **HTML Editor**: remove <p> from <li> (2be6d4d)
|
||||
- **IPv4 Address Converter**: error handling (05d25da)
|
||||
|
||||
### Chores
|
||||
- update deps (b434ad7)
|
||||
- update playwright (1202011)
|
||||
- update deps (babff36)
|
||||
- force base url / for latest and default build (91564e0)
|
||||
- fix github issue template typo (5904fa7)
|
||||
|
||||
### Other
|
||||
- Additions for responsive sidebar pull request (#131) (aabbfca)
|
||||
- add yunohost install option (#133) (96ad3eb)
|
||||
- Feat/translate all content (#121) (a8c6ebc)
|
||||
- Made sidebar responsive (#130) (e811a5b)
|
||||
- Updated Irish translation (#127) (7824f48)
|
||||
- feat(i18n) Added Irish/Gaeilge translation (#124) (4ea4420)
|
||||
- Squashed commit of the following: (207b2ab)
|
||||
|
||||
### Fix
|
||||
- Massive website slowdown after visiting the Unicode Search page (#132) (be9d659)
|
||||
|
||||
### Merge branch 'chore/all-my-stuffs' of https
|
||||
- //github.com/sharevb/it-tools into chore/all-my-stuffs (3ffb805)
|
||||
|
||||
### Feature
|
||||
- Improve menu bar animation smoothness (#109) (7fd60b0)
|
||||
|
||||
### New tool
|
||||
- CLI Command Editor (#108) (3b921e6)
|
||||
|
||||
### Doc
|
||||
- add info for authentication (a12c43b)
|
||||
- add info about ipv6, cyberpanel, https, PWA, dev under WSL2 (de76ee5)
|
||||
|
||||
## Version 2025.06.15-20a26514
|
||||
|
||||
### Features
|
||||
- **Date-Time Converter**: add .Net Ticks (20a2651)
|
||||
- **NGINX**: Add some commonly used security headers (#94) (0048f48)
|
||||
- **new tool**: PDF Text Extractor (3947973)
|
||||
- **new tool**: Age Crypto (8decf33)
|
||||
- **Htpasswd Generator**: add md5, apr1, sha256 and sha512 (4313ce9)
|
||||
- **new tool**: Nginx Memo (7d6753f)
|
||||
- **new tool**: Vim Memo (bed46c6)
|
||||
- **new tool**: Kubernetes Memo (f1d6a16)
|
||||
- **new tool**: Linux Bash Memo (19d3179)
|
||||
- **new tool**: Cron/Weekdays Time Alarm (c9b448c)
|
||||
- **Time Alarm**: fullscreen mode (f90a69c)
|
||||
- **Countdown**: fullscreen mode (80a2fb7)
|
||||
- **Certificate Key Parser**: display public and private keys (pem) (b489f3a)
|
||||
- **new tool**: Traefik Compose Maker (7a48c2f)
|
||||
- **new tool**: Data Faker (dd5ca6f)
|
||||
- **new tool**: Firewalld Generator (eaa8b5b)
|
||||
- **new tool**: HTAccess Generator (00053c3)
|
||||
- add KiB/kB explanations (6762677)
|
||||
- **new tool**: String Escaper (58e2fb3)
|
||||
- **new tool**: Quote Converter (91f565f)
|
||||
- **new tool**: JSON to Protobuf (937ddc6)
|
||||
- **new tool**: Distinct Words Counter (2593df0)
|
||||
- **new tool**: JSON to Typescript (9c925ac)
|
||||
- **new tool**: SQL Minifier (2da9832)
|
||||
- **JS to Object**: handle backquotes (4751417)
|
||||
- **new tool**: JSON to SQL INSERT (e073f3b)
|
||||
- **new tool**: CSV to JSON, YAML, SQL INSERT, Markdown, CSV, XML (93532ce)
|
||||
- **Excel to Data**: handle nestify, XML and Sheet Selection (b982fa5)
|
||||
- **new tool**: Cookies Parser (41d24a5)
|
||||
- **new tool**: Git Semantic Commits Cheatsheet (ca12661)
|
||||
- **PDF Tools**: display command args (1829733)
|
||||
- **JSON to Go**: use quicktype (7931c9b)
|
||||
- **new tool**: JSON to PHP Code (40d90b9)
|
||||
- **new tool**: JSON to Python (bcf93f3)
|
||||
- **new tool**: Curl Command Generator (f4d4de8)
|
||||
- **new tool**: Pdf Extractor (2160e7a)
|
||||
- **new tool**: Pdf Concatener (2c12e1e)
|
||||
- **Rune Converter**: add StavelessFuthark (8efe340)
|
||||
- **new tool**: Paseto/PASERK Encrypt/Decrypt/Sign/Verify and Generator (2037d14)
|
||||
- **new tool**: Excel to Data (e99d7b4)
|
||||
- **new tool**: Iptables Command Generator (35e91b3)
|
||||
- **new tool**: TCP Dump Generator (af6ccec)
|
||||
- **new tool**: JSON to SQL CREATE TABLE/DDL (06e4f84)
|
||||
- **new tool**: Rsync Command Line Generator (f01d56c)
|
||||
- **new tool**: /etc/fstab Generator (faaeeb2)
|
||||
- **new tool**: BMI Calculator (2464f1f)
|
||||
- **new tool**: Properties from/to YAML (ec865b7)
|
||||
- **new tools**: DNS generator (SPF Record, DKIM Record, DMARC Record, BIMI Record ) (53aa948)
|
||||
|
||||
### Bug fixes
|
||||
- favorites contextmenu disable (a93a99b)
|
||||
- linting (56da33f)
|
||||
- **Favorites**: add a delay for dragging to allow touch to access tools (4537cc6)
|
||||
- add loading progress on tool load (db0aff3)
|
||||
- add a splash screen (ac3648c)
|
||||
- **Favorites**: add a delay for dragging to allow touch to access tools (bc8524d)
|
||||
- **Fortune wheel**: added description (64ef495)
|
||||
- add GitHub Page deployment and update README (0c29c19)
|
||||
- optimize monaco-editor loading (locally) (eb40104)
|
||||
- **Textarea Copyable**: better copy button placement (ca47590)
|
||||
- file upload, preview for images only (09d56f5)
|
||||
- Certificate Key Parser and PGP (884a447)
|
||||
- **README**: use latest version for GitHub Pages publish actions (a997446)
|
||||
- **Certificate/Key Parser**: handle multiple PEM certificate in one file (4885459)
|
||||
- **deps**: update dependency jq-wasm to v1 (#24) (386b4fd)
|
||||
- **Docker building**: image overwrite bug (4c600f0)
|
||||
- **Folder Structure Diagram**: use monaco editor (665db9b)
|
||||
- **Cookies Parser**: handle multuple = (368d088)
|
||||
- **Docker Cheatsheet**: typo <> in code blocks (3b21a6b)
|
||||
- checkbox bindings (77e7667)
|
||||
- **Paste as Mardown**: ref errors (6cb20b7)
|
||||
- **Text Diff**: height responsive (6eccfc1)
|
||||
- **README**: typoe in "custom default language" (68c56e4)
|
||||
- **Paseto Tools**: renaming (02e40dc)
|
||||
- **Docker**: baseurl-it-tools, fix rewrite for Traefik (0e9c33d)
|
||||
|
||||
### Refactoring
|
||||
- **Excel to Data**: service + unit tests (ece2770)
|
||||
|
||||
### Chores
|
||||
- try fix vercel build (8e9d921)
|
||||
- fix pgp for vercel (a768d22)
|
||||
- github page deploy and contributors to README (cfcc21d)
|
||||
- fix lint (da8c5df)
|
||||
- fix and optimize build (d4447df)
|
||||
- **deps**: update actions/checkout digest to 11bd719 (#8) (e2a6580)
|
||||
- **deps**: update actions/cache action to v4 (#20) (9eb888f)
|
||||
- **deps**: update actions/checkout action to v4 (#21) (648ef7b)
|
||||
- update codeql version (3a11b59)
|
||||
- github release split and matrix optimization (dae5fe6)
|
||||
- optimize onnxruntime-node (99f4f83)
|
||||
- optimize build and disable preload (8de0535)
|
||||
- update composerize (134a5e8)
|
||||
|
||||
### Other
|
||||
- Added loading delay (#92) (be25e17)
|
||||
- Improve fortune wheel performance (#91) (1e405c3)
|
||||
- Fix broken text fonts (#95) (203f207)
|
||||
- Merge branch 'feat/loading-indicators' into chore/all-my-stuffs (bf395a1)
|
||||
- Convert last items to flex search (#87) (6f1b17f)
|
||||
- Improve image resizer features (#90) (e14fd2f)
|
||||
- Improve hompage performance (#85) (fd76914)
|
||||
- Improve http status codes performance (#86) (b77c57e)
|
||||
- Improve emoji picker performance (#84) (3ed3f90)
|
||||
- Improve IES Lighting guidelines performance (#83) (02df1bc)
|
||||
- Improved iso 3166 searcher page performance (#79) (226081d)
|
||||
- Improved performance on the Unicode Search page (#75) (2355232)
|
||||
- Add all mainpage card translate templates (en.yml) + add ru & ua translations on mainpage card (#62) (3e1b05f)
|
||||
- Add arabic translation (#61) (5a990ae)
|
||||
- Update pt.yml (#59) (4cc875f)
|
||||
- Adding full Ukrainian & Russian translation (#60) (7ed2e41)
|
||||
|
||||
### Documentation
|
||||
- add info about HTTPS using DNS Challenge (78fdceb)
|
||||
|
||||
### Typo
|
||||
- **Fortune Wheel**: maje restart button cleared (spin!) (0098645)
|
||||
|
||||
### Fixup! feat
|
||||
- **new tool**: JSON to Python (3564ccf)
|
||||
- **new tool**: JSON to PHP Code (4089c62)
|
||||
- **new tool**: Properties from/to YAML (520d2cd)
|
||||
|
||||
## Version 2025.04.21-70194069
|
||||
|
||||
### Features
|
||||
|
||||
@@ -1,25 +1,73 @@
|
||||
# build stage
|
||||
FROM node:lts-alpine AS build-stage
|
||||
FROM --platform=$BUILDPLATFORM node:24-alpine@sha256:ebfe2f90462722a7a4de65e91990e97fe0d401c70e0e762c5b53302f905ec1c1 AS build-stage
|
||||
# Set environment variables for non-interactive npm installs
|
||||
ENV NPM_CONFIG_LOGLEVEL warn
|
||||
ENV CI true
|
||||
ENV NPM_CONFIG_LOGLEVEL=warn
|
||||
ENV CI=true
|
||||
|
||||
RUN apk add --update python3 make g++\
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
WORKDIR /app
|
||||
COPY package.json pnpm-lock.yaml ./
|
||||
RUN npm install -g pnpm && pnpm i --frozen-lockfile
|
||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY patches patches
|
||||
COPY stubs stubs
|
||||
RUN npm install -g pnpm@12.6.0 && pnpm i --ignore-scripts --frozen-lockfile
|
||||
COPY . .
|
||||
ARG BASE_URL
|
||||
ENV BASE_URL=${BASE_URL}
|
||||
RUN pnpm build
|
||||
# Deliberately no BASE_URL here: the bundle is built path-agnostic (relative asset URLs
|
||||
# plus a `<base href="/">` in index.html) so that one image can be served from any
|
||||
# subpath. The path is a runtime setting instead -- see the BASE_URL environment variable
|
||||
# on the production stage below.
|
||||
ARG VITE_AVAILABLE_LOCALES
|
||||
ENV VITE_AVAILABLE_LOCALES=${VITE_AVAILABLE_LOCALES}
|
||||
ENV VITE_VERCEL_ENV=production
|
||||
# Precompress hashed assets once instead of compressing each response at runtime.
|
||||
RUN pnpm build \
|
||||
&& find dist/assets -type f \( -name '*.js' -o -name '*.mjs' -o -name '*.css' -o -name '*.wasm' \) \
|
||||
-exec gzip -9 -n -k {} +
|
||||
|
||||
# production stage
|
||||
FROM nginxinc/nginx-unprivileged:stable-alpine AS production-stage
|
||||
ARG BASE_URL
|
||||
FROM nginx/nginx-unprivileged:alpine AS production-stage
|
||||
|
||||
LABEL maintainer="ShareVB <sharevb@gmail.com>" \
|
||||
org.opencontainers.image.authors="ShareVB <sharevb@gmail.com>"
|
||||
LABEL org.opencontainers.image.source=github.com/sharevb/it-tools
|
||||
|
||||
ENV VITE_VERCEL_ENV=production
|
||||
|
||||
# The path the app is served under. Override it at run time -- `docker run -e
|
||||
# BASE_URL=/it-tools/`, `environment: BASE_URL: /it-tools/` in a compose file -- and nginx
|
||||
# rewrites the `<base href>` in index.html on the way out; nothing is baked in. The build
|
||||
# arg only moves the default, for anyone who prefers to ship an image that is preconfigured
|
||||
# for a subpath. See docker-entrypoint.d/18-resolve-base-url.envsh and nginx.conf.
|
||||
ARG BASE_URL=/
|
||||
ENV BASE_URL=${BASE_URL}
|
||||
|
||||
COPY --from=build-stage /app/dist /usr/share/nginx/html
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
EXPOSE 8080
|
||||
|
||||
COPY nginx.conf /etc/nginx/templates/default.conf.template
|
||||
COPY docker-entrypoint.d/ /docker-entrypoint.d/
|
||||
ENV PORT=8080
|
||||
|
||||
# nginx defaults to `worker_processes auto`, which counts the host's cores and
|
||||
# ignores the container's cpu limit. On a large host that is hundreds of
|
||||
# workers in a small container: `docker run -m 192m` is enough to get the
|
||||
# image OOM-killed on startup. Let the entrypoint size the pool from the cgroup
|
||||
# cpu quota instead. Uncapped containers still get one worker per core.
|
||||
ENV NGINX_ENTRYPOINT_WORKER_PROCESSES_AUTOTUNE=1
|
||||
|
||||
# Render the template once here as well. The entrypoint normally re-renders it
|
||||
# at startup, so a custom $PORT keeps working, but it cannot do so on a
|
||||
# read-only filesystem (see docker-entrypoint.d/19-skip-envsubst-if-readonly.envsh).
|
||||
# Without this the image would fall back to the stock welcome config from the
|
||||
# base image: no SPA fallback, so deep links 404 on refresh, and no COOP/COEP,
|
||||
# so the WebAssembly-backed tools stop working.
|
||||
# Sourcing the entrypoint's own resolver keeps the baked-in BASE_URL normalised and
|
||||
# validated exactly the way a runtime one would be.
|
||||
RUN . /docker-entrypoint.d/18-resolve-base-url.envsh \
|
||||
&& envsubst '${PORT} ${BASE_URL} ${BASE_URL_REGEX} ${BASE_URL_NO_SLASH_REGEX}' \
|
||||
< /etc/nginx/templates/default.conf.template \
|
||||
> /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE $PORT
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
@@ -1,25 +1,93 @@
|
||||
## BREAKING CHANGE for Docker Image
|
||||
## BREAKING CHANGE for Container Image
|
||||
|
||||
Since *Docker base image* is now `nginx-unpriviledged`, docker image now listen to **8080** and no more 80. So you need to update your port mapping, ie from `8080:80` to `8080:8080`.
|
||||
Since the _base image_ is now `nginx-unpriviledged` the container will now listen to port **8080** and not 80. So you need to update your port mapping, i.e. from `8080:80` to `8080:8080`.
|
||||
|
||||
### Check out these change here: <https://sharevb-it-tools.vercel.app/>
|
||||
You can override listening port using environment variable `PORT` (docker option `-e PORT=8888`).
|
||||
|
||||
You can use my image in your docker-compose file if you want an update to date version of it-tools (with my PR and some of others) until the main branch has been updated.
|
||||
You can serve the app from a subfolder using environment variable `BASE_URL` (docker option
|
||||
`-e BASE_URL=/it-tools/`), without rebuilding the image -- see
|
||||
[Host in a subfolder](#host-in-a-subfolder-it-tools).
|
||||
|
||||
If the container needs to listen to IPv6, it needs to be enabled: https://serverfault.com/questions/1147296/how-to-enable-ipv6-on-ubuntu-20-04. Alternatively, you can mount your own `nginx.conf` own using docker option `-v "./nginx.conf:/etc/nginx/templates/default.conf.template"` (with `listen [::]:8080;` removed)
|
||||
|
||||
## Proxmox Install
|
||||
|
||||
Run the command below in the Proxmox VE Shell
|
||||
|
||||
```bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/alpine-it-tools.sh)"```
|
||||
|
||||
## Build requirements
|
||||
|
||||
**To build this project**, around **8GB** of RAM is enough. Measured on a 4-core
|
||||
machine, `pnpm build` peaks at roughly 6.5GB of system memory and completes on
|
||||
Node's default heap — most of the work happens inside rolldown, in Rust, rather
|
||||
than on the JavaScript heap.
|
||||
|
||||
## PR Welcome
|
||||
|
||||
Especially for UI improvements and translation. And for anything else.
|
||||
|
||||
Want to support this fork of IT Tools: [Buy me a coffee](https://www.buymeacoffee.com/sharevb)
|
||||
|
||||
## HTTPS is recommended
|
||||
|
||||
Some tools like PGP encryption rely on WebCrypto API that is only available in HTTPS/SSL. Also, if you want to use PWA, HTTPS is required.
|
||||
|
||||
So even on internal installations, you should enable HTTPS using Let's Encrypt using DNS Challenge
|
||||
|
||||
Some docs about DNS Challenge:
|
||||
|
||||
- https://medium.com/@life-is-short-so-enjoy-it/homelab-nginx-proxy-manager-setup-ssl-certificate-with-domain-name-in-cloudflare-dns-732af64ddc0b
|
||||
- https://doc.traefik.io/traefik/user-guides/docker-compose/acme-dns/
|
||||
- https://medium.com/@svenvanginkel/traefik-letsencrypt-dns01-challenge-with-ovhcloud-52f2a2c6d08a
|
||||
|
||||
Related doc for CyberPanel: https://community.cyberpanel.net/t/reverse-proxy-traffic-to-docker-container-on-cyberpanel/30644
|
||||
|
||||
### Check out these change here: <https://sharevb-it-tools.vercel.app/> or <https://sharevb.github.io/it-tools/>
|
||||
|
||||
You can use my image in your docker-compose/quadlet file if you want an up-to-date version of it-tools (with my PR and some of others) until the main branch has been updated.
|
||||
|
||||
- github action triggers on every push to this branch - [view package here](https://github.com/sharevb/it-tools/pkgs/container/it-tools)
|
||||
|
||||
(Thanks to [gitmotion](https://github.com/gitmotion/it-tools) for this model of README fork)
|
||||
|
||||
## Contributors
|
||||
|
||||
Big thanks to all the people who have already contributed!
|
||||
|
||||
[](https://github.com/sharevb/it-tools/graphs/contributors)
|
||||
|
||||
## Development under Windows
|
||||
|
||||
Use of WSL2 is recommended to develop using VSCode on Windows. Direct development is tricky (because of some dependencies)
|
||||
|
||||
## Added features
|
||||
|
||||
Almost [all tools PR of it-tools](https://github.com/sharevb/it-tools/pulls).
|
||||
- Almost [all tools PR, 192 of mine, of original it-tools](https://github.com/CorentinTh/it-tools/pulls)
|
||||
- 95% of [issues if original it-tools](https://github.com/CorentinTh/it-tools/issues)
|
||||
- Full UI translation in many language (Google Translated)
|
||||
- Many [new tools](https://sharevb-it-tools.vercel.app/about)
|
||||
- Many bug fixes and enhancements
|
||||
- Many customizations (Docker version), see below
|
||||
|
||||
## Docker images
|
||||
## Container images
|
||||
|
||||
[GitHub Container Registry](https://github.com/sharevb/it-tools/pkgs/container/it-tools): `ghcr.io/sharevb/it-tools:latest`
|
||||
|
||||
[Docker Hub](https://hub.docker.com/r/sharevb/it-tools): `sharevb/it-tools:latest`
|
||||
|
||||
```bash
|
||||
docker run --pull always --restart unless-stopped -p 8080:8080 sharevb/it-tools:latest
|
||||
```
|
||||
|
||||
Other existing docker tags: `latest-en` (english only)
|
||||
|
||||
Container builds precompress JavaScript, CSS, and WebAssembly files in `dist/assets`.
|
||||
Nginx serves the `.gz` sidecars when clients accept gzip, including requests forwarded
|
||||
by reverse proxies, and otherwise serves the original files. Compression happens once
|
||||
at build time rather than on every request. HTML remains uncompressed so runtime
|
||||
`BASE_URL` rewriting continues to work.
|
||||
|
||||
## Use in Docker Compose file
|
||||
|
||||
```yml
|
||||
@@ -33,11 +101,38 @@ services:
|
||||
- 8080:8080
|
||||
```
|
||||
|
||||
## Use in Podman Quadlet file
|
||||
|
||||
```
|
||||
[Unit]
|
||||
Description=IT Tools container
|
||||
After=network-online.target
|
||||
|
||||
[Container]
|
||||
AutoUpdate=registry
|
||||
Image=ghcr.io/sharevb/it-tools:latest
|
||||
PublishPort=8080:8080
|
||||
Label=io.containers.autoupdate=registry
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target default.target
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
```
|
||||
|
||||
## Use with companion Self Hosted docker services
|
||||
|
||||
Some tools requires additional docker services: HTTPS/DNS tools/Ping, HTML to PDF, Docker Image Download, Multi Links Download, Short Url Expander and TCP/UDP Port tester.
|
||||
|
||||
See complete example here: [docker-with-services](https://github.com/sharevb/it-tools/tree/chore/all-my-stuffs/docker-with-services)
|
||||
|
||||
## Filter tools and add home custom content
|
||||
|
||||
You can add custom content in Home page by mounting a `home.custom.md` in `/usr/share/nginx/html`.
|
||||
|
||||
You can filter available tools by mounting `tools-filter.json` in `/usr/share/nginx/html`. It can contains the following filtering regex:
|
||||
|
||||
```json
|
||||
{
|
||||
"excludeCategoryFilterRegex": "",
|
||||
@@ -46,9 +141,134 @@ You can filter available tools by mounting `tools-filter.json` in `/usr/share/ng
|
||||
"includeToolsFilterRegex": ""
|
||||
}
|
||||
```
|
||||
|
||||
Category matches on category (English) names ; Tools matches on tools path/url.
|
||||
|
||||
See (docker-tools-filter-and-home-content)[https://github.com/sharevb/it-tools]
|
||||
See [docker-tools-filter-and-home-content](https://github.com/sharevb/it-tools/tree/chore/all-my-stuffs/docker-tools-filter-and-home-content)
|
||||
|
||||
## Add custom external tools
|
||||
|
||||
You can add custom external tools (href or markdownContent) by mounting a `external-tools.json` in `/usr/share/nginx/html` with the following structure:
|
||||
|
||||
```json
|
||||
[
|
||||
{
|
||||
"name": "GitHub",
|
||||
"path": "/github",
|
||||
"description": "Link to Github",
|
||||
"keywords": ["github"],
|
||||
"category": "Links",
|
||||
"href": "https://github.com"
|
||||
},
|
||||
{
|
||||
"name": "Some text",
|
||||
"path": "/some-text",
|
||||
"description": "Some description",
|
||||
"keywords": ["some"],
|
||||
"category": "Links",
|
||||
"markdownContent": "Some useful **text**\n\nin *markdown*"
|
||||
}
|
||||
]
|
||||
```
|
||||
|
||||
See [docker-tools-filter-and-home-content](https://github.com/sharevb/it-tools/tree/chore/all-my-stuffs/docker-tools-filter-and-home-content)
|
||||
|
||||
## Setting default tools parameters / default UI language at runtime
|
||||
|
||||
For a complete sample, see [docker-with-services](https://github.com/sharevb/it-tools/tree/chore/all-my-stuffs/docker-with-services).
|
||||
|
||||
You can set default tool parameters by mounting a `tools-settings.json` in `/usr/share/nginx/html`.
|
||||
|
||||
It is a two level json, with the first level being for `tool name` and the second level for `parameter name`:
|
||||
|
||||
```json
|
||||
{
|
||||
"regex-tester": {
|
||||
"multi": true,
|
||||
"regex": "some regex",
|
||||
"global": false
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
You can find `tool name` and `parameter name` in the tools source code `src/tools` subfolder :
|
||||
|
||||
- example pattern for `const global = useQueryParamOrStorage({ storageName: 'regex-tester:g', name: 'global', defaultValue: true });`:
|
||||
|
||||
```json
|
||||
{
|
||||
"regex-tester": {
|
||||
"global": false
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
- example pattern for `const value = useQueryParam({ tool: 'barcode-gen', name: 'text', defaultValue: '123456789' });`:
|
||||
|
||||
```json
|
||||
{
|
||||
"barcode-gen": {
|
||||
"text": "4356"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
- example pattern for `const width = useITStorage('ascii-text-drawer:width', 80);`:
|
||||
|
||||
```json
|
||||
{
|
||||
"ascii-text-drawer": {
|
||||
"width": 80
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
To define the default UI language, add a `default_locale` key to json:
|
||||
|
||||
```json
|
||||
{
|
||||
"default_locale": "fr"
|
||||
}
|
||||
```
|
||||
|
||||
## Offline / air-gapped deployments
|
||||
|
||||
Fonts, editor extensions, the ffmpeg core, the ONNX runtime, the Tesseract OCR engine and its English and Simplified Chinese language data ship with the app, so these never come from a third-party CDN. The large ones are only downloaded when their tool is opened, and are left out of the PWA precache.
|
||||
|
||||
On a network without internet access, add `"offline": true` to `tools-settings.json`. Tools that only work with internet are then hidden (my-ip, ip-geo-location, dns-query, dns-queries, dnsbl-checker, dns-propagation-tester, online-wiktionary, iana-whois-checker), and tools with a bundled fallback switch to it:
|
||||
|
||||
- gitignore-generator and gitattributes-generator use a template snapshot bundled at build time (also used online when GitHub can't be reached). Refresh it with `pnpm script:update:git-templates`.
|
||||
- ocr-image offers only the bundled languages.
|
||||
- JSON/YAML schema validation offers only a custom schema (pasted, or a URL you enter).
|
||||
- geo-coordinates-converter converts coordinates without showing a map.
|
||||
|
||||
Some tools work offline once you point them at an intranet mirror; without one, they are hidden in offline mode. The mirrors can also be used online:
|
||||
|
||||
```json
|
||||
{
|
||||
"offline": true,
|
||||
"transformers": { "models-url": "https://intranet.example/hf-mirror/" },
|
||||
"ocr-image": { "lang-url": "https://intranet.example/tessdata/" },
|
||||
"json-schemas": { "catalog-url": "https://intranet.example/schemastore/api/json/catalog.json" },
|
||||
"currency-converter": { "url": "https://intranet.example/currency-api/" },
|
||||
"geo-coordinates-converter": {
|
||||
"tile-url": "https://tiles.intranet.example/{z}/{x}/{y}.png",
|
||||
"tile-attribution": "© OpenStreetMap contributors"
|
||||
},
|
||||
"explainchain": { "url": "https://explainshell.intranet.example" }
|
||||
}
|
||||
```
|
||||
|
||||
| Setting | Used by | Expected content |
|
||||
| --- | --- | --- |
|
||||
| `transformers.models-url` | translator, remove-background, math-ocr | A mirror of the Hugging Face model repos with the same layout: `<url>/<org>/<model>/resolve/main/<file>`, e.g. `Xenova/opus-mt-en-fr/resolve/main/onnx/encoder_model_quantized.onnx`. Relative URLs resolve against the app. |
|
||||
| `ocr-image.lang-url` | ocr-image | A directory of `<lang>.traineddata.gz` files (the `4.0.0_best_int` variant from the `@tesseract.js-data/<lang>` npm packages). The path may contain a `{lang}` placeholder, e.g. `https://intranet.example/npm/@tesseract.js-data/{lang}/4.0.0_best_int` for a mirror of jsDelivr. |
|
||||
| `json-schemas.catalog-url` | json-viewer, yaml-viewer, json-editor, json-linter | A copy of the [SchemaStore](https://www.schemastore.org) catalog. The schema URLs listed in it must be reachable too. |
|
||||
| `currency-converter.url` | currency-converter | A mirror of the `@fawazahmed0/currency-api` npm package, serving `v1/currencies/<code>.json`. |
|
||||
| `geo-coordinates-converter.tile-url` | geo-coordinates-converter | A Leaflet tile URL template; `tile-attribution` is optional. |
|
||||
| `explainchain.url` | explainshell | A self-hosted [explainshell](https://github.com/idank/explainshell). |
|
||||
|
||||
The tools that use the [companion self-hosted services](#use-with-companion-self-hosted-docker-services) stay available in offline mode and work against intranet targets.
|
||||
|
||||
## To build using a custom default language:
|
||||
|
||||
@@ -57,26 +277,39 @@ docker build -t it-tools-fr --build-arg VITE_LANGUAGE=fr .
|
||||
docker run -d --name it-tools-fr --restart unless-stopped -p 8080:8080 it-tools-fr
|
||||
```
|
||||
|
||||
## Build docker image for a custom subfolder
|
||||
## Host in a subfolder (`/it-tools/`)
|
||||
|
||||
According to https://github.com/sharevb/it-tools/pull/461#issuecomment-1602506049 and https://github.com/CorentinTh/it-tools/pull/461:
|
||||
```
|
||||
docker build -t it-tools --build-arg BASE_URL="/my-folder/" .
|
||||
docker run -d --name it-tools --restart unless-stopped -p 8080:8080 it-tools
|
||||
The container serves the app from whatever path you point `BASE_URL` at. Nothing is baked
|
||||
into the image, so the regular `latest` image works for any subfolder -- no rebuild, no
|
||||
subfolder-specific tag:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
it-tools:
|
||||
image: ghcr.io/sharevb/it-tools:latest
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
BASE_URL: /it-tools/
|
||||
ports:
|
||||
- 8080:8080
|
||||
```
|
||||
|
||||
Then if you go to `http://localhost:8080` you'll get a blank page, but opening the DevTools (& refreshing) you'll notice in the Network tab that the app is trying to fetch assets from `/my-folder/...`
|
||||
or `docker run -d --name it-tools -e BASE_URL=/it-tools/ -p 8080:8080 ghcr.io/sharevb/it-tools:latest`.
|
||||
|
||||
So you would need to put another server in front of it, like [Nginx Proxy Manager](https://nginxproxymanager.com/), [Traefik](https://traefik.io/traefik/), [caddy](https://caddyserver.com/) etc. Then setup a reverse proxy pass using `/my-folder`
|
||||
`BASE_URL` accepts `it-tools`, `/it-tools` and `/it-tools/` alike; the default is `/`.
|
||||
|
||||
## Docker compose for hosting in a `/it-tools/` subfolder
|
||||
You still want a reverse proxy in front -- [Nginx Proxy Manager](https://nginxproxymanager.com/),
|
||||
[Traefik](https://traefik.io/traefik/), [caddy](https://caddyserver.com/) etc. -- passing
|
||||
`/it-tools/` through to the container. It does not matter whether the proxy strips the
|
||||
prefix before forwarding (`proxy_pass http://it-tools:8080/;`) or passes it on as-is
|
||||
(`proxy_pass http://it-tools:8080;`): the container handles both.
|
||||
|
||||
For `/it-tools/` subfolder, you can use `baseurl-it-tools` tag.
|
||||
|
||||
See [sample of docker-compose.yml and nginx.conf](https://github.com/sharevb/it-tools/docker-subfolder-sample), this docker image needs to have another reverse proxy in front of it, like [Nginx Proxy Manager](https://nginxproxymanager.com/), [Traefik](https://traefik.io/traefik/), [caddy](https://caddyserver.com/) etc.
|
||||
|
||||
Setup a reverse proxy pass using `/it-tools/`. And you should be able to access it-tools in `/it-tools/` of your server.
|
||||
One thing only the proxy can do, in the stripping setup: `/it-tools` without the trailing
|
||||
slash never reaches the container, so redirect it there -- the sample's
|
||||
`location /it-tools { return 301 /it-tools/; }`. When the prefix is forwarded instead, the
|
||||
container does that redirect itself.
|
||||
|
||||
See the [sample docker-compose.yml and nginx.conf](https://github.com/sharevb/it-tools/tree/chore/all-my-stuffs/docker-subfolder-sample).
|
||||
To run the sample:
|
||||
|
||||
```bash
|
||||
@@ -85,7 +318,15 @@ cd it-tools/docker-subfolder-sample/
|
||||
docker compose up
|
||||
```
|
||||
|
||||
Then navigate to http://localhost:8080/it-tools/
|
||||
Then navigate to http://localhost/it-tools/
|
||||
|
||||
Two things worth knowing:
|
||||
|
||||
- Building with `--build-arg BASE_URL=/it-tools/` still works, but it now only changes the
|
||||
image's *default* -- the environment variable still wins at run time.
|
||||
- On a read-only root filesystem the config template cannot be re-rendered at startup, so
|
||||
`BASE_URL` (like `PORT`) has no effect unless `/etc/nginx/conf.d` is writable -- mount a
|
||||
tmpfs or an emptyDir there. The container says so in its log.
|
||||
|
||||
## To build using a custom folder:
|
||||
|
||||
@@ -95,139 +336,46 @@ Then navigate to http://localhost:8080/it-tools/
|
||||
## To build for GitHub Pages:
|
||||
|
||||
1. Enable GitHub Pages build and deployment option in your fork, under **Settings** > **Pages** and select **GitHub Actions** as the source
|
||||
2. Add the following GitHub action to your repo:
|
||||
2. Add the following GitHub action to your repo: https://github.com/sharevb/it-tools/tree/chore/all-my-stuffs/.github/workflows/sharevb-github-pages-publish.yml
|
||||
|
||||
.github/workflows/deploy-pages.yaml
|
||||
```yaml
|
||||
name: Deploy static content to Pages
|
||||
## To add authentication
|
||||
|
||||
on:
|
||||
# Runs on pushes targeting the default branch
|
||||
push:
|
||||
branches: ["main"]
|
||||
Assuming you're already hosting it-tools behind a reverse proxy, you can configure forward-auth and enforce authentication from the reverse proxy
|
||||
|
||||
# Allows you to run this workflow manually from the Actions tab
|
||||
workflow_dispatch:
|
||||
- [Official guides](https://docs.goauthentik.io/docs/add-secure-apps/providers/proxy/server_nginx) with nginx. Guides with other reverse proxy setups are available
|
||||
- [Step-by-step setup guide with nginx-proxy-manager](https://geekscircuit.com/set-up-authentik-sso-with-nginx-proxy-manager/)
|
||||
|
||||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
|
||||
permissions:
|
||||
contents: read
|
||||
pages: write
|
||||
id-token: write
|
||||
(thanks @jogerj)
|
||||
|
||||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
|
||||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
|
||||
concurrency:
|
||||
group: "pages"
|
||||
cancel-in-progress: false
|
||||
## Deploy as LXC container
|
||||
|
||||
jobs:
|
||||
# Single deploy job since we're just deploying
|
||||
deploy:
|
||||
environment:
|
||||
name: github-pages
|
||||
url: ${{ steps.deployment.outputs.page_url }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
In Proxmox VE, you can use docker image directly:
|
||||
|
||||
- name: Install Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
|
||||
- uses: pnpm/action-setup@v2
|
||||
name: Install pnpm
|
||||
id: pnpm-install
|
||||
with:
|
||||
version: 8
|
||||
run_install: true
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
BASE_URL="/it-tools/" pnpm build
|
||||
cp dist/index.html dist/404.html
|
||||
|
||||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v3
|
||||
|
||||
- name: Upload artifact
|
||||
uses: actions/upload-pages-artifact@v1
|
||||
with:
|
||||
path: './dist'
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v2
|
||||
```bash
|
||||
sudo lxc-create -n sharevb-it-tools -t oci -- --url docker://ghcr.io/sharevb/it-tools:latest
|
||||
```
|
||||
|
||||
## Installation methods
|
||||
|
||||
Local installation required installing first: `python3 make g++`
|
||||
|
||||
| Docker Image | Local Installation |
|
||||
|-----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------|
|
||||
| GitHub Container Registry: <span title="triple click me!">`ghcr.io/sharevb/it-tools:latest`</span><br/>Docker Hub: <span title="triple click me!">`sharevb/it-tools:latest`</span> | <span title="triple click me!">`sudo apt-get install python3 make g++ && git clone -b chore/all-my-stuffs https://github.com/sharevb/it-tools.git && cd it-tools/ && pnpm i && pnpm dev`</span> |
|
||||
| replace your current image with this image | copy & paste oneliner (from github repo) |
|
||||
| You may need to clear cache and hard reload to get new features loading | Installing packages for the first time may take some time; please wait until it finishes |
|
||||
|
||||
<picture>
|
||||
<source srcset="./.github/logo-dark.png" media="(prefers-color-scheme: light)">
|
||||
<source srcset="./.github/logo-white.png" media="(prefers-color-scheme: dark)">
|
||||
<img src="./.github/logo-dark.png" alt="logo">
|
||||
</picture>
|
||||
|
||||
<details>
|
||||
|
||||
Useful tools for developer and people working in IT. [Have a look !](https://sharevb-it-tools.vercel.app).
|
||||
|
||||
## Functionalities and roadmap
|
||||
|
||||
Please check the [issues](https://github.com/sharevb/it-tools/issues) to see if some feature listed to be implemented.
|
||||
|
||||
You have an idea of a tool? Submit a [feature request](https://github.com/sharevb/it-tools/issues/new/choose)!
|
||||
|
||||
## Self host
|
||||
|
||||
Self host solutions for your homelab
|
||||
|
||||
**From docker hub:**
|
||||
|
||||
```sh
|
||||
docker run -d --name it-tools --restart unless-stopped -p 8080:8080 corentinth/it-tools:latest
|
||||
```
|
||||
|
||||
**From github packages:**
|
||||
|
||||
```sh
|
||||
docker run -d --name it-tools --restart unless-stopped -p 8080:8080 ghcr.io/corentinth/it-tools:latest
|
||||
```
|
||||
|
||||
**Other solutions:**
|
||||
|
||||
- [Cloudron](https://www.cloudron.io/store/tech.ittools.cloudron.html)
|
||||
- [Tipi](https://www.runtipi.io/docs/apps-available)
|
||||
- [Unraid](https://unraid.net/community/apps?q=it-tools)
|
||||
|
||||
## Contribute
|
||||
|
||||
### Recommended IDE Setup
|
||||
|
||||
To install VSCode in WSL2 (Windows), see: https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-vscode
|
||||
|
||||
[VSCode](https://code.visualstudio.com/) with the following extensions:
|
||||
|
||||
- [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur)
|
||||
- [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
|
||||
- [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint)
|
||||
- [Oxc](https://marketplace.visualstudio.com/items?itemName=oxc.oxc-vscode) (oxlint + oxfmt)
|
||||
- [i18n Ally](https://marketplace.visualstudio.com/items?itemName=lokalise.i18n-ally)
|
||||
|
||||
with the following settings:
|
||||
|
||||
```json
|
||||
{
|
||||
"editor.formatOnSave": false,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "oxc.oxc-vscode",
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.fixAll.eslint": true
|
||||
"source.fixAll.oxc": "always"
|
||||
},
|
||||
"i18n-ally.localesPaths": ["locales", "src/tools/*/locales"],
|
||||
"i18n-ally.keystyle": "nested"
|
||||
@@ -248,7 +396,7 @@ If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has a
|
||||
### Project Setup
|
||||
|
||||
```sh
|
||||
pnpm install
|
||||
pnpm install --ignore-scripts
|
||||
```
|
||||
|
||||
### Compile and Hot-Reload for Development
|
||||
@@ -266,15 +414,48 @@ pnpm build
|
||||
### Run Unit Tests with [Vitest](https://vitest.dev/)
|
||||
|
||||
```sh
|
||||
pnpm test
|
||||
pnpm test:unit
|
||||
```
|
||||
|
||||
### Lint with [ESLint](https://eslint.org/)
|
||||
### Run End-to-End Tests with [Playwright](https://playwright.dev/)
|
||||
|
||||
Playwright starts `pnpm preview` itself, so build first:
|
||||
|
||||
```sh
|
||||
pnpm build
|
||||
pnpm test:e2e
|
||||
```
|
||||
|
||||
To iterate against the dev server instead, leave `pnpm dev` running and point
|
||||
the tests at it. Playwright then leaves the server alone:
|
||||
|
||||
```sh
|
||||
E2E_BASE_URL=http://localhost:5173 pnpm test:e2e
|
||||
```
|
||||
|
||||
The dev server compiles routes on demand, so a first run against a cold one can
|
||||
blow past the assertion timeouts. Open the pages once, or just run it again.
|
||||
|
||||
### Lint with [Oxlint](https://oxc.rs/docs/guide/usage/linter)
|
||||
|
||||
```sh
|
||||
pnpm lint
|
||||
```
|
||||
|
||||
### Format with [Oxfmt](https://oxc.rs/docs/guide/usage/formatter)
|
||||
|
||||
```sh
|
||||
pnpm fmt
|
||||
```
|
||||
|
||||
### Ensure CI (lock, oxlint, typecheck) will succeed
|
||||
|
||||
Before submitting a PR, run:
|
||||
|
||||
```sh
|
||||
pnpm install --ignore-scripts && pnpm lint:fix && pnpm typecheck
|
||||
```
|
||||
|
||||
### Create a new tool
|
||||
|
||||
To create a new tool, there is a script that generate the boilerplate of the new tool, simply run:
|
||||
@@ -283,27 +464,24 @@ To create a new tool, there is a script that generate the boilerplate of the new
|
||||
pnpm run script:create:tool my-tool-name
|
||||
```
|
||||
|
||||
It will create a directory in `src/tools` with the correct files, and a the import in `src/tools/index.ts`. You will just need to add the imported tool in the proper category and develop the tool.
|
||||
It will create a directory in `src/tools` with the correct files. You will need to fill `src/tools/_my-tool-name_/index.ts` with tool name, category, description... and then develop the tool.
|
||||
|
||||
## Contributors
|
||||
## Installation methods
|
||||
|
||||
Big thanks to all the people who have already contributed!
|
||||
Local installation required installing first: `python3 make g++`
|
||||
|
||||
[](https://github.com/sharevb/it-tools/graphs/contributors)
|
||||
| Container Image | Local Installation |
|
||||
| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| GitHub Container Registry: <span title="triple click me!">`ghcr.io/sharevb/it-tools:latest`</span><br/>Docker Hub: <span title="triple click me!">`sharevb/it-tools:latest`</span> | <span title="triple click me!">`sudo apt-get install python3 make g++ && git clone -b chore/all-my-stuffs https://github.com/sharevb/it-tools.git && cd it-tools/ && pnpm i --ignore-scripts && pnpm dev`</span> |
|
||||
| replace your current image with this image | copy & paste oneliner (from github repo) |
|
||||
| You may need to clear cache and hard reload to get new features loading | Installing packages for the first time may take some time; please wait until it finishes |
|
||||
|
||||
## Credits
|
||||
|
||||
Coded with ❤️ by [Corentin Thomasset](https://corentin.tech?utm_source=it-tools&utm_medium=readme).
|
||||
|
||||
This project is continuously deployed using [vercel.com](https://vercel.com).
|
||||
|
||||
Contributor graph is generated using [contrib.rocks](https://contrib.rocks/preview?repo=corentinth/it-tools).
|
||||
|
||||
<a href="https://www.producthunt.com/posts/it-tools?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-it-tools" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=345793&theme=light" alt="IT Tools - Collection of handy online tools for devs, with great UX | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||
<a href="https://www.producthunt.com/posts/it-tools?utm_source=badge-top-post-badge&utm_medium=badge&utm_souce=badge-it-tools" target="_blank"><img src="https://api.producthunt.com/widgets/embed-image/v1/top-post-badge.svg?post_id=345793&theme=light&period=daily" alt="IT Tools - Collection of handy online tools for devs, with great UX | Product Hunt" style="width: 250px; height: 54px;" width="250" height="54" /></a>
|
||||
<picture>
|
||||
<source srcset="./.github/logo-dark.png" media="(prefers-color-scheme: light)">
|
||||
<source srcset="./.github/logo-white.png" media="(prefers-color-scheme: dark)">
|
||||
<img src="./.github/logo-dark.png" alt="logo">
|
||||
</picture>
|
||||
|
||||
## License
|
||||
|
||||
This project is under the [GNU GPLv3](LICENSE).
|
||||
|
||||
</details>
|
||||
@@ -1,301 +1,312 @@
|
||||
/* eslint-disable */
|
||||
/* prettier-ignore */
|
||||
// @ts-nocheck
|
||||
// noinspection JSUnusedGlobalSymbols
|
||||
// Generated by unplugin-auto-import
|
||||
// biome-ignore lint: disable
|
||||
export {}
|
||||
declare global {
|
||||
const EffectScope: typeof import('vue')['EffectScope']
|
||||
const asyncComputed: typeof import('@vueuse/core')['asyncComputed']
|
||||
const autoResetRef: typeof import('@vueuse/core')['autoResetRef']
|
||||
const computed: typeof import('vue')['computed']
|
||||
const computedAsync: typeof import('@vueuse/core')['computedAsync']
|
||||
const computedEager: typeof import('@vueuse/core')['computedEager']
|
||||
const computedInject: typeof import('@vueuse/core')['computedInject']
|
||||
const computedWithControl: typeof import('@vueuse/core')['computedWithControl']
|
||||
const controlledComputed: typeof import('@vueuse/core')['controlledComputed']
|
||||
const controlledRef: typeof import('@vueuse/core')['controlledRef']
|
||||
const createApp: typeof import('vue')['createApp']
|
||||
const createEventHook: typeof import('@vueuse/core')['createEventHook']
|
||||
const createGlobalState: typeof import('@vueuse/core')['createGlobalState']
|
||||
const createInjectionState: typeof import('@vueuse/core')['createInjectionState']
|
||||
const createReactiveFn: typeof import('@vueuse/core')['createReactiveFn']
|
||||
const createReusableTemplate: typeof import('@vueuse/core')['createReusableTemplate']
|
||||
const createSharedComposable: typeof import('@vueuse/core')['createSharedComposable']
|
||||
const createTemplatePromise: typeof import('@vueuse/core')['createTemplatePromise']
|
||||
const createUnrefFn: typeof import('@vueuse/core')['createUnrefFn']
|
||||
const customRef: typeof import('vue')['customRef']
|
||||
const debouncedRef: typeof import('@vueuse/core')['debouncedRef']
|
||||
const debouncedWatch: typeof import('@vueuse/core')['debouncedWatch']
|
||||
const defineAsyncComponent: typeof import('vue')['defineAsyncComponent']
|
||||
const defineComponent: typeof import('vue')['defineComponent']
|
||||
const eagerComputed: typeof import('@vueuse/core')['eagerComputed']
|
||||
const effectScope: typeof import('vue')['effectScope']
|
||||
const extendRef: typeof import('@vueuse/core')['extendRef']
|
||||
const getCurrentInstance: typeof import('vue')['getCurrentInstance']
|
||||
const getCurrentScope: typeof import('vue')['getCurrentScope']
|
||||
const h: typeof import('vue')['h']
|
||||
const ignorableWatch: typeof import('@vueuse/core')['ignorableWatch']
|
||||
const inject: typeof import('vue')['inject']
|
||||
const injectLocal: typeof import('@vueuse/core')['injectLocal']
|
||||
const isDefined: typeof import('@vueuse/core')['isDefined']
|
||||
const isProxy: typeof import('vue')['isProxy']
|
||||
const isReactive: typeof import('vue')['isReactive']
|
||||
const isReadonly: typeof import('vue')['isReadonly']
|
||||
const isRef: typeof import('vue')['isRef']
|
||||
const makeDestructurable: typeof import('@vueuse/core')['makeDestructurable']
|
||||
const markRaw: typeof import('vue')['markRaw']
|
||||
const nextTick: typeof import('vue')['nextTick']
|
||||
const onActivated: typeof import('vue')['onActivated']
|
||||
const onBeforeMount: typeof import('vue')['onBeforeMount']
|
||||
const onBeforeRouteLeave: typeof import('vue-router')['onBeforeRouteLeave']
|
||||
const onBeforeRouteUpdate: typeof import('vue-router')['onBeforeRouteUpdate']
|
||||
const onBeforeUnmount: typeof import('vue')['onBeforeUnmount']
|
||||
const onBeforeUpdate: typeof import('vue')['onBeforeUpdate']
|
||||
const onClickOutside: typeof import('@vueuse/core')['onClickOutside']
|
||||
const onDeactivated: typeof import('vue')['onDeactivated']
|
||||
const onErrorCaptured: typeof import('vue')['onErrorCaptured']
|
||||
const onKeyStroke: typeof import('@vueuse/core')['onKeyStroke']
|
||||
const onLongPress: typeof import('@vueuse/core')['onLongPress']
|
||||
const onMounted: typeof import('vue')['onMounted']
|
||||
const onRenderTracked: typeof import('vue')['onRenderTracked']
|
||||
const onRenderTriggered: typeof import('vue')['onRenderTriggered']
|
||||
const onScopeDispose: typeof import('vue')['onScopeDispose']
|
||||
const onServerPrefetch: typeof import('vue')['onServerPrefetch']
|
||||
const onStartTyping: typeof import('@vueuse/core')['onStartTyping']
|
||||
const onUnmounted: typeof import('vue')['onUnmounted']
|
||||
const onUpdated: typeof import('vue')['onUpdated']
|
||||
const pausableWatch: typeof import('@vueuse/core')['pausableWatch']
|
||||
const provide: typeof import('vue')['provide']
|
||||
const provideLocal: typeof import('@vueuse/core')['provideLocal']
|
||||
const reactify: typeof import('@vueuse/core')['reactify']
|
||||
const reactifyObject: typeof import('@vueuse/core')['reactifyObject']
|
||||
const reactive: typeof import('vue')['reactive']
|
||||
const reactiveComputed: typeof import('@vueuse/core')['reactiveComputed']
|
||||
const reactiveOmit: typeof import('@vueuse/core')['reactiveOmit']
|
||||
const reactivePick: typeof import('@vueuse/core')['reactivePick']
|
||||
const readonly: typeof import('vue')['readonly']
|
||||
const ref: typeof import('vue')['ref']
|
||||
const refAutoReset: typeof import('@vueuse/core')['refAutoReset']
|
||||
const refDebounced: typeof import('@vueuse/core')['refDebounced']
|
||||
const refDefault: typeof import('@vueuse/core')['refDefault']
|
||||
const refThrottled: typeof import('@vueuse/core')['refThrottled']
|
||||
const refWithControl: typeof import('@vueuse/core')['refWithControl']
|
||||
const resolveComponent: typeof import('vue')['resolveComponent']
|
||||
const resolveRef: typeof import('@vueuse/core')['resolveRef']
|
||||
const resolveUnref: typeof import('@vueuse/core')['resolveUnref']
|
||||
const shallowReactive: typeof import('vue')['shallowReactive']
|
||||
const shallowReadonly: typeof import('vue')['shallowReadonly']
|
||||
const shallowRef: typeof import('vue')['shallowRef']
|
||||
const syncRef: typeof import('@vueuse/core')['syncRef']
|
||||
const syncRefs: typeof import('@vueuse/core')['syncRefs']
|
||||
const templateRef: typeof import('@vueuse/core')['templateRef']
|
||||
const throttledRef: typeof import('@vueuse/core')['throttledRef']
|
||||
const throttledWatch: typeof import('@vueuse/core')['throttledWatch']
|
||||
const toRaw: typeof import('vue')['toRaw']
|
||||
const toReactive: typeof import('@vueuse/core')['toReactive']
|
||||
const toRef: typeof import('vue')['toRef']
|
||||
const toRefs: typeof import('vue')['toRefs']
|
||||
const toValue: typeof import('vue')['toValue']
|
||||
const triggerRef: typeof import('vue')['triggerRef']
|
||||
const tryOnBeforeMount: typeof import('@vueuse/core')['tryOnBeforeMount']
|
||||
const tryOnBeforeUnmount: typeof import('@vueuse/core')['tryOnBeforeUnmount']
|
||||
const tryOnMounted: typeof import('@vueuse/core')['tryOnMounted']
|
||||
const tryOnScopeDispose: typeof import('@vueuse/core')['tryOnScopeDispose']
|
||||
const tryOnUnmounted: typeof import('@vueuse/core')['tryOnUnmounted']
|
||||
const unref: typeof import('vue')['unref']
|
||||
const unrefElement: typeof import('@vueuse/core')['unrefElement']
|
||||
const until: typeof import('@vueuse/core')['until']
|
||||
const useActiveElement: typeof import('@vueuse/core')['useActiveElement']
|
||||
const useAnimate: typeof import('@vueuse/core')['useAnimate']
|
||||
const useArrayDifference: typeof import('@vueuse/core')['useArrayDifference']
|
||||
const useArrayEvery: typeof import('@vueuse/core')['useArrayEvery']
|
||||
const useArrayFilter: typeof import('@vueuse/core')['useArrayFilter']
|
||||
const useArrayFind: typeof import('@vueuse/core')['useArrayFind']
|
||||
const useArrayFindIndex: typeof import('@vueuse/core')['useArrayFindIndex']
|
||||
const useArrayFindLast: typeof import('@vueuse/core')['useArrayFindLast']
|
||||
const useArrayIncludes: typeof import('@vueuse/core')['useArrayIncludes']
|
||||
const useArrayJoin: typeof import('@vueuse/core')['useArrayJoin']
|
||||
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
|
||||
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
|
||||
const useArraySome: typeof import('@vueuse/core')['useArraySome']
|
||||
const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique']
|
||||
const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue']
|
||||
const useAsyncState: typeof import('@vueuse/core')['useAsyncState']
|
||||
const useAttrs: typeof import('vue')['useAttrs']
|
||||
const useBase64: typeof import('@vueuse/core')['useBase64']
|
||||
const useBattery: typeof import('@vueuse/core')['useBattery']
|
||||
const useBluetooth: typeof import('@vueuse/core')['useBluetooth']
|
||||
const useBreakpoints: typeof import('@vueuse/core')['useBreakpoints']
|
||||
const useBroadcastChannel: typeof import('@vueuse/core')['useBroadcastChannel']
|
||||
const useBrowserLocation: typeof import('@vueuse/core')['useBrowserLocation']
|
||||
const useCached: typeof import('@vueuse/core')['useCached']
|
||||
const useClipboard: typeof import('@vueuse/core')['useClipboard']
|
||||
const useClipboardItems: typeof import('@vueuse/core')['useClipboardItems']
|
||||
const useCloned: typeof import('@vueuse/core')['useCloned']
|
||||
const useColorMode: typeof import('@vueuse/core')['useColorMode']
|
||||
const useConfirmDialog: typeof import('@vueuse/core')['useConfirmDialog']
|
||||
const useCounter: typeof import('@vueuse/core')['useCounter']
|
||||
const useCssModule: typeof import('vue')['useCssModule']
|
||||
const useCssVar: typeof import('@vueuse/core')['useCssVar']
|
||||
const useCssVars: typeof import('vue')['useCssVars']
|
||||
const useCurrentElement: typeof import('@vueuse/core')['useCurrentElement']
|
||||
const useCycleList: typeof import('@vueuse/core')['useCycleList']
|
||||
const useDark: typeof import('@vueuse/core')['useDark']
|
||||
const useDateFormat: typeof import('@vueuse/core')['useDateFormat']
|
||||
const useDebounce: typeof import('@vueuse/core')['useDebounce']
|
||||
const useDebounceFn: typeof import('@vueuse/core')['useDebounceFn']
|
||||
const useDebouncedRefHistory: typeof import('@vueuse/core')['useDebouncedRefHistory']
|
||||
const useDeviceMotion: typeof import('@vueuse/core')['useDeviceMotion']
|
||||
const useDeviceOrientation: typeof import('@vueuse/core')['useDeviceOrientation']
|
||||
const useDevicePixelRatio: typeof import('@vueuse/core')['useDevicePixelRatio']
|
||||
const useDevicesList: typeof import('@vueuse/core')['useDevicesList']
|
||||
const useDialog: typeof import('naive-ui')['useDialog']
|
||||
const useDisplayMedia: typeof import('@vueuse/core')['useDisplayMedia']
|
||||
const useDocumentVisibility: typeof import('@vueuse/core')['useDocumentVisibility']
|
||||
const useDraggable: typeof import('@vueuse/core')['useDraggable']
|
||||
const useDropZone: typeof import('@vueuse/core')['useDropZone']
|
||||
const useElementBounding: typeof import('@vueuse/core')['useElementBounding']
|
||||
const useElementByPoint: typeof import('@vueuse/core')['useElementByPoint']
|
||||
const useElementHover: typeof import('@vueuse/core')['useElementHover']
|
||||
const useElementSize: typeof import('@vueuse/core')['useElementSize']
|
||||
const useElementVisibility: typeof import('@vueuse/core')['useElementVisibility']
|
||||
const useEventBus: typeof import('@vueuse/core')['useEventBus']
|
||||
const useEventListener: typeof import('@vueuse/core')['useEventListener']
|
||||
const useEventSource: typeof import('@vueuse/core')['useEventSource']
|
||||
const useEyeDropper: typeof import('@vueuse/core')['useEyeDropper']
|
||||
const useFavicon: typeof import('@vueuse/core')['useFavicon']
|
||||
const useFetch: typeof import('@vueuse/core')['useFetch']
|
||||
const useFileDialog: typeof import('@vueuse/core')['useFileDialog']
|
||||
const useFileSystemAccess: typeof import('@vueuse/core')['useFileSystemAccess']
|
||||
const useFocus: typeof import('@vueuse/core')['useFocus']
|
||||
const useFocusWithin: typeof import('@vueuse/core')['useFocusWithin']
|
||||
const useFps: typeof import('@vueuse/core')['useFps']
|
||||
const useFullscreen: typeof import('@vueuse/core')['useFullscreen']
|
||||
const useGamepad: typeof import('@vueuse/core')['useGamepad']
|
||||
const useGeolocation: typeof import('@vueuse/core')['useGeolocation']
|
||||
const useI18n: typeof import('vue-i18n')['useI18n']
|
||||
const useIdle: typeof import('@vueuse/core')['useIdle']
|
||||
const useImage: typeof import('@vueuse/core')['useImage']
|
||||
const useInfiniteScroll: typeof import('@vueuse/core')['useInfiniteScroll']
|
||||
const useIntersectionObserver: typeof import('@vueuse/core')['useIntersectionObserver']
|
||||
const useInterval: typeof import('@vueuse/core')['useInterval']
|
||||
const useIntervalFn: typeof import('@vueuse/core')['useIntervalFn']
|
||||
const useKeyModifier: typeof import('@vueuse/core')['useKeyModifier']
|
||||
const useLastChanged: typeof import('@vueuse/core')['useLastChanged']
|
||||
const useLink: typeof import('vue-router')['useLink']
|
||||
const useLoadingBar: typeof import('naive-ui')['useLoadingBar']
|
||||
const useLocalStorage: typeof import('@vueuse/core')['useLocalStorage']
|
||||
const useMagicKeys: typeof import('@vueuse/core')['useMagicKeys']
|
||||
const useManualRefHistory: typeof import('@vueuse/core')['useManualRefHistory']
|
||||
const useMediaControls: typeof import('@vueuse/core')['useMediaControls']
|
||||
const useMediaQuery: typeof import('@vueuse/core')['useMediaQuery']
|
||||
const useMemoize: typeof import('@vueuse/core')['useMemoize']
|
||||
const useMemory: typeof import('@vueuse/core')['useMemory']
|
||||
const useMessage: typeof import('naive-ui')['useMessage']
|
||||
const useMounted: typeof import('@vueuse/core')['useMounted']
|
||||
const useMouse: typeof import('@vueuse/core')['useMouse']
|
||||
const useMouseInElement: typeof import('@vueuse/core')['useMouseInElement']
|
||||
const useMousePressed: typeof import('@vueuse/core')['useMousePressed']
|
||||
const useMutationObserver: typeof import('@vueuse/core')['useMutationObserver']
|
||||
const useNavigatorLanguage: typeof import('@vueuse/core')['useNavigatorLanguage']
|
||||
const useNetwork: typeof import('@vueuse/core')['useNetwork']
|
||||
const useNotification: typeof import('naive-ui')['useNotification']
|
||||
const useNow: typeof import('@vueuse/core')['useNow']
|
||||
const useObjectUrl: typeof import('@vueuse/core')['useObjectUrl']
|
||||
const useOffsetPagination: typeof import('@vueuse/core')['useOffsetPagination']
|
||||
const useOnline: typeof import('@vueuse/core')['useOnline']
|
||||
const usePageLeave: typeof import('@vueuse/core')['usePageLeave']
|
||||
const useParallax: typeof import('@vueuse/core')['useParallax']
|
||||
const useParentElement: typeof import('@vueuse/core')['useParentElement']
|
||||
const usePerformanceObserver: typeof import('@vueuse/core')['usePerformanceObserver']
|
||||
const usePermission: typeof import('@vueuse/core')['usePermission']
|
||||
const usePointer: typeof import('@vueuse/core')['usePointer']
|
||||
const usePointerLock: typeof import('@vueuse/core')['usePointerLock']
|
||||
const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe']
|
||||
const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme']
|
||||
const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast']
|
||||
const usePreferredDark: typeof import('@vueuse/core')['usePreferredDark']
|
||||
const usePreferredLanguages: typeof import('@vueuse/core')['usePreferredLanguages']
|
||||
const usePreferredReducedMotion: typeof import('@vueuse/core')['usePreferredReducedMotion']
|
||||
const usePrevious: typeof import('@vueuse/core')['usePrevious']
|
||||
const useRafFn: typeof import('@vueuse/core')['useRafFn']
|
||||
const useRefHistory: typeof import('@vueuse/core')['useRefHistory']
|
||||
const useResizeObserver: typeof import('@vueuse/core')['useResizeObserver']
|
||||
const useRoute: typeof import('vue-router')['useRoute']
|
||||
const useRouter: typeof import('vue-router')['useRouter']
|
||||
const useScreenOrientation: typeof import('@vueuse/core')['useScreenOrientation']
|
||||
const useScreenSafeArea: typeof import('@vueuse/core')['useScreenSafeArea']
|
||||
const useScriptTag: typeof import('@vueuse/core')['useScriptTag']
|
||||
const useScroll: typeof import('@vueuse/core')['useScroll']
|
||||
const useScrollLock: typeof import('@vueuse/core')['useScrollLock']
|
||||
const useSessionStorage: typeof import('@vueuse/core')['useSessionStorage']
|
||||
const useShare: typeof import('@vueuse/core')['useShare']
|
||||
const useSlots: typeof import('vue')['useSlots']
|
||||
const useSorted: typeof import('@vueuse/core')['useSorted']
|
||||
const useSpeechRecognition: typeof import('@vueuse/core')['useSpeechRecognition']
|
||||
const useSpeechSynthesis: typeof import('@vueuse/core')['useSpeechSynthesis']
|
||||
const useStepper: typeof import('@vueuse/core')['useStepper']
|
||||
const useStorage: typeof import('@vueuse/core')['useStorage']
|
||||
const useStorageAsync: typeof import('@vueuse/core')['useStorageAsync']
|
||||
const useStyleTag: typeof import('@vueuse/core')['useStyleTag']
|
||||
const useSupported: typeof import('@vueuse/core')['useSupported']
|
||||
const useSwipe: typeof import('@vueuse/core')['useSwipe']
|
||||
const useTemplateRefsList: typeof import('@vueuse/core')['useTemplateRefsList']
|
||||
const useTextDirection: typeof import('@vueuse/core')['useTextDirection']
|
||||
const useTextSelection: typeof import('@vueuse/core')['useTextSelection']
|
||||
const useTextareaAutosize: typeof import('@vueuse/core')['useTextareaAutosize']
|
||||
const useThrottle: typeof import('@vueuse/core')['useThrottle']
|
||||
const useThrottleFn: typeof import('@vueuse/core')['useThrottleFn']
|
||||
const useThrottledRefHistory: typeof import('@vueuse/core')['useThrottledRefHistory']
|
||||
const useTimeAgo: typeof import('@vueuse/core')['useTimeAgo']
|
||||
const useTimeout: typeof import('@vueuse/core')['useTimeout']
|
||||
const useTimeoutFn: typeof import('@vueuse/core')['useTimeoutFn']
|
||||
const useTimeoutPoll: typeof import('@vueuse/core')['useTimeoutPoll']
|
||||
const useTimestamp: typeof import('@vueuse/core')['useTimestamp']
|
||||
const useTitle: typeof import('@vueuse/core')['useTitle']
|
||||
const useToNumber: typeof import('@vueuse/core')['useToNumber']
|
||||
const useToString: typeof import('@vueuse/core')['useToString']
|
||||
const useToggle: typeof import('@vueuse/core')['useToggle']
|
||||
const useTransition: typeof import('@vueuse/core')['useTransition']
|
||||
const useUrlSearchParams: typeof import('@vueuse/core')['useUrlSearchParams']
|
||||
const useUserMedia: typeof import('@vueuse/core')['useUserMedia']
|
||||
const useVModel: typeof import('@vueuse/core')['useVModel']
|
||||
const useVModels: typeof import('@vueuse/core')['useVModels']
|
||||
const useVibrate: typeof import('@vueuse/core')['useVibrate']
|
||||
const useVirtualList: typeof import('@vueuse/core')['useVirtualList']
|
||||
const useWakeLock: typeof import('@vueuse/core')['useWakeLock']
|
||||
const useWebNotification: typeof import('@vueuse/core')['useWebNotification']
|
||||
const useWebSocket: typeof import('@vueuse/core')['useWebSocket']
|
||||
const useWebWorker: typeof import('@vueuse/core')['useWebWorker']
|
||||
const useWebWorkerFn: typeof import('@vueuse/core')['useWebWorkerFn']
|
||||
const useWindowFocus: typeof import('@vueuse/core')['useWindowFocus']
|
||||
const useWindowScroll: typeof import('@vueuse/core')['useWindowScroll']
|
||||
const useWindowSize: typeof import('@vueuse/core')['useWindowSize']
|
||||
const watch: typeof import('vue')['watch']
|
||||
const watchArray: typeof import('@vueuse/core')['watchArray']
|
||||
const watchAtMost: typeof import('@vueuse/core')['watchAtMost']
|
||||
const watchDebounced: typeof import('@vueuse/core')['watchDebounced']
|
||||
const watchDeep: typeof import('@vueuse/core')['watchDeep']
|
||||
const watchEffect: typeof import('vue')['watchEffect']
|
||||
const watchIgnorable: typeof import('@vueuse/core')['watchIgnorable']
|
||||
const watchImmediate: typeof import('@vueuse/core')['watchImmediate']
|
||||
const watchOnce: typeof import('@vueuse/core')['watchOnce']
|
||||
const watchPausable: typeof import('@vueuse/core')['watchPausable']
|
||||
const watchPostEffect: typeof import('vue')['watchPostEffect']
|
||||
const watchSyncEffect: typeof import('vue')['watchSyncEffect']
|
||||
const watchThrottled: typeof import('@vueuse/core')['watchThrottled']
|
||||
const watchTriggerable: typeof import('@vueuse/core')['watchTriggerable']
|
||||
const watchWithFilter: typeof import('@vueuse/core')['watchWithFilter']
|
||||
const whenever: typeof import('@vueuse/core')['whenever']
|
||||
const EffectScope: typeof import('vue').EffectScope
|
||||
const asyncComputed: typeof import('@vueuse/core').asyncComputed
|
||||
const autoResetRef: typeof import('@vueuse/core').autoResetRef
|
||||
const computed: typeof import('vue').computed
|
||||
const computedAsync: typeof import('@vueuse/core').computedAsync
|
||||
const computedEager: typeof import('@vueuse/core').computedEager
|
||||
const computedInject: typeof import('@vueuse/core').computedInject
|
||||
const computedWithControl: typeof import('@vueuse/core').computedWithControl
|
||||
const controlledComputed: typeof import('@vueuse/core').controlledComputed
|
||||
const controlledRef: typeof import('@vueuse/core').controlledRef
|
||||
const createApp: typeof import('vue').createApp
|
||||
const createEventHook: typeof import('@vueuse/core').createEventHook
|
||||
const createGlobalState: typeof import('@vueuse/core').createGlobalState
|
||||
const createInjectionState: typeof import('@vueuse/core').createInjectionState
|
||||
const createReactiveFn: typeof import('@vueuse/core').createReactiveFn
|
||||
const createReusableTemplate: typeof import('@vueuse/core').createReusableTemplate
|
||||
const createSharedComposable: typeof import('@vueuse/core').createSharedComposable
|
||||
const createTemplatePromise: typeof import('@vueuse/core').createTemplatePromise
|
||||
const createUnrefFn: typeof import('@vueuse/core').createUnrefFn
|
||||
const customRef: typeof import('vue').customRef
|
||||
const debouncedRef: typeof import('@vueuse/core').debouncedRef
|
||||
const debouncedWatch: typeof import('@vueuse/core').debouncedWatch
|
||||
const defineAsyncComponent: typeof import('vue').defineAsyncComponent
|
||||
const defineComponent: typeof import('vue').defineComponent
|
||||
const eagerComputed: typeof import('@vueuse/core').eagerComputed
|
||||
const effectScope: typeof import('vue').effectScope
|
||||
const extendRef: typeof import('@vueuse/core').extendRef
|
||||
const getCurrentInstance: typeof import('vue').getCurrentInstance
|
||||
const getCurrentScope: typeof import('vue').getCurrentScope
|
||||
const getCurrentWatcher: typeof import('vue').getCurrentWatcher
|
||||
const h: typeof import('vue').h
|
||||
const ignorableWatch: typeof import('@vueuse/core').ignorableWatch
|
||||
const inject: typeof import('vue').inject
|
||||
const injectLocal: typeof import('@vueuse/core').injectLocal
|
||||
const isDefined: typeof import('@vueuse/core').isDefined
|
||||
const isProxy: typeof import('vue').isProxy
|
||||
const isReactive: typeof import('vue').isReactive
|
||||
const isReadonly: typeof import('vue').isReadonly
|
||||
const isRef: typeof import('vue').isRef
|
||||
const isShallow: typeof import('vue').isShallow
|
||||
const makeDestructurable: typeof import('@vueuse/core').makeDestructurable
|
||||
const markRaw: typeof import('vue').markRaw
|
||||
const nextTick: typeof import('vue').nextTick
|
||||
const onActivated: typeof import('vue').onActivated
|
||||
const onBeforeMount: typeof import('vue').onBeforeMount
|
||||
const onBeforeRouteLeave: typeof import('vue-router').onBeforeRouteLeave
|
||||
const onBeforeRouteUpdate: typeof import('vue-router').onBeforeRouteUpdate
|
||||
const onBeforeUnmount: typeof import('vue').onBeforeUnmount
|
||||
const onBeforeUpdate: typeof import('vue').onBeforeUpdate
|
||||
const onClickOutside: typeof import('@vueuse/core').onClickOutside
|
||||
const onDeactivated: typeof import('vue').onDeactivated
|
||||
const onErrorCaptured: typeof import('vue').onErrorCaptured
|
||||
const onKeyStroke: typeof import('@vueuse/core').onKeyStroke
|
||||
const onLongPress: typeof import('@vueuse/core').onLongPress
|
||||
const onMounted: typeof import('vue').onMounted
|
||||
const onRenderTracked: typeof import('vue').onRenderTracked
|
||||
const onRenderTriggered: typeof import('vue').onRenderTriggered
|
||||
const onScopeDispose: typeof import('vue').onScopeDispose
|
||||
const onServerPrefetch: typeof import('vue').onServerPrefetch
|
||||
const onStartTyping: typeof import('@vueuse/core').onStartTyping
|
||||
const onUnmounted: typeof import('vue').onUnmounted
|
||||
const onUpdated: typeof import('vue').onUpdated
|
||||
const onWatcherCleanup: typeof import('vue').onWatcherCleanup
|
||||
const pausableWatch: typeof import('@vueuse/core').pausableWatch
|
||||
const provide: typeof import('vue').provide
|
||||
const provideLocal: typeof import('@vueuse/core').provideLocal
|
||||
const reactify: typeof import('@vueuse/core').reactify
|
||||
const reactifyObject: typeof import('@vueuse/core').reactifyObject
|
||||
const reactive: typeof import('vue').reactive
|
||||
const reactiveComputed: typeof import('@vueuse/core').reactiveComputed
|
||||
const reactiveOmit: typeof import('@vueuse/core').reactiveOmit
|
||||
const reactivePick: typeof import('@vueuse/core').reactivePick
|
||||
const readonly: typeof import('vue').readonly
|
||||
const ref: typeof import('vue').ref
|
||||
const refAutoReset: typeof import('@vueuse/core').refAutoReset
|
||||
const refDebounced: typeof import('@vueuse/core').refDebounced
|
||||
const refDefault: typeof import('@vueuse/core').refDefault
|
||||
const refThrottled: typeof import('@vueuse/core').refThrottled
|
||||
const refWithControl: typeof import('@vueuse/core').refWithControl
|
||||
const resolveComponent: typeof import('vue').resolveComponent
|
||||
const resolveRef: typeof import('@vueuse/core').resolveRef
|
||||
const resolveUnref: typeof import('@vueuse/core').resolveUnref
|
||||
const shallowReactive: typeof import('vue').shallowReactive
|
||||
const shallowReadonly: typeof import('vue').shallowReadonly
|
||||
const shallowRef: typeof import('vue').shallowRef
|
||||
const syncRef: typeof import('@vueuse/core').syncRef
|
||||
const syncRefs: typeof import('@vueuse/core').syncRefs
|
||||
const templateRef: typeof import('@vueuse/core').templateRef
|
||||
const throttledRef: typeof import('@vueuse/core').throttledRef
|
||||
const throttledWatch: typeof import('@vueuse/core').throttledWatch
|
||||
const toRaw: typeof import('vue').toRaw
|
||||
const toReactive: typeof import('@vueuse/core').toReactive
|
||||
const toRef: typeof import('vue').toRef
|
||||
const toRefs: typeof import('vue').toRefs
|
||||
const toValue: typeof import('vue').toValue
|
||||
const triggerRef: typeof import('vue').triggerRef
|
||||
const tryOnBeforeMount: typeof import('@vueuse/core').tryOnBeforeMount
|
||||
const tryOnBeforeUnmount: typeof import('@vueuse/core').tryOnBeforeUnmount
|
||||
const tryOnMounted: typeof import('@vueuse/core').tryOnMounted
|
||||
const tryOnScopeDispose: typeof import('@vueuse/core').tryOnScopeDispose
|
||||
const tryOnUnmounted: typeof import('@vueuse/core').tryOnUnmounted
|
||||
const unref: typeof import('vue').unref
|
||||
const unrefElement: typeof import('@vueuse/core').unrefElement
|
||||
const until: typeof import('@vueuse/core').until
|
||||
const useActiveElement: typeof import('@vueuse/core').useActiveElement
|
||||
const useAnimate: typeof import('@vueuse/core').useAnimate
|
||||
const useArrayDifference: typeof import('@vueuse/core').useArrayDifference
|
||||
const useArrayEvery: typeof import('@vueuse/core').useArrayEvery
|
||||
const useArrayFilter: typeof import('@vueuse/core').useArrayFilter
|
||||
const useArrayFind: typeof import('@vueuse/core').useArrayFind
|
||||
const useArrayFindIndex: typeof import('@vueuse/core').useArrayFindIndex
|
||||
const useArrayFindLast: typeof import('@vueuse/core').useArrayFindLast
|
||||
const useArrayIncludes: typeof import('@vueuse/core').useArrayIncludes
|
||||
const useArrayJoin: typeof import('@vueuse/core').useArrayJoin
|
||||
const useArrayMap: typeof import('@vueuse/core').useArrayMap
|
||||
const useArrayReduce: typeof import('@vueuse/core').useArrayReduce
|
||||
const useArraySome: typeof import('@vueuse/core').useArraySome
|
||||
const useArrayUnique: typeof import('@vueuse/core').useArrayUnique
|
||||
const useAsyncQueue: typeof import('@vueuse/core').useAsyncQueue
|
||||
const useAsyncState: typeof import('@vueuse/core').useAsyncState
|
||||
const useAttrs: typeof import('vue').useAttrs
|
||||
const useBase64: typeof import('@vueuse/core').useBase64
|
||||
const useBattery: typeof import('@vueuse/core').useBattery
|
||||
const useBluetooth: typeof import('@vueuse/core').useBluetooth
|
||||
const useBreakpoints: typeof import('@vueuse/core').useBreakpoints
|
||||
const useBroadcastChannel: typeof import('@vueuse/core').useBroadcastChannel
|
||||
const useBrowserLocation: typeof import('@vueuse/core').useBrowserLocation
|
||||
const useCached: typeof import('@vueuse/core').useCached
|
||||
const useClipboard: typeof import('@vueuse/core').useClipboard
|
||||
const useClipboardItems: typeof import('@vueuse/core').useClipboardItems
|
||||
const useCloned: typeof import('@vueuse/core').useCloned
|
||||
const useColorMode: typeof import('@vueuse/core').useColorMode
|
||||
const useConfirmDialog: typeof import('@vueuse/core').useConfirmDialog
|
||||
const useCounter: typeof import('@vueuse/core').useCounter
|
||||
const useCssModule: typeof import('vue').useCssModule
|
||||
const useCssVar: typeof import('@vueuse/core').useCssVar
|
||||
const useCssVars: typeof import('vue').useCssVars
|
||||
const useCurrentElement: typeof import('@vueuse/core').useCurrentElement
|
||||
const useCycleList: typeof import('@vueuse/core').useCycleList
|
||||
const useDark: typeof import('@vueuse/core').useDark
|
||||
const useDateFormat: typeof import('@vueuse/core').useDateFormat
|
||||
const useDebounce: typeof import('@vueuse/core').useDebounce
|
||||
const useDebounceFn: typeof import('@vueuse/core').useDebounceFn
|
||||
const useDebouncedRefHistory: typeof import('@vueuse/core').useDebouncedRefHistory
|
||||
const useDeviceMotion: typeof import('@vueuse/core').useDeviceMotion
|
||||
const useDeviceOrientation: typeof import('@vueuse/core').useDeviceOrientation
|
||||
const useDevicePixelRatio: typeof import('@vueuse/core').useDevicePixelRatio
|
||||
const useDevicesList: typeof import('@vueuse/core').useDevicesList
|
||||
const useDialog: typeof import('naive-ui').useDialog
|
||||
const useDisplayMedia: typeof import('@vueuse/core').useDisplayMedia
|
||||
const useDocumentVisibility: typeof import('@vueuse/core').useDocumentVisibility
|
||||
const useDraggable: typeof import('@vueuse/core').useDraggable
|
||||
const useDropZone: typeof import('@vueuse/core').useDropZone
|
||||
const useElementBounding: typeof import('@vueuse/core').useElementBounding
|
||||
const useElementByPoint: typeof import('@vueuse/core').useElementByPoint
|
||||
const useElementHover: typeof import('@vueuse/core').useElementHover
|
||||
const useElementSize: typeof import('@vueuse/core').useElementSize
|
||||
const useElementVisibility: typeof import('@vueuse/core').useElementVisibility
|
||||
const useEventBus: typeof import('@vueuse/core').useEventBus
|
||||
const useEventListener: typeof import('@vueuse/core').useEventListener
|
||||
const useEventSource: typeof import('@vueuse/core').useEventSource
|
||||
const useEyeDropper: typeof import('@vueuse/core').useEyeDropper
|
||||
const useFavicon: typeof import('@vueuse/core').useFavicon
|
||||
const useFetch: typeof import('@vueuse/core').useFetch
|
||||
const useFileDialog: typeof import('@vueuse/core').useFileDialog
|
||||
const useFileSystemAccess: typeof import('@vueuse/core').useFileSystemAccess
|
||||
const useFocus: typeof import('@vueuse/core').useFocus
|
||||
const useFocusWithin: typeof import('@vueuse/core').useFocusWithin
|
||||
const useFps: typeof import('@vueuse/core').useFps
|
||||
const useFullscreen: typeof import('@vueuse/core').useFullscreen
|
||||
const useGamepad: typeof import('@vueuse/core').useGamepad
|
||||
const useGeolocation: typeof import('@vueuse/core').useGeolocation
|
||||
const useI18n: typeof import('vue-i18n').useI18n
|
||||
const useId: typeof import('vue').useId
|
||||
const useIdle: typeof import('@vueuse/core').useIdle
|
||||
const useImage: typeof import('@vueuse/core').useImage
|
||||
const useInfiniteScroll: typeof import('@vueuse/core').useInfiniteScroll
|
||||
const useIntersectionObserver: typeof import('@vueuse/core').useIntersectionObserver
|
||||
const useInterval: typeof import('@vueuse/core').useInterval
|
||||
const useIntervalFn: typeof import('@vueuse/core').useIntervalFn
|
||||
const useKeyModifier: typeof import('@vueuse/core').useKeyModifier
|
||||
const useLastChanged: typeof import('@vueuse/core').useLastChanged
|
||||
const useLink: typeof import('vue-router').useLink
|
||||
const useLoadingBar: typeof import('naive-ui').useLoadingBar
|
||||
const useLocalStorage: typeof import('@vueuse/core').useLocalStorage
|
||||
const useMagicKeys: typeof import('@vueuse/core').useMagicKeys
|
||||
const useManualRefHistory: typeof import('@vueuse/core').useManualRefHistory
|
||||
const useMediaControls: typeof import('@vueuse/core').useMediaControls
|
||||
const useMediaQuery: typeof import('@vueuse/core').useMediaQuery
|
||||
const useMemoize: typeof import('@vueuse/core').useMemoize
|
||||
const useMemory: typeof import('@vueuse/core').useMemory
|
||||
const useMessage: typeof import('naive-ui').useMessage
|
||||
const useModel: typeof import('vue').useModel
|
||||
const useMounted: typeof import('@vueuse/core').useMounted
|
||||
const useMouse: typeof import('@vueuse/core').useMouse
|
||||
const useMouseInElement: typeof import('@vueuse/core').useMouseInElement
|
||||
const useMousePressed: typeof import('@vueuse/core').useMousePressed
|
||||
const useMutationObserver: typeof import('@vueuse/core').useMutationObserver
|
||||
const useNavigatorLanguage: typeof import('@vueuse/core').useNavigatorLanguage
|
||||
const useNetwork: typeof import('@vueuse/core').useNetwork
|
||||
const useNotification: typeof import('naive-ui').useNotification
|
||||
const useNow: typeof import('@vueuse/core').useNow
|
||||
const useObjectUrl: typeof import('@vueuse/core').useObjectUrl
|
||||
const useOffsetPagination: typeof import('@vueuse/core').useOffsetPagination
|
||||
const useOnline: typeof import('@vueuse/core').useOnline
|
||||
const usePageLeave: typeof import('@vueuse/core').usePageLeave
|
||||
const useParallax: typeof import('@vueuse/core').useParallax
|
||||
const useParentElement: typeof import('@vueuse/core').useParentElement
|
||||
const usePerformanceObserver: typeof import('@vueuse/core').usePerformanceObserver
|
||||
const usePermission: typeof import('@vueuse/core').usePermission
|
||||
const usePointer: typeof import('@vueuse/core').usePointer
|
||||
const usePointerLock: typeof import('@vueuse/core').usePointerLock
|
||||
const usePointerSwipe: typeof import('@vueuse/core').usePointerSwipe
|
||||
const usePreferredColorScheme: typeof import('@vueuse/core').usePreferredColorScheme
|
||||
const usePreferredContrast: typeof import('@vueuse/core').usePreferredContrast
|
||||
const usePreferredDark: typeof import('@vueuse/core').usePreferredDark
|
||||
const usePreferredLanguages: typeof import('@vueuse/core').usePreferredLanguages
|
||||
const usePreferredReducedMotion: typeof import('@vueuse/core').usePreferredReducedMotion
|
||||
const usePrevious: typeof import('@vueuse/core').usePrevious
|
||||
const useRafFn: typeof import('@vueuse/core').useRafFn
|
||||
const useRefHistory: typeof import('@vueuse/core').useRefHistory
|
||||
const useResizeObserver: typeof import('@vueuse/core').useResizeObserver
|
||||
const useRoute: typeof import('vue-router').useRoute
|
||||
const useRouter: typeof import('vue-router').useRouter
|
||||
const useScreenOrientation: typeof import('@vueuse/core').useScreenOrientation
|
||||
const useScreenSafeArea: typeof import('@vueuse/core').useScreenSafeArea
|
||||
const useScriptTag: typeof import('@vueuse/core').useScriptTag
|
||||
const useScroll: typeof import('@vueuse/core').useScroll
|
||||
const useScrollLock: typeof import('@vueuse/core').useScrollLock
|
||||
const useSessionStorage: typeof import('@vueuse/core').useSessionStorage
|
||||
const useShare: typeof import('@vueuse/core').useShare
|
||||
const useSlots: typeof import('vue').useSlots
|
||||
const useSorted: typeof import('@vueuse/core').useSorted
|
||||
const useSpeechRecognition: typeof import('@vueuse/core').useSpeechRecognition
|
||||
const useSpeechSynthesis: typeof import('@vueuse/core').useSpeechSynthesis
|
||||
const useStepper: typeof import('@vueuse/core').useStepper
|
||||
const useStorage: typeof import('@vueuse/core').useStorage
|
||||
const useStorageAsync: typeof import('@vueuse/core').useStorageAsync
|
||||
const useStyleTag: typeof import('@vueuse/core').useStyleTag
|
||||
const useSupported: typeof import('@vueuse/core').useSupported
|
||||
const useSwipe: typeof import('@vueuse/core').useSwipe
|
||||
const useTemplateRef: typeof import('vue').useTemplateRef
|
||||
const useTemplateRefsList: typeof import('@vueuse/core').useTemplateRefsList
|
||||
const useTextDirection: typeof import('@vueuse/core').useTextDirection
|
||||
const useTextSelection: typeof import('@vueuse/core').useTextSelection
|
||||
const useTextareaAutosize: typeof import('@vueuse/core').useTextareaAutosize
|
||||
const useThrottle: typeof import('@vueuse/core').useThrottle
|
||||
const useThrottleFn: typeof import('@vueuse/core').useThrottleFn
|
||||
const useThrottledRefHistory: typeof import('@vueuse/core').useThrottledRefHistory
|
||||
const useTimeAgo: typeof import('@vueuse/core').useTimeAgo
|
||||
const useTimeout: typeof import('@vueuse/core').useTimeout
|
||||
const useTimeoutFn: typeof import('@vueuse/core').useTimeoutFn
|
||||
const useTimeoutPoll: typeof import('@vueuse/core').useTimeoutPoll
|
||||
const useTimestamp: typeof import('@vueuse/core').useTimestamp
|
||||
const useTitle: typeof import('@vueuse/core').useTitle
|
||||
const useToNumber: typeof import('@vueuse/core').useToNumber
|
||||
const useToString: typeof import('@vueuse/core').useToString
|
||||
const useToggle: typeof import('@vueuse/core').useToggle
|
||||
const useTransition: typeof import('@vueuse/core').useTransition
|
||||
const useUrlSearchParams: typeof import('@vueuse/core').useUrlSearchParams
|
||||
const useUserMedia: typeof import('@vueuse/core').useUserMedia
|
||||
const useVModel: typeof import('@vueuse/core').useVModel
|
||||
const useVModels: typeof import('@vueuse/core').useVModels
|
||||
const useVibrate: typeof import('@vueuse/core').useVibrate
|
||||
const useVirtualList: typeof import('@vueuse/core').useVirtualList
|
||||
const useWakeLock: typeof import('@vueuse/core').useWakeLock
|
||||
const useWebNotification: typeof import('@vueuse/core').useWebNotification
|
||||
const useWebSocket: typeof import('@vueuse/core').useWebSocket
|
||||
const useWebWorker: typeof import('@vueuse/core').useWebWorker
|
||||
const useWebWorkerFn: typeof import('@vueuse/core').useWebWorkerFn
|
||||
const useWindowFocus: typeof import('@vueuse/core').useWindowFocus
|
||||
const useWindowScroll: typeof import('@vueuse/core').useWindowScroll
|
||||
const useWindowSize: typeof import('@vueuse/core').useWindowSize
|
||||
const watch: typeof import('vue').watch
|
||||
const watchArray: typeof import('@vueuse/core').watchArray
|
||||
const watchAtMost: typeof import('@vueuse/core').watchAtMost
|
||||
const watchDebounced: typeof import('@vueuse/core').watchDebounced
|
||||
const watchDeep: typeof import('@vueuse/core').watchDeep
|
||||
const watchEffect: typeof import('vue').watchEffect
|
||||
const watchIgnorable: typeof import('@vueuse/core').watchIgnorable
|
||||
const watchImmediate: typeof import('@vueuse/core').watchImmediate
|
||||
const watchOnce: typeof import('@vueuse/core').watchOnce
|
||||
const watchPausable: typeof import('@vueuse/core').watchPausable
|
||||
const watchPostEffect: typeof import('vue').watchPostEffect
|
||||
const watchSyncEffect: typeof import('vue').watchSyncEffect
|
||||
const watchThrottled: typeof import('@vueuse/core').watchThrottled
|
||||
const watchTriggerable: typeof import('@vueuse/core').watchTriggerable
|
||||
const watchWithFilter: typeof import('@vueuse/core').watchWithFilter
|
||||
const whenever: typeof import('@vueuse/core').whenever
|
||||
}
|
||||
// for type re-export
|
||||
declare global {
|
||||
// @ts-ignore
|
||||
export type { Component, ComponentPublicInstance, ComputedRef, InjectionKey, PropType, Ref, VNode } from 'vue'
|
||||
export type { Component, Slot, Slots, ComponentPublicInstance, ComputedRef, DirectiveBinding, ExtractDefaultPropTypes, ExtractPropTypes, ExtractPublicPropTypes, InjectionKey, PropType, Ref, ShallowRef, MaybeRef, MaybeRefOrGetter, VNode, WritableComputedRef } from 'vue'
|
||||
import('vue')
|
||||
}
|
||||
|
||||
// for vue template auto import
|
||||
import { UnwrapRef } from 'vue'
|
||||
declare module 'vue' {
|
||||
interface GlobalComponents {}
|
||||
interface ComponentCustomProperties {
|
||||
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
|
||||
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
|
||||
@@ -326,6 +337,7 @@ declare module 'vue' {
|
||||
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
|
||||
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
|
||||
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
|
||||
readonly getCurrentWatcher: UnwrapRef<typeof import('vue')['getCurrentWatcher']>
|
||||
readonly h: UnwrapRef<typeof import('vue')['h']>
|
||||
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
|
||||
readonly inject: UnwrapRef<typeof import('vue')['inject']>
|
||||
@@ -335,6 +347,7 @@ declare module 'vue' {
|
||||
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
|
||||
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
|
||||
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
|
||||
readonly isShallow: UnwrapRef<typeof import('vue')['isShallow']>
|
||||
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
|
||||
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
|
||||
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
|
||||
@@ -357,6 +370,7 @@ declare module 'vue' {
|
||||
readonly onStartTyping: UnwrapRef<typeof import('@vueuse/core')['onStartTyping']>
|
||||
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
|
||||
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
|
||||
readonly onWatcherCleanup: UnwrapRef<typeof import('vue')['onWatcherCleanup']>
|
||||
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
|
||||
readonly provide: UnwrapRef<typeof import('vue')['provide']>
|
||||
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
|
||||
@@ -467,6 +481,7 @@ declare module 'vue' {
|
||||
readonly useGamepad: UnwrapRef<typeof import('@vueuse/core')['useGamepad']>
|
||||
readonly useGeolocation: UnwrapRef<typeof import('@vueuse/core')['useGeolocation']>
|
||||
readonly useI18n: UnwrapRef<typeof import('vue-i18n')['useI18n']>
|
||||
readonly useId: UnwrapRef<typeof import('vue')['useId']>
|
||||
readonly useIdle: UnwrapRef<typeof import('@vueuse/core')['useIdle']>
|
||||
readonly useImage: UnwrapRef<typeof import('@vueuse/core')['useImage']>
|
||||
readonly useInfiniteScroll: UnwrapRef<typeof import('@vueuse/core')['useInfiniteScroll']>
|
||||
@@ -485,6 +500,7 @@ declare module 'vue' {
|
||||
readonly useMemoize: UnwrapRef<typeof import('@vueuse/core')['useMemoize']>
|
||||
readonly useMemory: UnwrapRef<typeof import('@vueuse/core')['useMemory']>
|
||||
readonly useMessage: UnwrapRef<typeof import('naive-ui')['useMessage']>
|
||||
readonly useModel: UnwrapRef<typeof import('vue')['useModel']>
|
||||
readonly useMounted: UnwrapRef<typeof import('@vueuse/core')['useMounted']>
|
||||
readonly useMouse: UnwrapRef<typeof import('@vueuse/core')['useMouse']>
|
||||
readonly useMouseInElement: UnwrapRef<typeof import('@vueuse/core')['useMouseInElement']>
|
||||
@@ -533,6 +549,7 @@ declare module 'vue' {
|
||||
readonly useStyleTag: UnwrapRef<typeof import('@vueuse/core')['useStyleTag']>
|
||||
readonly useSupported: UnwrapRef<typeof import('@vueuse/core')['useSupported']>
|
||||
readonly useSwipe: UnwrapRef<typeof import('@vueuse/core')['useSwipe']>
|
||||
readonly useTemplateRef: UnwrapRef<typeof import('vue')['useTemplateRef']>
|
||||
readonly useTemplateRefsList: UnwrapRef<typeof import('@vueuse/core')['useTemplateRefsList']>
|
||||
readonly useTextDirection: UnwrapRef<typeof import('@vueuse/core')['useTextDirection']>
|
||||
readonly useTextSelection: UnwrapRef<typeof import('@vueuse/core')['useTextSelection']>
|
||||
@@ -581,291 +598,4 @@ declare module 'vue' {
|
||||
readonly watchWithFilter: UnwrapRef<typeof import('@vueuse/core')['watchWithFilter']>
|
||||
readonly whenever: UnwrapRef<typeof import('@vueuse/core')['whenever']>
|
||||
}
|
||||
}
|
||||
declare module '@vue/runtime-core' {
|
||||
interface ComponentCustomProperties {
|
||||
readonly EffectScope: UnwrapRef<typeof import('vue')['EffectScope']>
|
||||
readonly asyncComputed: UnwrapRef<typeof import('@vueuse/core')['asyncComputed']>
|
||||
readonly autoResetRef: UnwrapRef<typeof import('@vueuse/core')['autoResetRef']>
|
||||
readonly computed: UnwrapRef<typeof import('vue')['computed']>
|
||||
readonly computedAsync: UnwrapRef<typeof import('@vueuse/core')['computedAsync']>
|
||||
readonly computedEager: UnwrapRef<typeof import('@vueuse/core')['computedEager']>
|
||||
readonly computedInject: UnwrapRef<typeof import('@vueuse/core')['computedInject']>
|
||||
readonly computedWithControl: UnwrapRef<typeof import('@vueuse/core')['computedWithControl']>
|
||||
readonly controlledComputed: UnwrapRef<typeof import('@vueuse/core')['controlledComputed']>
|
||||
readonly controlledRef: UnwrapRef<typeof import('@vueuse/core')['controlledRef']>
|
||||
readonly createApp: UnwrapRef<typeof import('vue')['createApp']>
|
||||
readonly createEventHook: UnwrapRef<typeof import('@vueuse/core')['createEventHook']>
|
||||
readonly createGlobalState: UnwrapRef<typeof import('@vueuse/core')['createGlobalState']>
|
||||
readonly createInjectionState: UnwrapRef<typeof import('@vueuse/core')['createInjectionState']>
|
||||
readonly createReactiveFn: UnwrapRef<typeof import('@vueuse/core')['createReactiveFn']>
|
||||
readonly createReusableTemplate: UnwrapRef<typeof import('@vueuse/core')['createReusableTemplate']>
|
||||
readonly createSharedComposable: UnwrapRef<typeof import('@vueuse/core')['createSharedComposable']>
|
||||
readonly createTemplatePromise: UnwrapRef<typeof import('@vueuse/core')['createTemplatePromise']>
|
||||
readonly createUnrefFn: UnwrapRef<typeof import('@vueuse/core')['createUnrefFn']>
|
||||
readonly customRef: UnwrapRef<typeof import('vue')['customRef']>
|
||||
readonly debouncedRef: UnwrapRef<typeof import('@vueuse/core')['debouncedRef']>
|
||||
readonly debouncedWatch: UnwrapRef<typeof import('@vueuse/core')['debouncedWatch']>
|
||||
readonly defineAsyncComponent: UnwrapRef<typeof import('vue')['defineAsyncComponent']>
|
||||
readonly defineComponent: UnwrapRef<typeof import('vue')['defineComponent']>
|
||||
readonly eagerComputed: UnwrapRef<typeof import('@vueuse/core')['eagerComputed']>
|
||||
readonly effectScope: UnwrapRef<typeof import('vue')['effectScope']>
|
||||
readonly extendRef: UnwrapRef<typeof import('@vueuse/core')['extendRef']>
|
||||
readonly getCurrentInstance: UnwrapRef<typeof import('vue')['getCurrentInstance']>
|
||||
readonly getCurrentScope: UnwrapRef<typeof import('vue')['getCurrentScope']>
|
||||
readonly h: UnwrapRef<typeof import('vue')['h']>
|
||||
readonly ignorableWatch: UnwrapRef<typeof import('@vueuse/core')['ignorableWatch']>
|
||||
readonly inject: UnwrapRef<typeof import('vue')['inject']>
|
||||
readonly injectLocal: UnwrapRef<typeof import('@vueuse/core')['injectLocal']>
|
||||
readonly isDefined: UnwrapRef<typeof import('@vueuse/core')['isDefined']>
|
||||
readonly isProxy: UnwrapRef<typeof import('vue')['isProxy']>
|
||||
readonly isReactive: UnwrapRef<typeof import('vue')['isReactive']>
|
||||
readonly isReadonly: UnwrapRef<typeof import('vue')['isReadonly']>
|
||||
readonly isRef: UnwrapRef<typeof import('vue')['isRef']>
|
||||
readonly makeDestructurable: UnwrapRef<typeof import('@vueuse/core')['makeDestructurable']>
|
||||
readonly markRaw: UnwrapRef<typeof import('vue')['markRaw']>
|
||||
readonly nextTick: UnwrapRef<typeof import('vue')['nextTick']>
|
||||
readonly onActivated: UnwrapRef<typeof import('vue')['onActivated']>
|
||||
readonly onBeforeMount: UnwrapRef<typeof import('vue')['onBeforeMount']>
|
||||
readonly onBeforeRouteLeave: UnwrapRef<typeof import('vue-router')['onBeforeRouteLeave']>
|
||||
readonly onBeforeRouteUpdate: UnwrapRef<typeof import('vue-router')['onBeforeRouteUpdate']>
|
||||
readonly onBeforeUnmount: UnwrapRef<typeof import('vue')['onBeforeUnmount']>
|
||||
readonly onBeforeUpdate: UnwrapRef<typeof import('vue')['onBeforeUpdate']>
|
||||
readonly onClickOutside: UnwrapRef<typeof import('@vueuse/core')['onClickOutside']>
|
||||
readonly onDeactivated: UnwrapRef<typeof import('vue')['onDeactivated']>
|
||||
readonly onErrorCaptured: UnwrapRef<typeof import('vue')['onErrorCaptured']>
|
||||
readonly onKeyStroke: UnwrapRef<typeof import('@vueuse/core')['onKeyStroke']>
|
||||
readonly onLongPress: UnwrapRef<typeof import('@vueuse/core')['onLongPress']>
|
||||
readonly onMounted: UnwrapRef<typeof import('vue')['onMounted']>
|
||||
readonly onRenderTracked: UnwrapRef<typeof import('vue')['onRenderTracked']>
|
||||
readonly onRenderTriggered: UnwrapRef<typeof import('vue')['onRenderTriggered']>
|
||||
readonly onScopeDispose: UnwrapRef<typeof import('vue')['onScopeDispose']>
|
||||
readonly onServerPrefetch: UnwrapRef<typeof import('vue')['onServerPrefetch']>
|
||||
readonly onStartTyping: UnwrapRef<typeof import('@vueuse/core')['onStartTyping']>
|
||||
readonly onUnmounted: UnwrapRef<typeof import('vue')['onUnmounted']>
|
||||
readonly onUpdated: UnwrapRef<typeof import('vue')['onUpdated']>
|
||||
readonly pausableWatch: UnwrapRef<typeof import('@vueuse/core')['pausableWatch']>
|
||||
readonly provide: UnwrapRef<typeof import('vue')['provide']>
|
||||
readonly provideLocal: UnwrapRef<typeof import('@vueuse/core')['provideLocal']>
|
||||
readonly reactify: UnwrapRef<typeof import('@vueuse/core')['reactify']>
|
||||
readonly reactifyObject: UnwrapRef<typeof import('@vueuse/core')['reactifyObject']>
|
||||
readonly reactive: UnwrapRef<typeof import('vue')['reactive']>
|
||||
readonly reactiveComputed: UnwrapRef<typeof import('@vueuse/core')['reactiveComputed']>
|
||||
readonly reactiveOmit: UnwrapRef<typeof import('@vueuse/core')['reactiveOmit']>
|
||||
readonly reactivePick: UnwrapRef<typeof import('@vueuse/core')['reactivePick']>
|
||||
readonly readonly: UnwrapRef<typeof import('vue')['readonly']>
|
||||
readonly ref: UnwrapRef<typeof import('vue')['ref']>
|
||||
readonly refAutoReset: UnwrapRef<typeof import('@vueuse/core')['refAutoReset']>
|
||||
readonly refDebounced: UnwrapRef<typeof import('@vueuse/core')['refDebounced']>
|
||||
readonly refDefault: UnwrapRef<typeof import('@vueuse/core')['refDefault']>
|
||||
readonly refThrottled: UnwrapRef<typeof import('@vueuse/core')['refThrottled']>
|
||||
readonly refWithControl: UnwrapRef<typeof import('@vueuse/core')['refWithControl']>
|
||||
readonly resolveComponent: UnwrapRef<typeof import('vue')['resolveComponent']>
|
||||
readonly resolveRef: UnwrapRef<typeof import('@vueuse/core')['resolveRef']>
|
||||
readonly resolveUnref: UnwrapRef<typeof import('@vueuse/core')['resolveUnref']>
|
||||
readonly shallowReactive: UnwrapRef<typeof import('vue')['shallowReactive']>
|
||||
readonly shallowReadonly: UnwrapRef<typeof import('vue')['shallowReadonly']>
|
||||
readonly shallowRef: UnwrapRef<typeof import('vue')['shallowRef']>
|
||||
readonly syncRef: UnwrapRef<typeof import('@vueuse/core')['syncRef']>
|
||||
readonly syncRefs: UnwrapRef<typeof import('@vueuse/core')['syncRefs']>
|
||||
readonly templateRef: UnwrapRef<typeof import('@vueuse/core')['templateRef']>
|
||||
readonly throttledRef: UnwrapRef<typeof import('@vueuse/core')['throttledRef']>
|
||||
readonly throttledWatch: UnwrapRef<typeof import('@vueuse/core')['throttledWatch']>
|
||||
readonly toRaw: UnwrapRef<typeof import('vue')['toRaw']>
|
||||
readonly toReactive: UnwrapRef<typeof import('@vueuse/core')['toReactive']>
|
||||
readonly toRef: UnwrapRef<typeof import('vue')['toRef']>
|
||||
readonly toRefs: UnwrapRef<typeof import('vue')['toRefs']>
|
||||
readonly toValue: UnwrapRef<typeof import('vue')['toValue']>
|
||||
readonly triggerRef: UnwrapRef<typeof import('vue')['triggerRef']>
|
||||
readonly tryOnBeforeMount: UnwrapRef<typeof import('@vueuse/core')['tryOnBeforeMount']>
|
||||
readonly tryOnBeforeUnmount: UnwrapRef<typeof import('@vueuse/core')['tryOnBeforeUnmount']>
|
||||
readonly tryOnMounted: UnwrapRef<typeof import('@vueuse/core')['tryOnMounted']>
|
||||
readonly tryOnScopeDispose: UnwrapRef<typeof import('@vueuse/core')['tryOnScopeDispose']>
|
||||
readonly tryOnUnmounted: UnwrapRef<typeof import('@vueuse/core')['tryOnUnmounted']>
|
||||
readonly unref: UnwrapRef<typeof import('vue')['unref']>
|
||||
readonly unrefElement: UnwrapRef<typeof import('@vueuse/core')['unrefElement']>
|
||||
readonly until: UnwrapRef<typeof import('@vueuse/core')['until']>
|
||||
readonly useActiveElement: UnwrapRef<typeof import('@vueuse/core')['useActiveElement']>
|
||||
readonly useAnimate: UnwrapRef<typeof import('@vueuse/core')['useAnimate']>
|
||||
readonly useArrayDifference: UnwrapRef<typeof import('@vueuse/core')['useArrayDifference']>
|
||||
readonly useArrayEvery: UnwrapRef<typeof import('@vueuse/core')['useArrayEvery']>
|
||||
readonly useArrayFilter: UnwrapRef<typeof import('@vueuse/core')['useArrayFilter']>
|
||||
readonly useArrayFind: UnwrapRef<typeof import('@vueuse/core')['useArrayFind']>
|
||||
readonly useArrayFindIndex: UnwrapRef<typeof import('@vueuse/core')['useArrayFindIndex']>
|
||||
readonly useArrayFindLast: UnwrapRef<typeof import('@vueuse/core')['useArrayFindLast']>
|
||||
readonly useArrayIncludes: UnwrapRef<typeof import('@vueuse/core')['useArrayIncludes']>
|
||||
readonly useArrayJoin: UnwrapRef<typeof import('@vueuse/core')['useArrayJoin']>
|
||||
readonly useArrayMap: UnwrapRef<typeof import('@vueuse/core')['useArrayMap']>
|
||||
readonly useArrayReduce: UnwrapRef<typeof import('@vueuse/core')['useArrayReduce']>
|
||||
readonly useArraySome: UnwrapRef<typeof import('@vueuse/core')['useArraySome']>
|
||||
readonly useArrayUnique: UnwrapRef<typeof import('@vueuse/core')['useArrayUnique']>
|
||||
readonly useAsyncQueue: UnwrapRef<typeof import('@vueuse/core')['useAsyncQueue']>
|
||||
readonly useAsyncState: UnwrapRef<typeof import('@vueuse/core')['useAsyncState']>
|
||||
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
|
||||
readonly useBase64: UnwrapRef<typeof import('@vueuse/core')['useBase64']>
|
||||
readonly useBattery: UnwrapRef<typeof import('@vueuse/core')['useBattery']>
|
||||
readonly useBluetooth: UnwrapRef<typeof import('@vueuse/core')['useBluetooth']>
|
||||
readonly useBreakpoints: UnwrapRef<typeof import('@vueuse/core')['useBreakpoints']>
|
||||
readonly useBroadcastChannel: UnwrapRef<typeof import('@vueuse/core')['useBroadcastChannel']>
|
||||
readonly useBrowserLocation: UnwrapRef<typeof import('@vueuse/core')['useBrowserLocation']>
|
||||
readonly useCached: UnwrapRef<typeof import('@vueuse/core')['useCached']>
|
||||
readonly useClipboard: UnwrapRef<typeof import('@vueuse/core')['useClipboard']>
|
||||
readonly useClipboardItems: UnwrapRef<typeof import('@vueuse/core')['useClipboardItems']>
|
||||
readonly useCloned: UnwrapRef<typeof import('@vueuse/core')['useCloned']>
|
||||
readonly useColorMode: UnwrapRef<typeof import('@vueuse/core')['useColorMode']>
|
||||
readonly useConfirmDialog: UnwrapRef<typeof import('@vueuse/core')['useConfirmDialog']>
|
||||
readonly useCounter: UnwrapRef<typeof import('@vueuse/core')['useCounter']>
|
||||
readonly useCssModule: UnwrapRef<typeof import('vue')['useCssModule']>
|
||||
readonly useCssVar: UnwrapRef<typeof import('@vueuse/core')['useCssVar']>
|
||||
readonly useCssVars: UnwrapRef<typeof import('vue')['useCssVars']>
|
||||
readonly useCurrentElement: UnwrapRef<typeof import('@vueuse/core')['useCurrentElement']>
|
||||
readonly useCycleList: UnwrapRef<typeof import('@vueuse/core')['useCycleList']>
|
||||
readonly useDark: UnwrapRef<typeof import('@vueuse/core')['useDark']>
|
||||
readonly useDateFormat: UnwrapRef<typeof import('@vueuse/core')['useDateFormat']>
|
||||
readonly useDebounce: UnwrapRef<typeof import('@vueuse/core')['useDebounce']>
|
||||
readonly useDebounceFn: UnwrapRef<typeof import('@vueuse/core')['useDebounceFn']>
|
||||
readonly useDebouncedRefHistory: UnwrapRef<typeof import('@vueuse/core')['useDebouncedRefHistory']>
|
||||
readonly useDeviceMotion: UnwrapRef<typeof import('@vueuse/core')['useDeviceMotion']>
|
||||
readonly useDeviceOrientation: UnwrapRef<typeof import('@vueuse/core')['useDeviceOrientation']>
|
||||
readonly useDevicePixelRatio: UnwrapRef<typeof import('@vueuse/core')['useDevicePixelRatio']>
|
||||
readonly useDevicesList: UnwrapRef<typeof import('@vueuse/core')['useDevicesList']>
|
||||
readonly useDialog: UnwrapRef<typeof import('naive-ui')['useDialog']>
|
||||
readonly useDisplayMedia: UnwrapRef<typeof import('@vueuse/core')['useDisplayMedia']>
|
||||
readonly useDocumentVisibility: UnwrapRef<typeof import('@vueuse/core')['useDocumentVisibility']>
|
||||
readonly useDraggable: UnwrapRef<typeof import('@vueuse/core')['useDraggable']>
|
||||
readonly useDropZone: UnwrapRef<typeof import('@vueuse/core')['useDropZone']>
|
||||
readonly useElementBounding: UnwrapRef<typeof import('@vueuse/core')['useElementBounding']>
|
||||
readonly useElementByPoint: UnwrapRef<typeof import('@vueuse/core')['useElementByPoint']>
|
||||
readonly useElementHover: UnwrapRef<typeof import('@vueuse/core')['useElementHover']>
|
||||
readonly useElementSize: UnwrapRef<typeof import('@vueuse/core')['useElementSize']>
|
||||
readonly useElementVisibility: UnwrapRef<typeof import('@vueuse/core')['useElementVisibility']>
|
||||
readonly useEventBus: UnwrapRef<typeof import('@vueuse/core')['useEventBus']>
|
||||
readonly useEventListener: UnwrapRef<typeof import('@vueuse/core')['useEventListener']>
|
||||
readonly useEventSource: UnwrapRef<typeof import('@vueuse/core')['useEventSource']>
|
||||
readonly useEyeDropper: UnwrapRef<typeof import('@vueuse/core')['useEyeDropper']>
|
||||
readonly useFavicon: UnwrapRef<typeof import('@vueuse/core')['useFavicon']>
|
||||
readonly useFetch: UnwrapRef<typeof import('@vueuse/core')['useFetch']>
|
||||
readonly useFileDialog: UnwrapRef<typeof import('@vueuse/core')['useFileDialog']>
|
||||
readonly useFileSystemAccess: UnwrapRef<typeof import('@vueuse/core')['useFileSystemAccess']>
|
||||
readonly useFocus: UnwrapRef<typeof import('@vueuse/core')['useFocus']>
|
||||
readonly useFocusWithin: UnwrapRef<typeof import('@vueuse/core')['useFocusWithin']>
|
||||
readonly useFps: UnwrapRef<typeof import('@vueuse/core')['useFps']>
|
||||
readonly useFullscreen: UnwrapRef<typeof import('@vueuse/core')['useFullscreen']>
|
||||
readonly useGamepad: UnwrapRef<typeof import('@vueuse/core')['useGamepad']>
|
||||
readonly useGeolocation: UnwrapRef<typeof import('@vueuse/core')['useGeolocation']>
|
||||
readonly useI18n: UnwrapRef<typeof import('vue-i18n')['useI18n']>
|
||||
readonly useIdle: UnwrapRef<typeof import('@vueuse/core')['useIdle']>
|
||||
readonly useImage: UnwrapRef<typeof import('@vueuse/core')['useImage']>
|
||||
readonly useInfiniteScroll: UnwrapRef<typeof import('@vueuse/core')['useInfiniteScroll']>
|
||||
readonly useIntersectionObserver: UnwrapRef<typeof import('@vueuse/core')['useIntersectionObserver']>
|
||||
readonly useInterval: UnwrapRef<typeof import('@vueuse/core')['useInterval']>
|
||||
readonly useIntervalFn: UnwrapRef<typeof import('@vueuse/core')['useIntervalFn']>
|
||||
readonly useKeyModifier: UnwrapRef<typeof import('@vueuse/core')['useKeyModifier']>
|
||||
readonly useLastChanged: UnwrapRef<typeof import('@vueuse/core')['useLastChanged']>
|
||||
readonly useLink: UnwrapRef<typeof import('vue-router')['useLink']>
|
||||
readonly useLoadingBar: UnwrapRef<typeof import('naive-ui')['useLoadingBar']>
|
||||
readonly useLocalStorage: UnwrapRef<typeof import('@vueuse/core')['useLocalStorage']>
|
||||
readonly useMagicKeys: UnwrapRef<typeof import('@vueuse/core')['useMagicKeys']>
|
||||
readonly useManualRefHistory: UnwrapRef<typeof import('@vueuse/core')['useManualRefHistory']>
|
||||
readonly useMediaControls: UnwrapRef<typeof import('@vueuse/core')['useMediaControls']>
|
||||
readonly useMediaQuery: UnwrapRef<typeof import('@vueuse/core')['useMediaQuery']>
|
||||
readonly useMemoize: UnwrapRef<typeof import('@vueuse/core')['useMemoize']>
|
||||
readonly useMemory: UnwrapRef<typeof import('@vueuse/core')['useMemory']>
|
||||
readonly useMessage: UnwrapRef<typeof import('naive-ui')['useMessage']>
|
||||
readonly useMounted: UnwrapRef<typeof import('@vueuse/core')['useMounted']>
|
||||
readonly useMouse: UnwrapRef<typeof import('@vueuse/core')['useMouse']>
|
||||
readonly useMouseInElement: UnwrapRef<typeof import('@vueuse/core')['useMouseInElement']>
|
||||
readonly useMousePressed: UnwrapRef<typeof import('@vueuse/core')['useMousePressed']>
|
||||
readonly useMutationObserver: UnwrapRef<typeof import('@vueuse/core')['useMutationObserver']>
|
||||
readonly useNavigatorLanguage: UnwrapRef<typeof import('@vueuse/core')['useNavigatorLanguage']>
|
||||
readonly useNetwork: UnwrapRef<typeof import('@vueuse/core')['useNetwork']>
|
||||
readonly useNotification: UnwrapRef<typeof import('naive-ui')['useNotification']>
|
||||
readonly useNow: UnwrapRef<typeof import('@vueuse/core')['useNow']>
|
||||
readonly useObjectUrl: UnwrapRef<typeof import('@vueuse/core')['useObjectUrl']>
|
||||
readonly useOffsetPagination: UnwrapRef<typeof import('@vueuse/core')['useOffsetPagination']>
|
||||
readonly useOnline: UnwrapRef<typeof import('@vueuse/core')['useOnline']>
|
||||
readonly usePageLeave: UnwrapRef<typeof import('@vueuse/core')['usePageLeave']>
|
||||
readonly useParallax: UnwrapRef<typeof import('@vueuse/core')['useParallax']>
|
||||
readonly useParentElement: UnwrapRef<typeof import('@vueuse/core')['useParentElement']>
|
||||
readonly usePerformanceObserver: UnwrapRef<typeof import('@vueuse/core')['usePerformanceObserver']>
|
||||
readonly usePermission: UnwrapRef<typeof import('@vueuse/core')['usePermission']>
|
||||
readonly usePointer: UnwrapRef<typeof import('@vueuse/core')['usePointer']>
|
||||
readonly usePointerLock: UnwrapRef<typeof import('@vueuse/core')['usePointerLock']>
|
||||
readonly usePointerSwipe: UnwrapRef<typeof import('@vueuse/core')['usePointerSwipe']>
|
||||
readonly usePreferredColorScheme: UnwrapRef<typeof import('@vueuse/core')['usePreferredColorScheme']>
|
||||
readonly usePreferredContrast: UnwrapRef<typeof import('@vueuse/core')['usePreferredContrast']>
|
||||
readonly usePreferredDark: UnwrapRef<typeof import('@vueuse/core')['usePreferredDark']>
|
||||
readonly usePreferredLanguages: UnwrapRef<typeof import('@vueuse/core')['usePreferredLanguages']>
|
||||
readonly usePreferredReducedMotion: UnwrapRef<typeof import('@vueuse/core')['usePreferredReducedMotion']>
|
||||
readonly usePrevious: UnwrapRef<typeof import('@vueuse/core')['usePrevious']>
|
||||
readonly useRafFn: UnwrapRef<typeof import('@vueuse/core')['useRafFn']>
|
||||
readonly useRefHistory: UnwrapRef<typeof import('@vueuse/core')['useRefHistory']>
|
||||
readonly useResizeObserver: UnwrapRef<typeof import('@vueuse/core')['useResizeObserver']>
|
||||
readonly useRoute: UnwrapRef<typeof import('vue-router')['useRoute']>
|
||||
readonly useRouter: UnwrapRef<typeof import('vue-router')['useRouter']>
|
||||
readonly useScreenOrientation: UnwrapRef<typeof import('@vueuse/core')['useScreenOrientation']>
|
||||
readonly useScreenSafeArea: UnwrapRef<typeof import('@vueuse/core')['useScreenSafeArea']>
|
||||
readonly useScriptTag: UnwrapRef<typeof import('@vueuse/core')['useScriptTag']>
|
||||
readonly useScroll: UnwrapRef<typeof import('@vueuse/core')['useScroll']>
|
||||
readonly useScrollLock: UnwrapRef<typeof import('@vueuse/core')['useScrollLock']>
|
||||
readonly useSessionStorage: UnwrapRef<typeof import('@vueuse/core')['useSessionStorage']>
|
||||
readonly useShare: UnwrapRef<typeof import('@vueuse/core')['useShare']>
|
||||
readonly useSlots: UnwrapRef<typeof import('vue')['useSlots']>
|
||||
readonly useSorted: UnwrapRef<typeof import('@vueuse/core')['useSorted']>
|
||||
readonly useSpeechRecognition: UnwrapRef<typeof import('@vueuse/core')['useSpeechRecognition']>
|
||||
readonly useSpeechSynthesis: UnwrapRef<typeof import('@vueuse/core')['useSpeechSynthesis']>
|
||||
readonly useStepper: UnwrapRef<typeof import('@vueuse/core')['useStepper']>
|
||||
readonly useStorage: UnwrapRef<typeof import('@vueuse/core')['useStorage']>
|
||||
readonly useStorageAsync: UnwrapRef<typeof import('@vueuse/core')['useStorageAsync']>
|
||||
readonly useStyleTag: UnwrapRef<typeof import('@vueuse/core')['useStyleTag']>
|
||||
readonly useSupported: UnwrapRef<typeof import('@vueuse/core')['useSupported']>
|
||||
readonly useSwipe: UnwrapRef<typeof import('@vueuse/core')['useSwipe']>
|
||||
readonly useTemplateRefsList: UnwrapRef<typeof import('@vueuse/core')['useTemplateRefsList']>
|
||||
readonly useTextDirection: UnwrapRef<typeof import('@vueuse/core')['useTextDirection']>
|
||||
readonly useTextSelection: UnwrapRef<typeof import('@vueuse/core')['useTextSelection']>
|
||||
readonly useTextareaAutosize: UnwrapRef<typeof import('@vueuse/core')['useTextareaAutosize']>
|
||||
readonly useThrottle: UnwrapRef<typeof import('@vueuse/core')['useThrottle']>
|
||||
readonly useThrottleFn: UnwrapRef<typeof import('@vueuse/core')['useThrottleFn']>
|
||||
readonly useThrottledRefHistory: UnwrapRef<typeof import('@vueuse/core')['useThrottledRefHistory']>
|
||||
readonly useTimeAgo: UnwrapRef<typeof import('@vueuse/core')['useTimeAgo']>
|
||||
readonly useTimeout: UnwrapRef<typeof import('@vueuse/core')['useTimeout']>
|
||||
readonly useTimeoutFn: UnwrapRef<typeof import('@vueuse/core')['useTimeoutFn']>
|
||||
readonly useTimeoutPoll: UnwrapRef<typeof import('@vueuse/core')['useTimeoutPoll']>
|
||||
readonly useTimestamp: UnwrapRef<typeof import('@vueuse/core')['useTimestamp']>
|
||||
readonly useTitle: UnwrapRef<typeof import('@vueuse/core')['useTitle']>
|
||||
readonly useToNumber: UnwrapRef<typeof import('@vueuse/core')['useToNumber']>
|
||||
readonly useToString: UnwrapRef<typeof import('@vueuse/core')['useToString']>
|
||||
readonly useToggle: UnwrapRef<typeof import('@vueuse/core')['useToggle']>
|
||||
readonly useTransition: UnwrapRef<typeof import('@vueuse/core')['useTransition']>
|
||||
readonly useUrlSearchParams: UnwrapRef<typeof import('@vueuse/core')['useUrlSearchParams']>
|
||||
readonly useUserMedia: UnwrapRef<typeof import('@vueuse/core')['useUserMedia']>
|
||||
readonly useVModel: UnwrapRef<typeof import('@vueuse/core')['useVModel']>
|
||||
readonly useVModels: UnwrapRef<typeof import('@vueuse/core')['useVModels']>
|
||||
readonly useVibrate: UnwrapRef<typeof import('@vueuse/core')['useVibrate']>
|
||||
readonly useVirtualList: UnwrapRef<typeof import('@vueuse/core')['useVirtualList']>
|
||||
readonly useWakeLock: UnwrapRef<typeof import('@vueuse/core')['useWakeLock']>
|
||||
readonly useWebNotification: UnwrapRef<typeof import('@vueuse/core')['useWebNotification']>
|
||||
readonly useWebSocket: UnwrapRef<typeof import('@vueuse/core')['useWebSocket']>
|
||||
readonly useWebWorker: UnwrapRef<typeof import('@vueuse/core')['useWebWorker']>
|
||||
readonly useWebWorkerFn: UnwrapRef<typeof import('@vueuse/core')['useWebWorkerFn']>
|
||||
readonly useWindowFocus: UnwrapRef<typeof import('@vueuse/core')['useWindowFocus']>
|
||||
readonly useWindowScroll: UnwrapRef<typeof import('@vueuse/core')['useWindowScroll']>
|
||||
readonly useWindowSize: UnwrapRef<typeof import('@vueuse/core')['useWindowSize']>
|
||||
readonly watch: UnwrapRef<typeof import('vue')['watch']>
|
||||
readonly watchArray: UnwrapRef<typeof import('@vueuse/core')['watchArray']>
|
||||
readonly watchAtMost: UnwrapRef<typeof import('@vueuse/core')['watchAtMost']>
|
||||
readonly watchDebounced: UnwrapRef<typeof import('@vueuse/core')['watchDebounced']>
|
||||
readonly watchDeep: UnwrapRef<typeof import('@vueuse/core')['watchDeep']>
|
||||
readonly watchEffect: UnwrapRef<typeof import('vue')['watchEffect']>
|
||||
readonly watchIgnorable: UnwrapRef<typeof import('@vueuse/core')['watchIgnorable']>
|
||||
readonly watchImmediate: UnwrapRef<typeof import('@vueuse/core')['watchImmediate']>
|
||||
readonly watchOnce: UnwrapRef<typeof import('@vueuse/core')['watchOnce']>
|
||||
readonly watchPausable: UnwrapRef<typeof import('@vueuse/core')['watchPausable']>
|
||||
readonly watchPostEffect: UnwrapRef<typeof import('vue')['watchPostEffect']>
|
||||
readonly watchSyncEffect: UnwrapRef<typeof import('vue')['watchSyncEffect']>
|
||||
readonly watchThrottled: UnwrapRef<typeof import('@vueuse/core')['watchThrottled']>
|
||||
readonly watchTriggerable: UnwrapRef<typeof import('@vueuse/core')['watchTriggerable']>
|
||||
readonly watchWithFilter: UnwrapRef<typeof import('@vueuse/core')['watchWithFilter']>
|
||||
readonly whenever: UnwrapRef<typeof import('@vueuse/core')['whenever']>
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,446 +0,0 @@
|
||||
/* eslint-disable */
|
||||
/* prettier-ignore */
|
||||
// @ts-nocheck
|
||||
// Generated by unplugin-vue-components
|
||||
// Read more: https://github.com/vuejs/core/pull/3399
|
||||
import '@vue/runtime-core'
|
||||
|
||||
export {}
|
||||
|
||||
declare module '@vue/runtime-core' {
|
||||
export interface GlobalComponents {
|
||||
'404.page': typeof import('./src/pages/404.page.vue')['default']
|
||||
About: typeof import('./src/pages/About.vue')['default']
|
||||
AdLdapSearcher: typeof import('./src/tools/ad-ldap-searcher/ad-ldap-searcher.vue')['default']
|
||||
AiPromptSplitter: typeof import('./src/tools/ai-prompt-splitter/ai-prompt-splitter.vue')['default']
|
||||
AlarmSoundToggle: typeof import('./src/tools/pomodoro-timer/app/components/AlarmSoundToggle.vue')['default']
|
||||
AngleConverter: typeof import('./src/tools/angle-converter/angle-converter.vue')['default']
|
||||
AnsibleVaultCryptDecrypt: typeof import('./src/tools/ansible-vault-crypt-decrypt/ansible-vault-crypt-decrypt.vue')['default']
|
||||
ApiTester: typeof import('./src/tools/api-tester/api-tester.vue')['default']
|
||||
App: typeof import('./src/App.vue')['default']
|
||||
AppColorPicker: typeof import('./src/tools/pomodoro-timer/app/components/AppColorPicker.vue')['default']
|
||||
AreaConverter: typeof import('./src/tools/area-converter/area-converter.vue')['default']
|
||||
AsciiTextDrawer: typeof import('./src/tools/ascii-text-drawer/ascii-text-drawer.vue')['default']
|
||||
AspectRatioCalculator: typeof import('./src/tools/aspect-ratio-calculator/aspect-ratio-calculator.vue')['default']
|
||||
BarcodeGenerator: typeof import('./src/tools/barcode-generator/barcode-generator.vue')['default']
|
||||
BarcodeReader: typeof import('./src/tools/barcode-reader/barcode-reader.vue')['default']
|
||||
'Base.layout': typeof import('./src/layouts/base.layout.vue')['default']
|
||||
Base64FileConverter: typeof import('./src/tools/base64-file-converter/base64-file-converter.vue')['default']
|
||||
Base64HexConverter: typeof import('./src/tools/base64-hex-converter/base64-hex-converter.vue')['default']
|
||||
Base64StringConverter: typeof import('./src/tools/base64-string-converter/base64-string-converter.vue')['default']
|
||||
BasicAuthGenerator: typeof import('./src/tools/basic-auth-generator/basic-auth-generator.vue')['default']
|
||||
Bcrypt: typeof import('./src/tools/bcrypt/bcrypt.vue')['default']
|
||||
BenchmarkBuilder: typeof import('./src/tools/benchmark-builder/benchmark-builder.vue')['default']
|
||||
BimiDnsGenerator: typeof import('./src/tools/bimi-dns-generator/bimi-dns-generator.vue')['default']
|
||||
Bip39Generator: typeof import('./src/tools/bip39-generator/bip39-generator.vue')['default']
|
||||
BmiCalculator: typeof import('./src/tools/bmi-calculator/bmi-calculator.vue')['default']
|
||||
BounceParser: typeof import('./src/tools/bounce-parser/bounce-parser.vue')['default']
|
||||
CAlert: typeof import('./src/ui/c-alert/c-alert.vue')['default']
|
||||
'CAlert.demo': typeof import('./src/ui/c-alert/c-alert.demo.vue')['default']
|
||||
CameraRecorder: typeof import('./src/tools/camera-recorder/camera-recorder.vue')['default']
|
||||
CardPicker: typeof import('./src/tools/card-picker/card-picker.vue')['default']
|
||||
CaseConverter: typeof import('./src/tools/case-converter/case-converter.vue')['default']
|
||||
CButton: typeof import('./src/ui/c-button/c-button.vue')['default']
|
||||
'CButton.demo': typeof import('./src/ui/c-button/c-button.demo.vue')['default']
|
||||
CButtonsSelect: typeof import('./src/ui/c-buttons-select/c-buttons-select.vue')['default']
|
||||
'CButtonsSelect.demo': typeof import('./src/ui/c-buttons-select/c-buttons-select.demo.vue')['default']
|
||||
CCard: typeof import('./src/ui/c-card/c-card.vue')['default']
|
||||
'CCard.demo': typeof import('./src/ui/c-card/c-card.demo.vue')['default']
|
||||
CCollapse: typeof import('./src/ui/c-collapse/c-collapse.vue')['default']
|
||||
'CCollapse.demo': typeof import('./src/ui/c-collapse/c-collapse.demo.vue')['default']
|
||||
CDiffEditor: typeof import('./src/ui/c-diff-editor/c-diff-editor.vue')['default']
|
||||
CertificateKeyParser: typeof import('./src/tools/certificate-key-parser/certificate-key-parser.vue')['default']
|
||||
CFileUpload: typeof import('./src/ui/c-file-upload/c-file-upload.vue')['default']
|
||||
'CFileUpload.demo': typeof import('./src/ui/c-file-upload/c-file-upload.demo.vue')['default']
|
||||
ChmodCalculator: typeof import('./src/tools/chmod-calculator/chmod-calculator.vue')['default']
|
||||
Chronometer: typeof import('./src/tools/chronometer/chronometer.vue')['default']
|
||||
CidrInCidr: typeof import('./src/tools/cidr-in-cidr/cidr-in-cidr.vue')['default']
|
||||
CInputText: typeof import('./src/ui/c-input-text/c-input-text.vue')['default']
|
||||
'CInputText.demo': typeof import('./src/ui/c-input-text/c-input-text.demo.vue')['default']
|
||||
CKeyValueList: typeof import('./src/ui/c-key-value-list/c-key-value-list.vue')['default']
|
||||
CKeyValueListItem: typeof import('./src/ui/c-key-value-list/c-key-value-list-item.vue')['default']
|
||||
CLabel: typeof import('./src/ui/c-label/c-label.vue')['default']
|
||||
CLink: typeof import('./src/ui/c-link/c-link.vue')['default']
|
||||
'CLink.demo': typeof import('./src/ui/c-link/c-link.demo.vue')['default']
|
||||
CMarkdown: typeof import('./src/ui/c-markdown/c-markdown.vue')['default']
|
||||
'CMarkdown.demo': typeof import('./src/ui/c-markdown/c-markdown.demo.vue')['default']
|
||||
CModal: typeof import('./src/ui/c-modal/c-modal.vue')['default']
|
||||
'CModal.demo': typeof import('./src/ui/c-modal/c-modal.demo.vue')['default']
|
||||
CModalValue: typeof import('./src/ui/c-modal-value/c-modal-value.vue')['default']
|
||||
'CModalValue.demo': typeof import('./src/ui/c-modal-value/c-modal-value.demo.vue')['default']
|
||||
CMonacoEditor: typeof import('./src/ui/c-monaco-editor/c-monaco-editor.vue')['default']
|
||||
CodeHighlighter: typeof import('./src/tools/code-highlighter/code-highlighter.vue')['default']
|
||||
CoinFlipper: typeof import('./src/tools/coin-flipper/coin-flipper.vue')['default']
|
||||
CollapsibleToolMenu: typeof import('./src/components/CollapsibleToolMenu.vue')['default']
|
||||
ColorContrastChecker: typeof import('./src/tools/color-contrast-checker/color-contrast-checker.vue')['default']
|
||||
ColorConverter: typeof import('./src/tools/color-converter/color-converter.vue')['default']
|
||||
ColoredCard: typeof import('./src/components/ColoredCard.vue')['default']
|
||||
ColorWheel: typeof import('./src/tools/color-wheel/color-wheel.vue')['default']
|
||||
CommandPalette: typeof import('./src/modules/command-palette/command-palette.vue')['default']
|
||||
CommandPaletteOption: typeof import('./src/modules/command-palette/components/command-palette-option.vue')['default']
|
||||
CommonRegex: typeof import('./src/tools/common-regex-memo/common-regex.md')['default']
|
||||
CommonRegexMemo: typeof import('./src/tools/common-regex-memo/common-regex-memo.vue')['default']
|
||||
CookiesParser: typeof import('./src/tools/cookies-parser/cookies-parser.vue')['default']
|
||||
Countdown: typeof import('./src/tools/countdown/countdown.vue')['default']
|
||||
Counter: typeof import('./src/tools/pomodoro-timer/app/components/Counter.vue')['default']
|
||||
CrcCalculator: typeof import('./src/tools/crc-calculator/crc-calculator.vue')['default']
|
||||
CrontabGenerator: typeof import('./src/tools/crontab-generator/crontab-generator.vue')['default']
|
||||
CSelect: typeof import('./src/ui/c-select/c-select.vue')['default']
|
||||
'CSelect.demo': typeof import('./src/ui/c-select/c-select.demo.vue')['default']
|
||||
CsrGenerator: typeof import('./src/tools/csr-generator/csr-generator.vue')['default']
|
||||
CssPrettifier: typeof import('./src/tools/css-prettifier/css-prettifier.vue')['default']
|
||||
CssSelectors: typeof import('./src/tools/css-selectors-memo/css-selectors.md')['default']
|
||||
CssSelectorsMemo: typeof import('./src/tools/css-selectors-memo/css-selectors-memo.vue')['default']
|
||||
CssXpathConverter: typeof import('./src/tools/css-xpath-converter/css-xpath-converter.vue')['default']
|
||||
CsvToData: typeof import('./src/tools/csv-to-data/csv-to-data.vue')['default']
|
||||
CsvToJson: typeof import('./src/tools/csv-to-json/csv-to-json.vue')['default']
|
||||
CTable: typeof import('./src/ui/c-table/c-table.vue')['default']
|
||||
'CTable.demo': typeof import('./src/ui/c-table/c-table.demo.vue')['default']
|
||||
CTextCopyable: typeof import('./src/ui/c-text-copyable/c-text-copyable.vue')['default']
|
||||
'CTextCopyable.demo': typeof import('./src/ui/c-text-copyable/c-text-copyable.demo.vue')['default']
|
||||
CTooltip: typeof import('./src/ui/c-tooltip/c-tooltip.vue')['default']
|
||||
'CTooltip.demo': typeof import('./src/ui/c-tooltip/c-tooltip.demo.vue')['default']
|
||||
CurlConverter: typeof import('./src/tools/curl-converter/curl-converter.vue')['default']
|
||||
CurlGenerator: typeof import('./src/tools/curl-generator/curl-generator.vue')['default']
|
||||
CurrencyConverter: typeof import('./src/tools/currency-converter/currency-converter.vue')['default']
|
||||
DataFaker: typeof import('./src/tools/data-faker/data-faker.vue')['default']
|
||||
DataStorageUnitConverter: typeof import('./src/tools/data-storage-unit-converter/data-storage-unit-converter.vue')['default']
|
||||
DataTransferRateConverter: typeof import('./src/tools/data-transfer-rate-converter/data-transfer-rate-converter.vue')['default']
|
||||
DateDurationCalculator: typeof import('./src/tools/date-duration-calculator/date-duration-calculator.vue')['default']
|
||||
DateTimeConverter: typeof import('./src/tools/date-time-converter/date-time-converter.vue')['default']
|
||||
DaysCalculator: typeof import('./src/tools/days-calculator/days-calculator.vue')['default']
|
||||
'DemoHome.page': typeof import('./src/ui/demo/demo-home.page.vue')['default']
|
||||
DemoWrapper: typeof import('./src/ui/demo/demo-wrapper.vue')['default']
|
||||
DeviceInformation: typeof import('./src/tools/device-information/device-information.vue')['default']
|
||||
DiceRoller: typeof import('./src/tools/dice-roller/dice-roller.vue')['default']
|
||||
DiffViewer: typeof import('./src/tools/json-diff/diff-viewer/diff-viewer.vue')['default']
|
||||
DistinctWords: typeof import('./src/tools/distinct-words/distinct-words.vue')['default']
|
||||
DkimDnsGenerator: typeof import('./src/tools/dkim-dns-generator/dkim-dns-generator.vue')['default']
|
||||
DmarcDnsGenerator: typeof import('./src/tools/dmarc-dns-generator/dmarc-dns-generator.vue')['default']
|
||||
DmarcReportAnalyzer: typeof import('./src/tools/dmarc-report-analyzer/dmarc-report-analyzer.vue')['default']
|
||||
DnsQueries: typeof import('./src/tools/dns-queries/dns-queries.vue')['default']
|
||||
Docker: typeof import('./src/tools/docker-memo/docker.md')['default']
|
||||
DockerComposeConverter: typeof import('./src/tools/docker-compose-converter/docker-compose-converter.vue')['default']
|
||||
DockerComposeToDockerRunConverter: typeof import('./src/tools/docker-compose-to-docker-run-converter/docker-compose-to-docker-run-converter.vue')['default']
|
||||
DockerComposeToKubernetes: typeof import('./src/tools/docker-compose-to-kubernetes/docker-compose-to-kubernetes.vue')['default']
|
||||
DockerComposeValidator: typeof import('./src/tools/docker-compose-validator/docker-compose-validator.vue')['default']
|
||||
DockerMemo: typeof import('./src/tools/docker-memo/docker-memo.vue')['default']
|
||||
DockerRunToDockerComposeConverter: typeof import('./src/tools/docker-run-to-docker-compose-converter/docker-run-to-docker-compose-converter.vue')['default']
|
||||
DockerRunToKubernetes: typeof import('./src/tools/docker-run-to-kubernetes/docker-run-to-kubernetes.vue')['default']
|
||||
DuplicateLineFinder: typeof import('./src/tools/duplicate-line-finder/duplicate-line-finder.vue')['default']
|
||||
DurationCalculator: typeof import('./src/tools/duration-calculator/duration-calculator.vue')['default']
|
||||
DynamicValues: typeof import('./src/tools/benchmark-builder/dynamic-values.vue')['default']
|
||||
EcdsaKeyPairGenerator: typeof import('./src/tools/ecdsa-key-pair-generator/ecdsa-key-pair-generator.vue')['default']
|
||||
Ed25519KeyPairGenerator: typeof import('./src/tools/ed25519-key-pair-generator/ed25519-key-pair-generator.vue')['default']
|
||||
Editor: typeof import('./src/tools/html-wysiwyg-editor/editor/editor.vue')['default']
|
||||
EmailNormalizer: typeof import('./src/tools/email-normalizer/email-normalizer.vue')['default']
|
||||
EmailParser: typeof import('./src/tools/email-parser/email-parser.vue')['default']
|
||||
EmojiCard: typeof import('./src/tools/emoji-picker/emoji-card.vue')['default']
|
||||
EmojiGrid: typeof import('./src/tools/emoji-picker/emoji-grid.vue')['default']
|
||||
EmojiPicker: typeof import('./src/tools/emoji-picker/emoji-picker.vue')['default']
|
||||
Encryption: typeof import('./src/tools/encryption/encryption.vue')['default']
|
||||
EnergyComputer: typeof import('./src/tools/energy-computer/energy-computer.vue')['default']
|
||||
EnergyConverter: typeof import('./src/tools/energy-converter/energy-converter.vue')['default']
|
||||
EtaCalculator: typeof import('./src/tools/eta-calculator/eta-calculator.vue')['default']
|
||||
ExcelToData: typeof import('./src/tools/excel-to-data/excel-to-data.vue')['default']
|
||||
ExtractTextFromHtml: typeof import('./src/tools/extract-text-from-html/extract-text-from-html.vue')['default']
|
||||
FavoriteButton: typeof import('./src/components/FavoriteButton.vue')['default']
|
||||
FileHasher: typeof import('./src/tools/file-hasher/file-hasher.vue')['default']
|
||||
FileType: typeof import('./src/tools/file-type/file-type.vue')['default']
|
||||
FinishedPopup: typeof import('./src/tools/pomodoro-timer/app/components/FinishedPopup.vue')['default']
|
||||
FirewalldGenerator: typeof import('./src/tools/firewalld-generator/firewalld-generator.vue')['default']
|
||||
FloatingPointNumberConverter: typeof import('./src/tools/floating-point-number-converter/floating-point-number-converter.vue')['default']
|
||||
FolderStructureDiagram: typeof import('./src/tools/folder-structure-diagram/folder-structure-diagram.vue')['default']
|
||||
Footer: typeof import('./src/tools/pomodoro-timer/app/components/Footer.vue')['default']
|
||||
ForceConverter: typeof import('./src/tools/force-converter/force-converter.vue')['default']
|
||||
FormatTransformer: typeof import('./src/components/FormatTransformer.vue')['default']
|
||||
FortuneWheel: typeof import('./src/tools/fortune-wheel/fortune-wheel.vue')['default']
|
||||
FstabGenerator: typeof import('./src/tools/fstab-generator/fstab-generator.vue')['default']
|
||||
GeoDistanceCalculator: typeof import('./src/tools/geo-distance-calculator/geo-distance-calculator.vue')['default']
|
||||
GitMemo: typeof import('./src/tools/git-memo/git-memo.vue')['default']
|
||||
'GitMemo.content': typeof import('./src/tools/git-memo/git-memo.content.md')['default']
|
||||
'GitSem.memo': typeof import('./src/tools/git-semantic-commit-memo/git-sem.memo.md')['default']
|
||||
GitSemanticCommitMemo: typeof import('./src/tools/git-semantic-commit-memo/git-semantic-commit-memo.vue')['default']
|
||||
GptTokenEstimator: typeof import('./src/tools/gpt-token-estimator/gpt-token-estimator.vue')['default']
|
||||
GzipConverter: typeof import('./src/tools/gzip-converter/gzip-converter.vue')['default']
|
||||
HarSanitizer: typeof import('./src/tools/har-sanitizer/har-sanitizer.vue')['default']
|
||||
HashText: typeof import('./src/tools/hash-text/hash-text.vue')['default']
|
||||
HddCalculator: typeof import('./src/tools/hdd-calculator/hdd-calculator.vue')['default']
|
||||
Header: typeof import('./src/tools/pomodoro-timer/app/components/Header.vue')['default']
|
||||
HeicConverter: typeof import('./src/tools/heic-converter/heic-converter.vue')['default']
|
||||
HexConverter: typeof import('./src/tools/hex-converter/hex-converter.vue')['default']
|
||||
HexFileConverter: typeof import('./src/tools/hex-file-converter/hex-file-converter.vue')['default']
|
||||
HmacGenerator: typeof import('./src/tools/hmac-generator/hmac-generator.vue')['default']
|
||||
Home: typeof import('./src/tools/pomodoro-timer/app/views/Home.vue')['default']
|
||||
'Home.page': typeof import('./src/pages/Home.page.vue')['default']
|
||||
HtaccessGenerator: typeof import('./src/tools/htaccess-generator/htaccess-generator.vue')['default']
|
||||
HtmlCleaner: typeof import('./src/tools/html-cleaner/html-cleaner.vue')['default']
|
||||
HtmlEntities: typeof import('./src/tools/html-entities/html-entities.vue')['default']
|
||||
HtmlPrettifier: typeof import('./src/tools/html-prettifier/html-prettifier.vue')['default']
|
||||
HtmlToMarkdown: typeof import('./src/tools/html-to-markdown/html-to-markdown.vue')['default']
|
||||
HtmlWysiwygEditor: typeof import('./src/tools/html-wysiwyg-editor/html-wysiwyg-editor.vue')['default']
|
||||
HtpasswdGenerator: typeof import('./src/tools/htpasswd-generator/htpasswd-generator.vue')['default']
|
||||
HttpStatusCodes: typeof import('./src/tools/http-status-codes/http-status-codes.vue')['default']
|
||||
IbanValidatorAndParser: typeof import('./src/tools/iban-validator-and-parser/iban-validator-and-parser.vue')['default']
|
||||
IcalGenerator: typeof import('./src/tools/ical-generator/ical-generator.vue')['default']
|
||||
IcalMerger: typeof import('./src/tools/ical-merger/ical-merger.vue')['default']
|
||||
IcalParser: typeof import('./src/tools/ical-parser/ical-parser.vue')['default']
|
||||
IcoConverter: typeof import('./src/tools/ico-converter/ico-converter.vue')['default']
|
||||
'IconMdi:brushVariant': typeof import('~icons/mdi/brush-variant')['default']
|
||||
'IconMdi:kettleSteamOutline': typeof import('~icons/mdi/kettle-steam-outline')['default']
|
||||
IconMdiChevronDown: typeof import('~icons/mdi/chevron-down')['default']
|
||||
IconMdiChevronRight: typeof import('~icons/mdi/chevron-right')['default']
|
||||
IconMdiClose: typeof import('~icons/mdi/close')['default']
|
||||
IconMdiContentCopy: typeof import('~icons/mdi/content-copy')['default']
|
||||
IconMdiEye: typeof import('~icons/mdi/eye')['default']
|
||||
IconMdiEyeOff: typeof import('~icons/mdi/eye-off')['default']
|
||||
IconMdiHeart: typeof import('~icons/mdi/heart')['default']
|
||||
IconMdiSearch: typeof import('~icons/mdi/search')['default']
|
||||
IconMdiTranslate: typeof import('~icons/mdi/translate')['default']
|
||||
IconMdiTriangleDown: typeof import('~icons/mdi/triangle-down')['default']
|
||||
IesLightingGuidelines: typeof import('./src/tools/ies-lighting-guidelines/ies-lighting-guidelines.vue')['default']
|
||||
IlluminanceConverter: typeof import('./src/tools/illuminance-converter/illuminance-converter.vue')['default']
|
||||
ImageConverter: typeof import('./src/tools/image-converter/image-converter.vue')['default']
|
||||
ImageExifReader: typeof import('./src/tools/image-exif-reader/image-exif-reader.vue')['default']
|
||||
ImageResizer: typeof import('./src/tools/image-resizer/image-resizer.vue')['default']
|
||||
ImageToAsciiArt: typeof import('./src/tools/image-to-ascii-art/image-to-ascii-art.vue')['default']
|
||||
ImageToCss: typeof import('./src/tools/image-to-css/image-to-css.vue')['default']
|
||||
InputCopyable: typeof import('./src/components/InputCopyable.vue')['default']
|
||||
IntegerBaseConverter: typeof import('./src/tools/integer-base-converter/integer-base-converter.vue')['default']
|
||||
IntegersToIp: typeof import('./src/tools/integers-to-ip/integers-to-ip.vue')['default']
|
||||
IpCidrToRange: typeof import('./src/tools/ip-cidr-to-range/ip-cidr-to-range.vue')['default']
|
||||
IpGeoLocation: typeof import('./src/tools/ip-geo-location/ip-geo-location.vue')['default']
|
||||
IpIncludeExclude: typeof import('./src/tools/ip-include-exclude/ip-include-exclude.vue')['default']
|
||||
IpRangeToCidr: typeof import('./src/tools/ip-range-to-cidr/ip-range-to-cidr.vue')['default']
|
||||
IptablesGenerator: typeof import('./src/tools/iptables-generator/iptables-generator.vue')['default']
|
||||
Ipv4AddressConverter: typeof import('./src/tools/ipv4-address-converter/ipv4-address-converter.vue')['default']
|
||||
Ipv4RangeExpander: typeof import('./src/tools/ipv4-range-expander/ipv4-range-expander.vue')['default']
|
||||
Ipv4SubnetCalculator: typeof import('./src/tools/ipv4-subnet-calculator/ipv4-subnet-calculator.vue')['default']
|
||||
Ipv6AddressConverter: typeof import('./src/tools/ipv6-address-converter/ipv6-address-converter.vue')['default']
|
||||
Ipv6SubnetCalculator: typeof import('./src/tools/ipv6-subnet-calculator/ipv6-subnet-calculator.vue')['default']
|
||||
Ipv6UlaGenerator: typeof import('./src/tools/ipv6-ula-generator/ipv6-ula-generator.vue')['default']
|
||||
IsbnValidatorAndParser: typeof import('./src/tools/isbn-validator-and-parser/isbn-validator-and-parser.vue')['default']
|
||||
Iso3166Searcher: typeof import('./src/tools/iso-3166-searcher/iso-3166-searcher.vue')['default']
|
||||
JavascriptPrettifier: typeof import('./src/tools/javascript-prettifier/javascript-prettifier.vue')['default']
|
||||
JavascriptToJson: typeof import('./src/tools/javascript-to-json/javascript-to-json.vue')['default']
|
||||
Jq: typeof import('./src/tools/jq-memo/jq.md')['default']
|
||||
JqMemo: typeof import('./src/tools/jq-memo/jq-memo.vue')['default']
|
||||
JqTester: typeof import('./src/tools/jq-tester/jq-tester.vue')['default']
|
||||
JsonDiff: typeof import('./src/tools/json-diff/json-diff.vue')['default']
|
||||
JsonEditor: typeof import('./src/tools/json-editor/json-editor.vue')['default']
|
||||
JsonEscaper: typeof import('./src/tools/json-escaper/json-escaper.vue')['default']
|
||||
JsonLinter: typeof import('./src/tools/json-linter/json-linter.vue')['default']
|
||||
JsonMinify: typeof import('./src/tools/json-minify/json-minify.vue')['default']
|
||||
Jsonpath: typeof import('./src/tools/jsonpath-memo/jsonpath.md')['default']
|
||||
JsonpathMemo: typeof import('./src/tools/jsonpath-memo/jsonpath-memo.vue')['default']
|
||||
JsonSizeAnalyzer: typeof import('./src/tools/json-size-analyzer/json-size-analyzer.vue')['default']
|
||||
JsonSortMaster: typeof import('./src/tools/json-sort-master/json-sort-master.vue')['default']
|
||||
JsonStringConverter: typeof import('./src/tools/json-string-converter/json-string-converter.vue')['default']
|
||||
JsonToCsharp: typeof import('./src/tools/json-to-csharp/json-to-csharp.vue')['default']
|
||||
JsonToCsv: typeof import('./src/tools/json-to-csv/json-to-csv.vue')['default']
|
||||
JsonToGo: typeof import('./src/tools/json-to-go/json-to-go.vue')['default']
|
||||
JsonToJava: typeof import('./src/tools/json-to-java/json-to-java.vue')['default']
|
||||
JsonToJavascript: typeof import('./src/tools/json-to-javascript/json-to-javascript.vue')['default']
|
||||
JsonToObject: typeof import('./src/tools/json-to-object/json-to-object.vue')['default']
|
||||
JsonToPhp: typeof import('./src/tools/json-to-php/json-to-php.vue')['default']
|
||||
JsonToPhpArray: typeof import('./src/tools/json-to-php-array/json-to-php-array.vue')['default']
|
||||
JsonToProtobuf: typeof import('./src/tools/json-to-protobuf/json-to-protobuf.vue')['default']
|
||||
JsonToPython: typeof import('./src/tools/json-to-python/json-to-python.vue')['default']
|
||||
JsonToSchema: typeof import('./src/tools/json-to-schema/json-to-schema.vue')['default']
|
||||
JsonToSqlDdl: typeof import('./src/tools/json-to-sql-ddl/json-to-sql-ddl.vue')['default']
|
||||
JsonToSqlInsert: typeof import('./src/tools/json-to-sql-insert/json-to-sql-insert.vue')['default']
|
||||
JsonToToml: typeof import('./src/tools/json-to-toml/json-to-toml.vue')['default']
|
||||
JsonToTs: typeof import('./src/tools/json-to-ts/json-to-ts.vue')['default']
|
||||
JsonToTypescript: typeof import('./src/tools/json-to-typescript/json-to-typescript.vue')['default']
|
||||
JsonToXml: typeof import('./src/tools/json-to-xml/json-to-xml.vue')['default']
|
||||
JsonToYaml: typeof import('./src/tools/json-to-yaml-converter/json-to-yaml.vue')['default']
|
||||
JsonViewer: typeof import('./src/tools/json-viewer/json-viewer.vue')['default']
|
||||
JsUnobfuscator: typeof import('./src/tools/js-unobfuscator/js-unobfuscator.vue')['default']
|
||||
JwtGenerator: typeof import('./src/tools/jwt-generator/jwt-generator.vue')['default']
|
||||
JwtParser: typeof import('./src/tools/jwt-parser/jwt-parser.vue')['default']
|
||||
KeycodeInfo: typeof import('./src/tools/keycode-info/keycode-info.vue')['default']
|
||||
LengthConverter: typeof import('./src/tools/length-converter/length-converter.vue')['default']
|
||||
ListComparer: typeof import('./src/tools/list-comparer/list-comparer.vue')['default']
|
||||
ListConverter: typeof import('./src/tools/list-converter/list-converter.vue')['default']
|
||||
LocaleSelector: typeof import('./src/modules/i18n/components/locale-selector.vue')['default']
|
||||
LoremIpsumGenerator: typeof import('./src/tools/lorem-ipsum-generator/lorem-ipsum-generator.vue')['default']
|
||||
LuhnValidator: typeof import('./src/tools/luhn-validator/luhn-validator.vue')['default']
|
||||
MacAddressConverter: typeof import('./src/tools/mac-address-converter/mac-address-converter.vue')['default']
|
||||
MacAddressGenerator: typeof import('./src/tools/mac-address-generator/mac-address-generator.vue')['default']
|
||||
MacAddressLookup: typeof import('./src/tools/mac-address-lookup/mac-address-lookup.vue')['default']
|
||||
ManyUnitsConverter: typeof import('./src/tools/many-units-converter/many-units-converter.vue')['default']
|
||||
MarkdownCheatsheet: typeof import('./src/tools/markdown-cheatsheet/markdown-cheatsheet.vue')['default']
|
||||
MarkdownEditor: typeof import('./src/tools/markdown-editor/markdown-editor.vue')['default']
|
||||
MarkdownTocGenerator: typeof import('./src/tools/markdown-toc-generator/markdown-toc-generator.vue')['default']
|
||||
MarkdownToHtml: typeof import('./src/tools/markdown-to-html/markdown-to-html.vue')['default']
|
||||
MassConverter: typeof import('./src/tools/mass-converter/mass-converter.vue')['default']
|
||||
MathEvaluator: typeof import('./src/tools/math-evaluator/math-evaluator.vue')['default']
|
||||
MathFormatsConverter: typeof import('./src/tools/math-formats-converter/math-formats-converter.vue')['default']
|
||||
MathOcr: typeof import('./src/tools/math-ocr/math-ocr.vue')['default']
|
||||
'MdMemo.content': typeof import('./src/tools/markdown-cheatsheet/md-memo.content.md')['default']
|
||||
MenuBar: typeof import('./src/tools/html-wysiwyg-editor/editor/menu-bar.vue')['default']
|
||||
MenuBarItem: typeof import('./src/tools/html-wysiwyg-editor/editor/menu-bar-item.vue')['default']
|
||||
MenuIconItem: typeof import('./src/components/MenuIconItem.vue')['default']
|
||||
MenuLayout: typeof import('./src/components/MenuLayout.vue')['default']
|
||||
MermaidExporter: typeof import('./src/tools/mermaid-exporter/mermaid-exporter.vue')['default']
|
||||
MetaTagGenerator: typeof import('./src/tools/meta-tag-generator/meta-tag-generator.vue')['default']
|
||||
MicTester: typeof import('./src/tools/mic-tester/mic-tester.vue')['default']
|
||||
MimeConverter: typeof import('./src/tools/mime-converter/mime-converter.vue')['default']
|
||||
MimeTypes: typeof import('./src/tools/mime-types/mime-types.vue')['default']
|
||||
ModeIconBar: typeof import('./src/tools/pomodoro-timer/app/components/ModeIconBar.vue')['default']
|
||||
MongoObjectidConverter: typeof import('./src/tools/mongo-objectid-converter/mongo-objectid-converter.vue')['default']
|
||||
MorseConverter: typeof import('./src/tools/morse-converter/morse-converter.vue')['default']
|
||||
MultiLinkDownloader: typeof import('./src/tools/multi-link-downloader/multi-link-downloader.vue')['default']
|
||||
MyIp: typeof import('./src/tools/my-ip/my-ip.vue')['default']
|
||||
NA: typeof import('naive-ui')['NA']
|
||||
NanoidGenerator: typeof import('./src/tools/nanoid-generator/nanoid-generator.vue')['default']
|
||||
NanoMemo: typeof import('./src/tools/nano-memo/nano-memo.vue')['default']
|
||||
'NanoMemo.content': typeof import('./src/tools/nano-memo/nano-memo.content.md')['default']
|
||||
NavbarButtons: typeof import('./src/components/NavbarButtons.vue')['default']
|
||||
NCollapseTransition: typeof import('naive-ui')['NCollapseTransition']
|
||||
NConfigProvider: typeof import('naive-ui')['NConfigProvider']
|
||||
NDataTable: typeof import('naive-ui')['NDataTable']
|
||||
NEllipsis: typeof import('naive-ui')['NEllipsis']
|
||||
NFormItem: typeof import('naive-ui')['NFormItem']
|
||||
NginxFormatter: typeof import('./src/tools/nginx-formatter/nginx-formatter.vue')['default']
|
||||
NH1: typeof import('naive-ui')['NH1']
|
||||
NH3: typeof import('naive-ui')['NH3']
|
||||
NIcon: typeof import('naive-ui')['NIcon']
|
||||
NInputNumber: typeof import('naive-ui')['NInputNumber']
|
||||
NLayout: typeof import('naive-ui')['NLayout']
|
||||
NLayoutSider: typeof import('naive-ui')['NLayoutSider']
|
||||
NMenu: typeof import('naive-ui')['NMenu']
|
||||
NTable: typeof import('naive-ui')['NTable']
|
||||
NumberInput: typeof import('./src/tools/pomodoro-timer/app/components/NumberInput.vue')['default']
|
||||
NumeronymGenerator: typeof import('./src/tools/numeronym-generator/numeronym-generator.vue')['default']
|
||||
OcrImage: typeof import('./src/tools/ocr-image/ocr-image.vue')['default']
|
||||
Option43Generator: typeof import('./src/tools/option43-generator/option43-generator.vue')['default']
|
||||
OtpCodeGeneratorAndValidator: typeof import('./src/tools/otp-code-generator-and-validator/otp-code-generator-and-validator.vue')['default']
|
||||
OutlookParser: typeof import('./src/tools/outlook-parser/outlook-parser.vue')['default']
|
||||
ParquetsReader: typeof import('./src/tools/parquets-reader/parquets-reader.vue')['default']
|
||||
PasetoEncryption: typeof import('./src/tools/paseto-encryption/paseto-encryption.vue')['default']
|
||||
PasetoSigning: typeof import('./src/tools/paseto-signing/paseto-signing.vue')['default']
|
||||
PassphraseGenerator: typeof import('./src/tools/passphrase-generator/passphrase-generator.vue')['default']
|
||||
PasswordStrengthAnalyser: typeof import('./src/tools/password-strength-analyser/password-strength-analyser.vue')['default']
|
||||
PasteAsMarkdown: typeof import('./src/tools/paste-as-markdown/paste-as-markdown.vue')['default']
|
||||
PdfConcat: typeof import('./src/tools/pdf-concat/pdf-concat.vue')['default']
|
||||
PdfEncrypt: typeof import('./src/tools/pdf-encrypt/pdf-encrypt.vue')['default']
|
||||
PdfExtract: typeof import('./src/tools/pdf-extract/pdf-extract.vue')['default']
|
||||
PdfLinearize: typeof import('./src/tools/pdf-linearize/pdf-linearize.vue')['default']
|
||||
PdfSignatureChecker: typeof import('./src/tools/pdf-signature-checker/pdf-signature-checker.vue')['default']
|
||||
PdfSignatureDetails: typeof import('./src/tools/pdf-signature-checker/components/pdf-signature-details.vue')['default']
|
||||
PdfUnlock: typeof import('./src/tools/pdf-unlock/pdf-unlock.vue')['default']
|
||||
PercentageCalculator: typeof import('./src/tools/percentage-calculator/percentage-calculator.vue')['default']
|
||||
PgpEncryption: typeof import('./src/tools/pgp-encryption/pgp-encryption.vue')['default']
|
||||
PgpKeygen: typeof import('./src/tools/pgp-keygen/pgp-keygen.vue')['default']
|
||||
PhoneParserAndFormatter: typeof import('./src/tools/phone-parser-and-formatter/phone-parser-and-formatter.vue')['default']
|
||||
PhpArrayToJson: typeof import('./src/tools/php-array-to-json/php-array-to-json.vue')['default']
|
||||
PinCodeGenerator: typeof import('./src/tools/pin-code-generator/pin-code-generator.vue')['default']
|
||||
PlayPauseBtn: typeof import('./src/tools/pomodoro-timer/app/components/PlayPauseBtn.vue')['default']
|
||||
PomodoroAbout: typeof import('./src/tools/pomodoro-timer/app/views/PomodoroAbout.vue')['default']
|
||||
PomodoroApp: typeof import('./src/tools/pomodoro-timer/app/PomodoroApp.vue')['default']
|
||||
PomodoroTimer: typeof import('./src/tools/pomodoro-timer/pomodoro-timer.vue')['default']
|
||||
PortNumbers: typeof import('./src/tools/port-numbers/port-numbers.vue')['default']
|
||||
Potrace: typeof import('./src/tools/potrace/potrace.vue')['default']
|
||||
PowerConverter: typeof import('./src/tools/power-converter/power-converter.vue')['default']
|
||||
PressureConverter: typeof import('./src/tools/pressure-converter/pressure-converter.vue')['default']
|
||||
ProgressBar: typeof import('./src/tools/pomodoro-timer/app/components/ProgressBar.vue')['default']
|
||||
PropertiesConverter: typeof import('./src/tools/properties-converter/properties-converter.vue')['default']
|
||||
PunycodeConverter: typeof import('./src/tools/punycode-converter/punycode-converter.vue')['default']
|
||||
QrCodeDecoder: typeof import('./src/tools/qr-code-decoder/qr-code-decoder.vue')['default']
|
||||
QrCodeGenerator: typeof import('./src/tools/qr-code-generator/qr-code-generator.vue')['default']
|
||||
QrContactInfoGenerator: typeof import('./src/tools/qr-contact-info-generator/qr-contact-info-generator.vue')['default']
|
||||
QuoteConverter: typeof import('./src/tools/quote-converter/quote-converter.vue')['default']
|
||||
RaidCalculator: typeof import('./src/tools/raid-calculator/raid-calculator.vue')['default']
|
||||
RandomPortGenerator: typeof import('./src/tools/random-port-generator/random-port-generator.vue')['default']
|
||||
RegexMemo: typeof import('./src/tools/regex-memo/regex-memo.vue')['default']
|
||||
'RegexMemo.content': typeof import('./src/tools/regex-memo/regex-memo.content.md')['default']
|
||||
RegexTester: typeof import('./src/tools/regex-tester/regex-tester.vue')['default']
|
||||
RemoveExif: typeof import('./src/tools/remove-exif/remove-exif.vue')['default']
|
||||
RemPxConverter: typeof import('./src/tools/rem-px-converter/rem-px-converter.vue')['default']
|
||||
ResetDropup: typeof import('./src/tools/pomodoro-timer/app/components/ResetDropup.vue')['default']
|
||||
ResultRow: typeof import('./src/tools/ipv4-range-expander/result-row.vue')['default']
|
||||
RmbNumbers: typeof import('./src/tools/rmb-numbers/rmb-numbers.vue')['default']
|
||||
RomanNumeralConverter: typeof import('./src/tools/roman-numeral-converter/roman-numeral-converter.vue')['default']
|
||||
RouterLink: typeof import('vue-router')['RouterLink']
|
||||
RouterView: typeof import('vue-router')['RouterView']
|
||||
RsaEcdsaSigning: typeof import('./src/tools/rsa-ecdsa-signing/rsa-ecdsa-signing.vue')['default']
|
||||
RsaEncryption: typeof import('./src/tools/rsa-encryption/rsa-encryption.vue')['default']
|
||||
RsaKeyPairGenerator: typeof import('./src/tools/rsa-key-pair-generator/rsa-key-pair-generator.vue')['default']
|
||||
RsyncGenerator: typeof import('./src/tools/rsync-generator/rsync-generator.vue')['default']
|
||||
RuneConverter: typeof import('./src/tools/rune-converter/rune-converter.vue')['default']
|
||||
SafelinkDecoder: typeof import('./src/tools/safelink-decoder/safelink-decoder.vue')['default']
|
||||
SensitiveDataMasker: typeof import('./src/tools/sensitive-data-masker/sensitive-data-masker.vue')['default']
|
||||
Settings: typeof import('./src/tools/pomodoro-timer/app/views/Settings.vue')['default']
|
||||
SharepointDecoder: typeof import('./src/tools/sharepoint-decoder/sharepoint-decoder.vue')['default']
|
||||
SipAuth: typeof import('./src/tools/sip-auth/sip-auth.vue')['default']
|
||||
SlaCalculator: typeof import('./src/tools/sla-calculator/sla-calculator.vue')['default']
|
||||
SlugifyString: typeof import('./src/tools/slugify-string/slugify-string.vue')['default']
|
||||
SmartRawConverter: typeof import('./src/tools/smart-raw-converter/smart-raw-converter.vue')['default']
|
||||
SmartTextReplacer: typeof import('./src/tools/smart-text-replacer/smart-text-replacer.vue')['default']
|
||||
SnowflakeIdExtractor: typeof import('./src/tools/snowflake-id-extractor/snowflake-id-extractor.vue')['default']
|
||||
SoftwareLicenceCompatibility: typeof import('./src/tools/software-licence-compatibility/software-licence-compatibility.vue')['default']
|
||||
SpanCopyable: typeof import('./src/components/SpanCopyable.vue')['default']
|
||||
SpfDnsGenerator: typeof import('./src/tools/spf-dns-generator/spf-dns-generator.vue')['default']
|
||||
SplashScreen: typeof import('./src/tools/pomodoro-timer/app/views/SplashScreen.vue')['default']
|
||||
SqlMinifier: typeof import('./src/tools/sql-minifier/sql-minifier.vue')['default']
|
||||
SqlPrettify: typeof import('./src/tools/sql-prettify/sql-prettify.vue')['default']
|
||||
SslCertConverter: typeof import('./src/tools/ssl-cert-converter/ssl-cert-converter.vue')['default']
|
||||
StacktracePrettier: typeof import('./src/tools/stacktrace-prettier/stacktrace-prettier.vue')['default']
|
||||
StringEscaper: typeof import('./src/tools/string-escaper/string-escaper.vue')['default']
|
||||
StringObfuscator: typeof import('./src/tools/string-obfuscator/string-obfuscator.vue')['default']
|
||||
SvgPlaceholderGenerator: typeof import('./src/tools/svg-placeholder-generator/svg-placeholder-generator.vue')['default']
|
||||
TcpdumpGenerator: typeof import('./src/tools/tcpdump-generator/tcpdump-generator.vue')['default']
|
||||
TemperatureConverter: typeof import('./src/tools/temperature-converter/temperature-converter.vue')['default']
|
||||
TextareaCopyable: typeof import('./src/components/TextareaCopyable.vue')['default']
|
||||
TextDiff: typeof import('./src/tools/text-diff/text-diff.vue')['default']
|
||||
TextStatistics: typeof import('./src/tools/text-statistics/text-statistics.vue')['default']
|
||||
TextToBinary: typeof import('./src/tools/text-to-binary/text-to-binary.vue')['default']
|
||||
TextToNatoAlphabet: typeof import('./src/tools/text-to-nato-alphabet/text-to-nato-alphabet.vue')['default']
|
||||
TextToUnicode: typeof import('./src/tools/text-to-unicode/text-to-unicode.vue')['default']
|
||||
TextToUnicodeNames: typeof import('./src/tools/text-to-unicode-names/text-to-unicode-names.vue')['default']
|
||||
TimeAlarm: typeof import('./src/tools/time-alarm/time-alarm.vue')['default']
|
||||
TimezoneConverter: typeof import('./src/tools/timezone-converter/timezone-converter.vue')['default']
|
||||
TokenDisplay: typeof import('./src/tools/otp-code-generator-and-validator/token-display.vue')['default']
|
||||
'TokenGenerator.tool': typeof import('./src/tools/token-generator/token-generator.tool.vue')['default']
|
||||
TomlToJson: typeof import('./src/tools/toml-to-json/toml-to-json.vue')['default']
|
||||
TomlToYaml: typeof import('./src/tools/toml-to-yaml/toml-to-yaml.vue')['default']
|
||||
'Tool.layout': typeof import('./src/layouts/tool.layout.vue')['default']
|
||||
ToolCard: typeof import('./src/components/ToolCard.vue')['default']
|
||||
TorrentToMagnet: typeof import('./src/tools/torrent-to-magnet/torrent-to-magnet.vue')['default']
|
||||
TraefikComposeMaker: typeof import('./src/tools/traefik-compose-maker/traefik-compose-maker.vue')['default']
|
||||
TtlCalculator: typeof import('./src/tools/ttl-calculator/ttl-calculator.vue')['default']
|
||||
UlidGenerator: typeof import('./src/tools/ulid-generator/ulid-generator.vue')['default']
|
||||
UnicodeCharactersToJavaEntities: typeof import('./src/tools/unicode-characters-to-java-entities-converter/unicode-characters-to-java-entities.vue')['default']
|
||||
UnicodeFormatter: typeof import('./src/tools/unicode-formatter/unicode-formatter.vue')['default']
|
||||
UnicodeSearch: typeof import('./src/tools/unicode-search/unicode-search.vue')['default']
|
||||
UnitsConverter: typeof import('./src/components/UnitsConverter.vue')['default']
|
||||
UrlCleaner: typeof import('./src/tools/url-cleaner/url-cleaner.vue')['default']
|
||||
UrlEncoder: typeof import('./src/tools/url-encoder/url-encoder.vue')['default']
|
||||
UrlFanger: typeof import('./src/tools/url-fanger/url-fanger.vue')['default']
|
||||
UrlParser: typeof import('./src/tools/url-parser/url-parser.vue')['default']
|
||||
UrlTextFragmentMaker: typeof import('./src/tools/url-text-fragment-maker/url-text-fragment-maker.vue')['default']
|
||||
UserAgentParser: typeof import('./src/tools/user-agent-parser/user-agent-parser.vue')['default']
|
||||
UserAgentResultCards: typeof import('./src/tools/user-agent-parser/user-agent-result-cards.vue')['default']
|
||||
UtmUrlGenerator: typeof import('./src/tools/utm-url-generator/utm-url-generator.vue')['default']
|
||||
UuidConverter: typeof import('./src/tools/uuid-converter/uuid-converter.vue')['default']
|
||||
UuidGenerator: typeof import('./src/tools/uuid-generator/uuid-generator.vue')['default']
|
||||
VatValidator: typeof import('./src/tools/vat-validator/vat-validator.vue')['default']
|
||||
VolumeConverter: typeof import('./src/tools/volume-converter/volume-converter.vue')['default']
|
||||
WebsocketTester: typeof import('./src/tools/websocket-tester/websocket-tester.vue')['default']
|
||||
WeekNumberConverter: typeof import('./src/tools/week-number-converter/week-number-converter.vue')['default']
|
||||
WifiQrCodeGenerator: typeof import('./src/tools/wifi-qr-code-generator/wifi-qr-code-generator.vue')['default']
|
||||
WpaPskGenerator: typeof import('./src/tools/wpa-psk-generator/wpa-psk-generator.vue')['default']
|
||||
X509CertificateGenerator: typeof import('./src/tools/x509-certificate-generator/x509-certificate-generator.vue')['default']
|
||||
XmlFormatter: typeof import('./src/tools/xml-formatter/xml-formatter.vue')['default']
|
||||
XmlToJson: typeof import('./src/tools/xml-to-json/xml-to-json.vue')['default']
|
||||
Xpath: typeof import('./src/tools/xpath-memo/xpath.md')['default']
|
||||
XpathMemo: typeof import('./src/tools/xpath-memo/xpath-memo.vue')['default']
|
||||
XpathTester: typeof import('./src/tools/xpath-tester/xpath-tester.vue')['default']
|
||||
XsltTester: typeof import('./src/tools/xslt-tester/xslt-tester.vue')['default']
|
||||
XVrSpamcauseDecoder: typeof import('./src/tools/x-vr-spamcause-decoder/x-vr-spamcause-decoder.vue')['default']
|
||||
YamlToJson: typeof import('./src/tools/yaml-to-json-converter/yaml-to-json.vue')['default']
|
||||
YamlToToml: typeof import('./src/tools/yaml-to-toml/yaml-to-toml.vue')['default']
|
||||
YamlViewer: typeof import('./src/tools/yaml-viewer/yaml-viewer.vue')['default']
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
# vim:sw=4:ts=4:et
|
||||
#
|
||||
# BASE_URL is the path the app is served under: `/` (the default) for a deployment at the
|
||||
# root of a domain, `/it-tools/` for one behind a reverse proxy that mounts it on a
|
||||
# subpath. It is a runtime setting, not a build one -- the image ships assets that work at
|
||||
# any path, and nginx.conf rewrites the `<base href>` in index.html per request.
|
||||
#
|
||||
# Normalise it here, once, before 20-envsubst-on-templates.sh renders the config:
|
||||
#
|
||||
# - accept `it-tools`, `/it-tools` and `/it-tools/` alike, always emit `/it-tools/`.
|
||||
# A missing trailing slash would otherwise silently move the app one directory up,
|
||||
# because that is how the browser resolves relative URLs against `<base href>`.
|
||||
# - reject anything that is not a plain path. The value is interpolated into an HTML
|
||||
# attribute and into an nginx regex, so a stray quote or `..` is worth catching here
|
||||
# rather than letting it land in the served page.
|
||||
#
|
||||
# Sourced, not executed, so the export reaches the envsubst step.
|
||||
|
||||
_base_url=$(printf '%s' "${BASE_URL:-/}" | sed -e 's#^/*#/#' -e 's#/*$#/#')
|
||||
|
||||
case "$_base_url" in
|
||||
# `/` itself, or `/segment/segment/` made of unreserved URL characters.
|
||||
/) ;;
|
||||
*/../* | *//*)
|
||||
_base_url_invalid=1
|
||||
;;
|
||||
*[!A-Za-z0-9._~/-]*)
|
||||
_base_url_invalid=1
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ -n "${_base_url_invalid:-}" ]; then
|
||||
echo "18-resolve-base-url.envsh: error: BASE_URL='$BASE_URL' is not a plain path, falling back to /" >&2
|
||||
_base_url=/
|
||||
fi
|
||||
|
||||
if [ "$_base_url" != "/" ] && [ -z "${NGINX_ENTRYPOINT_QUIET_LOGS:-}" ]; then
|
||||
echo "18-resolve-base-url.envsh: info: serving the app under $_base_url"
|
||||
fi
|
||||
|
||||
BASE_URL="$_base_url"
|
||||
|
||||
# Regex-safe forms of the same value, for the rewrites in nginx.conf. `.` is a legal
|
||||
# character in a path and the validation above lets it through, but it is also the one
|
||||
# regex metacharacter that survives that filter: unescaped, a BASE_URL of `/it.tools/`
|
||||
# would strip the prefix from `/itXtools/...` too.
|
||||
BASE_URL_REGEX=$(printf '%s' "$_base_url" | sed 's/\./\\./g')
|
||||
# `/it-tools/` -> `/it-tools`, so nginx.conf can redirect the slash-less spelling to the
|
||||
# real one. Empty for a deployment at the root, where there is nothing to redirect.
|
||||
BASE_URL_NO_SLASH_REGEX="${BASE_URL_REGEX%/}"
|
||||
|
||||
export BASE_URL BASE_URL_REGEX BASE_URL_NO_SLASH_REGEX
|
||||
|
||||
unset _base_url _base_url_invalid
|
||||
@@ -0,0 +1,36 @@
|
||||
# vim:sw=4:ts=4:et
|
||||
#
|
||||
# 20-envsubst-on-templates.sh guards its output directory with `[ ! -w $dir ]`,
|
||||
# which only inspects permission bits. It therefore does not notice a read-only
|
||||
# *mount*: with `docker run --read-only` or a Kubernetes readOnlyRootFilesystem,
|
||||
# /etc/nginx/conf.d still looks writable, envsubst runs anyway, the redirect
|
||||
# fails with EROFS and `set -e` takes the container down. The image
|
||||
# crash-loops on every start.
|
||||
#
|
||||
# Probe the directory with a real write. If it fails, point the template
|
||||
# directory at a path that does not exist so 20-envsubst-on-templates.sh
|
||||
# returns early, and let nginx use the config rendered into the image at build
|
||||
# time instead. Sourced, not executed, so the export reaches later scripts.
|
||||
#
|
||||
# On a writable filesystem -- every deployment that works today -- the probe
|
||||
# succeeds and nothing is changed.
|
||||
|
||||
_envsubst_output_dir="${NGINX_ENVSUBST_OUTPUT_DIR:-/etc/nginx/conf.d}"
|
||||
_envsubst_probe="$_envsubst_output_dir/.readonly-probe.$$"
|
||||
|
||||
if [ -d "${NGINX_ENVSUBST_TEMPLATE_DIR:-/etc/nginx/templates}" ] \
|
||||
&& ! (touch "$_envsubst_probe" 2>/dev/null && rm -f "$_envsubst_probe" 2>/dev/null); then
|
||||
if [ -z "${NGINX_ENTRYPOINT_QUIET_LOGS:-}" ]; then
|
||||
echo "19-skip-envsubst-if-readonly.envsh: info: $_envsubst_output_dir is not writable, keeping the config baked into the image"
|
||||
fi
|
||||
# The baked config carries the image defaults, so anything that is only applied by
|
||||
# rendering the template is quietly lost. $PORT has always had this caveat; say so for
|
||||
# BASE_URL too, where the symptom (an app that loads from the wrong path) is a lot less
|
||||
# obvious than a port that did not move.
|
||||
if [ "${BASE_URL:-/}" != "/" ]; then
|
||||
echo "19-skip-envsubst-if-readonly.envsh: warning: BASE_URL=$BASE_URL cannot be applied on a read-only filesystem; mount a writable $_envsubst_output_dir (a tmpfs or an emptyDir will do)" >&2
|
||||
fi
|
||||
export NGINX_ENVSUBST_TEMPLATE_DIR=/nonexistent-read-only-filesystem
|
||||
fi
|
||||
|
||||
unset _envsubst_output_dir _envsubst_probe
|
||||
@@ -0,0 +1,55 @@
|
||||
#!/bin/sh
|
||||
# vim:sw=4:ts=4:et
|
||||
#
|
||||
# nginx.conf listens on both IPv4 and IPv6. On a host or container runtime with
|
||||
# IPv6 disabled, nginx refuses to start:
|
||||
#
|
||||
# socket() [::]:8080 failed (97: Address family not supported by protocol)
|
||||
#
|
||||
# Drop the IPv6 listen directives in that case. This runs after
|
||||
# 20-envsubst-on-templates.sh so it edits the rendered config, and it is a
|
||||
# no-op wherever IPv6 is available, which is the case the image already
|
||||
# handles today.
|
||||
|
||||
set -e
|
||||
|
||||
ME=$(basename "$0")
|
||||
|
||||
entrypoint_log() {
|
||||
if [ -z "${NGINX_ENTRYPOINT_QUIET_LOGS:-}" ]; then
|
||||
echo "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
# Same check the stock 10-listen-on-ipv6-by-default.sh uses.
|
||||
if [ -f "/proc/net/if_inet6" ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
output_dir="${NGINX_ENVSUBST_OUTPUT_DIR:-/etc/nginx/conf.d}"
|
||||
|
||||
[ -d "$output_dir" ] || exit 0
|
||||
|
||||
# `sed -i` rewrites through a temporary file in the directory, so the directory
|
||||
# has to be writable, not only the file. Probe it with a real write, the same
|
||||
# way 19-skip-envsubst-if-readonly.envsh does.
|
||||
probe="$output_dir/.ipv6-probe.$$"
|
||||
if ! (touch "$probe" 2>/dev/null && rm -f "$probe" 2>/dev/null); then
|
||||
entrypoint_log "$ME: info: ipv6 not available, but $output_dir is not writable (read-only file system?), leaving the config alone"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
for conf in "$output_dir"/*.conf; do
|
||||
[ -f "$conf" ] || continue
|
||||
grep -q -E '^[[:space:]]*listen[[:space:]]+\[::\]' "$conf" || continue
|
||||
|
||||
# An individual file can still be mounted read-only inside a writable
|
||||
# directory, so a failed edit must not take the entrypoint down with it.
|
||||
if sed -i -E 's/^([[:space:]]*)(listen[[:space:]]+\[::\].*)$/\1# \2 # disabled by '"$ME"': no IPv6 on this host/' "$conf" 2>/dev/null; then
|
||||
entrypoint_log "$ME: info: ipv6 not available, disabled IPv6 listen in $conf"
|
||||
else
|
||||
entrypoint_log "$ME: info: ipv6 not available, but can not modify $conf, leaving it alone"
|
||||
fi
|
||||
done
|
||||
|
||||
exit 0
|
||||
@@ -1,14 +1,19 @@
|
||||
services:
|
||||
it-tools:
|
||||
container_name: it-tools-subfolder
|
||||
image: ghcr.io/sharevb/it-tools:baseurl-it-tools
|
||||
image: ghcr.io/sharevb/it-tools:latest
|
||||
pull_policy: always
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
# The path the app is served under. This is all a subfolder deployment needs -- the
|
||||
# regular image works at any path, there is no subfolder-specific tag to pull and
|
||||
# nothing to rebuild.
|
||||
BASE_URL: /it-tools/
|
||||
nginx-reverse-proxy:
|
||||
image: nginx:alpine
|
||||
depends_on:
|
||||
- it-tools
|
||||
volumes:
|
||||
- "./nginx.conf:/etc/nginx/conf.d/nginx.conf"
|
||||
- "./nginx.conf:/etc/nginx/conf.d/default.conf"
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 80:80
|
||||
@@ -1,8 +1,14 @@
|
||||
server {
|
||||
listen 8080;
|
||||
listen 80;
|
||||
server_name _;
|
||||
|
||||
# The trailing slash on proxy_pass strips /it-tools/ before the request reaches the
|
||||
# container. It works the other way round too -- `proxy_pass http://it-tools-subfolder:8080;`
|
||||
# forwards the prefix as-is -- because the app's own nginx.conf handles both.
|
||||
location /it-tools/ {
|
||||
proxy_pass http://it-tools-subfolder:8080/;
|
||||
}
|
||||
location /it-tools {
|
||||
return 301 /it-tools/;
|
||||
}
|
||||
}
|
||||
@@ -5,6 +5,7 @@ services:
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./tools-filter.json:/usr/share/nginx/html/tools-filter.json
|
||||
- ./external-tools.json:/usr/share/nginx/html/external-tools.json
|
||||
- ./home.custom.md:/usr/share/nginx/html/home.custom.md
|
||||
ports:
|
||||
- 8080:8080
|
||||
@@ -0,0 +1,18 @@
|
||||
[
|
||||
{
|
||||
"name": "GitHub",
|
||||
"path": "/github",
|
||||
"description": "Link to Github",
|
||||
"keywords": ["github"],
|
||||
"category": "Links",
|
||||
"href": "https://github.com"
|
||||
},
|
||||
{
|
||||
"name": "Some text",
|
||||
"path": "/some-text",
|
||||
"description": "Some description",
|
||||
"keywords": ["some"],
|
||||
"category": "Links",
|
||||
"markdownContent": "Some useful **text**\n\nin *markdown*\n\nAnd link to [GitHub](https://github.com)"
|
||||
}
|
||||
]
|
||||
@@ -0,0 +1,52 @@
|
||||
services:
|
||||
it-tools:
|
||||
image: sharevb/it-tools:latest
|
||||
pull_policy: always
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- BASIC_AUTH=${BASIC_AUTH}
|
||||
volumes:
|
||||
- ./tools-settings.json:/usr/share/nginx/html/tools-settings.json
|
||||
ports:
|
||||
- 8080:8080
|
||||
docker-image-download-server:
|
||||
image: sharevb/docker-image-download-server:latest
|
||||
pull_policy: always
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- BASIC_AUTH=${BASIC_AUTH}
|
||||
ports:
|
||||
- 8001:3000
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
ws-tcp-udp-bridge:
|
||||
image: sharevb/ws-tcp-udp-bridge:latest
|
||||
pull_policy: always
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 8002:8080
|
||||
network-utils-ws:
|
||||
image: sharevb/network-utils-ws:latest
|
||||
pull_policy: always
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- BASIC_AUTH=${BASIC_AUTH}
|
||||
ports:
|
||||
- 8003:8000
|
||||
puppeteer-htmltopdf:
|
||||
image: sharevb/puppeteer-htmltopdf:latest
|
||||
pull_policy: always
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- BASIC_AUTH=${BASIC_AUTH}
|
||||
ports:
|
||||
- 8004:3000
|
||||
cors-anywhere:
|
||||
image: sharevb/cors-anywhere:latest
|
||||
pull_policy: always
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- CORSANYWHERE_BASIC_AUTH=${BASIC_AUTH}
|
||||
- CORSANYWHERE_ALLOWED_HTTP_METHODS=HEAD,GET,POST
|
||||
ports:
|
||||
- 8005:8080
|
||||
@@ -0,0 +1,37 @@
|
||||
{
|
||||
"dns-prop": {
|
||||
"url": "http://localhost:8003",
|
||||
"auth": "alice:b@b"
|
||||
},
|
||||
"dns-tester": {
|
||||
"url": "http://localhost:8003",
|
||||
"auth": "alice:b@b"
|
||||
},
|
||||
"docker-dl": {
|
||||
"url": "http://localhost:8001",
|
||||
"auth": "alice:b@b"
|
||||
},
|
||||
"html-to-pdf": {
|
||||
"url": "http://localhost:8004",
|
||||
"auth": "alice:b@b"
|
||||
},
|
||||
"https-tester": {
|
||||
"url": "http://localhost:8003",
|
||||
"auth": "alice:b@b"
|
||||
},
|
||||
"multi-links-dl": {
|
||||
"url": "http://localhost:8005",
|
||||
"auth": "alice:b@b"
|
||||
},
|
||||
"ping": {
|
||||
"url": "http://localhost:8003",
|
||||
"auth": "alice:b@b"
|
||||
},
|
||||
"short-urls-expander": {
|
||||
"cors-anywhere-url": "http://localhost:8005",
|
||||
"auth": "alice:b@b"
|
||||
},
|
||||
"tcp-udp-port-tester": {
|
||||
"ws": "ws://localhost:8002"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"nodes": {
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1763464769,
|
||||
"narHash": "sha256-AJHrsT7VoeQzErpBRlLJM1SODcaayp0joAoEA35yiwM=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "6f374686605df381de8541c072038472a5ea2e2d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
||||
@@ -0,0 +1,40 @@
|
||||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, ... }:
|
||||
let
|
||||
eachSystem = f:
|
||||
nixpkgs.lib.genAttrs nixpkgs.lib.systems.flakeExposed (system: f nixpkgs.legacyPackages.${system});
|
||||
in
|
||||
{
|
||||
devShells = eachSystem (pkgs:
|
||||
let
|
||||
playwright-browsers = pkgs.playwright-driver.browsers.override {
|
||||
withFirefox = true;
|
||||
withWebkit = true;
|
||||
withFfmpeg = false;
|
||||
};
|
||||
in
|
||||
{
|
||||
default = pkgs.mkShell {
|
||||
packages = [
|
||||
pkgs.nodejs_22
|
||||
pkgs.pnpm
|
||||
pkgs.nodePackages.typescript
|
||||
pkgs.nodePackages.typescript-language-server
|
||||
playwright-browsers
|
||||
pkgs.playwright-test
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
export PLAYWRIGHT_NODEJS_PATH="${pkgs.nodejs_22}/bin/node";
|
||||
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
|
||||
export PLAYWRIGHT_BROWSERS_PATH="${playwright-browsers}"
|
||||
export PLAYWRIGHT_HOST_PLATFORM_OVERRIDE="ubuntu-24.04"
|
||||
'';
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
@@ -2,18 +2,28 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="theme-color" content="#f1f5f9" />
|
||||
<style>
|
||||
html { color-scheme: light; }
|
||||
html.dark { color-scheme: dark; }
|
||||
html, body { background-color: #f1f5f9; }
|
||||
html.dark, html.dark body { background-color: #1c1c1c; }
|
||||
</style>
|
||||
<script>
|
||||
(function () {
|
||||
try {
|
||||
var mode = localStorage.getItem('vueuse-color-scheme') || 'auto';
|
||||
if (mode === 'dark' || (mode === 'auto' && matchMedia('(prefers-color-scheme: dark)').matches)) {
|
||||
document.documentElement.classList.add('dark');
|
||||
document.querySelector('meta[name="theme-color"]').setAttribute('content', '#1c1c1c');
|
||||
}
|
||||
}
|
||||
catch (e) {}
|
||||
})();
|
||||
</script>
|
||||
<link rel="icon" href="favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>IT Tools - Handy online tools for developers</title>
|
||||
<meta itemprop="name" content="IT Tools - Handy online tools for developers" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Collection of handy online tools for developers, with great UX. IT Tools is a free and open-source collection of handy online tools for developers & people working in IT."
|
||||
/>
|
||||
<meta
|
||||
itemprop="description"
|
||||
content="Collection of handy online tools for developers, with great UX. IT Tools is a free and open-source collection of handy online tools for developers & people working in IT."
|
||||
/>
|
||||
<link rel="author" href="humans.txt" />
|
||||
<link rel="canonical" href="https://sharevb-it-tools.vercel.app" />
|
||||
|
||||
@@ -21,32 +31,26 @@
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png" />
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png" />
|
||||
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#18a058" />
|
||||
|
||||
<meta name="msapplication-TileColor" content="#da532c" />
|
||||
<meta name="theme-color" content="#ffffff" />
|
||||
|
||||
<meta property="og:url" content="https://sharevb-it-tools.vercel.app/" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:title" content="IT Tools - Handy online tools for developers" />
|
||||
<meta
|
||||
property="og:description"
|
||||
content="Collection of handy online tools for developers, with great UX. IT Tools is a free and open-source collection of handy online tools for developers & people working in IT."
|
||||
/>
|
||||
<meta property="og:image" content="https://sharevb-it-tools.vercel.app/banner.png?v=2" />
|
||||
|
||||
<meta name="twitter:card" content="summary_large_image" />
|
||||
<meta name="twitter:site" content="@ittoolsdottech" />
|
||||
<meta name="twitter:creator" content="@cthmsst" />
|
||||
|
||||
<meta name="twitter:title" content="IT Tools - Handy online tools for developers" />
|
||||
<meta
|
||||
name="twitter:description"
|
||||
content="Collection of handy online tools for developers, with great UX. IT Tools is a free and open-source collection of handy online tools for developers & people working in IT."
|
||||
/>
|
||||
<meta name="twitter:image" content="https://sharevb-it-tools.vercel.app/banner.png?v=2" />
|
||||
<meta name="twitter:image:alt" content="IT Tools - Handy online tools for developers" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
<script type="module" src="/src/main.ts"></script>
|
||||
<link rel="preload" href="home.custom.md" as="fetch" crossorigin="anonymous" />
|
||||
<link rel="preload" href="tools-filter.json" as="fetch" crossorigin="anonymous" />
|
||||
<link rel="preload" href="external-tools.json" as="fetch" crossorigin="anonymous" />
|
||||
<link rel="preload" href="tools-settings.json" as="fetch" crossorigin="anonymous" />
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,12 +1,76 @@
|
||||
server {
|
||||
listen 8080;
|
||||
listen [::]:8080;
|
||||
listen ${PORT};
|
||||
listen [::]:${PORT};
|
||||
server_name _;
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
#add_header X-Frame-Options SAMEORIGIN;
|
||||
#add_header X-Content-Type-Options nosniff;
|
||||
#add_header Referrer-Policy strict-origin-when-cross-origin;
|
||||
#add_header X-Permitted-Cross-Domain-Policies none;
|
||||
#add_header Cross-Origin-Resource-Policy same-site;
|
||||
add_header Cross-Origin-Opener-Policy same-origin;
|
||||
add_header Cross-Origin-Embedder-Policy require-corp;
|
||||
#add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' http: https: blob:; style-src 'self' 'unsafe-inline' https: http:; img-src 'self' data: blob: https: http:; connect-src data: blob: https: http:; font-src 'self' https: http:; object-src 'none'; base-uri 'self'; form-action 'self';";
|
||||
|
||||
include /etc/nginx/mime.types;
|
||||
types {
|
||||
# mime.types already maps js, remapping it here only emits a
|
||||
# "duplicate extension" warning on every startup.
|
||||
application/javascript mjs;
|
||||
}
|
||||
|
||||
# `/it-tools` is the same place as `/it-tools/`, but only the second one gives the
|
||||
# browser the right directory to resolve the app's relative URLs against, so send the
|
||||
# first one there. Renders to `^$` -- which no request URI can match -- when the app is
|
||||
# served from the root. Relative Location headers, because $scheme is whatever the
|
||||
# reverse proxy used to reach the container, not what the browser used.
|
||||
absolute_redirect off;
|
||||
rewrite ^${BASE_URL_NO_SLASH_REGEX}$ ${BASE_URL} permanent;
|
||||
|
||||
# Serving the app from a subpath (BASE_URL, normalised by
|
||||
# docker-entrypoint.d/18-resolve-base-url.envsh, `/` by default).
|
||||
#
|
||||
# The build is path-agnostic: every asset is referenced relatively, and the one
|
||||
# absolute anchor is a `<base href="/">` in index.html that the app itself reads its
|
||||
# base from (src/utils/base-url.ts). Rewriting that single tag on the way out is
|
||||
# therefore enough to move the whole app to another path -- no rebuild, no
|
||||
# subpath-specific image.
|
||||
#
|
||||
# sub_filter drops Last-Modified/ETag from every response it touches, and text/html is
|
||||
# always in scope (sub_filter_types can add types, not exclude HTML). So: index.html,
|
||||
# which an SPA must not cache anyway and which the service worker precaches regardless,
|
||||
# and the one other HTML document in the build -- the visual-subnet-calculator's iframe,
|
||||
# public/visualsubnetcalc/calc.html -- which loses conditional revalidation and is
|
||||
# refetched in full when that tool is opened.
|
||||
sub_filter '<base href="/">' '<base href="${BASE_URL}">';
|
||||
sub_filter_once on;
|
||||
|
||||
# Hashed build output, with or without the deployment prefix in front of it: a reverse
|
||||
# proxy may pass `/it-tools/assets/...` through as-is or strip the prefix first, and
|
||||
# both have to land on the same file. Without this, a missing chunk falls through to
|
||||
# index.html below and is served as text/html with a 200, which the browser rejects
|
||||
# with an opaque MIME error instead of a plain 404.
|
||||
location ~ ^/(?:.*/)?assets/(?<asset>.+)$ {
|
||||
# Serve gzip sidecars when supported, including requests from reverse proxies.
|
||||
gzip_static on;
|
||||
gzip_proxied any;
|
||||
gzip_vary on;
|
||||
try_files /assets/$asset =404;
|
||||
}
|
||||
|
||||
location / {
|
||||
rewrite ^/it-tools/(.*) /$1 break;
|
||||
try_files $uri $uri/ /index.html;
|
||||
# Same story for everything else the app fetches by path (the JSON config files,
|
||||
# the WASM helpers in public/): drop the deployment prefix when the proxy forwarded
|
||||
# it instead of stripping it. Renders to `^/(.*)$` -- a no-op -- for the default
|
||||
# BASE_URL of `/`.
|
||||
rewrite ^${BASE_URL_REGEX}(.*)$ /$1 break;
|
||||
# No `$uri/`: nothing in the build is a directory with an index in it, so the only
|
||||
# thing matching one ever produced was nginx's own "add the trailing slash"
|
||||
# redirect -- computed from the URI *after* the rewrite above, so under a subpath
|
||||
# `/it-tools/figlet-fonts` bounced the browser out of the app to `/figlet-fonts/`
|
||||
# (and then to a 403). Unknown paths belong to the SPA, which has a 404 page.
|
||||
try_files $uri /index.html;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
import { defineConfig } from 'oxfmt';
|
||||
|
||||
export default defineConfig({
|
||||
printWidth: 120,
|
||||
tabWidth: 2,
|
||||
useTabs: false,
|
||||
semi: true,
|
||||
singleQuote: true,
|
||||
trailingComma: 'all',
|
||||
arrowParens: 'always',
|
||||
endOfLine: 'lf',
|
||||
ignorePatterns: [
|
||||
'src/libs/**',
|
||||
'dist/**',
|
||||
'coverage/**',
|
||||
'auto-imports.d.ts',
|
||||
'components.d.ts',
|
||||
'pnpm-lock.yaml',
|
||||
],
|
||||
});
|
||||
@@ -0,0 +1,87 @@
|
||||
import { defineConfig } from 'oxlint';
|
||||
|
||||
export default defineConfig({
|
||||
plugins: ['eslint', 'typescript', 'oxc', 'unicorn', 'import', 'promise', 'vue', 'vitest'],
|
||||
categories: {
|
||||
correctness: 'error',
|
||||
},
|
||||
// Type-aware rules run through oxlint-tsgolint, which ships its own checker
|
||||
// binary, so this does not depend on the project's TypeScript version.
|
||||
// Note it only analyses .ts files -- .vue script blocks are covered by
|
||||
// `pnpm typecheck` (vue-tsc) instead.
|
||||
options: {
|
||||
typeAware: true,
|
||||
},
|
||||
env: {
|
||||
browser: true,
|
||||
es2026: true,
|
||||
},
|
||||
globals: {
|
||||
process: 'readonly',
|
||||
},
|
||||
ignorePatterns: [
|
||||
'src/libs/**',
|
||||
'dist/**',
|
||||
'coverage/**',
|
||||
'auto-imports.d.ts',
|
||||
'components.d.ts',
|
||||
],
|
||||
rules: {
|
||||
'eslint/curly': ['error', 'all'],
|
||||
'typescript/no-use-before-define': [
|
||||
'error',
|
||||
{ allowNamedExports: true, functions: false },
|
||||
],
|
||||
'eslint/no-restricted-imports': [
|
||||
'error',
|
||||
{
|
||||
paths: [
|
||||
{
|
||||
name: '@vueuse/core',
|
||||
importNames: ['useClipboard'],
|
||||
message: 'Please use local useCopy from src/composable/copy.ts instead of useClipboard.',
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
'no-undef': 'off',
|
||||
'eslint/no-unused-vars': [
|
||||
'error',
|
||||
{ caughtErrors: 'none', varsIgnorePattern: '^_', argsIgnorePattern: '^_' },
|
||||
],
|
||||
'eslint/no-useless-escape': 'off',
|
||||
|
||||
// Staged as warnings while the existing findings are worked through, so
|
||||
// they surface without failing the build. Promote to "error" per rule as
|
||||
// each one reaches zero.
|
||||
'typescript/await-thenable': 'warn',
|
||||
'typescript/no-base-to-string': 'warn',
|
||||
'typescript/no-duplicate-type-constituents': 'warn',
|
||||
'typescript/no-floating-promises': 'warn',
|
||||
'typescript/no-for-in-array': 'warn',
|
||||
'typescript/no-misused-spread': 'warn',
|
||||
'typescript/no-redundant-type-constituents': 'warn',
|
||||
'typescript/no-useless-default-assignment': 'warn',
|
||||
'typescript/restrict-template-expressions': 'warn',
|
||||
'typescript/unbound-method': 'warn',
|
||||
|
||||
'import/default': 'off',
|
||||
'vue/no-dupe-keys': 'off',
|
||||
'vitest/valid-expect': 'off',
|
||||
'vitest/expect-expect': 'off',
|
||||
'vitest/require-to-throw-message': 'off',
|
||||
},
|
||||
overrides: [
|
||||
{
|
||||
files: ['**/*.test.ts', '**/*.spec.ts', '**/*.e2e.spec.ts'],
|
||||
env: { vitest: true },
|
||||
},
|
||||
{
|
||||
files: ['**/calendar-converter/calendar-converter.service.ts'],
|
||||
rules: {
|
||||
'eslint/no-unused-vars': 'off',
|
||||
'oxc/erasing-op': 'off',
|
||||
},
|
||||
},
|
||||
],
|
||||
});
|
||||
@@ -1,239 +1,334 @@
|
||||
{
|
||||
"name": "it-tools",
|
||||
"type": "module",
|
||||
"version": "2025.4.21-70194069",
|
||||
"packageManager": "pnpm@9.11.0",
|
||||
"version": "2026.10.25",
|
||||
"description": "Collection of handy online tools for developers, with great UX. ",
|
||||
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://corentin.tech)",
|
||||
"keywords": [
|
||||
"converter",
|
||||
"developer-productivity",
|
||||
"developer-tools",
|
||||
"frontend",
|
||||
"productivity",
|
||||
"tool",
|
||||
"tools",
|
||||
"vuejs",
|
||||
"website"
|
||||
],
|
||||
"license": "GNU GPLv3",
|
||||
"author": "Corentin Th <corentin.thomasset74+it-tools@gmail.com> (https://corentin.tech)",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/sharevb/it-tools"
|
||||
},
|
||||
"keywords": [
|
||||
"productivity",
|
||||
"converter",
|
||||
"website",
|
||||
"vuejs",
|
||||
"tools",
|
||||
"frontend",
|
||||
"tool",
|
||||
"developer-tools",
|
||||
"developer-productivity"
|
||||
],
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vue-tsc --noEmit && . ./set_node_mem.sh && vite build",
|
||||
"build": "vite build",
|
||||
"preview": "vite preview --port 5050",
|
||||
"test": "TZ=UTC npm run test:unit",
|
||||
"test:unit": "TZ=UTC vitest --environment jsdom",
|
||||
"test:e2e": "TZ=UTC playwright test",
|
||||
"test:e2e:dev": "TZ=UTC BASE_URL=http://localhost:5173 NO_WEB_SERVER=true playwright test",
|
||||
"test:unit": "vitest",
|
||||
"test:e2e": "playwright test",
|
||||
"coverage": "vitest run --coverage",
|
||||
"typecheck": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false",
|
||||
"lint": "eslint src --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --ignore-path .gitignore",
|
||||
"lint": "oxlint src",
|
||||
"lint:fix": "oxlint src --fix",
|
||||
"fmt": "oxfmt src",
|
||||
"fmt:check": "oxfmt --check src",
|
||||
"script:create:tool": "node scripts/create-tool.mjs",
|
||||
"script:create:ui": "hygen generator ui-component",
|
||||
"release": "node ./scripts/release.mjs"
|
||||
"release": "node ./scripts/release.mjs",
|
||||
"script:extract:desc": "node ./scripts/extract-tools-desc.mjs",
|
||||
"script:extract:strings": "node ./scripts/extract-tools-strings.mjs",
|
||||
"script:update:git-templates": "node ./scripts/update-git-templates.mjs",
|
||||
"script:translate-missing": "node ./scripts/translate-missings.mjs -e ./locales/en.yml -t ./locales/*.yml",
|
||||
"vue-i18n-extract": "vue-i18n-extract report --vueFiles 'src/**/*.?(ts|vue)' --languageFiles 'locales/*.yml'",
|
||||
"precommit": "pnpm install --ignore-scripts && pnpm lint:fix && pnpm typecheck"
|
||||
},
|
||||
"dependencies": {
|
||||
"@boxyhq/saml20": "^1.16.0",
|
||||
"@chenfengyuan/vue-barcode": "^2.0.2",
|
||||
"@date-fns/utc": "^1.2.0",
|
||||
"@codemirror/lang-cpp": "^6.0.3",
|
||||
"@codemirror/lang-css": "^6.3.1",
|
||||
"@codemirror/lang-go": "^6.0.1",
|
||||
"@codemirror/lang-html": "^6.4.11",
|
||||
"@codemirror/lang-javascript": "^6.2.5",
|
||||
"@codemirror/lang-json": "^6.0.2",
|
||||
"@codemirror/lang-markdown": "^6.5.0",
|
||||
"@codemirror/lang-php": "^6.0.2",
|
||||
"@codemirror/lang-python": "^6.2.1",
|
||||
"@codemirror/lang-sql": "^6.10.0",
|
||||
"@codemirror/lang-xml": "^6.1.0",
|
||||
"@codemirror/lang-yaml": "^6.1.3",
|
||||
"@codemirror/language": "^6.12.4",
|
||||
"@codemirror/state": "^6.7.0",
|
||||
"@codemirror/theme-one-dark": "^6.1.3",
|
||||
"@codemirror/view": "^6.43.5",
|
||||
"@colordx/core": "^5.5.0",
|
||||
"@date-fns/utc": "^2.1.1",
|
||||
"@dice-roller/rpg-dice-roller": "^5.5.1",
|
||||
"@faker-js/faker": "^9.7.0",
|
||||
"@fortawesome/fontawesome-svg-core": "^6.7.2",
|
||||
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
||||
"@fortawesome/vue-fontawesome": "^3.0.8",
|
||||
"@faker-js/faker": "^10.5.0",
|
||||
"@ffmpeg/core": "0.12.10",
|
||||
"@ffmpeg/ffmpeg": "^0.12.15",
|
||||
"@finegym/fitness-calc": "^1.0.1",
|
||||
"@fontsource/open-sans": "^5.3.0",
|
||||
"@fontsource/varela-round": "^5.3.0",
|
||||
"@fortawesome/fontawesome-svg-core": "^7.3.0",
|
||||
"@fortawesome/free-solid-svg-icons": "^7.3.0",
|
||||
"@fortawesome/vue-fontawesome": "^3.3.1",
|
||||
"@github/paste-markdown": "^1.5.3",
|
||||
"@guolao/vue-monaco-editor": "^1.5.4",
|
||||
"@guolao/vue-monaco-editor": "^1.6.0",
|
||||
"@guyplusplus/turndown-plugin-gfm": "^1.0.7",
|
||||
"@huggingface/transformers": "3.0.0-alpha.14",
|
||||
"@iplookup/country-extra": "^1.0.20250317",
|
||||
"@huggingface/transformers": "3.7.6",
|
||||
"@iplookup/country-extra": "^1.0.20260711",
|
||||
"@it-tools/bip39": "^0.0.4",
|
||||
"@it-tools/oggen": "^1.3.0",
|
||||
"@jsonquerylang/jsonquery": "^5.1.1",
|
||||
"@kenjiuno/decompressrtf": "^0.1.4",
|
||||
"@kenjiuno/msgreader": "^1.22.0",
|
||||
"@kenjiuno/msgreader": "^1.28.0",
|
||||
"@langfreak/convert-layout": "^0.11.2",
|
||||
"@lezer/highlight": "^1.2.3",
|
||||
"@mdit/plugin-align": "^0.16.0",
|
||||
"@noble/ciphers": "^1.2.1",
|
||||
"@noble/ciphers": "^1.3.0",
|
||||
"@plausible-analytics/tracker": "^0.4.6",
|
||||
"@regexper/render": "^1.0.0",
|
||||
"@sindresorhus/slugify": "^2.2.1",
|
||||
"@tabler/icons-vue": "^3.20.0",
|
||||
"@tiptap/core": "2.9.1",
|
||||
"@tiptap/extension-color": "^2.11.5",
|
||||
"@tiptap/extension-gapcursor": "^2.11.5",
|
||||
"@tiptap/extension-highlight": "^2.11.5",
|
||||
"@tiptap/extension-table": "^2.11.5",
|
||||
"@tiptap/extension-table-cell": "^2.11.5",
|
||||
"@tiptap/extension-table-header": "^2.11.5",
|
||||
"@tiptap/extension-table-row": "^2.11.5",
|
||||
"@tiptap/extension-text-style": "^2.11.5",
|
||||
"@tiptap/pm": "2.9.1",
|
||||
"@tiptap/starter-kit": "2.9.1",
|
||||
"@tiptap/vue-3": "2.9.1",
|
||||
"@resvg/resvg-wasm": "^2.6.2",
|
||||
"@sindresorhus/slugify": "^3.0.0",
|
||||
"@skeepit/unicode-to-gsm7": "^1.0.0",
|
||||
"@tabler/icons-vue": "^3.44.0",
|
||||
"@tesseract.js-data/chi_sim": "^1.0.0",
|
||||
"@tesseract.js-data/eng": "^1.0.0",
|
||||
"@tiptap/core": "^3.31.3",
|
||||
"@tiptap/extension-color": "^3.31.3",
|
||||
"@tiptap/extension-gapcursor": "^3.31.3",
|
||||
"@tiptap/extension-highlight": "^3.31.3",
|
||||
"@tiptap/extension-table": "^3.31.3",
|
||||
"@tiptap/extension-text-align": "^3.31.3",
|
||||
"@tiptap/extension-text-style": "^3.31.3",
|
||||
"@tiptap/extensions": "^3.31.3",
|
||||
"@tiptap/pm": "^3.31.3",
|
||||
"@tiptap/starter-kit": "^3.31.3",
|
||||
"@tiptap/vue-3": "^3.31.3",
|
||||
"@toon-format/toon": "^4.1.1",
|
||||
"@types/haversine": "^1.1.8",
|
||||
"@types/moment": "^2.13.0",
|
||||
"@unicode/unicode-15.1.0": "^1.6.5",
|
||||
"@types/html-to-text": "^9.0.4",
|
||||
"@types/swagger-ui-dist": "^3.30.6",
|
||||
"@unicode/unicode-15.1.0": "^1.6.17",
|
||||
"@vicons/material": "^0.12.0",
|
||||
"@vicons/tabler": "^0.12.0",
|
||||
"@vueuse/core": "^10.11.1",
|
||||
"@vueuse/head": "^1.0.0",
|
||||
"@vueuse/router": "^10.0.0",
|
||||
"@xmldom/xmldom": "^0.8.10",
|
||||
"@vueuse/head": "^1.3.1",
|
||||
"@vueuse/integrations": "^14.3.0",
|
||||
"@vueuse/router": "^10.11.1",
|
||||
"@xmldom/xmldom": "^0.8.15",
|
||||
"@xterm/xterm": "^5.5.0",
|
||||
"@younestouati/playing-cards-standard-deck": "^6.0.1",
|
||||
"@zxing/library": "^0.21.3",
|
||||
"@zxcvbn-ts/core": "^3.0.4",
|
||||
"@zxcvbn-ts/language-common": "^3.0.4",
|
||||
"@zxcvbn-ts/language-en": "^3.0.2",
|
||||
"@zxing/library": "^0.23.0",
|
||||
"a11y-color-contrast": "^0.2.0",
|
||||
"abort-signal-polyfill": "^1.0.0",
|
||||
"aircodes": "^1.3.16",
|
||||
"ajv": "^8.20.0",
|
||||
"ajv-errors": "^3.0.0",
|
||||
"ansi-styles": "^6.2.3",
|
||||
"ansible-vault": "^1.3.0",
|
||||
"apache-md5": "^1.1.8",
|
||||
"arr-diff": "^4.0.0",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"big.js": "^6.2.2",
|
||||
"bcryptjs": "^3.0.3",
|
||||
"bech32": "^2.0.0",
|
||||
"big.js": "^7.0.1",
|
||||
"braces": "^3.0.3",
|
||||
"bwip-js": "^4.5.1",
|
||||
"bwip-js": "^4.11.2",
|
||||
"byte-data": "^19.0.1",
|
||||
"change-case": "^5.4.4",
|
||||
"chardet": "^2.2.0",
|
||||
"chart.js": "^4.5.1",
|
||||
"chartjs-plugin-zoom": "^2.2.0",
|
||||
"chatgpt-prompt-splitter": "^1.0.5",
|
||||
"chinesegen": "^0.3.3",
|
||||
"cidr-tools": "^11.0.2",
|
||||
"colord": "^2.9.3",
|
||||
"composerize": "^1.7.2",
|
||||
"composeverter": "^1.7.4",
|
||||
"convert": "^5.7.0",
|
||||
"countries-and-timezones": "^3.7.2",
|
||||
"cidr-tools": "^13.0.4",
|
||||
"citation-formatter": "^1.0.1",
|
||||
"codemirror": "^6.0.2",
|
||||
"colord": "^2.10.0",
|
||||
"composerize": "^1.7.6",
|
||||
"composeverter": "^1.7.5",
|
||||
"convert": "^7.0.2",
|
||||
"countries-and-timezones": "^3.9.0",
|
||||
"countries-db": "^1.2.0",
|
||||
"country-code-lookup": "^0.1.3",
|
||||
"country-code-lookup": "^0.1.5",
|
||||
"crc": "^4.3.2",
|
||||
"cron-parser": "^4.9.0",
|
||||
"cron-validator": "^1.3.1",
|
||||
"cronstrue": "^2.54.0",
|
||||
"creditcard": "^0.1.3",
|
||||
"creditcard-generator": "^0.0.7",
|
||||
"cron-parser": "5.10.0",
|
||||
"cron-validator": "^1.4.0",
|
||||
"cronstrue": "^3.24.0",
|
||||
"cropperjs": "^1.6.3",
|
||||
"cross-spawn": "^7.0.6",
|
||||
"crypto-js": "^4.2.0",
|
||||
"crypto-es": "^3.1.3",
|
||||
"csstoxpath": "^2.0.0",
|
||||
"curlconverter": "^4.12.0",
|
||||
"currency-codes-ts": "^3.0.0",
|
||||
"currency-exchanger-js": "^1.0.4",
|
||||
"data-guardian": "^1.1.3",
|
||||
"date-fns": "^2.30.0",
|
||||
"date-holidays": "^3.23.21",
|
||||
"damerau-levenshtein": "^1.0.8",
|
||||
"data-guardian": "^1.1.4",
|
||||
"date-fns": "^4.4.0",
|
||||
"date-fns-tz": "^3.2.0",
|
||||
"date-holidays": "^3.34.1",
|
||||
"decimal.js": "^10.6.0",
|
||||
"decomposerize": "^1.4.4",
|
||||
"detect-csv": "^1.1.0",
|
||||
"diceware-generator": "^3.0.1",
|
||||
"diceware-wordlist-en": "^1.0.0",
|
||||
"diceware-wordlist-en-eff": "^1.0.1",
|
||||
"diceware-wordlist-jp": "^1.0.1",
|
||||
"diceware-wordlist-ru": "^1.0.0",
|
||||
"diceware-wordlist-sp": "^1.0.0",
|
||||
"diceware-wordlist-swe": "^1.0.1",
|
||||
"dmarc-report-parser": "^0.1.5",
|
||||
"dns-query": "^0.11.2",
|
||||
"docker2kube": "^0.0.14",
|
||||
"dom-to-image-more": "^3.5.0",
|
||||
"dompurify": "^3.2.4",
|
||||
"dom-to-image-more": "^3.10.0",
|
||||
"dompurify": "^3.4.16",
|
||||
"duration-fns": "^3.0.2",
|
||||
"echarts": "^6.1.0",
|
||||
"email-bounce-parser-browser": "^1.1.0",
|
||||
"email-normalizer": "^1.0.0",
|
||||
"emojilib": "^4.0.1",
|
||||
"event-cron-parser": "^1.0.35",
|
||||
"emojilib": "^4.0.3",
|
||||
"epubjs": "^0.3.93",
|
||||
"es-toolkit": "^1.49.0",
|
||||
"esm-potrace-wasm": "^0.4.4",
|
||||
"ethers": "^6.17.0",
|
||||
"event-cron-parser": "^1.0.37",
|
||||
"exif-be-gone": "^1.5.1",
|
||||
"exifreader": "^4.26.1",
|
||||
"fanger": "^0.3.1",
|
||||
"exifreader": "^4.46.0",
|
||||
"fanger": "0.3.1",
|
||||
"fast-json-patch": "^3.1.1",
|
||||
"fast-xml-parser": "^5.11.1",
|
||||
"fast_array_intersect": "^1.1.0",
|
||||
"fflate": "^0.8.2",
|
||||
"figlet": "^1.8.0",
|
||||
"fflate": "^0.8.3",
|
||||
"figlet": "^1.11.0",
|
||||
"figue": "^1.2.0",
|
||||
"file-type": "^20.1.0",
|
||||
"flatten-anything": "^4.0.1",
|
||||
"flexsearch": "^0.8.167",
|
||||
"fuse.js": "^7.1.0",
|
||||
"file-type": "^22.0.1",
|
||||
"flatten-anything": "^4.0.2",
|
||||
"flexsearch": "^0.8.212",
|
||||
"fuse.js": "^7.4.2",
|
||||
"gcoord": "^1.0.7",
|
||||
"generate-schema": "^2.6.0",
|
||||
"get-timezone-offset": "^1.0.5",
|
||||
"gpt-tokens": "^1.3.14",
|
||||
"ghostscript-wasm-esm": "^1.0.1",
|
||||
"gtin-validator": "^1.0.0",
|
||||
"hash-wasm": "^4.12.0",
|
||||
"haversine": "^1.1.1",
|
||||
"heic-convert": "^2.1.0",
|
||||
"hex-array": "^1.0.0",
|
||||
"highlight.js": "^11.11.1",
|
||||
"hyparquet": "^1.9.0",
|
||||
"hyparquet-compressors": "^1.0.0",
|
||||
"iarna-toml-esm": "^3.0.5",
|
||||
"ibantools": "^4.5.1",
|
||||
"ical-generator": "^8.1.1",
|
||||
"ical.js": "^2.1.0",
|
||||
"iconv-lite": "^0.6.3",
|
||||
"image-in-browser": "^3.2.1",
|
||||
"html-to-text": "^10.0.0",
|
||||
"htmlfy": "^1.0.2",
|
||||
"htmlparser2": "^10.1.0",
|
||||
"hyparquet": "^1.26.2",
|
||||
"hyparquet-compressors": "^1.1.1",
|
||||
"ibantools": "^4.5.4",
|
||||
"ical-generator": "^11.0.0",
|
||||
"ical.js": "^2.2.1",
|
||||
"iconv-lite": "^0.7.3",
|
||||
"idb-keyval": "^6.3.0",
|
||||
"image-compare-viewer": "^1.6.2",
|
||||
"image-in-browser": "^3.5.3",
|
||||
"image-to-ascii-art": "^0.0.4",
|
||||
"ip-address": "^9.0.5",
|
||||
"ip-bigint": "^8.2.0",
|
||||
"ip-address": "^10.7.2",
|
||||
"ip-bigint": "^9.0.6",
|
||||
"ip-cidr": "^4.0.2",
|
||||
"ip-matching": "^2.1.2",
|
||||
"ip-regex": "^5.0.0",
|
||||
"is-cidr": "^5.1.0",
|
||||
"is-cidr": "^7.0.0",
|
||||
"is-ip": "^5.0.1",
|
||||
"isbn3": "^1.2.7",
|
||||
"iso-639-1": "^3.1.5",
|
||||
"isbn3": "^2.0.9",
|
||||
"iso-639-1": "^3.1.6",
|
||||
"jasypt": "^1.0.7",
|
||||
"javascript-obfuscator": "^5.4.7",
|
||||
"javastack.js": "^1.0.3",
|
||||
"jks-js": "^1.1.4",
|
||||
"jose": "^5.9.6",
|
||||
"jks-js": "^1.1.7",
|
||||
"jose": "5.10.0",
|
||||
"jpeg-quality-estimator": "^1.0.1",
|
||||
"jq-wasm": "^1.0.0",
|
||||
"js-base64": "^3.7.7",
|
||||
"js-beautify": "^1.15.2",
|
||||
"jsbarcode": "^3.11.6",
|
||||
"jq-wasm": "^1.0.1",
|
||||
"js-base64": "^3.9.4",
|
||||
"js-beautify": "^2.0.3",
|
||||
"js-tiktoken": "^1.0.21",
|
||||
"jsbarcode": "^3.12.3",
|
||||
"json-analyzer": "^1.2.2",
|
||||
"json-editor-vue": "^0.16.0",
|
||||
"json-to-ts": "^1.7.0",
|
||||
"json-editor-vue": "^0.19.2",
|
||||
"json-to-ts": "^2.1.0",
|
||||
"json5": "^2.2.3",
|
||||
"jsonar-mod": "^1.9.0",
|
||||
"jsonlint-mod": "^1.7.6",
|
||||
"jsonpath": "^1.1.1",
|
||||
"jsonrepair": "^3.12.0",
|
||||
"jsonpath": "^1.3.0",
|
||||
"jsonrepair": "^3.15.0",
|
||||
"jsonschema": "^1.5.0",
|
||||
"jsonschema-protobuf": "^1.0.2",
|
||||
"jsstack.js": "^2.0.0",
|
||||
"jsvat-next": "^3.0.4",
|
||||
"jszip": "^3.10.1",
|
||||
"jwt-decode": "^4.0.0",
|
||||
"katex": "^0.17.0",
|
||||
"korean-unpacker": "^1.0.3",
|
||||
"libmime": "^5.3.6",
|
||||
"libphonenumber-js": "^1.11.19",
|
||||
"lodash": "^4.17.21",
|
||||
"lodash.defaultsdeep": "^4.6.1",
|
||||
"lodash.flattendeep": "^4.4.0",
|
||||
"lodash.last": "^3.0.0",
|
||||
"long": "^5.3.1",
|
||||
"langs": "^2.0.0",
|
||||
"leaflet": "^1.9.4",
|
||||
"libmime": "^5.4.1",
|
||||
"libphonenumber-js": "^1.13.8",
|
||||
"lodash": "^4.18.1",
|
||||
"long": "^5.3.2",
|
||||
"lorem-ipsum-japanese": "^1.0.1",
|
||||
"luhn-js": "^1.1.2",
|
||||
"luxon": "^3.5.0",
|
||||
"markdown-it": "^14.1.0",
|
||||
"luxon": "^3.7.2",
|
||||
"markdown-docx": "^1.7.0",
|
||||
"markdown-it": "^14.3.0",
|
||||
"markdown-it-mark": "^4.0.0",
|
||||
"markdown-it-sanitizer": "^0.4.3",
|
||||
"markdown-it-sub": "^2.0.0",
|
||||
"markdown-it-sup": "^2.0.0",
|
||||
"markdown-table-prettify": "^4.1.0",
|
||||
"marked": "^10.0.0",
|
||||
"mathjs": "^14.2.1",
|
||||
"md-editor-v3": "^4.21.3",
|
||||
"mathjs": "^15.2.0",
|
||||
"md-editor-v3": "^7.0.0",
|
||||
"mdt2json": "^1.1.0",
|
||||
"memorystream": "^0.3.1",
|
||||
"mermaid": "^11.6.0",
|
||||
"mime-types": "^2.1.35",
|
||||
"merge-anything": "^6.0.6",
|
||||
"mermaid": "^12.0.0",
|
||||
"mime-types": "^3.0.2",
|
||||
"mitex-wasm": "^0.2.5",
|
||||
"moment": "^2.30.1",
|
||||
"monaco-editor": "^0.43.0",
|
||||
"monaco-editor": "^0.55.1",
|
||||
"morsee": "^1.0.10",
|
||||
"naive-ui": "^2.35.0",
|
||||
"nanoid": "^5.0.9",
|
||||
"nanoid-dictionary": "^4.3.0",
|
||||
"nestify-anything": "^3.0.3",
|
||||
"netmask": "^2.0.2",
|
||||
"netstack.js": "^2.1.1",
|
||||
"msgpackr": "^2.0.4",
|
||||
"naive-ui": "^2.44.1",
|
||||
"nanoid": "^6.0.0",
|
||||
"nanoid-dictionary": "^5.0.0",
|
||||
"nestify-anything": "^4.0.1",
|
||||
"netmask": "^2.1.1",
|
||||
"netstack.js": "^2.1.4",
|
||||
"nginx-config-formatter": "^1.4.5",
|
||||
"node-forge": "^1.3.1",
|
||||
"openpgp": "^6.1.0",
|
||||
"oui-data": "^1.1.281",
|
||||
"parse-duration": "^2.1.2",
|
||||
"parse-torrent": "^11.0.18",
|
||||
"paseto-ts": "^2.0.5",
|
||||
"path2d-polyfill": "^3.1.3",
|
||||
"niceware": "^4.0.0",
|
||||
"node-emv": "^1.0.23",
|
||||
"node-forge": "^1.4.0",
|
||||
"openai-chat-tokens": "^0.2.8",
|
||||
"openpgp": "^6.3.1",
|
||||
"otpauth-migration": "^1.0.0",
|
||||
"oui-data": "^1.1.571",
|
||||
"pako": "^3.0.1",
|
||||
"parse-duration": "^2.1.8",
|
||||
"parse-torrent": "^11.0.21",
|
||||
"paseto-ts": "^2.0.6",
|
||||
"path2d-polyfill": "^3.2.2",
|
||||
"pdf-signature-reader": "^1.4.3",
|
||||
"pdfjs-dist": "^4.8.69",
|
||||
"pinia": "^2.0.34",
|
||||
"plausible-tracker": "^0.3.9",
|
||||
"port-numbers": "^8.0.22",
|
||||
"postal-mime": "^2.4.3",
|
||||
"pdfjs-dist": "^4.10.38",
|
||||
"picomatch": "^4.0.5",
|
||||
"pinia": "^3.0.4",
|
||||
"podletjs": "^1.0.2",
|
||||
"port-numbers": "^8.0.32",
|
||||
"postal-mime": "^2.7.5",
|
||||
"potrace": "^2.1.8",
|
||||
"pp-qr-code": "^0.6.4",
|
||||
"pretty-ms": "^9.2.0",
|
||||
"prettier": "^3.9.9",
|
||||
"pretty-ms": "^9.3.0",
|
||||
"proj4": "^2.20.9",
|
||||
"proj4-list": "^1.0.4",
|
||||
"properties": "^1.2.1",
|
||||
"punycode": "^2.3.1",
|
||||
"pythonstack.js": "^1.0.2",
|
||||
@@ -241,139 +336,172 @@
|
||||
"qrcode": "^1.5.4",
|
||||
"qrcode-parser": "^2.1.3",
|
||||
"qrcode-terminal-nooctal": "^0.12.1",
|
||||
"quicktype-core": "^23.1.3",
|
||||
"qrcode-vue3": "^1.7.1",
|
||||
"quicktype-core": "^26.0.0",
|
||||
"randexp": "^0.5.3",
|
||||
"regex": "^4.4.0",
|
||||
"regex": "^6.1.0",
|
||||
"rekcod": "^3.0.0",
|
||||
"remove-markdown": "^0.6.4",
|
||||
"resistor-data": "^2.0.0",
|
||||
"riimut": "^0.9.1",
|
||||
"roboto-base64": "^0.1.2",
|
||||
"rtf-stream-parser": "^3.8.0",
|
||||
"rtf-stream-parser": "^3.8.1",
|
||||
"run-pace": "^2.2.1",
|
||||
"safe-license-list": "^0.1.2",
|
||||
"sandybox": "^1.1.2",
|
||||
"sanitize-html": "^2.14.0",
|
||||
"shiki": "1.22.2",
|
||||
"silly-password-generator": "^1.0.28",
|
||||
"sanitize-html": "^2.17.7",
|
||||
"screenfull": "^5.2.0",
|
||||
"shamirs-secret-sharing": "^2.0.1",
|
||||
"shiki": "1.29.2",
|
||||
"silly-password-generator": "^1.0.29",
|
||||
"slashes": "^3.0.12",
|
||||
"spdx-satisfies": "^5.0.1",
|
||||
"sql-formatter": "^15.5.1",
|
||||
"smol-toml": "^1.9.0",
|
||||
"sms-segments-calculator": "^1.2.0",
|
||||
"spdx-satisfies": "^6.0.0",
|
||||
"sponge-case": "^2.0.3",
|
||||
"sql-formatter": "^15.8.2",
|
||||
"sshpk": "^1.18.0",
|
||||
"staveless-futhark": "^0.6.1",
|
||||
"stringify-object": "^5.0.0",
|
||||
"svg2png-wasm": "^1.4.1",
|
||||
"svgo": "^3.3.2",
|
||||
"tesseract.js": "^5.1.1",
|
||||
"text-encoding-utf-8": "^1.0.2",
|
||||
"stopword": "^3.1.5",
|
||||
"stringify-object": "^7.0.0",
|
||||
"svgo": "^3.3.5",
|
||||
"swagger-ui-dist": "^5.32.8",
|
||||
"swap-case": "^3.0.3",
|
||||
"tesseract.js": "^7.0.0",
|
||||
"tesseract.js-core": "7.0.0",
|
||||
"tick-time": "^1.0.1",
|
||||
"tidy-url": "^1.18.3",
|
||||
"title-case": "^4.3.2",
|
||||
"to-double-quotes": "^4.0.0",
|
||||
"to-single-quotes": "^4.0.0",
|
||||
"turndown": "^7.2.0",
|
||||
"ua-parser-js": "^2.0.1",
|
||||
"ulid": "^2.3.0",
|
||||
"unicode-emoji-json": "^0.4.0",
|
||||
"turndown": "^7.2.4",
|
||||
"ua-parser-js": "^2.0.10",
|
||||
"ulid": "^3.0.2",
|
||||
"unicode-emoji-json": "^0.9.0",
|
||||
"unique-random": "^4.0.0",
|
||||
"unplugin-auto-import": "^0.16.4",
|
||||
"units-converter": "^1.0.3",
|
||||
"unixcrypt-browser": "^2.0.4",
|
||||
"unpdf": "^1.8.0",
|
||||
"unplugin-auto-import": "^21.0.0",
|
||||
"utf8": "^3.0.0",
|
||||
"uuid": "^11.0.5",
|
||||
"vanilla-jsoneditor": "^0.23.8",
|
||||
"vue": "^3.3.4",
|
||||
"uuid": "^14.0.1",
|
||||
"vanilla-jsoneditor": "^3.13.0",
|
||||
"vite-plugin-sitemap": "^0.8.2",
|
||||
"vue": "^3.5.39",
|
||||
"vue-color-wheel": "^0.1.1",
|
||||
"vue-i18n": "^9.14.3",
|
||||
"vue-markdown-render": "^2.2.1",
|
||||
"vue-mathjax-next": "^0.0.6",
|
||||
"vue-router": "^4.1.6",
|
||||
"vue-i18n": "^11.4.6",
|
||||
"vue-loading-overlay": "^6.0.6",
|
||||
"vue-markdown-render": "^2.3.1",
|
||||
"vue-router": "^5.1.0",
|
||||
"vue-shadow-dom": "^4.2.0",
|
||||
"vue-tsc": "^1.8.1",
|
||||
"vue-tsc": "^3.3.10",
|
||||
"vue3-flip-countdown": "^0.1.6",
|
||||
"vue3-fortune-wheel": "^2.0.5",
|
||||
"vue3-katex": "^0.8.1",
|
||||
"vuedraggable": "^4.1.0",
|
||||
"vuex": "^4.1.0",
|
||||
"w-websocket-client": "^1.0.29",
|
||||
"webcrack": "^2.15.0",
|
||||
"webcrack": "^2.16.0",
|
||||
"webcrypto-liner-shim": "^1.4.8",
|
||||
"webp-converter-browser": "^1.0.4",
|
||||
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz",
|
||||
"xml-formatter": "^3.6.4",
|
||||
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz",
|
||||
"xml-formatter": "^3.7.0",
|
||||
"xml-js": "^1.6.11",
|
||||
"xpath": "^0.0.34",
|
||||
"xpath-to-css": "^1.2.0",
|
||||
"xslt-processor": "^3.3.1",
|
||||
"yaml": "^2.7.0"
|
||||
"xslt-processor": "^3.4.0",
|
||||
"yaml": "^2.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@antfu/eslint-config": "^0.41.0",
|
||||
"@iconify-json/mdi": "^1.1.50",
|
||||
"@intlify/unplugin-vue-i18n": "^0.13.0",
|
||||
"@playwright/test": "^1.50.1",
|
||||
"@rushstack/eslint-patch": "^1.2.0",
|
||||
"@tsconfig/node18": "^18.2.0",
|
||||
"@iconify-json/mdi": "^1.2.3",
|
||||
"@iconify-json/tabler": "^1.2.35",
|
||||
"@intlify/unplugin-vue-i18n": "^11.2.4",
|
||||
"@playwright/test": "^1.62.0",
|
||||
"@tsconfig/node24": "^24.0.4",
|
||||
"@types/arr-diff": "^4.0.3",
|
||||
"@types/bcryptjs": "^2.4.6",
|
||||
"@types/big.js": "^6.2.2",
|
||||
"@types/crypto-js": "^4.2.2",
|
||||
"@types/dompurify": "^3.2.0",
|
||||
"@types/emscripten": "^1.40.0",
|
||||
"@types/figlet": "^1.7.0",
|
||||
"@types/big.js": "^7.0.0",
|
||||
"@types/codemirror": "^5.60.17",
|
||||
"@types/damerau-levenshtein": "^1.0.2",
|
||||
"@types/emscripten": "^1.41.5",
|
||||
"@types/har-format": "^1.2.16",
|
||||
"@types/hex-array": "^1.0.2",
|
||||
"@types/js-beautify": "^1.14.3",
|
||||
"@types/jsdom": "^21.1.7",
|
||||
"@types/jsdom": "^28.0.0",
|
||||
"@types/jsonpath": "^0.2.4",
|
||||
"@types/libmime": "^5.0.3",
|
||||
"@types/lodash": "^4.14.192",
|
||||
"@types/lodash.defaultsdeep": "^4.6.9",
|
||||
"@types/lodash.flattendeep": "^4.4.9",
|
||||
"@types/lodash.last": "^3.0.9",
|
||||
"@types/luxon": "^3.4.2",
|
||||
"@types/markdown-it": "^13.0.9",
|
||||
"@types/leaflet": "^1.9.21",
|
||||
"@types/libmime": "^5.3.0",
|
||||
"@types/luxon": "^3.7.2",
|
||||
"@types/markdown-it": "^14.0.0",
|
||||
"@types/memorystream": "^0.3.4",
|
||||
"@types/mime-types": "^2.1.4",
|
||||
"@types/mime-types": "^3.0.1",
|
||||
"@types/morsee": "^1.0.2",
|
||||
"@types/nanoid-dictionary": "^4.2.3",
|
||||
"@types/netmask": "^2.0.5",
|
||||
"@types/node": "^18.19.75",
|
||||
"@types/node-forge": "^1.3.11",
|
||||
"@types/netmask": "^2.0.6",
|
||||
"@types/node": "^24.13.3",
|
||||
"@types/node-forge": "^1.3.14",
|
||||
"@types/picomatch": "^4.0.3",
|
||||
"@types/potrace": "^2.1.5",
|
||||
"@types/punycode": "^2.1.4",
|
||||
"@types/qrcode": "^1.5.5",
|
||||
"@types/sanitize-html": "^2.13.0",
|
||||
"@types/spdx-satisfies": "^0.1.2",
|
||||
"@types/sshpk": "^1.17.4",
|
||||
"@types/qrcode": "^1.5.6",
|
||||
"@types/sanitize-html": "^2.16.1",
|
||||
"@types/spdx-satisfies": "^6.0.0",
|
||||
"@types/sshpk": "^1.17.5",
|
||||
"@types/stopword": "^2.0.3",
|
||||
"@types/stringify-object": "^4.0.5",
|
||||
"@types/text-encoding-utf-8": "^1.0.5",
|
||||
"@types/turndown": "^5.0.5",
|
||||
"@types/turndown": "^5.0.6",
|
||||
"@types/ua-parser-js": "^0.7.39",
|
||||
"@types/unist": "^3.0.3",
|
||||
"@types/utf8": "^3.0.3",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"@unocss/eslint-config": "^0.57.1",
|
||||
"@vitejs/plugin-vue": "^4.3.2",
|
||||
"@vitejs/plugin-vue-jsx": "^3.0.2",
|
||||
"@vue/compiler-sfc": "^3.2.47",
|
||||
"@vue/runtime-dom": "^3.3.4",
|
||||
"@vue/test-utils": "^2.3.2",
|
||||
"@vue/tsconfig": "^0.4.0",
|
||||
"consola": "^3.0.2",
|
||||
"eslint": "^8.47.0",
|
||||
"@vitejs/plugin-vue": "^6.0.7",
|
||||
"@vitejs/plugin-vue-jsx": "^5.1.6",
|
||||
"@vue/compiler-sfc": "^3.5.39",
|
||||
"@vue/runtime-dom": "^3.5.39",
|
||||
"@vue/test-utils": "^2.4.11",
|
||||
"@vue/tsconfig": "^0.9.1",
|
||||
"axios": "^1.18.1",
|
||||
"commander": "^15.0.0",
|
||||
"consola": "^3.4.2",
|
||||
"dotenv": "^17.4.2",
|
||||
"fast-glob": "^3.3.3",
|
||||
"hygen": "^6.2.11",
|
||||
"jsdom": "^22.0.0",
|
||||
"less": "^4.2.2",
|
||||
"prettier": "^3.0.0",
|
||||
"semver": "^7.5.2",
|
||||
"typescript": "~5.2.2",
|
||||
"unocss": "^0.57.1",
|
||||
"unocss-preset-scrollbar": "^0.2.1",
|
||||
"unplugin-icons": "^0.17.0",
|
||||
"unplugin-vue-components": "^0.25.0",
|
||||
"vite": "^4.4.9",
|
||||
"vite-plugin-node-polyfills": "^0.22.0",
|
||||
"vite-plugin-pwa": "^1.0.0",
|
||||
"vite-plugin-vue-markdown": "^0.23.5",
|
||||
"vite-plugin-wasm": "^3.4.1",
|
||||
"vite-svg-loader": "^4.0.0",
|
||||
"vitest": "^0.34.6",
|
||||
"workbox-window": "^7.3.0",
|
||||
"zx": "^7.2.3"
|
||||
"jsdom": "^29.1.1",
|
||||
"less": "^4.6.7",
|
||||
"oxfmt": "^0.57.0",
|
||||
"oxlint": "^1.72.0",
|
||||
"oxlint-tsgolint": "^7.0.2001",
|
||||
"rollup-plugin-visualizer": "^7.0.1",
|
||||
"semver": "^7.8.5",
|
||||
"typescript": "~6.0.3",
|
||||
"unocss": "^66.7.4",
|
||||
"unocss-preset-scrollbar": "^4.0.0",
|
||||
"unplugin-icons": "^23.0.1",
|
||||
"unplugin-vue-components": "^32.1.0",
|
||||
"unplugin-vue-markdown": "^32.0.0",
|
||||
"vite": "^8.1.3",
|
||||
"vite-plugin-node-polyfills": "^0.28.0",
|
||||
"vite-plugin-pwa": "^1.3.0",
|
||||
"vite-plugin-wasm": "^3.6.0",
|
||||
"vite-svg-loader": "^5.1.1",
|
||||
"vitest": "^4.1.11",
|
||||
"vue-i18n-extract": "^2.0.7",
|
||||
"workbox-build": "^7.4.1",
|
||||
"workbox-window": "^7.4.1",
|
||||
"zx": "^8.8.5"
|
||||
},
|
||||
"pnpm": {
|
||||
"overrides": {
|
||||
"xlsx": "https://cdn.sheetjs.com/xlsx-0.20.2/xlsx-0.20.2.tgz"
|
||||
"devEngines": {
|
||||
"packageManager": {
|
||||
"name": "pnpm",
|
||||
"version": "12.6.0",
|
||||
"onFail": "download"
|
||||
},
|
||||
"runtime": {
|
||||
"name": "node",
|
||||
"version": "24.x",
|
||||
"onFail": "download"
|
||||
}
|
||||
},
|
||||
"engines": {
|
||||
"node": "24.x"
|
||||
},
|
||||
"scarfSettings": {
|
||||
"enabled": false
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
diff --git a/dist/src/shell/webParser.js b/dist/src/shell/webParser.js
|
||||
index 1b3bab1a4789e926fbe07786188d1dcddf655489..39ac6d3a8f4f5ac007d4dc1e2da272e2cc5b9088 100644
|
||||
--- a/dist/src/shell/webParser.js
|
||||
+++ b/dist/src/shell/webParser.js
|
||||
@@ -2,13 +2,17 @@
|
||||
import Parser from "web-tree-sitter";
|
||||
// NOTE: top-level await requires Safari 15+
|
||||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#browser_compatibility
|
||||
+// The wasm files are served next to the app (it-tools ships them in public/). Resolve them
|
||||
+// against the document's <base href> rather than the domain root, so the app also works
|
||||
+// when it is served from a subfolder.
|
||||
+const appBase = document.querySelector("base")?.href ?? new URL("/", location.href).href;
|
||||
await Parser.init({
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
locateFile(scriptName, scriptDirectory) {
|
||||
- return "/" + scriptName;
|
||||
+ return new URL(scriptName, appBase).href;
|
||||
},
|
||||
});
|
||||
-const Bash = await Parser.Language.load("/tree-sitter-bash.wasm");
|
||||
+const Bash = await Parser.Language.load(new URL("tree-sitter-bash.wasm", appBase).href);
|
||||
const parser = new Parser();
|
||||
parser.setLanguage(Bash);
|
||||
export default parser;
|
||||
@@ -0,0 +1,8 @@
|
||||
diff --git a/dist/index.js b/dist/index.js
|
||||
index ba40e7a8d4d4d56621fa467ff0f6fdc3a30e0fa6..9136f03df05cb2ff615e43fa2df4e32b784465ba 100644
|
||||
--- a/dist/index.js
|
||||
+++ b/dist/index.js
|
||||
@@ -1 +1 @@
|
||||
-var A=void 0!==A?A:{},r=!!globalThis.window,v=!!globalThis.WorkerGlobalScope,t=(globalThis.process?.versions?.node&&globalThis.process?.type,globalThis.document?.currentScript?.src);v&&(t=self.location.href);if(r||v){try{new URL(".",t).href}catch{}v&&(A=>{var r=new XMLHttpRequest;return r.open("GET",A,!1),r.responseType="arraybuffer",r.send(null),new Uint8Array(r.response)}),async A=>{var r=await fetch(A,{credentials:"same-origin"});if(r.ok)return r.arrayBuffer();throw new Error(r.status+" : "+r.url)}}var j,f,b,n=console.log.bind(console),e=console.error.bind(console),o=!1;var a,k=!1;function s(){var A=y.buffer;j=new Int8Array(A),new Int16Array(A),f=new Uint8Array(A),new Uint16Array(A),new Int32Array(A),b=new Uint32Array(A),new Float32Array(A),new Float64Array(A),new BigInt64Array(A),new BigUint64Array(A)}function x(r){throw A.onAbort?.(r),e(r="Aborted("+r+")"),o=!0,r+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(r)}function i(){return function(A){for(var r,v=0,t=A.length,j=new Uint8Array(t);v<t;++v)r=A.charCodeAt(v),j[v]=~r>>8&r;return j}('\0asm\0\0\0``\0`\0```\0`\0`\0`\0`\0\0`~~`|``~`~```||`\0`\r||+aa\0ab\0\fac\0ad\0\tae\0\0af\0\rag\0\0ZY\0\0\0\0\0\0\0\0\0\0\t\0\0\0\0\0\b\b\0\v\n\0\0\n\0\0\0\0\tp11\bA°Ô\vh\0i\0_j\0^k\0Al\0@m\0?\t6\0A\v0(]\\>[ZYXW>VUTS8RQPONMLKJDFIEGHC\'B\'\f\nËÿY\f\b@ \0E\r\0 \0A\bk" \0Ak(\0"Axq"\0j!@ Aq\r\0 AqE\r (\0"k"AÄÐ\0(\0I\r \0 j!\0@@@AÈÐ\0(\0 G@ (\f! AÿM@ (\b"G\rA´Ð\0A´Ð\0(\0A~ Avwq6\0\f\v (! G@ (\b" 6\f 6\b\f\v (" Aj ("E\r Aj\v!@ ! "Aj! ("\r\0 Aj! ("\r\0\v A\x006\0\f\v ("AqAG\rA¼Ð\0 \x006\0 A~q6 \0Ar6 \x006\0\v 6\f 6\b\f\vA\0!\v E\r\0@ ("At"(äR F@ AäÒ\0j 6\0 \rA¸Ð\0A¸Ð\0(\0A~ wq6\0\f\v@ (F@ 6\f\v 6\v E\r\v 6 ("@ 6 6\v ("E\r\0 6 6\v O\r\0 ("AqE\r\0@@@@ AqE@AÌÐ\0(\0 F@AÌÐ\0 6\0AÀÐ\0AÀÐ\0(\0 \0j"\x006\0 \0Ar6 AÈÐ\0(\0G\rA¼Ð\0A\x006\0AÈÐ\0A\x006\0\vAÈÐ\0(\0" F@AÈÐ\0 6\0A¼Ð\0A¼Ð\0(\0 \0j"\x006\0 \0Ar6 \0 j \x006\0\v Axq \0j!\0 (\f! AÿM@ (\b" F@A´Ð\0A´Ð\0(\0A~ Avwq6\0\f\v 6\f 6\b\f\v (!\b G@ (\b" 6\f 6\b\f\v (" Aj ("E\r Aj\v!@ ! "Aj! ("\r\0 Aj! ("\r\0\v A\x006\0\f\v A~q6 \0Ar6 \0 j \x006\0\f\vA\0!\v \bE\r\0@ ("At"(äR F@ AäÒ\0j 6\0 \rA¸Ð\0A¸Ð\0(\0A~ wq6\0\f\v@ \b(F@ \b 6\f\v \b 6\v E\r\v \b6 ("@ 6 6\v ("E\r\0 6 6\v \0Ar6 \0 j \x006\0 G\r\0A¼Ð\0 \x006\0\v \0AÿM@ \0AøqAÜÐ\0j!A´Ð\0(\0"A \0Avt"\0qE@A´Ð\0 \0 r6\0 \f\v (\b\v!\0 6\b \0 6\f 6\f \x006\b\vA! \0AÿÿÿM@ \0A& \0A\bvg"kvAq AtrA>s!\v 6 B\x007 AtAäÒ\0j!@A¸Ð\0(\0"A t"qE@A¸Ð\0 r6\0 6\0A!A\b\f\v \0A AvkA\0 AGt! (\0!@ "(Axq \0F\r Av! At! Aqj"("\r\0\v 6A! !A\b\v!\0 "\f\v (\b" 6\f 6\bA!\0A\b!A\0\v! j 6\0 6\f \0 j 6\0AÔÐ\0AÔÐ\0(\0Ak"\0A \06\0\v\vY~@A\0 \0E\r\0 \0 ~"§" \0 rAI\r\0A B §\v"\f"\0E\r\0 \0Ak-\0\0AqE\r\0 \0A\0 \v \0\v\0 \0-\0\0A qE@ \0"\v\vj#\0Ak"$\0@ L\r\0 AÀq\r\0 k"A AI" E@@ \0 A\t Ak"AÿK\r\0\v\v \0 \t\v Aj$\0\v8\0 l! (LA\0H@ \0 "\f\v \0 "\v"\0F@\v \0 n\v»(\v#\0Ak"\n$\0@@@@@@@@@@ \0AôM@A´Ð\0(\0"A \0A\vjAøq \0A\vI"Av"\0v"Aq@@ AsAq \0j"At"AÜÐ\0j"\0 (äP"(\b"F@A´Ð\0 A~ wq6\0\f\v \x006\f \0 6\b\v A\bj!\0 Ar6 j" (Ar6\f\v\v A¼Ð\0(\0"\bM\r @@A \0t"A\0 kr \0tqh"At"AÜÐ\0j" (äP"\0(\b"F@A´Ð\0 A~ wq"6\0\f\v 6\f 6\b\v \0 Ar6 \0 j" k"Ar6 \0 j 6\0 \b@ \bAxqAÜÐ\0j!AÈÐ\0(\0! A \bAvt"qE@A´Ð\0 r6\0 \f\v (\b\v! 6\b 6\f 6\f 6\b\v \0A\bj!\0AÈÐ\0 6\0A¼Ð\0 6\0\f\v\vA¸Ð\0(\0"\vE\r \vhAt(äR"(Axq k! !@@ ("\0E@ ("\0E\r\v \0(Axq k" I"! \0 ! \0!\f\v\v (!\t (\f"\0G@ (\b" \x006\f \0 6\b\f\n\v (" Aj ("E\r Aj\v!@ ! "\0Aj! \0("\r\0 \0Aj! \0("\r\0\v A\x006\0\f\t\vA! \0A¿K\r\0 \0A\vj"Axq!A¸Ð\0(\0"E\r\0A!\bA\0 k! \0AôÿÿM@ A& A\bvg"\0kvAq \0AtkA>j!\b\v@@@ \bAt(äR"E@A\0!\0\f\vA\0!\0 A \bAvkA\0 \bAGt!@@ (Axq k" O\r\0 ! "\r\0A\0! !\0\f\v \0 (" AvAqj("F \0 !\0 At! \r\0\v\v \0 rE@A\0!A \bt"\0A\0 \0kr
Line truncated
|
||||
\ No newline at end of file
|
||||
+var A,I,g=void 0!==g?g:{},C=Object.assign({},g),Q=(A,I)=>{throw I},B="object"==typeof window,E="function"==typeof importScripts,i="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,D="";if(i){var o=require("fs"),w=require("path");D=E?w.dirname(D)+"/":__dirname+"/",A=(A,I)=>(A=b(A)?new URL(A):w.normalize(A),o.readFileSync(A,I?void 0:"utf8")),I=I=>{var g=A(I,!0);return g.buffer||(g=new Uint8Array(g)),g},(A,I,g,C=!0)=>{A=b(A)?new URL(A):w.normalize(A),o.readFile(A,C?void 0:"utf8",((A,Q)=>{A?g(A):I(C?Q.buffer:Q)}))},!g.thisProgram&&process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),process.argv.slice(2),"undefined"!=typeof module&&(module.exports=g),process.on("uncaughtException",(A=>{if(!("unwind"===A||A instanceof l||A.context instanceof l))throw A})),Q=(A,I)=>{throw process.exitCode=A,I},g.inspect=()=>"[Emscripten Module object]"}else(B||E)&&(E?D=self.location.href:"undefined"!=typeof document&&document.currentScript&&(D=document.currentScript.src),D=0!==D.indexOf("blob:")?D.substr(0,D.replace(/[?#].*/,"").lastIndexOf("/")+1):"",A=A=>{var I=new XMLHttpRequest;return I.open("GET",A,!1),I.send(null),I.responseText},E&&(I=A=>{var I=new XMLHttpRequest;return I.open("GET",A,!1),I.responseType="arraybuffer",I.send(null),new Uint8Array(I.response)}),(A,I,g)=>{var C=new XMLHttpRequest;C.open("GET",A,!0),C.responseType="arraybuffer",C.onload=()=>{200==C.status||0==C.status&&C.response?I(C.response):g()},C.onerror=g,C.send(null)},A=>document.title=A);var N,s=g.print||console.log.bind(console),h=g.printErr||console.error.bind(console);Object.assign(g,C),C=null,g.arguments&&g.arguments,g.thisProgram&&g.thisProgram,g.quit&&(Q=g.quit),g.wasmBinary&&(N=g.wasmBinary);var y,R=g.noExitRuntime||!0;"object"!=typeof WebAssembly&&L("no native wasm support detected");var F,G,M,a=!1;function K(){var A=y.buffer;g.HEAP8=F=new Int8Array(A),g.HEAP16=new Int16Array(A),g.HEAPU8=G=new Uint8Array(A),g.HEAPU16=new Uint16Array(A),g.HEAP32=new Int32Array(A),g.HEAPU32=M=new Uint32Array(A),g.HEAPF32=new Float32Array(A),g.HEAPF64=new Float64Array(A)}var S=[],t=[],r=[],c=!1;var Y=0,U=null,J=null;function L(A){throw g.onAbort&&g.onAbort(A),h(A="Aborted("+A+")"),a=!0,1,A+=". Build with -sASSERTIONS for more info.",new WebAssembly.RuntimeError(A)}var k,H,e="data:application/octet-stream;base64,";function n(A){return A.startsWith("data:application/octet-stream;base64,")}function b(A){return A.startsWith("file://")}function d(A){if(A==k&&N)return new Uint8Array(N);var g=function(A){if(!n(A))return;return function(A){if(void 0!==i&&i){var I=Buffer.from(A,"base64");return new Uint8Array(I.buffer,I.byteOffset,I.length)}try{for(var g=atob(A),C=new Uint8Array(g.length),Q=0;Q<g.length;++Q)C[Q]=g.charCodeAt(Q);return C}catch(A){throw new Error("Converting base64 string to bytes failed.")}}(A.slice(e.length))}(A);if(g)return g;if(I)return I(A);throw"both async and sync fetching of the wasm failed"}function q(A,I,g){return function(A){return Promise.resolve().then((()=>d(A)))}(A).then((A=>WebAssembly.instantiate(A,I))).then((A=>A)).then(g,(A=>{h(`failed to asynchronously prepare wasm: ${A}`),L(A)}))}function l(A){this.name="ExitStatus",this.message=`Program terminated with exit(${A})`,this.status=A}n(k="data:application/octet-stream;base64,AGFzbQEAAAABigETYAF/AX9gAX8AYAJ/fwBgAn9/AX9gA39/fwF/YAR/f39/AGADf39/AGAAAGAFf39/f38AYAZ/f39/f38AYAN/fn8BfmAFf39/f38Bf2AGf3x/f39/AX9gBH9/f38Bf2ACfn8Bf2AHf39/f39/fwF/YAJ8fwF8YAABf2AMf39/f39/f39/fH98AX8CMQgBYQFhAAYBYQFiAA0BYQFjAAEBYQFkAAsBYQFlAAcBYQFmAAABYQFnAAABYQFoAAYDX14BAwYECAUABgAEBAEADgAGAAIEAAUBBQALAAQCAQAHAgcBAgAFBgMCAgMDBAUADxADBAMCAQEDAgABEQAAAAAACQkICAEFBQQABAIMCgQAAAoAAwMCAAADAwIABwMSBAUBcAE2NgUHAQGAAoCAAgYIAX8BQaDVBAsHKQoBaQIAAWoAKAFrAGUBbABkAW0AYwFuAQABbwBCAXAAQQFxAEABcgBHCTsBAEEBCzUbGytMGxNiYR0TYF9eE11cHRNbWllYOVdWVVRTUlETUBsTHR1PSEpOE0lLTRNFE0QTRilDKQq09QJe9QsBB38CQCAARQ0AIABBCGsiAiAAQQRrKAIAIgFBeHEiAGohBQJAIAFBAXENACABQQNxRQ0BIAIgAigCACIBayICQbTRACgCAEkNASAAIAFqIQACQAJAQbjRACgCACACRwRAIAFB/wFNBEAgAUEDdiEEIAIoAgwiASACKAIIIgNGBEBBpNEAQaTRACgCAEF+IAR3cTYCAAwFCyADIAE2AgwgASADNgIIDAQLIAIoAhghBiACIAIoAgwiAUcEQCACKAIIIgMgATYCDCABIAM2AggMAwsgAkEUaiIEKAIAIgNFBEAgAigCECIDRQ0CIAJBEGohBAsDQCAEIQcgAyIBQRRqIgQoAgAiAw0AIAFBEGohBCABKAIQIgMNAAsgB0EANgIADAILIAUoAgQiAUEDcUEDRw0CQazRACAANgIAIAUgAUF+cTYCBCACIABBAXI2AgQgBSAANgIADwtBACEBCyAGRQ0AAkAgAigCHCIDQQJ0QdTTAGoiBCgCACACRgRAIAQgATYCACABDQFBqNEAQajRACgCAEF+IAN3cTYCAAwCCyAGQRBBFCAGKAIQIAJGG2ogATYCACABRQ0BCyABIAY2AhggAigCECIDBEAgASADNgIQIAMgATYCGAsgAigCFCIDRQ0AIAEgAzYCFCADIAE2AhgLIAIgBU8NACAFKAIEIgFBAXFFDQACQAJAAkACQCABQQJxRQRAQbzRACgCACAFRgRAQbzRACACNgIAQbDRAEGw0QAoAgAgAGoiADYCACACIABBAXI2AgQgAkG40QAoAgBHDQZBrNEAQQA2AgBBuNEAQQA2AgAPC0G40QAoAgAgBUYEQEG40QAgAjYCAEGs0QBBrNEAKAIAIABqIgA2AgAgAiAAQQFyNgIEIAAgAmogADYCAA8LIAFBeHEgAGohACABQf8BTQRAIAFBA3YhBCAFKAIMIgEgBSgCCCIDRgRAQaTRAEGk0QAoAgBBfiAEd3E2AgAMBQsgAyABNgIMIAEgAzYCCAwECyAFKAIYIQYgBSAFKAIMIgFHBEBBtNEAKAIAGiAFKAIIIgMgATYCDCABIAM2AggMAwsgBUEUaiIEKAIAIgNFBEAgBSgCECIDRQ0CIAVB
Line truncated
|
||||
@@ -0,0 +1,765 @@
|
||||
diff --git a/lib/asn1-validator.js b/lib/asn1-validator.js
|
||||
index 2be328501e93e5f0e38245b6ee797bfc426dfcaa..4deb9f17e77b9c1a602fc6e034012b4c1ccf7e52 100644
|
||||
--- a/lib/asn1-validator.js
|
||||
+++ b/lib/asn1-validator.js
|
||||
@@ -17,7 +17,6 @@ exports.privateKeyValidator = {
|
||||
name: 'PrivateKeyInfo.version',
|
||||
tagClass: asn1.Class.UNIVERSAL,
|
||||
type: asn1.Type.INTEGER,
|
||||
- constructed: false,
|
||||
capture: 'privateKeyVersion'
|
||||
}, {
|
||||
// privateKeyAlgorithm
|
||||
@@ -29,7 +28,6 @@ exports.privateKeyValidator = {
|
||||
name: 'AlgorithmIdentifier.algorithm',
|
||||
tagClass: asn1.Class.UNIVERSAL,
|
||||
type: asn1.Type.OID,
|
||||
- constructed: false,
|
||||
capture: 'privateKeyOid'
|
||||
}]
|
||||
}, {
|
||||
@@ -37,12 +35,11 @@ exports.privateKeyValidator = {
|
||||
name: 'PrivateKeyInfo',
|
||||
tagClass: asn1.Class.UNIVERSAL,
|
||||
type: asn1.Type.OCTETSTRING,
|
||||
- constructed: false,
|
||||
capture: 'privateKey'
|
||||
}]
|
||||
};
|
||||
|
||||
-exports.publicKeyValidator = {
|
||||
+exports.publicKeyInfoValidator = {
|
||||
name: 'SubjectPublicKeyInfo',
|
||||
tagClass: asn1.Class.UNIVERSAL,
|
||||
type: asn1.Type.SEQUENCE,
|
||||
@@ -54,38 +51,24 @@ exports.publicKeyValidator = {
|
||||
type: asn1.Type.SEQUENCE,
|
||||
constructed: true,
|
||||
value: [{
|
||||
- name: 'AlgorithmIdentifier.algorithm',
|
||||
- tagClass: asn1.Class.UNIVERSAL,
|
||||
- type: asn1.Type.OID,
|
||||
- constructed: false,
|
||||
- capture: 'publicKeyOid'
|
||||
- }]
|
||||
- },
|
||||
- // capture group for ed25519PublicKey
|
||||
- {
|
||||
- tagClass: asn1.Class.UNIVERSAL,
|
||||
- type: asn1.Type.BITSTRING,
|
||||
- constructed: false,
|
||||
- composed: true,
|
||||
- captureBitStringValue: 'ed25519PublicKey'
|
||||
- }
|
||||
- // FIXME: this is capture group for rsaPublicKey, use it in this API or
|
||||
- // discard?
|
||||
- /* {
|
||||
+ name: 'AlgorithmIdentifier.algorithm',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.OID,
|
||||
+ capture: 'publicKeyOid'
|
||||
+ },
|
||||
+ {
|
||||
+ name: 'AlgorithmIdentifier.parameters',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ optional: true,
|
||||
+ captureAsn1: 'parameters',
|
||||
+ }]
|
||||
+ }, {
|
||||
// subjectPublicKey
|
||||
name: 'SubjectPublicKeyInfo.subjectPublicKey',
|
||||
tagClass: asn1.Class.UNIVERSAL,
|
||||
type: asn1.Type.BITSTRING,
|
||||
constructed: false,
|
||||
- value: [{
|
||||
- // RSAPublicKey
|
||||
- name: 'SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey',
|
||||
- tagClass: asn1.Class.UNIVERSAL,
|
||||
- type: asn1.Type.SEQUENCE,
|
||||
- constructed: true,
|
||||
- optional: true,
|
||||
- captureAsn1: 'rsaPublicKey'
|
||||
- }]
|
||||
- } */
|
||||
- ]
|
||||
+ captureAsn1: 'subjectPublicKey', // used by RSA
|
||||
+ captureBitStringValue: 'subjectPublicKeyRaw', // used by ECDSA and ED25519
|
||||
+ }]
|
||||
};
|
||||
diff --git a/lib/ecdsa.js b/lib/ecdsa.js
|
||||
new file mode 100644
|
||||
index 0000000000000000000000000000000000000000..6373401341a319edcd5360d3002cab2de4b81942
|
||||
--- /dev/null
|
||||
+++ b/lib/ecdsa.js
|
||||
@@ -0,0 +1,390 @@
|
||||
+/**
|
||||
+ * JavaScript implementation of ECDSA.
|
||||
+ *
|
||||
+ * Copyright (c) 2021 HAMANO Tsukasa <hamano@osstech.co.jp>
|
||||
+ *
|
||||
+ * This implementation is based on the elliptic
|
||||
+ *
|
||||
+ * https://github.com/indutny/elliptic/
|
||||
+ */
|
||||
+var forge = require('./forge');
|
||||
+require('./asn1');
|
||||
+require('./jsbn');
|
||||
+require('./random');
|
||||
+require('./sha512');
|
||||
+var util = require('./util');
|
||||
+var elliptic = require('elliptic');
|
||||
+var asn1Validator = require('./asn1-validator');
|
||||
+var publicKeyInfoValidator = asn1Validator.publicKeyInfoValidator;
|
||||
+var privateKeyValidator = asn1Validator.privateKeyValidator;
|
||||
+var asn1 = forge.asn1;
|
||||
+
|
||||
+if(typeof BigInteger === 'undefined') {
|
||||
+ var BigInteger = forge.jsbn.BigInteger;
|
||||
+}
|
||||
+
|
||||
+var ByteBuffer = util.ByteBuffer;
|
||||
+var NativeBuffer = typeof Buffer === 'undefined' ? Uint8Array : Buffer;
|
||||
+
|
||||
+forge.pki = forge.pki || {};
|
||||
+module.exports = forge.pki.ecdsa = forge.ecdsa = forge.ecdsa || {};
|
||||
+var ecdsa = forge.ecdsa;
|
||||
+
|
||||
+ecdsa.constants = {};
|
||||
+
|
||||
+/*
|
||||
+ * Supported namedCurve listed here:
|
||||
+ * https://github.com/indutny/elliptic/blob/master/lib/elliptic/curves.js
|
||||
+ */
|
||||
+ecdsa.supportedCueves = [
|
||||
+ 'p192', // secp192r1, prime192v1
|
||||
+ 'p256', // secp256r1, prime256v1
|
||||
+ 'p224', // secp224r1,
|
||||
+ 'p384', // secp384r1
|
||||
+ 'p521', // secp521r1
|
||||
+ 'secp256k1',// secp256k1
|
||||
+];
|
||||
+
|
||||
+/*
|
||||
+ * RCF5915: Elliptic Curve Private Key Format
|
||||
+ * https://datatracker.ietf.org/doc/html/rfc5915
|
||||
+ *
|
||||
+ * ECPrivateKey ::= SEQUENCE {
|
||||
+ * version INTEGER { ecPrivkeyVer1(1) } (ecPrivkeyVer1),
|
||||
+ * privateKey OCTET STRING,
|
||||
+ * parameters [0] ECParameters {{ NamedCurve }} OPTIONAL,
|
||||
+ * publicKey [1] BIT STRING OPTIONAL
|
||||
+ * }
|
||||
+ */
|
||||
+var ecPrivateKeyValidator = {
|
||||
+ name: 'ECPrivateKey',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.SEQUENCE,
|
||||
+ constructed: true,
|
||||
+ value: [{
|
||||
+ name: 'ECPrivateKey.version',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.INTEGER,
|
||||
+ capture: 'version',
|
||||
+ }, {
|
||||
+ name: 'ECPrivateKey.privateKey',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.OCTETSTRING,
|
||||
+ capture: 'privateKey',
|
||||
+ }, {
|
||||
+ tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
||||
+ type: 0x0,
|
||||
+ optional: true,
|
||||
+ value: [{
|
||||
+ name: 'ECPrivateKey.parameters',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.OID,
|
||||
+ captureAsn1: 'parameters',
|
||||
+ }],
|
||||
+ }, {
|
||||
+ tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
||||
+ type: 0x1,
|
||||
+ optional: true,
|
||||
+ value: [{
|
||||
+ name: 'ECPrivateKey.publicKey',
|
||||
+ type: asn1.Type.BITSTRING,
|
||||
+ captureAsn1: 'publicKey',
|
||||
+ }],
|
||||
+ }]
|
||||
+};
|
||||
+
|
||||
+var ecSpecifiedCurveValidator = {
|
||||
+ name: 'SpecifiedCurve',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.SEQUENCE,
|
||||
+ constructed: true,
|
||||
+ value: [{
|
||||
+ name: 'SpecifiedCurveVersion',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.INTEGER,
|
||||
+ capture: 'version',
|
||||
+ }, {
|
||||
+ name: 'SpecifiedCurve.FieldID',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.SEQUENCE,
|
||||
+ constructed: true,
|
||||
+ value: [{
|
||||
+ name: 'SpecifiedCurve.FieldID.fieldType',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.OID,
|
||||
+ capture: 'fieldType',
|
||||
+ }, {
|
||||
+ name: 'SpecifiedCurve.FieldID.prime',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.INTEGER,
|
||||
+ capture: 'p',
|
||||
+ }]
|
||||
+ }, {
|
||||
+ name: 'SpecifiedCurve.Curve',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.SEQUENCE,
|
||||
+ constructed: true,
|
||||
+ value: [{
|
||||
+ name: 'SpecifiedCurve.Curve.a',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.OCTETSTRING,
|
||||
+ capture: 'a',
|
||||
+ }, {
|
||||
+ name: 'SpecifiedCurve.Curve.b',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.OCTETSTRING,
|
||||
+ capture: 'b',
|
||||
+ }]
|
||||
+ }, {
|
||||
+ name: 'SpecifiedCurve.Generator',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.OCTETSTRING,
|
||||
+ capture: 'g',
|
||||
+ }, {
|
||||
+ name: 'SpecifiedCurve.Order',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.INTEGER,
|
||||
+ capture: 'n',
|
||||
+ }, {
|
||||
+ name: 'SpecifiedCurve.Confactor',
|
||||
+ tagClass: asn1.Class.UNIVERSAL,
|
||||
+ type: asn1.Type.INTEGER,
|
||||
+ capture: 'c',
|
||||
+ optional: true
|
||||
+ }]
|
||||
+};
|
||||
+
|
||||
+ecdsa.generateKeyPair = function(options) {
|
||||
+ options = options || {};
|
||||
+ var curveName = options.name || 'p256';
|
||||
+ var seed = options.seed;
|
||||
+ var errors = [];
|
||||
+
|
||||
+ if (!(ecdsa.supportedCueves.includes(curveName))) {
|
||||
+ var error = new Error('unsupported curveName: ' + curveName);
|
||||
+ error.errors = errors;
|
||||
+ throw error;
|
||||
+ }
|
||||
+ var curve = elliptic.curves[curveName];
|
||||
+ var ec = new elliptic.ec(curve);
|
||||
+ ec.curveName = curveName;
|
||||
+ var kp = ec.genKeyPair({
|
||||
+ entropy: seed,
|
||||
+ });
|
||||
+ var privateKey = kp.getPrivate();
|
||||
+ var publicKey = kp.getPublic();
|
||||
+ return {
|
||||
+ publicKey: new ecdsa.ECPublicKey(kp.ec, publicKey),
|
||||
+ privateKey: new ecdsa.ECPrivateKey(kp.ec, privateKey)
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+/**
|
||||
+ * Converts a ECPrivateKey to an ASN.1 representation.
|
||||
+ *
|
||||
+ * @param key the ECPrivateKey.
|
||||
+ *
|
||||
+ * @return the ASN.1 representation of an ECPrivateKey.
|
||||
+ */
|
||||
+ecdsa.privateKeyToAsn1 = function(key, options) {
|
||||
+ return key.toAsn1(options);
|
||||
+};
|
||||
+
|
||||
+var ECPublicKey = function(ec, publicKey) {
|
||||
+ this._ec = ec;
|
||||
+ this._publicKey = publicKey;
|
||||
+};
|
||||
+
|
||||
+ecdsa.ECPublicKey = ECPublicKey;
|
||||
+
|
||||
+/**
|
||||
+ * Converts a public key from a RFC8410 ASN.1 encoding.
|
||||
+ *
|
||||
+ * @param obj - The asn1 representation of a public key.
|
||||
+ *
|
||||
+ * @return {ECPublicKey} - ECPublicKey object.
|
||||
+ */
|
||||
+ECPublicKey.fromAsn1 = function(obj) {
|
||||
+ var capture = {};
|
||||
+ var errors = [];
|
||||
+ if(!forge.asn1.validate(obj, publicKeyInfoValidator, capture, errors)) {
|
||||
+ var error = new Error('Cannot read PublicKeyInfo ASN.1 object.');
|
||||
+ error.errors = errors;
|
||||
+ throw error;
|
||||
+ }
|
||||
+ var publicKey = capture.subjectPublicKeyRaw;
|
||||
+ var params = capture.parameters;
|
||||
+ var curve;
|
||||
+ var curveName;
|
||||
+ if(params && params.type === forge.asn1.Type.OID) {
|
||||
+ var oid = forge.asn1.derToOid(params.value);
|
||||
+ curveName = forge.oids[oid];
|
||||
+ if(!ecdsa.supportedCueves.includes(curveName)) {
|
||||
+ var error = new Error('Unsupported curveName: ' + curveName);
|
||||
+ error.errors = errors;
|
||||
+ throw error;
|
||||
+ }
|
||||
+ curve = elliptic.curves[curveName];
|
||||
+ } else if(params && params.type === forge.asn1.Type.SEQUENCE) {
|
||||
+ var capture = {};
|
||||
+ if(!forge.asn1.validate(params, ecSpecifiedCurveValidator, capture, errors)) {
|
||||
+ var error = new Error('Cannot read specified curve ASN.1 object.');
|
||||
+ error.errors = errors;
|
||||
+ throw error;
|
||||
+ }
|
||||
+ var options = {
|
||||
+ p: util.bytesToHex(capture.p),
|
||||
+ a: util.bytesToHex(capture.a),
|
||||
+ b: util.bytesToHex(capture.b),
|
||||
+ n: util.bytesToHex(capture.n),
|
||||
+ };
|
||||
+ var _curve = new elliptic.curve.short(options);
|
||||
+ var g = _curve.decodePoint(util.bytesToHex(capture.g), 'hex');
|
||||
+ curve = {
|
||||
+ curve: _curve,
|
||||
+ n: _curve.n,
|
||||
+ g: g
|
||||
+ };
|
||||
+ } else {
|
||||
+ var error = new Error('no ECParameters');
|
||||
+ error.errors = errors;
|
||||
+ throw error;
|
||||
+ }
|
||||
+ var ec = new elliptic.ec({curve: curve});
|
||||
+ ec.curveName = curveName;
|
||||
+ var kp = ec.keyFromPublic(publicKey);
|
||||
+ return new ECPublicKey(ec, kp.getPublic());
|
||||
+};
|
||||
+
|
||||
+ECPublicKey.prototype.verify = function(msg, signature) {
|
||||
+ var hexMsg = util.bytesToHex(msg);
|
||||
+ var hexSignature = util.bytesToHex(signature);
|
||||
+ return this._ec.verify(hexMsg, hexSignature, this._publicKey, 'hex');
|
||||
+};
|
||||
+
|
||||
+ECPublicKey.prototype.toString = function() {
|
||||
+ return this._publicKey.encode('hex');
|
||||
+};
|
||||
+
|
||||
+ECPublicKey.prototype.getBytes = function() {
|
||||
+ return String.fromCharCode.apply(null, this._publicKey.encode());
|
||||
+};
|
||||
+
|
||||
+ECPublicKey.prototype.toAsn1 = function(options) {
|
||||
+ var curveOID = forge.oids[this._ec.curveName];
|
||||
+ if (!curveOID) {
|
||||
+ var error = new Error('unsupported namedCurve or specifiedCurve.');
|
||||
+ error.errors = errors;
|
||||
+ throw error;
|
||||
+ }
|
||||
+
|
||||
+ var obj = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, []);
|
||||
+ var aid = asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
||||
+ asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
||||
+ asn1.oidToDer(forge.oids['ecPublicKey']).getBytes()),
|
||||
+ asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
||||
+ asn1.oidToDer(curveOID).getBytes())]);
|
||||
+ obj.value.push(aid);
|
||||
+ obj.value.push(
|
||||
+ asn1.create(asn1.Class.UNIVERSAL, asn1.Type.BITSTRING, false,
|
||||
+ "\0" + this.getBytes()));
|
||||
+ return obj;
|
||||
+};
|
||||
+
|
||||
+ECPublicKey.prototype.toDer = function() {
|
||||
+ return asn1.toDer(this.toAsn1()).getBytes();
|
||||
+};
|
||||
+
|
||||
+ECPublicKey.prototype.toPem = function() {
|
||||
+ return '-----BEGIN PUBLIC KEY-----\n' +
|
||||
+ util.encode64(this.toDer(), 64) +
|
||||
+ '\n-----END PUBLIC KEY-----\n';
|
||||
+};
|
||||
+
|
||||
+
|
||||
+var ECPrivateKey = function(ec, privateKey) {
|
||||
+ this._ec = ec;
|
||||
+ this._privateKey = privateKey;
|
||||
+};
|
||||
+ecdsa.ECPrivateKey = ECPrivateKey;
|
||||
+
|
||||
+/**
|
||||
+ * Converts a private key from a RFC5915 ASN.1 Object.
|
||||
+ *
|
||||
+ * @param obj - The asn1 representation of a private key.
|
||||
+ *
|
||||
+ * @returns {Object} obj - The ASN.1 key object.
|
||||
+ * @returns {ECPrivateKey} ECPrivateKey object.
|
||||
+ */
|
||||
+ECPrivateKey.fromAsn1 = function(obj) {
|
||||
+ var capture = {};
|
||||
+ var errors = [];
|
||||
+ var valid = forge.asn1.validate(obj, ecPrivateKeyValidator, capture, errors);
|
||||
+ if(!valid) {
|
||||
+ var error = new Error('Invalid ECPrivateKey object.');
|
||||
+ error.errors = errors;
|
||||
+ throw error;
|
||||
+ }
|
||||
+ var params;
|
||||
+ if (!capture.parameters) {
|
||||
+ var error = new Error('no ECPrivateKey.parameters.');
|
||||
+ error.errors = errors;
|
||||
+ throw error;
|
||||
+ }
|
||||
+ var oid = asn1.derToOid(capture.parameters.value)
|
||||
+ var curveName = forge.oids[oid];
|
||||
+ if (!ecdsa.supportedCueves.includes(curveName)) {
|
||||
+ var error = new Error('unsupported curveName: ' + curveName);
|
||||
+ error.errors = errors;
|
||||
+ throw error;
|
||||
+ }
|
||||
+ curve = elliptic.curves[curveName];
|
||||
+ var ec = new elliptic.ec({curve: curve});
|
||||
+ ec.curveName = curveName;
|
||||
+ var kp = ec.keyFromPrivate(util.bytesToHex(capture.privateKey));
|
||||
+ return new ECPrivateKey(ec, kp.getPrivate());
|
||||
+};
|
||||
+
|
||||
+ECPrivateKey.prototype.sign = function(msg) {
|
||||
+ var hexMsg = util.bytesToHex(msg);
|
||||
+ var signature = this._ec.sign(hexMsg, this._privateKey);
|
||||
+ return String.fromCharCode.apply(null, signature.toDER());
|
||||
+};
|
||||
+
|
||||
+ECPrivateKey.prototype.toString = function() {
|
||||
+ return this._privateKey.toString('hex');
|
||||
+};
|
||||
+
|
||||
+ECPrivateKey.prototype.getBytes = function() {
|
||||
+ return String.fromCharCode.apply(null, this._privateKey.toArray());
|
||||
+};
|
||||
+
|
||||
+ECPrivateKey.prototype.toAsn1 = function(options) {
|
||||
+ var curveOID = forge.oids[this._ec.curveName];
|
||||
+ if (!curveOID) {
|
||||
+ var error = new Error('unsupported namedCurve');
|
||||
+ error.errors = errors;
|
||||
+ throw error;
|
||||
+ }
|
||||
+ return asn1.create(asn1.Class.UNIVERSAL, asn1.Type.SEQUENCE, true, [
|
||||
+ asn1.create(asn1.Class.UNIVERSAL,
|
||||
+ asn1.Type.INTEGER, false,
|
||||
+ asn1.integerToDer(1).getBytes()),
|
||||
+ asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OCTETSTRING, false,
|
||||
+ this.getBytes()),
|
||||
+ asn1.create(asn1.Class.CONTEXT_SPECIFIC, 0x0, true, [
|
||||
+ asn1.create(asn1.Class.UNIVERSAL, asn1.Type.OID, false,
|
||||
+ asn1.oidToDer(curveOID).getBytes())
|
||||
+ ]),
|
||||
+ ]);
|
||||
+};
|
||||
+
|
||||
+ECPrivateKey.prototype.toDer = function(options) {
|
||||
+ return asn1.toDer(this.toAsn1(options)).getBytes();
|
||||
+};
|
||||
+
|
||||
+ECPrivateKey.prototype.toPem = function(options) {
|
||||
+ return '-----BEGIN EC PRIVATE KEY-----\n' +
|
||||
+ util.encode64(this.toDer(options), 64) +
|
||||
+ '\n-----END EC PRIVATE KEY-----\n';
|
||||
+};
|
||||
diff --git a/lib/ed25519.js b/lib/ed25519.js
|
||||
index 87eb7097aff14b2a26103c10ce6777a672e0a0e8..31c48254c6112625a581945029f541269e74b46e 100644
|
||||
--- a/lib/ed25519.js
|
||||
+++ b/lib/ed25519.js
|
||||
@@ -114,7 +114,7 @@ ed25519.publicKeyFromAsn1 = function(obj) {
|
||||
// get SubjectPublicKeyInfo
|
||||
var capture = {};
|
||||
var errors = [];
|
||||
- var valid = forge.asn1.validate(obj, publicKeyValidator, capture, errors);
|
||||
+ var valid = forge.asn1.validate(obj, publicKeyInfoValidator, capture, errors);
|
||||
if(!valid) {
|
||||
var error = new Error('Invalid Key.');
|
||||
error.errors = errors;
|
||||
@@ -126,7 +126,7 @@ ed25519.publicKeyFromAsn1 = function(obj) {
|
||||
throw new Error('Invalid OID "' + oid + '"; OID must be "' +
|
||||
ed25519Oid + '".');
|
||||
}
|
||||
- var publicKeyBytes = capture.ed25519PublicKey;
|
||||
+ var publicKeyBytes = capture.ed25519PublicKeyRaw;
|
||||
if(publicKeyBytes.length !== ed25519.constants.PUBLIC_KEY_BYTE_LENGTH) {
|
||||
throw new Error('Key length is invalid.');
|
||||
}
|
||||
diff --git a/lib/oids.js b/lib/oids.js
|
||||
index 817ed1be2001cf1640df2b59cc4822cb01877cce..6ead3acf140269037eba6e1e0bd047fccc95167b 100644
|
||||
--- a/lib/oids.js
|
||||
+++ b/lib/oids.js
|
||||
@@ -39,6 +39,18 @@ _IN('1.3.101.112', 'EdDSA25519');
|
||||
|
||||
_IN('1.2.840.10040.4.3', 'dsa-with-sha1');
|
||||
|
||||
+_IN('1.2.840.10045.2.1', 'ecPublicKey');
|
||||
+_IN('1.2.840.10045.4.3.2', 'ecdsa-with-SHA256');
|
||||
+_IN('1.2.840.10045.4.3.3', 'ecdsa-with-SHA384');
|
||||
+_IN('1.2.840.10045.4.3.4', 'ecdsa-with-SHA512');
|
||||
+
|
||||
+_IN('1.2.840.10045.3.1.1', 'p192');
|
||||
+_IN('1.2.840.10045.3.1.7', 'p256');
|
||||
+_IN('1.3.132.0.33', 'p224');
|
||||
+_IN('1.3.132.0.34', 'p384');
|
||||
+_IN('1.3.132.0.35', 'p521');
|
||||
+_IN('1.3.132.0.10', 'secp256k1');
|
||||
+
|
||||
_IN('1.3.14.3.2.7', 'desCBC');
|
||||
|
||||
_IN('1.3.14.3.2.26', 'sha1');
|
||||
@@ -60,6 +72,7 @@ _IN('1.2.840.113549.1.7.3', 'envelopedData');
|
||||
_IN('1.2.840.113549.1.7.4', 'signedAndEnvelopedData');
|
||||
_IN('1.2.840.113549.1.7.5', 'digestedData');
|
||||
_IN('1.2.840.113549.1.7.6', 'encryptedData');
|
||||
+_IN('2.23.136.1.1.1', 'mrtdSignatureData');
|
||||
|
||||
// pkcs#9 oids
|
||||
_IN('1.2.840.113549.1.9.1', 'emailAddress');
|
||||
diff --git a/lib/pkcs7.js b/lib/pkcs7.js
|
||||
index 3a5d845c5d6d62ac9fc6195ee6ef4155ecc0619c..5a773bcce033d69ebdc73d8586c0c2258eb9419b 100644
|
||||
--- a/lib/pkcs7.js
|
||||
+++ b/lib/pkcs7.js
|
||||
@@ -1167,7 +1167,7 @@ function _fromAsn1(msg, obj, validator) {
|
||||
|
||||
// Check contentType, so far we only support (raw) Data.
|
||||
var contentType = asn1.derToOid(capture.contentType);
|
||||
- if(contentType !== forge.pki.oids.data) {
|
||||
+ if(![forge.pki.oids.data, forge.pki.oids.mrtdSignatureData].includes(contentType)) {
|
||||
throw new Error('Unsupported PKCS#7 message. ' +
|
||||
'Only wrapped ContentType Data supported.');
|
||||
}
|
||||
diff --git a/lib/rsa.js b/lib/rsa.js
|
||||
index a4264822b4dcd6dca44ca3e59e410c982eed7183..8cab56a1b776e808f550ded9ef14395fa6304da1 100644
|
||||
--- a/lib/rsa.js
|
||||
+++ b/lib/rsa.js
|
||||
@@ -70,6 +70,10 @@ require('./prime');
|
||||
require('./random');
|
||||
require('./util');
|
||||
|
||||
+var asn1Validator = require('./asn1-validator');
|
||||
+var publicKeyInfoValidator = asn1Validator.publicKeyInfoValidator;
|
||||
+var ecdsa = require('./ecdsa');
|
||||
+
|
||||
if(typeof BigInteger === 'undefined') {
|
||||
var BigInteger = forge.jsbn.BigInteger;
|
||||
}
|
||||
@@ -226,44 +230,6 @@ var rsaPublicKeyValidator = {
|
||||
}]
|
||||
};
|
||||
|
||||
-// validator for an SubjectPublicKeyInfo structure
|
||||
-// Note: Currently only works with an RSA public key
|
||||
-var publicKeyValidator = forge.pki.rsa.publicKeyValidator = {
|
||||
- name: 'SubjectPublicKeyInfo',
|
||||
- tagClass: asn1.Class.UNIVERSAL,
|
||||
- type: asn1.Type.SEQUENCE,
|
||||
- constructed: true,
|
||||
- captureAsn1: 'subjectPublicKeyInfo',
|
||||
- value: [{
|
||||
- name: 'SubjectPublicKeyInfo.AlgorithmIdentifier',
|
||||
- tagClass: asn1.Class.UNIVERSAL,
|
||||
- type: asn1.Type.SEQUENCE,
|
||||
- constructed: true,
|
||||
- value: [{
|
||||
- name: 'AlgorithmIdentifier.algorithm',
|
||||
- tagClass: asn1.Class.UNIVERSAL,
|
||||
- type: asn1.Type.OID,
|
||||
- constructed: false,
|
||||
- capture: 'publicKeyOid'
|
||||
- }]
|
||||
- }, {
|
||||
- // subjectPublicKey
|
||||
- name: 'SubjectPublicKeyInfo.subjectPublicKey',
|
||||
- tagClass: asn1.Class.UNIVERSAL,
|
||||
- type: asn1.Type.BITSTRING,
|
||||
- constructed: false,
|
||||
- value: [{
|
||||
- // RSAPublicKey
|
||||
- name: 'SubjectPublicKeyInfo.subjectPublicKey.RSAPublicKey',
|
||||
- tagClass: asn1.Class.UNIVERSAL,
|
||||
- type: asn1.Type.SEQUENCE,
|
||||
- constructed: true,
|
||||
- optional: true,
|
||||
- captureAsn1: 'rsaPublicKey'
|
||||
- }]
|
||||
- }]
|
||||
-};
|
||||
-
|
||||
// validator for a DigestInfo structure
|
||||
var digestInfoValidator = {
|
||||
name: 'DigestInfo',
|
||||
@@ -1465,36 +1431,29 @@ pki.privateKeyToAsn1 = pki.privateKeyToRSAPrivateKey = function(key) {
|
||||
};
|
||||
|
||||
/**
|
||||
- * Converts a public key from an ASN.1 SubjectPublicKeyInfo or RSAPublicKey.
|
||||
+ * Converts a RSA public key from an ASN.1 SubjectPublicKeyInfo.
|
||||
*
|
||||
- * @param obj the asn1 representation of a SubjectPublicKeyInfo or RSAPublicKey.
|
||||
+ * @param obj the asn1 representation of a SubjectPublicKeyInfo.
|
||||
*
|
||||
* @return the public key.
|
||||
*/
|
||||
-pki.publicKeyFromAsn1 = function(obj) {
|
||||
- // get SubjectPublicKeyInfo
|
||||
+pki.rsa.publicKeyFromAsn1 = function(obj) {
|
||||
+ //var subjectPublicKey = obj.value[1].value[0];
|
||||
var capture = {};
|
||||
var errors = [];
|
||||
- if(asn1.validate(obj, publicKeyValidator, capture, errors)) {
|
||||
- // get oid
|
||||
- var oid = asn1.derToOid(capture.publicKeyOid);
|
||||
- if(oid !== pki.oids.rsaEncryption) {
|
||||
- var error = new Error('Cannot read public key. Unknown OID.');
|
||||
- error.oid = oid;
|
||||
- throw error;
|
||||
- }
|
||||
- obj = capture.rsaPublicKey;
|
||||
+ if(!asn1.validate(obj, publicKeyInfoValidator, capture, errors)) {
|
||||
+ var error = new Error('Cannot read public key. ' +
|
||||
+ 'ASN.1 object does not contain an PublicKeyInfo.');
|
||||
+ error.errors = errors;
|
||||
+ throw error;
|
||||
}
|
||||
-
|
||||
- // get RSA params
|
||||
- errors = [];
|
||||
+ obj = capture.subjectPublicKey.value[0];
|
||||
if(!asn1.validate(obj, rsaPublicKeyValidator, capture, errors)) {
|
||||
var error = new Error('Cannot read public key. ' +
|
||||
- 'ASN.1 object does not contain an RSAPublicKey.');
|
||||
+ 'ASN.1 object does not contain an RSAPublicKey.');
|
||||
error.errors = errors;
|
||||
throw error;
|
||||
}
|
||||
-
|
||||
// FIXME: inefficient, get a BigInteger that uses byte strings
|
||||
var n = forge.util.createBuffer(capture.publicKeyModulus).toHex();
|
||||
var e = forge.util.createBuffer(capture.publicKeyExponent).toHex();
|
||||
@@ -1503,6 +1462,31 @@ pki.publicKeyFromAsn1 = function(obj) {
|
||||
return pki.setRsaPublicKey(
|
||||
new BigInteger(n, 16),
|
||||
new BigInteger(e, 16));
|
||||
+}
|
||||
+
|
||||
+/**
|
||||
+ * Converts a public key from an ASN.1 SubjectPublicKeyInfo or RSAPublicKey.
|
||||
+ *
|
||||
+ * @param obj the asn1 representation of a SubjectPublicKeyInfo or RSAPublicKey.
|
||||
+ *
|
||||
+ * @return the public key.
|
||||
+ */
|
||||
+pki.publicKeyFromAsn1 = function(obj) {
|
||||
+ // get SubjectPublicKeyInfo
|
||||
+ var capture = {};
|
||||
+ var errors = [];
|
||||
+ // get oid
|
||||
+ var oid = asn1.derToOid(obj.value[0].value[0].value);
|
||||
+ switch (oid) {
|
||||
+ case pki.oids.rsaEncryption:
|
||||
+ return pki.rsa.publicKeyFromAsn1(obj);
|
||||
+ case pki.oids.ecPublicKey:
|
||||
+ return ecdsa.ECPublicKey.fromAsn1(obj);
|
||||
+ default:
|
||||
+ var error = new Error('Cannot read public key. Unknown OID.');
|
||||
+ error.oid = oid;
|
||||
+ throw error;
|
||||
+ }
|
||||
};
|
||||
|
||||
/**
|
||||
diff --git a/lib/x509.js b/lib/x509.js
|
||||
index b4a4f6d7a4c57bea6d986a733f360a299bd15f5f..ce83d6dec9140d7df79c0e61bfc754df44f907a8 100644
|
||||
--- a/lib/x509.js
|
||||
+++ b/lib/x509.js
|
||||
@@ -144,8 +144,8 @@ _shortNames['E'] = oids['emailAddress'];
|
||||
_shortNames['emailAddress'] = 'E';
|
||||
|
||||
// validator for an SubjectPublicKeyInfo structure
|
||||
-// Note: Currently only works with an RSA public key
|
||||
-var publicKeyValidator = forge.pki.rsa.publicKeyValidator;
|
||||
+var asn1Validator = require('./asn1-validator');
|
||||
+var publicKeyInfoValidator = asn1Validator.publicKeyInfoValidator;
|
||||
|
||||
// validator for an X.509v3 certificate
|
||||
var x509CertificateValidator = {
|
||||
@@ -252,7 +252,7 @@ var x509CertificateValidator = {
|
||||
captureAsn1: 'certSubject'
|
||||
},
|
||||
// SubjectPublicKeyInfo
|
||||
- publicKeyValidator,
|
||||
+ publicKeyInfoValidator,
|
||||
{
|
||||
// issuerUniqueID (optional)
|
||||
name: 'Certificate.TBSCertificate.issuerUniqueID',
|
||||
@@ -427,7 +427,7 @@ var certificationRequestInfoValidator = {
|
||||
captureAsn1: 'certificationRequestInfoSubject'
|
||||
},
|
||||
// SubjectPublicKeyInfo
|
||||
- publicKeyValidator,
|
||||
+ publicKeyInfoValidator,
|
||||
{
|
||||
name: 'CertificationRequestInfo.attributes',
|
||||
tagClass: asn1.Class.CONTEXT_SPECIFIC,
|
||||
@@ -706,13 +706,15 @@ var _createSignatureDigest = function(options) {
|
||||
case 'md5WithRSAEncryption':
|
||||
return forge.md.md5.create();
|
||||
case 'sha256WithRSAEncryption':
|
||||
+ case 'RSASSA-PSS':
|
||||
+ case 'ecdsa-with-SHA256':
|
||||
return forge.md.sha256.create();
|
||||
case 'sha384WithRSAEncryption':
|
||||
+ case 'ecdsa-with-SHA384':
|
||||
return forge.md.sha384.create();
|
||||
case 'sha512WithRSAEncryption':
|
||||
+ case 'ecdsa-with-SHA512':
|
||||
return forge.md.sha512.create();
|
||||
- case 'RSASSA-PSS':
|
||||
- return forge.md.sha256.create();
|
||||
default:
|
||||
var error = new Error(
|
||||
'Could not compute ' + options.type + ' digest. ' +
|
||||
@@ -1312,8 +1314,8 @@ pki.certificateFromAsn1 = function(obj, computeHash) {
|
||||
|
||||
// get oid
|
||||
var oid = asn1.derToOid(capture.publicKeyOid);
|
||||
- if(oid !== pki.oids.rsaEncryption) {
|
||||
- throw new Error('Cannot read public key. OID is not RSA.');
|
||||
+ if(![pki.oids.rsaEncryption, pki.oids.ecPublicKey].includes(oid)) {
|
||||
+ throw new Error('Cannot read public key. publicKeyOid: ' + oid);
|
||||
}
|
||||
|
||||
// create certificate
|
||||
diff --git a/package.json b/package.json
|
||||
index a78076c0f5020f48af7d9bf0b88ef39883374d08..b4d0074930f08c206c6071167cf43e2db0fc477e 100644
|
||||
--- a/package.json
|
||||
+++ b/package.json
|
||||
@@ -119,5 +119,8 @@
|
||||
"buffer": false,
|
||||
"crypto": false,
|
||||
"process": false
|
||||
+ },
|
||||
+ "dependencies": {
|
||||
+ "elliptic": "^6.5.4"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
diff --git a/lib/run-pace.js b/lib/run-pace.js
|
||||
index 2b20a32ff4b5712016dd869a734ff25f730cdb12..9b9b72187e6675db6b295a827f2293950d12a111 100644
|
||||
--- a/lib/run-pace.js
|
||||
+++ b/lib/run-pace.js
|
||||
@@ -119,7 +119,3 @@ function removeTrailingZeroes(number) {
|
||||
function removeLeadingZero(number) {
|
||||
return number.replace(/^0/, "");
|
||||
}
|
||||
-
|
||||
-function zeroPad(number) {
|
||||
- return `0${number}`.slice(-2);
|
||||
-}
|
||||
@@ -1,8 +1,23 @@
|
||||
import { defineConfig, devices } from '@playwright/test';
|
||||
|
||||
const isCI = !!process.env.CI;
|
||||
const baseUrl = process.env.BASE_URL || 'http://localhost:5050';
|
||||
const useWebServer = process.env.NO_WEB_SERVER !== 'true';
|
||||
|
||||
// `pnpm preview` serves the production build here, and Playwright starts it
|
||||
// itself. Point E2E_BASE_URL somewhere else -- a running `pnpm dev`, a deployed
|
||||
// preview -- and that is taken as "I am supplying the server", so Playwright
|
||||
// leaves the lifecycle alone.
|
||||
//
|
||||
// Deliberately not BASE_URL: vite.config.ts already reads that as the app's
|
||||
// base path (`/it-tools/`), so sharing the name would make one value mean two
|
||||
// incompatible things.
|
||||
const previewUrl = 'http://localhost:5050';
|
||||
const baseUrl = process.env.E2E_BASE_URL || previewUrl;
|
||||
const useWebServer = baseUrl === previewUrl;
|
||||
|
||||
// What the browser sees is pinned by `timezoneId` below, and the specs do no
|
||||
// date maths of their own, so today this changes nothing. It keeps the runner
|
||||
// deterministic if a spec ever does compute a date on the node side.
|
||||
process.env.TZ = 'UTC';
|
||||
|
||||
/**
|
||||
* See https://playwright.dev/docs/test-configuration.
|
||||
@@ -10,14 +25,23 @@ const useWebServer = process.env.NO_WEB_SERVER !== 'true';
|
||||
export default defineConfig({
|
||||
testDir: './src',
|
||||
testMatch: /\.e2e\.(spec\.)?ts$/,
|
||||
/* First paint of heavy lazy-loaded tools can exceed the 5s default on
|
||||
slow CI browsers (webkit especially). Three workers share a runner, so
|
||||
first paint is slower still and CI needs more headroom than a local run.
|
||||
The test timeout has to stay above the expect timeout, otherwise it fires
|
||||
first and reports a timeout instead of the assertion that actually failed. */
|
||||
timeout: isCI ? 60_000 : 30_000,
|
||||
expect: { timeout: isCI ? 30_000 : 15_000 },
|
||||
/* Run tests in files in parallel */
|
||||
fullyParallel: true,
|
||||
/* Fail the build on CI if you accidentally left test.only in the source code. */
|
||||
forbidOnly: isCI,
|
||||
/* Retry on CI only */
|
||||
retries: isCI ? 2 : 0,
|
||||
/* Opt out of parallel tests on CI. */
|
||||
workers: isCI ? 1 : undefined,
|
||||
/* CI runs one browser per job on a 4-core runner. Three workers saturates it
|
||||
(measured ~95% busy); a fourth adds nothing and leaves no core for the
|
||||
preview server. */
|
||||
workers: isCI ? 3 : undefined,
|
||||
/* Reporter to use. See https://playwright.dev/docs/test-reporters */
|
||||
reporter: 'html',
|
||||
/* Shared settings for all the projects below. See https://playwright.dev/docs/api/class-testoptions. */
|
||||
@@ -53,13 +77,16 @@ export default defineConfig({
|
||||
|
||||
/* Run your local dev server before starting the tests */
|
||||
|
||||
...(useWebServer
|
||||
&& {
|
||||
webServer: {
|
||||
command: 'npm run preview',
|
||||
url: 'http://localhost:5050',
|
||||
reuseExistingServer: !isCI,
|
||||
},
|
||||
}
|
||||
),
|
||||
...(useWebServer && {
|
||||
webServer: {
|
||||
command: 'pnpm preview',
|
||||
url: previewUrl,
|
||||
reuseExistingServer: !isCI,
|
||||
// pnpm 12 runs the script in its own process group, so Playwright's
|
||||
// default SIGKILL to the `pnpm preview` group misses vite: it survives,
|
||||
// holds the output pipes open, and the run never exits. pnpm forwards
|
||||
// SIGTERM to the script, so stop it that way.
|
||||
gracefulShutdown: { signal: 'SIGTERM', timeout: 5_000 },
|
||||
},
|
||||
}),
|
||||
});
|
||||
@@ -0,0 +1,64 @@
|
||||
# The xlsx override below points the graph at the SheetJS CDN tarball, because
|
||||
# the npm registry version is stale (0.18.5) and carries known vulnerabilities.
|
||||
# Only this package depends on xlsx now, so pnpm's default protection against
|
||||
# URL tarballs in subdependencies can stay enabled.
|
||||
|
||||
overrides:
|
||||
'@vueuse/shared': 13.9.0
|
||||
# Native-only transitives of webcrack / @huggingface/transformers.
|
||||
# The browser app aliases both to an empty module in vite.config.ts,
|
||||
# so stub them out entirely (saves ~225 MB of node_modules).
|
||||
isolated-vm: file:./stubs/empty-stub
|
||||
onnxruntime-node: file:./stubs/empty-stub
|
||||
elliptic: ^6.6.1
|
||||
# @boxyhq/saml20 pins 0.9.10 exactly, which upstream deprecated for "critical
|
||||
# issues"; 0.9.11 is the patched release of that same line.
|
||||
'@xmldom/xmldom@0.9.10': 0.9.11
|
||||
# @it-tools/bip39 pins ^0.9.0, whose Node fallback uses eval("require('crypto')")
|
||||
# and triggers rolldown EVAL build warnings; 0.11.x dropped the eval.
|
||||
js-sha256: ^0.11.1
|
||||
xlsx: https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz
|
||||
|
||||
patchedDependencies:
|
||||
node-forge@1.4.0: patches/node-forge@1.4.0.patch
|
||||
esm-potrace-wasm: patches/esm-potrace-wasm.patch
|
||||
run-pace: patches/run-pace.patch
|
||||
curlconverter@4.12.0: patches/curlconverter@4.12.0.patch
|
||||
|
||||
# pnpm 11 requires an explicit decision for every dependency build script.
|
||||
# true = script is needed (native binaries / functional postinstall)
|
||||
# false = script is cosmetic (funding banners) or the build is unneeded
|
||||
allowBuilds:
|
||||
'@scarf/scarf': false
|
||||
core-js: false
|
||||
es5-ext: false
|
||||
esbuild: true
|
||||
exifreader: false
|
||||
json-editor-vue: false
|
||||
msgpackr-extract: true
|
||||
protobufjs: false
|
||||
sharp: false
|
||||
tesseract.js: false
|
||||
# Native Node bindings for curlconverter's shell parser. The app only uses
|
||||
# curlconverter in the browser, where its `browser` field swaps in
|
||||
# web-tree-sitter (WASM), so the addon is never loaded. There is no
|
||||
# linux-arm64 prebuild, and compiling it fails against Node 24's C++20 headers.
|
||||
tree-sitter: false
|
||||
tree-sitter-bash: false
|
||||
vue-demi: true
|
||||
|
||||
minimumReleaseAgeExclude:
|
||||
- phin@3.7.1
|
||||
- elliptic@6.6.2
|
||||
- file-type@21.3.1
|
||||
- unhead@2.1.11 || 2.1.13
|
||||
- dompurify@3.3.2 || 3.3.4 || 3.4.0 || 3.4.6 || 3.4.7 || 3.4.8 || 3.4.9 || 3.4.11
|
||||
- protocol-buffers-schema@3.6.1
|
||||
- '@xmldom/xmldom@0.8.14 || 0.9.11'
|
||||
- mathjs@15.2.0
|
||||
- protobufjs@7.5.5 || 7.5.6 || 7.5.8 || 7.6.1 || 7.6.3
|
||||
- underscore@1.13.8
|
||||
- ip-address@10.1.1
|
||||
- uuid@11.1.1
|
||||
- '@iplookup/country-extra@1.0.20260711'
|
||||
- nanoid@6.0.0
|
||||
@@ -0,0 +1,575 @@
|
||||
// Copyright 2018 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
"use strict";
|
||||
|
||||
(() => {
|
||||
const enosys = () => {
|
||||
const err = new Error("not implemented");
|
||||
err.code = "ENOSYS";
|
||||
return err;
|
||||
};
|
||||
|
||||
if (!globalThis.fs) {
|
||||
let outputBuf = "";
|
||||
globalThis.fs = {
|
||||
constants: { O_WRONLY: -1, O_RDWR: -1, O_CREAT: -1, O_TRUNC: -1, O_APPEND: -1, O_EXCL: -1, O_DIRECTORY: -1 }, // unused
|
||||
writeSync(fd, buf) {
|
||||
outputBuf += decoder.decode(buf);
|
||||
const nl = outputBuf.lastIndexOf("\n");
|
||||
if (nl != -1) {
|
||||
console.log(outputBuf.substring(0, nl));
|
||||
outputBuf = outputBuf.substring(nl + 1);
|
||||
}
|
||||
return buf.length;
|
||||
},
|
||||
write(fd, buf, offset, length, position, callback) {
|
||||
if (offset !== 0 || length !== buf.length || position !== null) {
|
||||
callback(enosys());
|
||||
return;
|
||||
}
|
||||
const n = this.writeSync(fd, buf);
|
||||
callback(null, n);
|
||||
},
|
||||
chmod(path, mode, callback) { callback(enosys()); },
|
||||
chown(path, uid, gid, callback) { callback(enosys()); },
|
||||
close(fd, callback) { callback(enosys()); },
|
||||
fchmod(fd, mode, callback) { callback(enosys()); },
|
||||
fchown(fd, uid, gid, callback) { callback(enosys()); },
|
||||
fstat(fd, callback) { callback(enosys()); },
|
||||
fsync(fd, callback) { callback(null); },
|
||||
ftruncate(fd, length, callback) { callback(enosys()); },
|
||||
lchown(path, uid, gid, callback) { callback(enosys()); },
|
||||
link(path, link, callback) { callback(enosys()); },
|
||||
lstat(path, callback) { callback(enosys()); },
|
||||
mkdir(path, perm, callback) { callback(enosys()); },
|
||||
open(path, flags, mode, callback) { callback(enosys()); },
|
||||
read(fd, buffer, offset, length, position, callback) { callback(enosys()); },
|
||||
readdir(path, callback) { callback(enosys()); },
|
||||
readlink(path, callback) { callback(enosys()); },
|
||||
rename(from, to, callback) { callback(enosys()); },
|
||||
rmdir(path, callback) { callback(enosys()); },
|
||||
stat(path, callback) { callback(enosys()); },
|
||||
symlink(path, link, callback) { callback(enosys()); },
|
||||
truncate(path, length, callback) { callback(enosys()); },
|
||||
unlink(path, callback) { callback(enosys()); },
|
||||
utimes(path, atime, mtime, callback) { callback(enosys()); },
|
||||
};
|
||||
}
|
||||
|
||||
if (!globalThis.process) {
|
||||
globalThis.process = {
|
||||
getuid() { return -1; },
|
||||
getgid() { return -1; },
|
||||
geteuid() { return -1; },
|
||||
getegid() { return -1; },
|
||||
getgroups() { throw enosys(); },
|
||||
pid: -1,
|
||||
ppid: -1,
|
||||
umask() { throw enosys(); },
|
||||
cwd() { throw enosys(); },
|
||||
chdir() { throw enosys(); },
|
||||
}
|
||||
}
|
||||
|
||||
if (!globalThis.path) {
|
||||
globalThis.path = {
|
||||
resolve(...pathSegments) {
|
||||
return pathSegments.join("/");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!globalThis.crypto) {
|
||||
throw new Error("globalThis.crypto is not available, polyfill required (crypto.getRandomValues only)");
|
||||
}
|
||||
|
||||
if (!globalThis.performance) {
|
||||
throw new Error("globalThis.performance is not available, polyfill required (performance.now only)");
|
||||
}
|
||||
|
||||
if (!globalThis.TextEncoder) {
|
||||
throw new Error("globalThis.TextEncoder is not available, polyfill required");
|
||||
}
|
||||
|
||||
if (!globalThis.TextDecoder) {
|
||||
throw new Error("globalThis.TextDecoder is not available, polyfill required");
|
||||
}
|
||||
|
||||
const encoder = new TextEncoder("utf-8");
|
||||
const decoder = new TextDecoder("utf-8");
|
||||
|
||||
globalThis.Go = class {
|
||||
constructor() {
|
||||
this.argv = ["js"];
|
||||
this.env = {};
|
||||
this.exit = (code) => {
|
||||
if (code !== 0) {
|
||||
console.warn("exit code:", code);
|
||||
}
|
||||
};
|
||||
this._exitPromise = new Promise((resolve) => {
|
||||
this._resolveExitPromise = resolve;
|
||||
});
|
||||
this._pendingEvent = null;
|
||||
this._scheduledTimeouts = new Map();
|
||||
this._nextCallbackTimeoutID = 1;
|
||||
|
||||
const setInt64 = (addr, v) => {
|
||||
this.mem.setUint32(addr + 0, v, true);
|
||||
this.mem.setUint32(addr + 4, Math.floor(v / 4294967296), true);
|
||||
}
|
||||
|
||||
const setInt32 = (addr, v) => {
|
||||
this.mem.setUint32(addr + 0, v, true);
|
||||
}
|
||||
|
||||
const getInt64 = (addr) => {
|
||||
const low = this.mem.getUint32(addr + 0, true);
|
||||
const high = this.mem.getInt32(addr + 4, true);
|
||||
return low + high * 4294967296;
|
||||
}
|
||||
|
||||
const loadValue = (addr) => {
|
||||
const f = this.mem.getFloat64(addr, true);
|
||||
if (f === 0) {
|
||||
return undefined;
|
||||
}
|
||||
if (!isNaN(f)) {
|
||||
return f;
|
||||
}
|
||||
|
||||
const id = this.mem.getUint32(addr, true);
|
||||
return this._values[id];
|
||||
}
|
||||
|
||||
const storeValue = (addr, v) => {
|
||||
const nanHead = 0x7FF80000;
|
||||
|
||||
if (typeof v === "number" && v !== 0) {
|
||||
if (isNaN(v)) {
|
||||
this.mem.setUint32(addr + 4, nanHead, true);
|
||||
this.mem.setUint32(addr, 0, true);
|
||||
return;
|
||||
}
|
||||
this.mem.setFloat64(addr, v, true);
|
||||
return;
|
||||
}
|
||||
|
||||
if (v === undefined) {
|
||||
this.mem.setFloat64(addr, 0, true);
|
||||
return;
|
||||
}
|
||||
|
||||
let id = this._ids.get(v);
|
||||
if (id === undefined) {
|
||||
id = this._idPool.pop();
|
||||
if (id === undefined) {
|
||||
id = this._values.length;
|
||||
}
|
||||
this._values[id] = v;
|
||||
this._goRefCounts[id] = 0;
|
||||
this._ids.set(v, id);
|
||||
}
|
||||
this._goRefCounts[id]++;
|
||||
let typeFlag = 0;
|
||||
switch (typeof v) {
|
||||
case "object":
|
||||
if (v !== null) {
|
||||
typeFlag = 1;
|
||||
}
|
||||
break;
|
||||
case "string":
|
||||
typeFlag = 2;
|
||||
break;
|
||||
case "symbol":
|
||||
typeFlag = 3;
|
||||
break;
|
||||
case "function":
|
||||
typeFlag = 4;
|
||||
break;
|
||||
}
|
||||
this.mem.setUint32(addr + 4, nanHead | typeFlag, true);
|
||||
this.mem.setUint32(addr, id, true);
|
||||
}
|
||||
|
||||
const loadSlice = (addr) => {
|
||||
const array = getInt64(addr + 0);
|
||||
const len = getInt64(addr + 8);
|
||||
return new Uint8Array(this._inst.exports.mem.buffer, array, len);
|
||||
}
|
||||
|
||||
const loadSliceOfValues = (addr) => {
|
||||
const array = getInt64(addr + 0);
|
||||
const len = getInt64(addr + 8);
|
||||
const a = new Array(len);
|
||||
for (let i = 0; i < len; i++) {
|
||||
a[i] = loadValue(array + i * 8);
|
||||
}
|
||||
return a;
|
||||
}
|
||||
|
||||
const loadString = (addr) => {
|
||||
const saddr = getInt64(addr + 0);
|
||||
const len = getInt64(addr + 8);
|
||||
return decoder.decode(new DataView(this._inst.exports.mem.buffer, saddr, len));
|
||||
}
|
||||
|
||||
const testCallExport = (a, b) => {
|
||||
this._inst.exports.testExport0();
|
||||
return this._inst.exports.testExport(a, b);
|
||||
}
|
||||
|
||||
const timeOrigin = Date.now() - performance.now();
|
||||
this.importObject = {
|
||||
_gotest: {
|
||||
add: (a, b) => a + b,
|
||||
callExport: testCallExport,
|
||||
},
|
||||
gojs: {
|
||||
// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
|
||||
// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
|
||||
// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).
|
||||
// This changes the SP, thus we have to update the SP used by the imported function.
|
||||
|
||||
// func wasmExit(code int32)
|
||||
"runtime.wasmExit": (sp) => {
|
||||
sp >>>= 0;
|
||||
const code = this.mem.getInt32(sp + 8, true);
|
||||
this.exited = true;
|
||||
delete this._inst;
|
||||
delete this._values;
|
||||
delete this._goRefCounts;
|
||||
delete this._ids;
|
||||
delete this._idPool;
|
||||
this.exit(code);
|
||||
},
|
||||
|
||||
// func wasmWrite(fd uintptr, p unsafe.Pointer, n int32)
|
||||
"runtime.wasmWrite": (sp) => {
|
||||
sp >>>= 0;
|
||||
const fd = getInt64(sp + 8);
|
||||
const p = getInt64(sp + 16);
|
||||
const n = this.mem.getInt32(sp + 24, true);
|
||||
fs.writeSync(fd, new Uint8Array(this._inst.exports.mem.buffer, p, n));
|
||||
},
|
||||
|
||||
// func resetMemoryDataView()
|
||||
"runtime.resetMemoryDataView": (sp) => {
|
||||
sp >>>= 0;
|
||||
this.mem = new DataView(this._inst.exports.mem.buffer);
|
||||
},
|
||||
|
||||
// func nanotime1() int64
|
||||
"runtime.nanotime1": (sp) => {
|
||||
sp >>>= 0;
|
||||
setInt64(sp + 8, (timeOrigin + performance.now()) * 1000000);
|
||||
},
|
||||
|
||||
// func walltime() (sec int64, nsec int32)
|
||||
"runtime.walltime": (sp) => {
|
||||
sp >>>= 0;
|
||||
const msec = (new Date).getTime();
|
||||
setInt64(sp + 8, msec / 1000);
|
||||
this.mem.setInt32(sp + 16, (msec % 1000) * 1000000, true);
|
||||
},
|
||||
|
||||
// func scheduleTimeoutEvent(delay int64) int32
|
||||
"runtime.scheduleTimeoutEvent": (sp) => {
|
||||
sp >>>= 0;
|
||||
const id = this._nextCallbackTimeoutID;
|
||||
this._nextCallbackTimeoutID++;
|
||||
this._scheduledTimeouts.set(id, setTimeout(
|
||||
() => {
|
||||
this._resume();
|
||||
while (this._scheduledTimeouts.has(id)) {
|
||||
// for some reason Go failed to register the timeout event, log and try again
|
||||
// (temporary workaround for https://github.com/golang/go/issues/28975)
|
||||
console.warn("scheduleTimeoutEvent: missed timeout event");
|
||||
this._resume();
|
||||
}
|
||||
},
|
||||
getInt64(sp + 8),
|
||||
));
|
||||
this.mem.setInt32(sp + 16, id, true);
|
||||
},
|
||||
|
||||
// func clearTimeoutEvent(id int32)
|
||||
"runtime.clearTimeoutEvent": (sp) => {
|
||||
sp >>>= 0;
|
||||
const id = this.mem.getInt32(sp + 8, true);
|
||||
clearTimeout(this._scheduledTimeouts.get(id));
|
||||
this._scheduledTimeouts.delete(id);
|
||||
},
|
||||
|
||||
// func getRandomData(r []byte)
|
||||
"runtime.getRandomData": (sp) => {
|
||||
sp >>>= 0;
|
||||
crypto.getRandomValues(loadSlice(sp + 8));
|
||||
},
|
||||
|
||||
// func finalizeRef(v ref)
|
||||
"syscall/js.finalizeRef": (sp) => {
|
||||
sp >>>= 0;
|
||||
const id = this.mem.getUint32(sp + 8, true);
|
||||
this._goRefCounts[id]--;
|
||||
if (this._goRefCounts[id] === 0) {
|
||||
const v = this._values[id];
|
||||
this._values[id] = null;
|
||||
this._ids.delete(v);
|
||||
this._idPool.push(id);
|
||||
}
|
||||
},
|
||||
|
||||
// func stringVal(value string) ref
|
||||
"syscall/js.stringVal": (sp) => {
|
||||
sp >>>= 0;
|
||||
storeValue(sp + 24, loadString(sp + 8));
|
||||
},
|
||||
|
||||
// func valueGet(v ref, p string) ref
|
||||
"syscall/js.valueGet": (sp) => {
|
||||
sp >>>= 0;
|
||||
const result = Reflect.get(loadValue(sp + 8), loadString(sp + 16));
|
||||
sp = this._inst.exports.getsp() >>> 0; // see comment above
|
||||
storeValue(sp + 32, result);
|
||||
},
|
||||
|
||||
// func valueSet(v ref, p string, x ref)
|
||||
"syscall/js.valueSet": (sp) => {
|
||||
sp >>>= 0;
|
||||
Reflect.set(loadValue(sp + 8), loadString(sp + 16), loadValue(sp + 32));
|
||||
},
|
||||
|
||||
// func valueDelete(v ref, p string)
|
||||
"syscall/js.valueDelete": (sp) => {
|
||||
sp >>>= 0;
|
||||
Reflect.deleteProperty(loadValue(sp + 8), loadString(sp + 16));
|
||||
},
|
||||
|
||||
// func valueIndex(v ref, i int) ref
|
||||
"syscall/js.valueIndex": (sp) => {
|
||||
sp >>>= 0;
|
||||
storeValue(sp + 24, Reflect.get(loadValue(sp + 8), getInt64(sp + 16)));
|
||||
},
|
||||
|
||||
// valueSetIndex(v ref, i int, x ref)
|
||||
"syscall/js.valueSetIndex": (sp) => {
|
||||
sp >>>= 0;
|
||||
Reflect.set(loadValue(sp + 8), getInt64(sp + 16), loadValue(sp + 24));
|
||||
},
|
||||
|
||||
// func valueCall(v ref, m string, args []ref) (ref, bool)
|
||||
"syscall/js.valueCall": (sp) => {
|
||||
sp >>>= 0;
|
||||
try {
|
||||
const v = loadValue(sp + 8);
|
||||
const m = Reflect.get(v, loadString(sp + 16));
|
||||
const args = loadSliceOfValues(sp + 32);
|
||||
const result = Reflect.apply(m, v, args);
|
||||
sp = this._inst.exports.getsp() >>> 0; // see comment above
|
||||
storeValue(sp + 56, result);
|
||||
this.mem.setUint8(sp + 64, 1);
|
||||
} catch (err) {
|
||||
sp = this._inst.exports.getsp() >>> 0; // see comment above
|
||||
storeValue(sp + 56, err);
|
||||
this.mem.setUint8(sp + 64, 0);
|
||||
}
|
||||
},
|
||||
|
||||
// func valueInvoke(v ref, args []ref) (ref, bool)
|
||||
"syscall/js.valueInvoke": (sp) => {
|
||||
sp >>>= 0;
|
||||
try {
|
||||
const v = loadValue(sp + 8);
|
||||
const args = loadSliceOfValues(sp + 16);
|
||||
const result = Reflect.apply(v, undefined, args);
|
||||
sp = this._inst.exports.getsp() >>> 0; // see comment above
|
||||
storeValue(sp + 40, result);
|
||||
this.mem.setUint8(sp + 48, 1);
|
||||
} catch (err) {
|
||||
sp = this._inst.exports.getsp() >>> 0; // see comment above
|
||||
storeValue(sp + 40, err);
|
||||
this.mem.setUint8(sp + 48, 0);
|
||||
}
|
||||
},
|
||||
|
||||
// func valueNew(v ref, args []ref) (ref, bool)
|
||||
"syscall/js.valueNew": (sp) => {
|
||||
sp >>>= 0;
|
||||
try {
|
||||
const v = loadValue(sp + 8);
|
||||
const args = loadSliceOfValues(sp + 16);
|
||||
const result = Reflect.construct(v, args);
|
||||
sp = this._inst.exports.getsp() >>> 0; // see comment above
|
||||
storeValue(sp + 40, result);
|
||||
this.mem.setUint8(sp + 48, 1);
|
||||
} catch (err) {
|
||||
sp = this._inst.exports.getsp() >>> 0; // see comment above
|
||||
storeValue(sp + 40, err);
|
||||
this.mem.setUint8(sp + 48, 0);
|
||||
}
|
||||
},
|
||||
|
||||
// func valueLength(v ref) int
|
||||
"syscall/js.valueLength": (sp) => {
|
||||
sp >>>= 0;
|
||||
setInt64(sp + 16, parseInt(loadValue(sp + 8).length));
|
||||
},
|
||||
|
||||
// valuePrepareString(v ref) (ref, int)
|
||||
"syscall/js.valuePrepareString": (sp) => {
|
||||
sp >>>= 0;
|
||||
const str = encoder.encode(String(loadValue(sp + 8)));
|
||||
storeValue(sp + 16, str);
|
||||
setInt64(sp + 24, str.length);
|
||||
},
|
||||
|
||||
// valueLoadString(v ref, b []byte)
|
||||
"syscall/js.valueLoadString": (sp) => {
|
||||
sp >>>= 0;
|
||||
const str = loadValue(sp + 8);
|
||||
loadSlice(sp + 16).set(str);
|
||||
},
|
||||
|
||||
// func valueInstanceOf(v ref, t ref) bool
|
||||
"syscall/js.valueInstanceOf": (sp) => {
|
||||
sp >>>= 0;
|
||||
this.mem.setUint8(sp + 24, (loadValue(sp + 8) instanceof loadValue(sp + 16)) ? 1 : 0);
|
||||
},
|
||||
|
||||
// func copyBytesToGo(dst []byte, src ref) (int, bool)
|
||||
"syscall/js.copyBytesToGo": (sp) => {
|
||||
sp >>>= 0;
|
||||
const dst = loadSlice(sp + 8);
|
||||
const src = loadValue(sp + 32);
|
||||
if (!(src instanceof Uint8Array || src instanceof Uint8ClampedArray)) {
|
||||
this.mem.setUint8(sp + 48, 0);
|
||||
return;
|
||||
}
|
||||
const toCopy = src.subarray(0, dst.length);
|
||||
dst.set(toCopy);
|
||||
setInt64(sp + 40, toCopy.length);
|
||||
this.mem.setUint8(sp + 48, 1);
|
||||
},
|
||||
|
||||
// func copyBytesToJS(dst ref, src []byte) (int, bool)
|
||||
"syscall/js.copyBytesToJS": (sp) => {
|
||||
sp >>>= 0;
|
||||
const dst = loadValue(sp + 8);
|
||||
const src = loadSlice(sp + 16);
|
||||
if (!(dst instanceof Uint8Array || dst instanceof Uint8ClampedArray)) {
|
||||
this.mem.setUint8(sp + 48, 0);
|
||||
return;
|
||||
}
|
||||
const toCopy = src.subarray(0, dst.length);
|
||||
dst.set(toCopy);
|
||||
setInt64(sp + 40, toCopy.length);
|
||||
this.mem.setUint8(sp + 48, 1);
|
||||
},
|
||||
|
||||
"debug": (value) => {
|
||||
console.log(value);
|
||||
},
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
async run(instance) {
|
||||
if (!(instance instanceof WebAssembly.Instance)) {
|
||||
throw new Error("Go.run: WebAssembly.Instance expected");
|
||||
}
|
||||
this._inst = instance;
|
||||
this.mem = new DataView(this._inst.exports.mem.buffer);
|
||||
this._values = [ // JS values that Go currently has references to, indexed by reference id
|
||||
NaN,
|
||||
0,
|
||||
null,
|
||||
true,
|
||||
false,
|
||||
globalThis,
|
||||
this,
|
||||
];
|
||||
this._goRefCounts = new Array(this._values.length).fill(Infinity); // number of references that Go has to a JS value, indexed by reference id
|
||||
this._ids = new Map([ // mapping from JS values to reference ids
|
||||
[0, 1],
|
||||
[null, 2],
|
||||
[true, 3],
|
||||
[false, 4],
|
||||
[globalThis, 5],
|
||||
[this, 6],
|
||||
]);
|
||||
this._idPool = []; // unused ids that have been garbage collected
|
||||
this.exited = false; // whether the Go program has exited
|
||||
|
||||
// Pass command line arguments and environment variables to WebAssembly by writing them to the linear memory.
|
||||
let offset = 4096;
|
||||
|
||||
const strPtr = (str) => {
|
||||
const ptr = offset;
|
||||
const bytes = encoder.encode(str + "\0");
|
||||
new Uint8Array(this.mem.buffer, offset, bytes.length).set(bytes);
|
||||
offset += bytes.length;
|
||||
if (offset % 8 !== 0) {
|
||||
offset += 8 - (offset % 8);
|
||||
}
|
||||
return ptr;
|
||||
};
|
||||
|
||||
const argc = this.argv.length;
|
||||
|
||||
const argvPtrs = [];
|
||||
this.argv.forEach((arg) => {
|
||||
argvPtrs.push(strPtr(arg));
|
||||
});
|
||||
argvPtrs.push(0);
|
||||
|
||||
const keys = Object.keys(this.env).sort();
|
||||
keys.forEach((key) => {
|
||||
argvPtrs.push(strPtr(`${key}=${this.env[key]}`));
|
||||
});
|
||||
argvPtrs.push(0);
|
||||
|
||||
const argv = offset;
|
||||
argvPtrs.forEach((ptr) => {
|
||||
this.mem.setUint32(offset, ptr, true);
|
||||
this.mem.setUint32(offset + 4, 0, true);
|
||||
offset += 8;
|
||||
});
|
||||
|
||||
// The linker guarantees global data starts from at least wasmMinDataAddr.
|
||||
// Keep in sync with cmd/link/internal/ld/data.go:wasmMinDataAddr.
|
||||
const wasmMinDataAddr = 4096 + 8192;
|
||||
if (offset >= wasmMinDataAddr) {
|
||||
throw new Error("total length of command line and environment variables exceeds limit");
|
||||
}
|
||||
|
||||
this._inst.exports.run(argc, argv);
|
||||
if (this.exited) {
|
||||
this._resolveExitPromise();
|
||||
}
|
||||
await this._exitPromise;
|
||||
}
|
||||
|
||||
_resume() {
|
||||
if (this.exited) {
|
||||
throw new Error("Go program has already exited");
|
||||
}
|
||||
this._inst.exports.resume();
|
||||
if (this.exited) {
|
||||
this._resolveExitPromise();
|
||||
}
|
||||
}
|
||||
|
||||
_makeFuncWrapper(id) {
|
||||
const go = this;
|
||||
return function () {
|
||||
const event = { id: id, this: this, args: arguments };
|
||||
go._pendingEvent = event;
|
||||
go._resume();
|
||||
return event.result;
|
||||
};
|
||||
}
|
||||
}
|
||||
})();
|
||||
@@ -0,0 +1,41 @@
|
||||
class PinkNoiseProcessor extends AudioWorkletProcessor {
|
||||
b0 = 0;
|
||||
b1 = 0;
|
||||
b2 = 0;
|
||||
b3 = 0;
|
||||
b4 = 0;
|
||||
b5 = 0;
|
||||
b6 = 0;
|
||||
|
||||
process(inputs, outputs) {
|
||||
const output = outputs[0];
|
||||
|
||||
for (const channel of output) {
|
||||
for (let i = 0; i < channel.length; i++) {
|
||||
const white = Math.random() * 2 - 1;
|
||||
|
||||
this.b0 = 0.99886 * this.b0 + white * 0.0555179;
|
||||
|
||||
this.b1 = 0.99332 * this.b1 + white * 0.0750759;
|
||||
|
||||
this.b2 = 0.969 * this.b2 + white * 0.153852;
|
||||
|
||||
this.b3 = 0.8665 * this.b3 + white * 0.3104856;
|
||||
|
||||
this.b4 = 0.55 * this.b4 + white * 0.5329522;
|
||||
|
||||
this.b5 = -0.7616 * this.b5 - white * 0.016898;
|
||||
|
||||
let pink = this.b0 + this.b1 + this.b2 + this.b3 + this.b4 + this.b5 + this.b6 + white * 0.5362;
|
||||
|
||||
this.b6 = white * 0.115926;
|
||||
|
||||
channel[i] = pink * 0.11;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
registerProcessor('pink-noise-processor', PinkNoiseProcessor);
|
||||
@@ -0,0 +1,36 @@
|
||||
class SweepProcessor extends AudioWorkletProcessor {
|
||||
phase = 0;
|
||||
position = 0;
|
||||
|
||||
startFreq = 20;
|
||||
endFreq = 20000;
|
||||
duration = 10;
|
||||
|
||||
process(inputs, outputs) {
|
||||
const output = outputs[0];
|
||||
|
||||
const totalSamples = sampleRate * this.duration;
|
||||
|
||||
for (const channel of output) {
|
||||
for (let i = 0; i < channel.length; i++) {
|
||||
const progress = this.position / totalSamples;
|
||||
|
||||
const freq = this.startFreq * Math.pow(this.endFreq / this.startFreq, progress);
|
||||
|
||||
channel[i] = Math.sin(this.phase) * 0.2;
|
||||
|
||||
this.phase += (2 * Math.PI * freq) / sampleRate;
|
||||
|
||||
this.position++;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.position >= totalSamples) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
registerProcessor('sweep-processor', SweepProcessor);
|
||||
@@ -0,0 +1,49 @@
|
||||
class ToneProcessor extends AudioWorkletProcessor {
|
||||
static get parameterDescriptors() {
|
||||
return [
|
||||
{
|
||||
name: 'frequency',
|
||||
defaultValue: 440,
|
||||
minValue: 20,
|
||||
maxValue: 20000,
|
||||
},
|
||||
{
|
||||
name: 'gain',
|
||||
defaultValue: 0.2,
|
||||
minValue: 0,
|
||||
maxValue: 1,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
phase = 0;
|
||||
|
||||
process(inputs, outputs, parameters) {
|
||||
const output = outputs[0];
|
||||
|
||||
const frequencies = parameters.frequency;
|
||||
const gains = parameters.gain;
|
||||
|
||||
for (let channel = 0; channel < output.length; channel++) {
|
||||
const data = output[channel];
|
||||
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
const frequency = frequencies.length > 1 ? frequencies[i] : frequencies[0];
|
||||
|
||||
const gain = gains.length > 1 ? gains[i] : gains[0];
|
||||
|
||||
data[i] = Math.sin(this.phase) * gain;
|
||||
|
||||
this.phase += (2 * Math.PI * frequency) / sampleRate;
|
||||
|
||||
if (this.phase > Math.PI * 2) {
|
||||
this.phase -= Math.PI * 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
registerProcessor('tone-processor', ToneProcessor);
|
||||
@@ -0,0 +1,15 @@
|
||||
class WhiteNoiseProcessor extends AudioWorkletProcessor {
|
||||
process(inputs, outputs) {
|
||||
const output = outputs[0];
|
||||
|
||||
for (const channel of output) {
|
||||
for (let i = 0; i < channel.length; i++) {
|
||||
channel[i] = Math.random() * 2 - 1;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
registerProcessor('white-noise-processor', WhiteNoiseProcessor);
|
||||
@@ -0,0 +1 @@
|
||||
[]
|
||||
@@ -1,4 +1,4 @@
|
||||
/* TEAM */
|
||||
Developer: Corentin Thomasset
|
||||
Site: https://github.com/sharevb
|
||||
Twitter: @cthmsst
|
||||
Twitter: @sharevb
|
||||
@@ -0,0 +1,117 @@
|
||||
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="100%" viewBox="0 0 512 512" enable-background="new 0 0 512 512" xml:space="preserve">
|
||||
<path fill="#18A058" opacity="1.000000" stroke="none" d="
|
||||
M285.000000,513.000000
|
||||
C266.979095,513.000000 248.958206,513.000000 230.615494,512.644287
|
||||
C229.968979,511.921387 229.716232,511.382812 229.309113,511.211853
|
||||
C218.396698,506.628937 213.003540,498.729675 212.999954,487.251953
|
||||
C212.998291,481.919189 213.069885,476.585052 212.971207,471.254089
|
||||
C212.900787,467.449951 212.103973,464.263245 207.588333,462.976166
|
||||
C197.812027,460.189667 188.161697,456.964111 178.432053,454.009644
|
||||
C174.416306,452.790222 174.210861,451.195892 177.154800,448.277527
|
||||
C193.368622,432.204376 209.452194,415.999878 225.643829,399.904205
|
||||
C228.649826,396.916077 231.776611,394.111877 236.750610,395.911224
|
||||
C239.017761,396.731354 241.623001,397.033478 244.047836,396.930908
|
||||
C256.271179,396.413727 268.584656,396.448700 280.683228,394.878082
|
||||
C308.709534,391.239777 332.460785,378.020538 353.019287,359.258087
|
||||
C368.025909,345.562500 379.164703,328.894348 387.080200,310.008087
|
||||
C397.514709,285.111481 400.190918,259.095978 395.580444,233.039902
|
||||
C388.452637,192.756897 367.372803,160.549133 332.674225,138.356888
|
||||
C306.592529,121.675720 277.948334,114.135246 246.629364,116.773010
|
||||
C233.331314,117.893005 220.561539,120.401459 208.240204,125.109039
|
||||
C174.324066,138.067276 148.734146,160.636047 132.096924,192.952316
|
||||
C124.606049,207.502655 119.021263,222.883041 118.082573,239.389465
|
||||
C117.436966,250.742188 118.060280,262.162384 117.890938,273.549103
|
||||
C117.818344,278.430389 120.050224,283.121490 114.951683,287.920319
|
||||
C98.213287,303.674896 82.262794,320.266083 65.978798,336.504974
|
||||
C64.893883,337.586884 63.552643,338.411804 61.379997,340.090973
|
||||
C57.091328,326.843109 53.126518,314.595673 48.724842,300.998749
|
||||
C40.811443,300.998749 32.375408,301.257568 23.963419,300.918945
|
||||
C16.905138,300.634827 11.062209,297.534576 6.861771,291.627380
|
||||
C5.004858,289.015961 2.959697,286.538361 1.000002,284.000000
|
||||
C1.000000,266.312439 1.000000,248.624878 1.351752,230.620483
|
||||
C2.110438,229.819885 2.644665,229.396179 2.905443,228.843460
|
||||
C7.729964,218.617569 14.869195,212.362228 27.081358,212.855576
|
||||
C34.470955,213.154099 41.917923,212.032501 49.503120,211.538284
|
||||
C49.930244,210.460617 50.472652,209.275940 50.876099,208.045715
|
||||
C54.957413,195.600723 58.443336,182.920807 63.269257,170.772751
|
||||
C66.875496,161.694946 72.310219,153.353683 76.643616,144.543213
|
||||
C77.268799,143.272110 76.875984,140.710388 75.940704,139.598450
|
||||
C71.893585,134.786926 67.613625,130.147751 63.154736,125.710793
|
||||
C52.409088,115.017990 53.175587,99.068611 63.065083,88.529762
|
||||
C71.609055,79.424789 80.590767,70.722450 89.546265,62.014179
|
||||
C97.946587,53.845749 111.478111,52.299988 120.879387,59.132851
|
||||
C127.269226,63.776997 132.789154,69.641991 138.549271,75.117599
|
||||
C141.096039,77.538582 143.340576,78.395378 146.041687,75.498436
|
||||
C146.691711,74.801285 147.627441,74.343666 148.483658,73.869568
|
||||
C167.675156,63.242867 187.640701,54.595615 209.176758,49.855827
|
||||
C210.299286,49.608776 211.774704,47.775528 211.871597,46.582169
|
||||
C212.446533,39.500645 212.726669,32.392342 212.984604,25.288631
|
||||
C213.331390,15.737711 217.675217,8.711089 225.940353,3.966579
|
||||
C227.134415,3.281146 227.988556,2.003553 229.000000,0.999998
|
||||
C247.687561,1.000000 266.375122,1.000000 285.359344,1.336950
|
||||
C286.272583,2.180966 286.854462,2.738805 287.510956,3.187436
|
||||
C296.266235,9.170486 302.408325,16.622066 302.020691,28.003832
|
||||
C301.833649,33.495098 302.148804,39.003735 301.951874,44.494297
|
||||
C301.831512,47.849655 302.857178,49.239353 306.377594,50.148369
|
||||
C327.956940,55.720463 348.893555,62.973309 367.444214,75.796150
|
||||
C370.798370,78.114670 373.444916,77.062447 375.978302,74.521271
|
||||
C379.859924,70.627731 383.743927,66.736534 387.640076,62.857548
|
||||
C398.375732,52.169086 414.620026,52.131424 425.267944,62.769962
|
||||
C434.172485,71.666710 443.086761,80.553810 451.964233,89.477501
|
||||
C459.245544,96.796661 461.926941,109.059235 456.393982,117.669823
|
||||
C451.364594,125.496826 444.546387,132.213898 438.206146,139.135773
|
||||
C436.225037,141.298630 436.083069,142.749924 437.540405,145.062164
|
||||
C439.908752,148.819778 442.059357,152.717621 444.228027,156.597549
|
||||
C453.361237,172.937195 459.384766,190.456528 464.092468,208.502213
|
||||
C464.453613,209.886566 466.388580,211.706345 467.741180,211.842621
|
||||
C474.318298,212.505280 480.963654,213.134338 487.552246,212.891495
|
||||
C497.872620,212.511093 504.715637,217.453522 509.969666,225.663666
|
||||
C510.616699,226.674789 511.972595,227.232300 513.000000,228.000000
|
||||
C513.000000,246.687561 513.000000,265.375122 512.662354,284.359100
|
||||
C511.733185,285.415466 511.016571,286.108582 510.569366,286.945587
|
||||
C505.407562,296.606781 497.500641,301.249237 486.426849,301.091187
|
||||
C479.178955,300.987701 471.918579,301.757996 464.467834,302.147156
|
||||
C459.001740,326.397308 450.286987,349.124634 436.827209,369.930664
|
||||
C436.250122,370.822754 437.111023,373.336243 438.068176,374.414185
|
||||
C443.129181,380.114044 448.515259,385.523651 453.638641,391.169983
|
||||
C461.341797,399.659515 460.459839,415.641815 452.969604,423.440735
|
||||
C444.318268,432.448608 435.314056,441.116486 426.531677,449.999786
|
||||
C413.941711,462.734406 397.257568,460.938751 386.910645,449.494751
|
||||
C383.240326,445.435242 379.091583,441.804901 375.117126,438.025024
|
||||
C372.746674,435.770630 370.486420,435.932892 367.662201,437.755432
|
||||
C355.187897,445.805359 341.869110,452.212799 327.777374,456.885681
|
||||
C319.284332,459.701996 310.640045,462.062256 301.998688,464.646912
|
||||
C301.998688,471.018707 302.134674,477.013062 301.970062,482.999146
|
||||
C301.639496,495.017059 298.419830,505.484009 286.312378,510.981781
|
||||
C285.696442,511.261444 285.429443,512.309631 285.000000,513.000000
|
||||
z"/>
|
||||
<path fill="#1E1E1E" opacity="1.000000" stroke="none" d="
|
||||
M1.000004,456.468628
|
||||
C1.822166,454.797089 2.628374,453.582886 3.469247,452.393158
|
||||
C6.999179,447.398895 9.930220,441.810699 14.169559,437.514587
|
||||
C60.265923,390.800812 106.535835,344.257965 152.881363,297.791077
|
||||
C156.198288,294.465485 156.603577,291.568451 155.325211,287.178467
|
||||
C141.467667,239.591599 161.330902,188.747421 204.424301,164.305359
|
||||
C220.242783,155.333313 237.368484,150.577866 255.422409,150.416046
|
||||
C264.268372,150.336792 273.314178,151.927124 281.942780,154.074677
|
||||
C290.435120,156.188293 293.762177,166.385971 289.236664,173.953033
|
||||
C287.802948,176.350311 285.872772,178.503738 283.921600,180.529770
|
||||
C272.487274,192.402817 260.909668,204.138321 249.516190,216.050156
|
||||
C238.393982,227.678391 238.816269,247.758820 249.284225,259.941101
|
||||
C264.351624,277.476074 288.225739,275.449402 301.992401,260.722168
|
||||
C312.778595,249.183380 324.529144,238.540146 335.951752,227.604050
|
||||
C345.195679,218.753845 358.541260,222.312363 361.014587,234.815887
|
||||
C365.302612,256.493622 363.763580,277.758209 354.910248,298.393768
|
||||
C345.507751,320.309265 330.715363,337.234406 310.032440,348.956696
|
||||
C283.600494,363.937286 255.641647,366.796692 226.573334,358.503540
|
||||
C222.005630,357.200348 219.181458,358.174500 216.019226,361.360992
|
||||
C184.680542,392.939728 153.300262,424.477997 121.775734,455.871094
|
||||
C106.087929,471.493469 90.260460,486.987579 74.092552,502.108154
|
||||
C69.576103,506.332062 63.622486,509.019257 58.164070,512.705688
|
||||
C49.645767,513.000000 41.291534,513.000000 32.304932,512.705200
|
||||
C30.146564,511.452087 28.703566,510.314148 27.081211,509.564240
|
||||
C15.867707,504.380951 8.051239,496.012604 3.304708,484.657959
|
||||
C2.756540,483.346649 1.778662,482.214966 1.000009,481.000000
|
||||
C1.000000,472.979095 1.000000,464.958191 1.000004,456.468628
|
||||
z"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 7.6 KiB |
@@ -0,0 +1 @@
|
||||
{}
|
||||
@@ -0,0 +1,5 @@
|
||||
.custom-tooltip{--bs-tooltip-bg: var(--bs-danger) !important;--bs-tooltip-color: var(--bs-white) !important;--bs-tooltip-opacity: 1 !important}/*!
|
||||
* Bootstrap v5.3.8 (https://getbootstrap.com/)
|
||||
* Copyright 2011-2025 The Bootstrap Authors
|
||||
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
||||
*/:root,[data-bs-theme=light]{--bs-blue: #0d6efd;--bs-indigo: #6610f2;--bs-purple: #6f42c1;--bs-pink: #d63384;--bs-red: #dc3545;--bs-orange: #fd7e14;--bs-yellow: #ffc107;--bs-green: #198754;--bs-teal: #20c997;--bs-cyan: #0dcaf0;--bs-black: #000;--bs-white: #fff;--bs-gray: #6c757d;--bs-gray-dark: #343a40;--bs-gray-100: #f8f9fa;--bs-gray-200: #e9ecef;--bs-gray-300: #dee2e6;--bs-gray-400: #ced4da;--bs-gray-500: #adb5bd;--bs-gray-600: #6c757d;--bs-gray-700: #495057;--bs-gray-800: #343a40;--bs-gray-900: #212529;--bs-primary: #0d6efd;--bs-secondary: #6c757d;--bs-success: #198754;--bs-info: #0dcaf0;--bs-warning: #ffc107;--bs-danger: #dc3545;--bs-light: #f8f9fa;--bs-dark: #212529;--bs-primary-rgb: 13, 110, 253;--bs-secondary-rgb: 108, 117, 125;--bs-success-rgb: 25, 135, 84;--bs-info-rgb: 13, 202, 240;--bs-warning-rgb: 255, 193, 7;--bs-danger-rgb: 220, 53, 69;--bs-light-rgb: 248, 249, 250;--bs-dark-rgb: 33, 37, 41;--bs-primary-text-emphasis: #052c65;--bs-secondary-text-emphasis: #2b2f32;--bs-success-text-emphasis: #0a3622;--bs-info-text-emphasis: #055160;--bs-warning-text-emphasis: #664d03;--bs-danger-text-emphasis: #58151c;--bs-light-text-emphasis: #495057;--bs-dark-text-emphasis: #495057;--bs-primary-bg-subtle: #cfe2ff;--bs-secondary-bg-subtle: #e2e3e5;--bs-success-bg-subtle: #d1e7dd;--bs-info-bg-subtle: #cff4fc;--bs-warning-bg-subtle: #fff3cd;--bs-danger-bg-subtle: #f8d7da;--bs-light-bg-subtle: #fcfcfd;--bs-dark-bg-subtle: #ced4da;--bs-primary-border-subtle: #9ec5fe;--bs-secondary-border-subtle: #c4c8cb;--bs-success-border-subtle: #a3cfbb;--bs-info-border-subtle: #9eeaf9;--bs-warning-border-subtle: #ffe69c;--bs-danger-border-subtle: #f1aeb5;--bs-light-border-subtle: #e9ecef;--bs-dark-border-subtle: #adb5bd;--bs-white-rgb: 255, 255, 255;--bs-black-rgb: 0, 0, 0;--bs-font-sans-serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));--bs-body-font-family: var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight: 400;--bs-body-line-height: 1.5;--bs-body-color: #212529;--bs-body-color-rgb: 33, 37, 41;--bs-body-bg: #fff;--bs-body-bg-rgb: 255, 255, 255;--bs-emphasis-color: #000;--bs-emphasis-color-rgb: 0, 0, 0;--bs-secondary-color: rgba(33, 37, 41, 0.75);--bs-secondary-color-rgb: 33, 37, 41;--bs-secondary-bg: #e9ecef;--bs-secondary-bg-rgb: 233, 236, 239;--bs-tertiary-color: rgba(33, 37, 41, 0.5);--bs-tertiary-color-rgb: 33, 37, 41;--bs-tertiary-bg: #f8f9fa;--bs-tertiary-bg-rgb: 248, 249, 250;--bs-heading-color: inherit;--bs-link-color: #0d6efd;--bs-link-color-rgb: 13, 110, 253;--bs-link-decoration: underline;--bs-link-hover-color: #0a58ca;--bs-link-hover-color-rgb: 10, 88, 202;--bs-code-color: #d63384;--bs-highlight-color: #212529;--bs-highlight-bg: #fff3cd;--bs-border-width: 1px;--bs-border-style: solid;--bs-border-color: #dee2e6;--bs-border-color-translucent: rgba(0, 0, 0, 0.175);--bs-border-radius: 0.375rem;--bs-border-radius-sm: 0.25rem;--bs-border-radius-lg: 0.5rem;--bs-border-radius-xl: 1rem;--bs-border-radius-xxl: 2rem;--bs-border-radius-2xl: var(--bs-border-radius-xxl);--bs-border-radius-pill: 50rem;--bs-box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);--bs-box-shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);--bs-box-shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);--bs-box-shadow-inset: inset 0 1px 2px rgba(0, 0, 0, 0.075);--bs-focus-ring-width: 0.25rem;--bs-focus-ring-opacity: 0.25;--bs-focus-ring-color: rgba(13, 110, 253, 0.25);--bs-form-valid-color: #198754;--bs-form-valid-border-color: #198754;--bs-form-invalid-color: #dc3545;--bs-form-invalid-border-color: #dc3545}[data-bs-theme=dark]{color-scheme:dark;--bs-body-color: #dee2e6;--bs-body-color-rgb: 222, 226, 230;--bs-body-bg: #212529;--bs-body-bg-rgb: 33, 37, 41;--bs-emphasis-color: #fff;--bs-emphasis-color-rgb: 255, 255, 255;--bs-secondary-color: rgba(222, 226, 230, 0.75);--bs-secondary-color-rgb: 222, 226, 230;--bs-secondary-bg: #343a40;--bs-secondary-bg-rgb: 52, 58, 64;--bs-tertiary-color: rgba(222, 226, 230, 0.5);--bs-tertiary-color-rgb: 222, 226, 230;--bs-tertiary-bg: #2b3035;--bs-tertiary-bg-rgb: 43, 48, 53;--bs-primary-text-emphasis: #6ea8fe;--bs-secondary-text-emphasis: #a7acb1;--bs-success-text-emphasis: #75b798;--bs-info-text-emphasis: #6edff6;--bs-warning-text-emphasis: #ffda6a;--bs-danger-text-emphasis: #ea868f;--bs-light-text-emphasis: #f8f9fa;--bs-dark-text-emphasis: #dee2e6;--bs-primary-bg-subtle: #031633;--bs-secondary-bg-subtle: #161719;--bs-success-bg-subtle: #051b11;--bs-info-bg-subtle: #032830;--bs-warning-bg-subtle: #332701;--bs-danger-bg-subtle: #2c0b0e;--bs-light-bg-subtle: #343a40;--bs-dark-bg-subtle: #1a1d20;--bs-primary-border-subtle: #084298;--bs-secondary-border-subtle: #41464b;--bs-suLine truncated
|
||||
@@ -0,0 +1 @@
|
||||
{"version":3,"sourceRoot":"","sources":["../../src/scss/custom.scss","../../node_modules/bootstrap/scss/mixins/_banner.scss","../../node_modules/bootstrap/scss/_root.scss","../../node_modules/bootstrap/scss/vendor/_rfs.scss","../../node_modules/bootstrap/scss/mixins/_color-mode.scss","../../node_modules/bootstrap/scss/_reboot.scss","../../node_modules/bootstrap/scss/_variables.scss","../../node_modules/bootstrap/scss/mixins/_border-radius.scss","../../node_modules/bootstrap/scss/_type.scss","../../node_modules/bootstrap/scss/mixins/_lists.scss","../../node_modules/bootstrap/scss/_images.scss","../../node_modules/bootstrap/scss/mixins/_image.scss","../../node_modules/bootstrap/scss/_containers.scss","../../node_modules/bootstrap/scss/mixins/_container.scss","../../node_modules/bootstrap/scss/mixins/_breakpoints.scss","../../node_modules/bootstrap/scss/_grid.scss","../../node_modules/bootstrap/scss/mixins/_grid.scss","../../node_modules/bootstrap/scss/_tables.scss","../../node_modules/bootstrap/scss/mixins/_table-variants.scss","../../node_modules/bootstrap/scss/forms/_labels.scss","../../node_modules/bootstrap/scss/forms/_form-text.scss","../../node_modules/bootstrap/scss/forms/_form-control.scss","../../node_modules/bootstrap/scss/mixins/_transition.scss","../../node_modules/bootstrap/scss/mixins/_gradients.scss","../../node_modules/bootstrap/scss/forms/_form-select.scss","../../node_modules/bootstrap/scss/forms/_form-check.scss","../../node_modules/bootstrap/scss/forms/_form-range.scss","../../node_modules/bootstrap/scss/forms/_floating-labels.scss","../../node_modules/bootstrap/scss/forms/_input-group.scss","../../node_modules/bootstrap/scss/mixins/_forms.scss","../../node_modules/bootstrap/scss/_buttons.scss","../../node_modules/bootstrap/scss/mixins/_buttons.scss","../../node_modules/bootstrap/scss/_transitions.scss","../../node_modules/bootstrap/scss/_dropdown.scss","../../node_modules/bootstrap/scss/mixins/_caret.scss","../../node_modules/bootstrap/scss/_button-group.scss","../../node_modules/bootstrap/scss/_nav.scss","../../node_modules/bootstrap/scss/_navbar.scss","../../node_modules/bootstrap/scss/_card.scss","../../node_modules/bootstrap/scss/_accordion.scss","../../node_modules/bootstrap/scss/_breadcrumb.scss","../../node_modules/bootstrap/scss/_pagination.scss","../../node_modules/bootstrap/scss/mixins/_pagination.scss","../../node_modules/bootstrap/scss/_badge.scss","../../node_modules/bootstrap/scss/_alert.scss","../../node_modules/bootstrap/scss/_progress.scss","../../node_modules/bootstrap/scss/_list-group.scss","../../node_modules/bootstrap/scss/_close.scss","../../node_modules/bootstrap/scss/_toasts.scss","../../node_modules/bootstrap/scss/_modal.scss","../../node_modules/bootstrap/scss/mixins/_backdrop.scss","../../node_modules/bootstrap/scss/_tooltip.scss","../../node_modules/bootstrap/scss/mixins/_reset-text.scss","../../node_modules/bootstrap/scss/_popover.scss","../../node_modules/bootstrap/scss/_carousel.scss","../../node_modules/bootstrap/scss/mixins/_clearfix.scss","../../node_modules/bootstrap/scss/_spinners.scss","../../node_modules/bootstrap/scss/_offcanvas.scss","../../node_modules/bootstrap/scss/_placeholders.scss","../../node_modules/bootstrap/scss/helpers/_color-bg.scss","../../node_modules/bootstrap/scss/helpers/_colored-links.scss","../../node_modules/bootstrap/scss/helpers/_focus-ring.scss","../../node_modules/bootstrap/scss/helpers/_icon-link.scss","../../node_modules/bootstrap/scss/helpers/_ratio.scss","../../node_modules/bootstrap/scss/helpers/_position.scss","../../node_modules/bootstrap/scss/helpers/_stacks.scss","../../node_modules/bootstrap/scss/helpers/_visually-hidden.scss","../../node_modules/bootstrap/scss/mixins/_visually-hidden.scss","../../node_modules/bootstrap/scss/helpers/_stretched-link.scss","../../node_modules/bootstrap/scss/helpers/_text-truncation.scss","../../node_modules/bootstrap/scss/mixins/_text-truncate.scss","../../node_modules/bootstrap/scss/helpers/_vr.scss","../../node_modules/bootstrap/scss/mixins/_utilities.scss","../../node_modules/bootstrap/scss/utilities/_api.scss"],"names":[],"mappings":"CAoBA,gBACE,6CACA,+CACA,mCCtBA;AAAA;AAAA;AAAA;AAAA,GCDF,4BASI,mRAIA,+MAIA,yKAIA,8OAIA,yRAIA,yPAIA,yRAGF,8BACA,wBAMA,sNACA,0GACA,0FAOA,iDC2OI,oBALI,KDpOR,2BACA,2BAKA,yBACA,gCACA,mBACA,gCAEA,0BACA,iCAEA,6CACA,qCACA,2BACA,qCAEA,2CACA,oCACA,0BACA,oCAGA,4BAEA,yBACA,kCACA,gCAEA,+BACA,uCAMA,yBACA,8BACA,2BAGA,uBACA,yBACA,2BACA,oDAEA,6BACA,+BACA,8BACA,4BACA,6BACA,oDACA,+BAGA,mDACA,4DACA,qDACA,4DAIA,+BACA,8BACA,gDAIA,+BACA,sCACA,iCACA,wCEhHE,qBFsHA,kBAGA,yBACA,mCACA,sBACA,6BAEA,0BACA,uCAEA,gDACA,wCACA,2BACA,kCAEA,8CACA,uCACA,0BACA,iCAGE,yRAIA,yPAIA,yRAGF,4BAEA,yBACA,+BACA,mCACA,yCAEA,yBACA,8BACA,2BAEA,2BACA,yDAEA,+BACA,sCACA,iCACA,wCGxKJ,qBAGE,sBAeE,8CANJ,MAOM,wBAcN,KACE,SACA,uCF6OI,UALI,yBEtOR,uCACA,uCACA,2BACA,qCACA,mCACA,8BACA,0CASF,GACE,cACA,MCmnB4B,QDlnB5B,SACA,wCACA,QCynB4B,ID/mB9B,0CACE,aACA,cCwjB4B,MDrjB5B,YCwjB4B,IDvjB5B,YCwjB4B,IDvjB5B,8BAGF,OFuMQ,iCLine truncated
|
||||
@@ -0,0 +1,371 @@
|
||||
:root {
|
||||
/*
|
||||
Color Palette
|
||||
https://coolors.co/palette/033270-1368aa-4091c9-9dcee2-fedfd4-f29479-f26a4f-ef3c2d-cb1b16-65010c
|
||||
--yale-blue: #033270ff;
|
||||
--green-blue: #1368aaff;
|
||||
--celestial-blue: #4091c9ff;
|
||||
--light-blue: #9dcee2ff;
|
||||
--misty-rose: #fedfd4ff;
|
||||
--salmon: #f29479ff;
|
||||
--tomato: #f26a4fff;
|
||||
--vermilion: #ef3c2dff;
|
||||
--engineering-orange: #cb1b16ff;
|
||||
--rosewood: #65010cff;
|
||||
*/
|
||||
--split-foreground: #000000;
|
||||
/* Combination of Salmon/Tomato */
|
||||
--split-background: #F27F64;
|
||||
--join-foreground: #000000;
|
||||
/* Combination of Light/Celestial Blue */
|
||||
--join-background: #6FB0D6;
|
||||
|
||||
/* Color Palettes for subnet highlights
|
||||
https://coolors.co/palette/f0d7df-f9e0e2-f8eaec-f7ddd9-f7e6da-e3e9dd-c4dbd9-d4e5e3-cae0e4-c8c7d6
|
||||
https://coolors.co/palette/54478c-2c699a-048ba8-0db39e-16db93-83e377-b9e769-efea5a-f1c453-f29e4c
|
||||
https://coolors.co/palette/e2e2df-d2d2cf-e2cfc4-f7d9c4-faedcb-c9e4de-c6def1-dbcdf0-f2c6de-f9c6c9
|
||||
https://coolors.co/palette/54478c-2c699a-048ba8-0db39e-16db93-83e377-b9e769-efea5a-f1c453-f29e4c
|
||||
https://coolors.co/palette/ffadad-ffd6a5-fdffb6-caffbf-9bf6ff-a0c4ff-bdb2ff-ffc6ff-e6e6e6
|
||||
*/
|
||||
--subpal-1-1: #ffadadff;
|
||||
--subpal-1-2: #ffd6a5ff;
|
||||
--subpal-1-3: #fdffb6ff;
|
||||
--subpal-1-4: #caffbfff;
|
||||
--subpal-1-5: #9bf6ffff;
|
||||
--subpal-1-6: #a0c4ffff;
|
||||
--subpal-1-7: #bdb2ffff;
|
||||
--subpal-1-8: #ffc6ffff;
|
||||
--subpal-1-9: #e6e6e6ff;
|
||||
--subpal-1-10: #ffffffff;
|
||||
}
|
||||
|
||||
.table>:not(caption)>*>* {
|
||||
background-color: unset;
|
||||
}
|
||||
|
||||
#bottom_nav {
|
||||
height:2rem;
|
||||
}
|
||||
|
||||
#bottom_nav span {
|
||||
border-bottom:1px black dotted;
|
||||
}
|
||||
|
||||
#whats_new {
|
||||
cursor:pointer !important;
|
||||
text-align: right;
|
||||
width:15rem;
|
||||
float:right;
|
||||
}
|
||||
|
||||
#whats_new a {
|
||||
width:15rem;
|
||||
text-align: right;
|
||||
text-decoration: none;
|
||||
border-bottom:1px var(--bs-success) dotted;
|
||||
}
|
||||
|
||||
|
||||
#copy_url {
|
||||
cursor:pointer !important;
|
||||
text-align: center;
|
||||
width:11rem;
|
||||
}
|
||||
|
||||
#copy_url span {
|
||||
width:11rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#color_palette {
|
||||
min-width: 0rem;
|
||||
}
|
||||
|
||||
#color_palette #colors_word_close {
|
||||
line-height: 2rem;
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
#color_palette #colors_word_open {
|
||||
display:inline-block;
|
||||
height:2rem;
|
||||
cursor:pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#color_palette div {
|
||||
display:inline-block;
|
||||
height:2rem;
|
||||
cursor:pointer;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
#color_palette div[id^='palette_picker_'] {
|
||||
width:2rem;
|
||||
border:1px solid;
|
||||
}
|
||||
|
||||
#color_palette #reset_colors {
|
||||
padding: 0 0.5rem;
|
||||
border: 1px solid;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
|
||||
#color_palette #palette_picker_1 {
|
||||
background-color: var(--subpal-1-1);
|
||||
}
|
||||
#color_palette #palette_picker_2 {
|
||||
background-color: var(--subpal-1-2);
|
||||
}
|
||||
#color_palette #palette_picker_3 {
|
||||
background-color: var(--subpal-1-3);
|
||||
}
|
||||
#color_palette #palette_picker_4 {
|
||||
background-color: var(--subpal-1-4);
|
||||
}
|
||||
#color_palette #palette_picker_5 {
|
||||
background-color: var(--subpal-1-5);
|
||||
}
|
||||
#color_palette #palette_picker_6 {
|
||||
background-color: var(--subpal-1-6);
|
||||
}
|
||||
#color_palette #palette_picker_7 {
|
||||
background-color: var(--subpal-1-7);
|
||||
}
|
||||
#color_palette #palette_picker_8 {
|
||||
background-color: var(--subpal-1-8);
|
||||
}
|
||||
#color_palette #palette_picker_9 {
|
||||
background-color: var(--subpal-1-9);
|
||||
}
|
||||
#color_palette #palette_picker_10 {
|
||||
background-color: var(--subpal-1-10);
|
||||
}
|
||||
|
||||
.container-xxl {
|
||||
min-width: 576px;
|
||||
}
|
||||
|
||||
#navigation a {
|
||||
color:#000000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Dark mode adjustments */
|
||||
[data-bs-theme="dark"] #navigation a {
|
||||
color:#ffffff;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] #bottom_nav span {
|
||||
border-bottom:1px white dotted;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] #calc td.split {
|
||||
background-color: #d9634f;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] #calc td.join {
|
||||
background-color: #4d8fa6;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] #calc span.split {
|
||||
color: #d9634f;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] #calc span.join {
|
||||
color: #4d8fa6;
|
||||
}
|
||||
|
||||
/* Adjust color palette borders for dark mode */
|
||||
[data-bs-theme="dark"] #color_palette div[id^='palette_picker_'] {
|
||||
border-color: #dee2e6;
|
||||
}
|
||||
|
||||
/* Dark mode reset button */
|
||||
[data-bs-theme="dark"] #color_palette #reset_colors {
|
||||
background-color: #495057;
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
/* Dark mode color palette - darker colors for better contrast with white text */
|
||||
[data-bs-theme="dark"] #color_palette #palette_picker_1 {
|
||||
background-color: #8b3a3a; /* Deep red */
|
||||
}
|
||||
[data-bs-theme="dark"] #color_palette #palette_picker_2 {
|
||||
background-color: #8b5a2b; /* Deep orange/brown */
|
||||
}
|
||||
[data-bs-theme="dark"] #color_palette #palette_picker_3 {
|
||||
background-color: #8b7500; /* Deep gold */
|
||||
}
|
||||
[data-bs-theme="dark"] #color_palette #palette_picker_4 {
|
||||
background-color: #2e7d32; /* Deep green */
|
||||
}
|
||||
[data-bs-theme="dark"] #color_palette #palette_picker_5 {
|
||||
background-color: #006064; /* Deep cyan */
|
||||
}
|
||||
[data-bs-theme="dark"] #color_palette #palette_picker_6 {
|
||||
background-color: #1565c0; /* Deep blue */
|
||||
}
|
||||
[data-bs-theme="dark"] #color_palette #palette_picker_7 {
|
||||
background-color: #6a1b9a; /* Deep purple */
|
||||
}
|
||||
[data-bs-theme="dark"] #color_palette #palette_picker_8 {
|
||||
background-color: #880e4f; /* Deep magenta */
|
||||
}
|
||||
[data-bs-theme="dark"] #color_palette #palette_picker_9 {
|
||||
background-color: #424242; /* Deep gray */
|
||||
}
|
||||
[data-bs-theme="dark"] #color_palette #palette_picker_10 {
|
||||
background-color: #616161; /* Medium gray */
|
||||
}
|
||||
|
||||
/* Cloud mode links styling */
|
||||
.cloud-mode-link {
|
||||
color: #000;
|
||||
border-bottom: 1px dotted #000;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.cloud-mode-link:hover {
|
||||
color: #333;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
|
||||
/* Dark mode cloud links */
|
||||
[data-bs-theme="dark"] .cloud-mode-link {
|
||||
color: #fff;
|
||||
border-bottom-color: #fff;
|
||||
}
|
||||
|
||||
[data-bs-theme="dark"] .cloud-mode-link:hover {
|
||||
color: #ddd;
|
||||
border-bottom-style: solid;
|
||||
}
|
||||
|
||||
#subnet_input #network {
|
||||
flex-grow: 0;
|
||||
flex-basis: 11rem;
|
||||
}
|
||||
#subnet_input #netsize {
|
||||
flex-grow: 0;
|
||||
flex-basis: 4rem;
|
||||
}
|
||||
|
||||
#calc {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
#calc>tbody>tr>td, #calc>tbody>tr>th, #calc>tfoot>tr>td, #calc>tfoot>tr>th, #calc>thead>tr>td, #calc>thead>tr>th {
|
||||
/* Equivalent to p-1 */
|
||||
padding: 0.25rem;
|
||||
/* Equivalent to p-2 */
|
||||
padding-top: 0.25rem;
|
||||
padding-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
/*
|
||||
#joinHeader {
|
||||
border:none;
|
||||
}
|
||||
|
||||
#calc thead {
|
||||
border-right-width: 1px;
|
||||
border-bottom-width: 0px;
|
||||
}*/
|
||||
|
||||
#calc span.split {
|
||||
color: var(--split-background);
|
||||
}
|
||||
|
||||
#calc span.join {
|
||||
color: var(--join-background);
|
||||
}
|
||||
|
||||
#calc td.split {
|
||||
background-color: var(--split-background);
|
||||
color: var(--split-foreground);
|
||||
cursor: pointer;
|
||||
min-width: 2.3rem;
|
||||
width: 1%;
|
||||
font-size:1rem;
|
||||
}
|
||||
|
||||
#notifyModal .modal-content {
|
||||
background-color: var(--bs-alert-bg);
|
||||
}
|
||||
|
||||
#calc td.join {
|
||||
background-color: var(--join-background);
|
||||
color: var(--join-foreground);
|
||||
cursor: pointer;
|
||||
min-width: 2.3rem;
|
||||
width: 1%;
|
||||
font-size:1rem;
|
||||
}
|
||||
|
||||
#calc td.split, #calc td.join {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
#calc td.split span, #calc td.join span {
|
||||
padding-right: 0.4rem;
|
||||
}
|
||||
#calc .note {
|
||||
padding-left:0.5rem;
|
||||
padding-right:0.5rem;
|
||||
}
|
||||
|
||||
#calc .note label,input {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
#calc .row_address {
|
||||
white-space: nowrap;
|
||||
padding-left:0.5rem;
|
||||
padding-right:0.5rem;
|
||||
}
|
||||
|
||||
#calc .row_range {
|
||||
/* TODO: Make this a checkbox?
|
||||
white-space: nowrap;
|
||||
*/
|
||||
padding-left:0.5rem;
|
||||
padding-right:0.5rem;
|
||||
}
|
||||
|
||||
#calc .row_usable {
|
||||
/* TODO: Make this a checkbox?
|
||||
white-space: nowrap;
|
||||
*/
|
||||
padding-left:0.5rem;
|
||||
padding-right:0.5rem;
|
||||
}
|
||||
|
||||
#calc .row_hosts {
|
||||
width:1%;
|
||||
white-space: nowrap;
|
||||
padding-left:0.5rem;
|
||||
padding-right:0.5rem;
|
||||
}
|
||||
|
||||
|
||||
#calc .note input {
|
||||
border: none !important;
|
||||
border-color: transparent !important;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
/* https://stackoverflow.com/a/47245068/606974 */
|
||||
.rotate {
|
||||
vertical-align: middle;
|
||||
text-align: end;
|
||||
}
|
||||
.rotate span {
|
||||
-ms-writing-mode: tb-rl;
|
||||
-webkit-writing-mode: vertical-rl;
|
||||
writing-mode: vertical-rl;
|
||||
white-space: nowrap;
|
||||
padding-top: 0.25rem;
|
||||
}
|
||||
|
After Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 8.5 KiB |
|
After Width: | Height: | Size: 22 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<browserconfig>
|
||||
<msapplication>
|
||||
<tile>
|
||||
<square150x150logo src="icon/mstile-150x150.png"/>
|
||||
<TileColor>#da532c</TileColor>
|
||||
</tile>
|
||||
</msapplication>
|
||||
</browserconfig>
|
||||
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,32 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
|
||||
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
|
||||
<svg version="1.0" xmlns="http://www.w3.org/2000/svg"
|
||||
width="512.000000pt" height="512.000000pt" viewBox="0 0 512.000000 512.000000"
|
||||
preserveAspectRatio="xMidYMid meet">
|
||||
<metadata>
|
||||
Created by potrace 1.14, written by Peter Selinger 2001-2017
|
||||
</metadata>
|
||||
<g transform="translate(0.000000,512.000000) scale(0.100000,-0.100000)"
|
||||
fill="#000000" stroke="none">
|
||||
<path d="M520 5112 c-219 -30 -407 -186 -484 -400 l-31 -87 -1 -2048 c-1
|
||||
-1615 2 -2059 12 -2100 18 -74 34 -115 67 -172 80 -137 191 -226 344 -276 66
|
||||
-22 82 -22 551 -25 l482 -2 0 199 c0 152 -3 199 -12 200 -7 0 -206 1 -441 1
|
||||
-238 0 -444 4 -463 10 -46 12 -103 64 -124 111 -16 35 -17 110 -17 938 l0 899
|
||||
2157 0 2158 0 -2 -907 -1 -908 -23 -40 c-26 -45 -73 -82 -123 -95 -19 -4 -218
|
||||
-8 -444 -9 -225 0 -420 0 -432 0 l-23 -1 0 -199 0 -199 483 2 482 2 71 27 c40
|
||||
15 93 39 119 53 74 42 175 149 219 233 75 144 69 -51 71 2221 2 2192 4 2093
|
||||
-47 2213 -70 164 -200 281 -375 338 -66 22 -82 22 -545 25 l-478 2 0 -199 0
|
||||
-199 23 -1 c12 0 213 -1 445 -1 424 -1 424 -1 470 -24 52 -26 90 -74 102 -128
|
||||
4 -19 8 -433 8 -920 l0 -886 -2158 0 -2158 0 0 888 c0 537 3 902 9 925 13 48
|
||||
63 105 112 127 34 16 84 18 455 18 229 0 432 1 450 1 l32 1 0 199 0 198 -457
|
||||
0 c-252 -1 -469 -3 -483 -5z"/>
|
||||
<path d="M2423 4984 c-76 -75 -307 -304 -515 -510 l-376 -373 139 -143 140
|
||||
-142 142 141 c78 78 202 200 275 272 l132 131 0 -590 0 -590 200 0 200 0 0
|
||||
587 0 588 269 -269 269 -269 141 142 141 142 -509 509 -509 510 -139 -136z"/>
|
||||
<path d="M2360 1355 c0 -322 -2 -585 -5 -585 -3 0 -125 118 -271 263 -146 144
|
||||
-267 264 -270 266 -2 3 -67 -60 -144 -138 l-139 -143 139 -137 c76 -75 308
|
||||
-304 515 -509 l376 -372 510 509 510 510 -142 142 -141 141 -269 -268 -269
|
||||
-269 0 588 0 587 -200 0 -200 0 0 -585z"/>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 1.8 KiB |
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"name": "Visual Subnet Calc",
|
||||
"short_name": "Visual Subnet Calc",
|
||||
"icons": [
|
||||
{
|
||||
"src": "icon/android-chrome-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icon/android-chrome-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
],
|
||||
"theme_color": "#ffffff",
|
||||
"background_color": "#ffffff",
|
||||
"display": "standalone"
|
||||
}
|
||||
|
After Width: | Height: | Size: 40 KiB |