feat: upate single scripts

This commit is contained in:
2025-01-23 00:27:50 +08:00
parent a8edf5f0ab
commit a71227ca60
9 changed files with 40 additions and 32 deletions

View File

@@ -9,12 +9,12 @@
},
"cal.ts": {
"script_name": "cal.ts",
"script_length": 384,
"script_sha256": "41b07170e84fc6d190fea3289f53daff97dea5e10e3820894362951b8c2d75fc",
"script_length": 388,
"script_sha256": "7491add6856cb74e816bbe9d6e4cc2687692ae19e73937670f8f9b42d2c44b63",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/cal.ts",
"single_script_file": true,
"publish_time": 1737306227061,
"update_time": 1737475766602
"update_time": 1737563250084
},
"helloworld.ts": {
"script_name": "helloworld.ts",
@@ -26,48 +26,48 @@
},
"hjson.ts": {
"script_name": "hjson.ts",
"script_length": 448,
"script_sha256": "be48ed87ff1aa9a77197aafb50a24d5da7ce517401b08687e0fce27504a08a08",
"script_length": 452,
"script_sha256": "f49faa7a5b6eeb6e040074648cc8882d7a59ab54645df240d85a06a1aa5b195b",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/hjson.ts",
"single_script_file": true,
"publish_time": 1737375737613,
"update_time": 1737475766602
"update_time": 1737563250083
},
"kpxcenv.ts": {
"script_name": "kpxcenv.ts",
"script_length": 3708,
"script_sha256": "b0465881ebcd3d028a223fc91bbc742eb27daf69bd8dfc92eeab93c33bf62f04",
"script_length": 3712,
"script_sha256": "32c65c8141c55389ada5d12387a6d1739350036a47cec1724565bc5ce049acf8",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/kpxcenv.ts",
"single_script_file": true,
"publish_time": 1737272626141,
"update_time": 1737475766602
"update_time": 1737563250084
},
"post-note.ts": {
"script_name": "post-note.ts",
"script_length": 1903,
"script_sha256": "c66d114a5028ff57652c26d042cf070639e6fed81c4c2c2108ce4c591bc49384",
"script_length": 1907,
"script_sha256": "e7acce01af8918287367cd24f166c7db1baf618613e42e4b17de9ee77d84aeaf",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/post-note.ts",
"single_script_file": true,
"publish_time": 1737475603673,
"update_time": 1737475655526
"update_time": 1737563250084
},
"print-env.ts": {
"script_name": "print-env.ts",
"script_length": 313,
"script_sha256": "055c8d63284501de1a2d8336dd20e064f0ba8b294a5e2ac77e2a0ad0f04eb869",
"script_length": 317,
"script_sha256": "b73d8251a0f650090cb16292d43e14df99c53618d248884200891d64d84e3a5a",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/print-env.ts",
"single_script_file": true,
"publish_time": 1737272626140,
"update_time": 1737475766602
"update_time": 1737563250084
},
"publickey.ts": {
"script_name": "publickey.ts",
"script_length": 1859,
"script_sha256": "78f8dbcca23af92ca3ec79faa3016207180fd3bf6be66c92892bd0bb5de444dc",
"script_length": 1863,
"script_sha256": "35067d083a5247a4b5401db94c1347fa86a0b0d73913fe8fb52757d4f48f89ab",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/publickey.ts",
"single_script_file": true,
"publish_time": 1737272626140,
"update_time": 1737475766602
"update_time": 1737563250083
},
"sigstore-verify.ts": {
"script_name": "sigstore-verify.ts",
@@ -79,20 +79,20 @@
},
"ssh-verify.ts": {
"script_name": "ssh-verify.ts",
"script_length": 2832,
"script_sha256": "bb68d86f600f2ea67cdf12476b1f7419cbc160e887db0a7709d45cf3a364a2e4",
"script_length": 2836,
"script_sha256": "5cc3043a765eac8d422e4633a579fb3ae3b491ad04056070686ce2f99a02aacc",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/ssh-verify.ts",
"single_script_file": true,
"publish_time": 1737272626141,
"update_time": 1737475766602
"update_time": 1737563250084
},
"wget.ts": {
"script_name": "wget.ts",
"script_length": 3985,
"script_sha256": "8f56f0450058d674844bbb22d4ea9047f5dfdc6793ce3d014180b9bfd9ea7834",
"script_length": 3989,
"script_sha256": "62abfaa7df86eadf39cf3b6e089e415e6692cf5fb5f02f7811b5dd05f242a374",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/wget.ts",
"single_script_file": true,
"publish_time": 1737272626139,
"update_time": 1737475766602
"update_time": 1737563250083
}
}

View File

