Skip to content

Commit 8f55dd8

Browse files
authored
fix: Rename parser adapter files (#1873)
Fixes #1847
1 parent 68f25aa commit 8f55dd8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/parse.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { DomUtils } from 'htmlparser2';
2-
import { parse as parseWithHtmlparser2 } from './parsers/htmlparser2';
3-
import { parse as parseWithParse5 } from './parsers/parse5';
2+
import { parse as parseWithHtmlparser2 } from './parsers/htmlparser2-adapter';
3+
import { parse as parseWithParse5 } from './parsers/parse5-adapter';
44
import {
55
Node,
66
Document,
File renamed without changes.
File renamed without changes.

src/static.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import {
88
} from './options';
99
import { select } from 'cheerio-select';
1010
import { ElementType, DomUtils } from 'htmlparser2';
11-
import { render as renderWithParse5 } from './parsers/parse5';
12-
import { render as renderWithHtmlparser2 } from './parsers/htmlparser2';
11+
import { render as renderWithParse5 } from './parsers/parse5-adapter';
12+
import { render as renderWithHtmlparser2 } from './parsers/htmlparser2-adapter';
1313

1414
/**
1515
* Helper function to render a DOM.

0 commit comments

Comments
 (0)