diff options
author | Ajay <[email protected]> | 2023-08-01 22:45:01 -0400 |
---|---|---|
committer | Ajay <[email protected]> | 2023-08-01 22:45:01 -0400 |
commit | 16005e417d9bcf21afc13465fdd285d3664d8600 (patch) | |
tree | 3fe7f671827218e188fdfcd12ed008f55d4b74e1 /src/utils | |
parent | 8840dba90fcd0381d3ba501f2042e66ec28d18c6 (diff) | |
download | SponsorBlock-16005e417d9bcf21afc13465fdd285d3664d8600.tar.gz SponsorBlock-16005e417d9bcf21afc13465fdd285d3664d8600.zip |
Remove maze utils symlink
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/crossExtension.ts | 4 | ||||
-rw-r--r-- | src/utils/exporter.ts | 4 | ||||
-rw-r--r-- | src/utils/pageUtils.ts | 2 | ||||
-rw-r--r-- | src/utils/thumbnails.ts | 4 | ||||
-rw-r--r-- | src/utils/videoLabels.ts | 2 | ||||
-rw-r--r-- | src/utils/warnings.ts | 4 |
6 files changed, 10 insertions, 10 deletions
diff --git a/src/utils/crossExtension.ts b/src/utils/crossExtension.ts index c67c8943..183ae931 100644 --- a/src/utils/crossExtension.ts +++ b/src/utils/crossExtension.ts @@ -1,8 +1,8 @@ import * as CompileConfig from "../../config.json"; import Config from "../config"; -import { isSafari } from "../maze-utils/config"; -import { isFirefoxOrSafari } from "../maze-utils"; +import { isSafari } from "../../maze-utils/src/config"; +import { isFirefoxOrSafari } from "../../maze-utils/src"; export function isDeArrowInstalled(): Promise<boolean> { if (Config.config.deArrowInstalled) { diff --git a/src/utils/exporter.ts b/src/utils/exporter.ts index 97208841..a5871b65 100644 --- a/src/utils/exporter.ts +++ b/src/utils/exporter.ts @@ -1,8 +1,8 @@ import { ActionType, Category, SegmentUUID, SponsorSourceType, SponsorTime } from "../types"; import { shortCategoryName } from "./categoryUtils"; import * as CompileConfig from "../../config.json"; -import { getFormattedTime, getFormattedTimeToSeconds } from "../maze-utils/formating"; -import { generateUserID } from "../maze-utils/setup"; +import { getFormattedTime, getFormattedTimeToSeconds } from "../../maze-utils/src/formating"; +import { generateUserID } from "../../maze-utils/src/setup"; const inTest = typeof chrome === "undefined"; diff --git a/src/utils/pageUtils.ts b/src/utils/pageUtils.ts index 2b79c2ec..f38ad503 100644 --- a/src/utils/pageUtils.ts +++ b/src/utils/pageUtils.ts @@ -1,5 +1,5 @@ import { ActionType, Category, SponsorSourceType, SponsorTime, VideoID } from "../types"; -import { getFormattedTimeToSeconds } from "../maze-utils/formating"; +import { getFormattedTimeToSeconds } from "../../maze-utils/src/formating"; export function getControls(): HTMLElement { const controlsSelectors = [ diff --git a/src/utils/thumbnails.ts b/src/utils/thumbnails.ts index 39ba5bda..61d28f18 100644 --- a/src/utils/thumbnails.ts +++ b/src/utils/thumbnails.ts @@ -1,7 +1,7 @@ -import { isOnInvidious, parseYouTubeVideoIDFromURL } from "../maze-utils/video"; +import { isOnInvidious, parseYouTubeVideoIDFromURL } from "../../maze-utils/src/video"; import Config from "../config"; import { getVideoLabel } from "./videoLabels"; -import { setThumbnailListener } from "../maze-utils/thumbnailManagement"; +import { setThumbnailListener } from "../../maze-utils/src/thumbnailManagement"; export async function labelThumbnails(thumbnails: HTMLImageElement[]): Promise<void> { await Promise.all(thumbnails.map((t) => labelThumbnail(t))); diff --git a/src/utils/videoLabels.ts b/src/utils/videoLabels.ts index 23faa807..731bfd33 100644 --- a/src/utils/videoLabels.ts +++ b/src/utils/videoLabels.ts @@ -1,5 +1,5 @@ import { Category, CategorySkipOption, VideoID } from "../types"; -import { getHash } from "../maze-utils/hash"; +import { getHash } from "../../maze-utils/src/hash"; import Utils from "../utils"; import { logWarn } from "./logger"; diff --git a/src/utils/warnings.ts b/src/utils/warnings.ts index 9bcf03aa..8e3110f2 100644 --- a/src/utils/warnings.ts +++ b/src/utils/warnings.ts @@ -1,5 +1,5 @@ -import { objectToURI } from "../maze-utils"; -import { getHash } from "../maze-utils/hash"; +import { objectToURI } from "../../maze-utils/src"; +import { getHash } from "../../maze-utils/src/hash"; import Config from "../config"; import GenericNotice, { NoticeOptions } from "../render/GenericNotice"; import { ContentContainer } from "../types"; |