feat: update deno libries
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
import {
|
||||
decodeBase64Url,
|
||||
encodeBase64Url,
|
||||
getHomeDirOrDie,
|
||||
hexStringToUint8Array,
|
||||
resolveFilename,
|
||||
} from "https://global.hatter.ink/script/get/@9/deno-commons-mod.ts";
|
||||
import {getRandomValues} from "node:crypto";
|
||||
import {assertEquals} from "jsr:@std/assert";
|
||||
|
||||
const COMMONS_LOCAL_ENCRYPT_TINY_ENCRYPT_MASTER_KEY_FILE = getHomeDirOrDie() +
|
||||
"/.cache/commons-local-encrypt-tiny-encrypt-master-key";
|
||||
const COMMONS_LOCAL_ENCRYPT_TINY_ENCRYPT_MASTER_KEY_FILE = resolveFilename(
|
||||
"~/.cache/commons-local-encrypt-tiny-encrypt-master-key",
|
||||
);
|
||||
|
||||
interface TinyEncryptSimpleDecryptObject {
|
||||
code: number;
|
||||
|
||||
@@ -3,7 +3,23 @@
|
||||
const PYTHON_CONFIG_FILE = "~/.config/python-config.json";
|
||||
|
||||
interface PythonConfig {
|
||||
// TODO
|
||||
default_version?: string;
|
||||
default_profile?: string;
|
||||
python_venv_base_path?: string;
|
||||
versions: Map<string, PythonVersion>;
|
||||
profiles?: Map<string, PythonVenv>;
|
||||
}
|
||||
|
||||
interface PythonVersion {
|
||||
version: string;
|
||||
path: string;
|
||||
comment?: string;
|
||||
}
|
||||
|
||||
interface PythonVenv {
|
||||
version: string;
|
||||
path: string;
|
||||
comment?: string;
|
||||
}
|
||||
|
||||
async function main() {
|
||||
|
||||
Reference in New Issue
Block a user