Skip to content

Commit

Permalink
fix: Rename parser adapter files (#1873)
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 8f55dd8
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
@@ -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
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 8f55dd8

Please sign in to comment.