@@ -9,4 +9,5 @@ const command = new Deno.Command("cal", {
});
const _child = command.spawn();
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000909+08:00.MEUCIQC+0fhXLUrQCVvmMbPf2AbvP/10kCLv8G6cXbllR2VNFgIgMUkcjhByX1V9u8mxtJ5a8pyypx1f07VPLcJYWQFebo4=
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250123T002650+08:00.MEQCIDZcQT+YcvuLLJaF2GmA
// SxwAraNOQcxTaum4I8pG0N+GAiARnrxf+efeaqpjz4N2fMoExTE9kJ38gNY3STodJZe43A==

View File

@@ -7,4 +7,5 @@ const input = new TextDecoder().decode(await toArrayBuffer(Deno.stdin.readable))
console.log(JSON.stringify(hjson.parse(input), null, 4));
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000910+08:00.MEUCIB8ENXcX7NdIgRF+BN5k4m6MSBfMfsk3pzDckQLyfSquAiEApzgXor3U0PmkNzcNS0kFz8WxRQhidQpPZbSpy1hbAOA=
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250123T002653+08:00.MEQCIC+E64MomdWUEPQNhQ3B
// xlLi29D6LLTVBzrbxFlT/KO2AiBvIuAqbA+YzWqNHHCCfG60iE3ZpazAMmXLzKuvC1OzvQ==

View File

@@ -123,4 +123,5 @@ const command = new Deno.Command(shellCommand, {
});
const _child = command.spawn();
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000910+08:00.MEUCIQCy3detDRdmN5w/G3w4x6av3Hbh/FLumdYHXBzmGHKKvQIgAOfGXGAwrG4BaN23xJXd+gVBZOJAjHo68iYMep1cWxo=
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250123T002653+08:00.MEUCIQC3RT5y3G8E891QVcnO
// Ooarh+NtpuAjHHWskZ0Pu48FegIgB/ybIyjpyW5VjpHKY3arLcw4rOOf1KGFIpkWJP6kF1U=

View File

@@ -56,4 +56,5 @@ const response = await fetchWithTimoutAndAutoProxy(
console.info(response.status, await response.json());
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000717+08:00.MEYCIQCJfSI5Ya9590XLCYhFks7+QiF5xKaf/YQlasdcXXfPlAIhAJ2leR/iyeAGqOMbNjHyfh4W92oDF1EuywQ3vfzPzmc5
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250123T002653+08:00.MEYCIQCL51hGkl0Vcq+vb16J
// eyZd4vPAJ22t1Jizxrz6G/zA5QIhAJLrrggF4UFu3xbpch3c2tfaKlv5n+1k0Xl2R/OZi4Fp

View File

@@ -6,4 +6,5 @@ for (const envKey in envs) {
console.log(`${envKey} --> ${envs[envKey]}`);
}
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000910+08:00.MEYCIQCDWPCDCc07dCpoByoi8B34IG37/eN/SA6RUFcwMMk9BAIhAIj/VEvsT03dpLAkTjE4ecNw3wKTj3G4j3gJZWXSIs+q
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250123T002653+08:00.MEUCICtgje2TPYxa/+mb23o4
// styMR0J2ahTh02HjPQ6vyYBEAiEA7a2Ft07MxMVG0hIrl9LsB/gZ0C/xM7oiJ+hGPymBVto=

View File

@@ -52,4 +52,5 @@ try {
Deno.exit(1);
}
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000911+08:00.MEYCIQDOK7J+TeDmvbA030NxbsYEpp6PGL0lYrxKcmph/d2XGgIhAMFbRDZ/qOYcqdyrP62AEomTXG6yaJK/ooLtzx1iVyca
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250123T002653+08:00.MEYCIQDEZ6yTqWRQct3V0nOY
// yBHWFTZCMuKzXYAQp/OETEpmlQIhANnCSv7U4du/w5c+46GJ2XHqRih+pQFIVxsy2sGYqsgJ

View File

@@ -97,4 +97,5 @@ if (flags.username) {
log.warn("GitHub user is not assigned, user is not verified.");
}
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000911+08:00.MEUCIQCyDDsHchBXteCAtFT+1+dTFTm3BwKB3jS7meYqRhXqEwIgFR4fR4vAFas5247jEcZv+wvP5rnggPbim1SV182xzU0=
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250123T002653+08:00.MEUCIA7TUuSXIYZ3quw28p+j
// udOTEKC4E2rThWcBhNVE9IcFAiEAwKcZkIHNQGIh/tqvu1+VdVJALLNH9sZl55KL1hhRXfw=

View File

@@ -137,4 +137,5 @@ log.success(
}`,
);
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250122T000911+08:00.MEUCIHx7b9gyZBcTusdX6DhdqYmm5JHRvZ+esiE7Njz0dDruAiEAwRl081c9RyUt/741Et52ewkJOVKCUJTe1znxW16wNJo=
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250123T002653+08:00.MEQCIDsAcL6n8DZPCZDI6BmA
// CHQlG7TQUeiEQOdW3fLBVMYnAiBG+nkmtzSb1/xwUl0MOrrk2ffvcPCi3BpQS6Ziz3BXFw==