Move deno std from deno.land to jsr

This commit is contained in:
2024-05-31 09:21:14 +08:00
parent b3fc811af0
commit b7fd2ca133
38 changed files with 56 additions and 49 deletions

View File

@@ -6,7 +6,7 @@ import {
} from "../../../server/get_file_response.ts";
import { parse_bool } from "../../../server/parse_form.ts";
import pbkdf2Hmac from "pbkdf2-hmac";
import { encodeBase64 as encode } from "std/encoding/base64.ts";
import { encodeBase64 as encode } from "@std/encoding/base64";
import { get_host, return_data, return_error } from "../../../server/utils.ts";
import type { EhFileExtend } from "../../../server/files.ts";
import { User, UserPermission } from "../../../db.ts";

View File

@@ -5,7 +5,7 @@ import { SortableURLSearchParams } from "../../../server/SortableURLSearchParams
import { get_host } from "../../../server/utils.ts";
import { User, UserPermission } from "../../../db.ts";
import pbkdf2Hmac from "pbkdf2-hmac";
import { encodeBase64 as encode } from "std/encoding/base64.ts";
import { encodeBase64 as encode } from "@std/encoding/base64";
import { return_data } from "../../../server/utils.ts";
export const handler: Handlers = {

View File

@@ -6,7 +6,7 @@ import { get_string, parse_bool } from "../../../server/parse_form.ts";
import { fb_get_size } from "../../../thumbnail/ffmpeg_binary.ts";
import { sure_dir } from "../../../utils.ts";
import mime from "mime";
import { extname, join, resolve } from "std/path/mod.ts";
import { extname, join, resolve } from "@std/path";
import { UserPermission } from "../../../db.ts";
export const handler: Handlers = {