feat: update imports
This commit is contained in:
@@ -17,12 +17,12 @@
|
||||
},
|
||||
"kpxcenv.ts": {
|
||||
"script_name": "kpxcenv.ts",
|
||||
"script_length": 3571,
|
||||
"script_sha256": "f935fb98d2601039aaa9dd1f2499d6c5b46a9ebba41230b541efb06451a4051f",
|
||||
"script_length": 3551,
|
||||
"script_sha256": "5001f64e63bc15fac1ca42ecf689cc5153cde10789014536d717f15387c9edac",
|
||||
"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": 1737275834687
|
||||
"update_time": 1737285822488
|
||||
},
|
||||
"print-env.ts": {
|
||||
"script_name": "print-env.ts",
|
||||
@@ -35,12 +35,12 @@
|
||||
},
|
||||
"publickey.ts": {
|
||||
"script_name": "publickey.ts",
|
||||
"script_length": 1720,
|
||||
"script_sha256": "05096a661ceb9fe417fe0628c69ab5276a92057c12507358fa0e0539ee22c455",
|
||||
"script_length": 1702,
|
||||
"script_sha256": "07669ea1a62a9691c41300f45d2391a7882bede1b9d90fbf0f065e1be16f4fe9",
|
||||
"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": 1737275658224
|
||||
"update_time": 1737285822488
|
||||
},
|
||||
"sigstore-verify.ts": {
|
||||
"script_name": "sigstore-verify.ts",
|
||||
@@ -52,20 +52,20 @@
|
||||
},
|
||||
"ssh-verify.ts": {
|
||||
"script_name": "ssh-verify.ts",
|
||||
"script_length": 2740,
|
||||
"script_sha256": "d5c52cd816fd79811306630bf4e08865071bf483e39add29dae50e95771f7f27",
|
||||
"script_length": 2675,
|
||||
"script_sha256": "cd7d2c0a9661e7e52305abd8b3a66cce2ee999216f63654f8e1d945f8b324cb0",
|
||||
"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": 1737277075636
|
||||
"update_time": 1737285822489
|
||||
},
|
||||
"wget.ts": {
|
||||
"script_name": "wget.ts",
|
||||
"script_length": 3848,
|
||||
"script_sha256": "578ed1fd22367956446ed44bb8951cf1e66f04e15000aac79e7e42d1694c165e",
|
||||
"script_length": 3828,
|
||||
"script_sha256": "3eeaae662470991b70081b6e010c3c87ecf90b38058f9b67a7f5458f615a2bf7",
|
||||
"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": 1737275365028
|
||||
"update_time": 1737285822488
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
compareVersion,
|
||||
isEnvOn,
|
||||
log,
|
||||
} from "https://hatter.ink/script/fetch/library/deno-commons-mod.ts?202501191623";
|
||||
} from "https://hatter.ink/script/get/@1/deno-commons-mod.ts";
|
||||
|
||||
const args = Deno.args;
|
||||
if (args.length == 0) {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
// - https://docs.deno.com/api/node/crypto/~/X509Certificate#property_issuercertificate
|
||||
// - https://docs.deno.com/api/node/crypto/~/createPublicKey
|
||||
|
||||
import {log} from "https://hatter.ink/script/fetch/library/deno-commons-mod.ts?202501191623";
|
||||
import { log } from "https://hatter.ink/script/get/@1/deno-commons-mod.ts";
|
||||
|
||||
const { X509Certificate, createPublicKey } = await import("node:crypto");
|
||||
|
||||
|
||||
@@ -1,16 +1,14 @@
|
||||
#!/usr/bin/env -S deno run --allow-env --allow-import --allow-read --allow-net
|
||||
|
||||
import { parseArgs } from "jsr:@std/cli/parse-args";
|
||||
import {
|
||||
log,
|
||||
} from "https://hatter.ink/script/fetch/library/deno-commons-mod.ts?202501191623";
|
||||
import { log } from "https://hatter.ink/script/get/@1/deno-commons-mod.ts";
|
||||
import {
|
||||
fetchKeys,
|
||||
SshKey,
|
||||
} from "https://hatter.ink/script/fetch/library/deno-github-mod.ts?202501191819";
|
||||
} from "https://hatter.ink/script/get/@1/deno-github-mod.ts";
|
||||
import {
|
||||
SshSignature,
|
||||
} from "https://hatter.ink/script/fetch/library/deno-sshsig-mod.ts?202501191510";
|
||||
} from "https://hatter.ink/script/get/@0/deno-sshsig-mod.ts";
|
||||
|
||||
const flags = parseArgs(Deno.args, {
|
||||
boolean: ["help", "debug"],
|
||||
|
||||
@@ -12,7 +12,7 @@ import {
|
||||
formatSize2,
|
||||
log,
|
||||
printLastLine,
|
||||
} from "https://hatter.ink/script/fetch/library/deno-commons-mod.ts?202501191305";
|
||||
} from "https://hatter.ink/script/get/@1/deno-commons-mod.ts";
|
||||
|
||||
function getOutputFilename(filename: string): string {
|
||||
const original = filename;
|
||||
|
||||
Reference in New Issue
Block a user