🆕 Add metadata entries for lower.ts and upper.ts scripts in script-meta-v2.json while introducing corresponding script files.

This commit is contained in:
2026-04-06 01:15:54 +08:00
parent 46fff7e268
commit 9e18169744
3 changed files with 38 additions and 0 deletions

View File

@@ -169,6 +169,15 @@
"publish_time": 1737272626141, "publish_time": 1737272626141,
"update_time": 1750472965160 "update_time": 1750472965160
}, },
"lower.ts": {
"script_name": "lower.ts",
"script_length": 390,
"script_sha256": "17ccc0300d23c16369b090697353a8db0d01c06e15792ec29d71935bbb8b1200",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/lower.ts",
"single_script_file": true,
"publish_time": 1775409332534,
"update_time": 1775409332534
},
"message.ts": { "message.ts": {
"script_name": "message.ts", "script_name": "message.ts",
"script_length": 1795, "script_length": 1795,
@@ -311,6 +320,15 @@
"publish_time": 1775409068941, "publish_time": 1775409068941,
"update_time": 1775409068941 "update_time": 1775409068941
}, },
"upper.ts": {
"script_name": "upper.ts",
"script_length": 390,
"script_sha256": "177be6355cf4fdae3e2d7285090c639fad15f9d2afef0f1ef4e48f580618f7cb",
"script_full_url": "https://git.hatter.ink/hatter/ts-scripts/raw/branch/main/single-scripts/upper.ts",
"single_script_file": true,
"publish_time": 1775409332538,
"update_time": 1775409332538
},
"wget.ts": { "wget.ts": {
"script_name": "wget.ts", "script_name": "wget.ts",
"script_length": 4076, "script_length": 4076,

10
single-scripts/lower.ts Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env runts -- --allow-all
import { stdinToArrayBuffer } from "https://script.hatter.ink/@61/deno-commons-mod.ts";
const input = new TextDecoder().decode(await stdinToArrayBuffer());
console.log(input.toLowerCase());
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260406T011524+08:00.MEQCIAN40qs+EY/2NQG8d00O
// xK2q9+O7mH4+ermrZYE7NNh4AiAILAc0MJ6s2Nb9xbK/BPbk9Pmf9IWehHrijJIblRNjPA==

10
single-scripts/upper.ts Executable file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env runts -- --allow-all
import { stdinToArrayBuffer } from "https://script.hatter.ink/@61/deno-commons-mod.ts";
const input = new TextDecoder().decode(await stdinToArrayBuffer());
console.log(input.toUpperCase());
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20260406T011512+08:00.MEQCIFAuPtcUxKnSwZn7kbgV
// 4SV2q7Od5RCGydoj+4jZ9mI4AiAmJC76E/jd3nvN+1rzC+QOX0T1oxwqstpTSy124Dghvg==