Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace cheerio with jsdom #110

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Replace cheerio with jsdom #110

wants to merge 16 commits into from

Conversation

jonkemp
Copy link
Owner

@jonkemp jonkemp commented Jan 28, 2022

No description provided.

@batflarrow
Copy link

batflarrow commented Apr 8, 2022

Hey @jonkemp any updates regarding this will cheerio be replaced or at least upgraded to the latest version?

Copy link
Contributor

@Yaminyam Yaminyam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you change the test output of extract-css?
Does js-beautify add tbody?

Because the current cheerio version has security issues, if it is replaced with jsdom or it takes a long time, it would be good to upgrade even the cheerio version with a hotfix first.

@coveralls
Copy link

coveralls commented Jun 1, 2022

Coverage Status

Coverage increased (+0.06%) to 97.767% when pulling d02d40e on jsdom-refactor into 23ef7b3 on master.

# Conflicts:
#	lib/setTableAttrs.js
#	package-lock.json
#	package.json
#	packages/extract-css/package-lock.json
#	packages/list-stylesheets/package-lock.json
#	packages/list-stylesheets/package.json
#	packages/list-stylesheets/test/expected/codeblocks-external.html
#	packages/list-stylesheets/test/expected/codeblocks.html
#	packages/list-stylesheets/test/expected/ejs.html
#	packages/list-stylesheets/test/expected/out.html
#	packages/list-stylesheets/test/main.js
#	packages/style-data/package-lock.json
#	packages/style-data/package.json
#	packages/style-data/test/expected/codeblocks-external.html
#	packages/style-data/test/expected/codeblocks.html
#	packages/style-data/test/expected/data-embed/out.html
#	packages/style-data/test/expected/ejs.html
#	packages/style-data/test/expected/media-queries/out.html
#	packages/style-data/test/expected/no-style-tag/out.html
#	packages/style-data/test/expected/out.html
#	packages/style-data/test/main.js
#	test/expected/character-entities.html
#	test/expected/codeblocks.html
#	test/expected/ejs.html
#	test/expected/identical-important.html
#	test/expected/media.html
#	test/expected/multiple/two/out.html
#	test/expected/out.html
#	test/expected/remote_url.html
#	test/expected/table-attr.html
#	test/expected/width-attr.html
#	test/main.js
# Conflicts:
#	package-lock.json
#	packages/extract-css/package-lock.json
#	packages/list-stylesheets/package-lock.json
#	packages/style-data/package-lock.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants