feat: update imports
This commit is contained in:
@@ -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