Rearranged imports

This commit is contained in:
DarkCat09 2023-09-25 12:06:50 +04:00
parent 7f6b7c2215
commit b31bbc547e
No known key found for this signature in database
GPG Key ID: 0A26CD5B3345D6E3

View File

@ -5,6 +5,9 @@ import axios from "../types/axios";
import micromatch from "micromatch"; import micromatch from "micromatch";
import { JSDOM } from "jsdom"; import { JSDOM } from "jsdom";
import DOMPurify from "dompurify";
import { Readable } from "stream";
import readability from "./readability"; import readability from "./readability";
import google, { GoogleDomains } from "./google"; import google, { GoogleDomains } from "./google";
@ -14,10 +17,8 @@ import isLocalResource from "../utils/islocal";
import { LocalResourceError, NotHtmlMimetypeError } from "../errors/main"; import { LocalResourceError, NotHtmlMimetypeError } from "../errors/main";
import { HandlerInput } from "./handler-input"; import { HandlerInput } from "./handler-input";
import { Readable } from "stream";
import { decodeStream, parseEncodingName } from "../utils/http"; import { decodeStream, parseEncodingName } from "../utils/http";
import replaceHref from "../utils/replace-href"; import replaceHref from "../utils/replace-href";
import DOMPurify from "dompurify";
export default async function handlePage( export default async function handlePage(
url: string, // remote URL url: string, // remote URL