feat: update scripts

This commit is contained in:
2026-01-21 23:50:44 +08:00
parent ae4e74a6c0
commit 30af9d34e5
4 changed files with 20 additions and 20 deletions

View File

@@ -45,20 +45,20 @@
"decode-uri-component.ts": { "decode-uri-component.ts": {
"script_name": "decode-uri-component.ts", "script_name": "decode-uri-component.ts",
"script_length": 770, "script_length": 770,
"script_sha256": "e4f4baf47ef8284238675a022013bde3fd633ba9259b0099f83cddad89eb0ce5", "script_sha256": "6d2754eb1df3a3a36e602805596e5fec325827a7184144ba3a58e0a231dbb09c",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/decode-uri-component.ts", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/decode-uri-component.ts",
"single_script_file": true, "single_script_file": true,
"publish_time": 1769010420928, "publish_time": 1769010420928,
"update_time": 1769010420928 "update_time": 1769010621067
}, },
"decode-uri.ts": { "decode-uri.ts": {
"script_name": "decode-uri.ts", "script_name": "decode-uri.ts",
"script_length": 761, "script_length": 741,
"script_sha256": "f77655f099aafe15a2a55a9d0b5a0d6ccad850ad199dcd35e39b76b56251ad05", "script_sha256": "6ec7c0e116f49df2e2108c72248fbafce344ec72e40d561bcb35e743ec301a1a",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/decode-uri.ts", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/decode-uri.ts",
"single_script_file": true, "single_script_file": true,
"publish_time": 1769010420927, "publish_time": 1769010420927,
"update_time": 1769010420927 "update_time": 1769010621066
}, },
"encode-uri-component.ts": { "encode-uri-component.ts": {
"script_name": "encode-uri-component.ts", "script_name": "encode-uri-component.ts",
@@ -71,12 +71,12 @@
}, },
"encode-uri.ts": { "encode-uri.ts": {
"script_name": "encode-uri.ts", "script_name": "encode-uri.ts",
"script_length": 761, "script_length": 741,
"script_sha256": "ac3e0f0f5e3ef5ba1049df6a3903776c5aec057ebe3b2889bac595776419d9de", "script_sha256": "061415787a7c744343cc1665aa682d15b48497888e530ffbbe4dd201affb9d40",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/encode-uri.ts", "script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/encode-uri.ts",
"single_script_file": true, "single_script_file": true,
"publish_time": 1769010420927, "publish_time": 1769010420927,
"update_time": 1769010420927 "update_time": 1769010621066
}, },
"helloworld-bun.ts": { "helloworld-bun.ts": {
"script_name": "helloworld-bun.ts", "script_name": "helloworld-bun.ts",

View File

@@ -9,8 +9,8 @@ const flags = parseArgs(Deno.args, {
}); });
if (flags.help) { if (flags.help) {
console.log("echo value | encode-uri-component.ts"); console.log("echo value | decode-uri-component.ts");
console.log("encode-uri-component.ts --value <value>"); console.log("decode-uri-component.ts --value <value>");
Deno.exit(0); Deno.exit(0);
} }
@@ -24,5 +24,5 @@ const encoded = decodeURIComponent(input);
console.log(encoded); console.log(encoded);
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260121T234540+08:00.MEUCIFlsdAs2FF+M18v15vsX // @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260121T234931+08:00.MEQCIGtptRwhQ3YN0WarjPH2
// 5xKzD6RoWA0m8cduuBT8SKviAiEA2LWLhGEq5QBGLNzMWwAwKq82Cv7PgjkWG9Z4rgcz6GA= // d0OIKCq/K1D6vOaRnSUUXP5OAiBnujYtnDlRYpJ4/jQMW8thQHilKyBTSKdr94NtnrsqCA==

View File

@@ -9,8 +9,8 @@ const flags = parseArgs(Deno.args, {
}); });
if (flags.help) { if (flags.help) {
console.log("echo value | encode-uri-component.ts"); console.log("echo value | decode-uri.ts");
console.log("encode-uri-component.ts --value <value>"); console.log("decode-uri.ts --value <value>");
Deno.exit(0); Deno.exit(0);
} }
@@ -24,5 +24,5 @@ const encoded = decodeURI(input);
console.log(encoded); console.log(encoded);
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260121T234532+08:00.MEUCIQCeMv9i5EQ0NC5i9RLH // @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260121T234924+08:00.MEYCIQDy8fXEkaASCyzxUPnv
// 3aqgzsOZ3lZVbivVNwrreeQKnAIgBqmHd7er1TV8bfJgG4fM3Z0g8bBhtKNFL1x7mraTkXI= // qCCKWrxFfOIFwxCJXffxpFqUUQIhAJtdK5rcHt6LwxbScRS6GtyYIrlI/cwix786s+IXtwl5

View File

@@ -9,8 +9,8 @@ const flags = parseArgs(Deno.args, {
}); });
if (flags.help) { if (flags.help) {
console.log("echo value | encode-uri-component.ts"); console.log("echo value | encode-uri.ts");
console.log("encode-uri-component.ts --value <value>"); console.log("encode-uri.ts --value <value>");
Deno.exit(0); Deno.exit(0);
} }
@@ -24,5 +24,5 @@ const encoded = encodeURI(input);
console.log(encoded); console.log(encoded);
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260121T234549+08:00.MEUCIB0e/l8ee6VlgMwYM9hu // @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260121T234929+08:00.MEQCIG0qEsSWVF4pM4fe0Y3M
// G2znsgPWxfylKLZ19Dt44byrAiEAhVkboLnYk7dIO0zj44KP0SHvmUHGKm0L3QrivTmFfGI= // STeuDjXvq5oN0hhQNaXI7iVyAiBVIZZBwSZUAshkPWIRvD7ll2+JvNunr7RB8Cl8K8Efsw==