Skip to content

Commit db4df20

Browse files
committed
chore: updated ContentProcessorPipeline filename for consistency
1 parent 6846e40 commit db4df20

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

src/scraper/middleware/Pipeline.test.ts renamed to src/scraper/middleware/ContentProcessorPipeline.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
import { JSDOM } from "jsdom";
21
import { describe, expect, it, vi } from "vitest";
32
import type { ScraperOptions } from "../types";
4-
import { ContentProcessingPipeline } from "./Pipeline";
3+
import { ContentProcessingPipeline } from "./ContentProcessorPipeline";
54
import {
65
HtmlDomParserMiddleware,
76
HtmlLinkExtractorMiddleware,
File renamed without changes.

src/scraper/strategies/LocalFileStrategy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { Document, ProgressCallback } from "../../types";
44
import { logger } from "../../utils/logger";
55
import { FileFetcher } from "../fetcher";
66
import type { RawContent } from "../fetcher/types";
7-
import { ContentProcessingPipeline } from "../middleware/Pipeline";
7+
import { ContentProcessingPipeline } from "../middleware/ContentProcessorPipeline";
88
// Import new and updated middleware from index
99
import {
1010
HtmlDomParserMiddleware,

src/scraper/strategies/WebScraperStrategy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type { UrlNormalizerOptions } from "../../utils/url";
44
import { hasSameDomain, hasSameHostname, isSubpath } from "../../utils/url";
55
import { HttpFetcher } from "../fetcher";
66
import type { RawContent } from "../fetcher/types";
7-
import { ContentProcessingPipeline } from "../middleware/Pipeline";
7+
import { ContentProcessingPipeline } from "../middleware/ContentProcessorPipeline";
88
// Import new and updated middleware from index
99
import {
1010
HtmlDomParserMiddleware,

src/tools/FetchUrlTool.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import type {
44
HttpFetcher,
55
RawContent,
66
} from "../scraper/fetcher";
7-
import { ContentProcessingPipeline } from "../scraper/middleware/Pipeline";
7+
import { ContentProcessingPipeline } from "../scraper/middleware/ContentProcessorPipeline";
88
import {
99
HtmlDomParserMiddleware,
1010
HtmlMetadataExtractorMiddleware,

0 commit comments

Comments
 (0)