Skip to content

Commit

Permalink
fix: Rename parser adapters
Browse files Browse the repository at this point in the history
Fixes #1847
  • Loading branch information
fb55 committed May 17, 2021
1 parent 68f25aa commit 94c9b74
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/parse.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DomUtils } from 'htmlparser2';
import { parse as parseWithHtmlparser2 } from './parsers/htmlparser2';
import { parse as parseWithParse5 } from './parsers/parse5';
import { parse as parseWithHtmlparser2 } from './parsers/htmlparser2-adapter';
import { parse as parseWithParse5 } from './parsers/parse5-adapter';
import {
Node,
Document,
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import {
} from './options';
import { select } from 'cheerio-select';
import { ElementType, DomUtils } from 'htmlparser2';
import { render as renderWithParse5 } from './parsers/parse5';
import { render as renderWithHtmlparser2 } from './parsers/htmlparser2';
import { render as renderWithParse5 } from './parsers/parse5-adapter';
import { render as renderWithHtmlparser2 } from './parsers/htmlparser2-adapter';

/**
* Helper function to render a DOM.
Expand Down

0 comments on commit 94c9b74

Please sign in to comment.