-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Cheerio 1.0.0-rc.11 no longer support deep imports #2558
Comments
You're right; the next release of enzyme pegs cheerio to 1.0.0-rc.3 - you can peg this yourself in the meantime in your package.json. |
outsideris
added a commit
to outsideris/mocha-examples
that referenced
this issue
May 28, 2022
enzymejs/enzyme#2558 Signed-off-by: Outsider <[email protected]>
outsideris
added a commit
to mochajs/mocha-examples
that referenced
this issue
May 29, 2022
enzymejs/enzyme#2558 Signed-off-by: Outsider <[email protected]>
Why not just add the little |
@vbhayden that is certainly another alternative. |
This was referenced Aug 12, 2024
2 tasks
glepretre
added a commit
to Kozea/formol
that referenced
this issue
Sep 3, 2024
cheerio (https://github.com/cheeriojs/cheerio) has release an official 1.0.0 version after years of Release Candidate ones. cheeriojs/cheerio#4044 cheeriojs/cheerio#4032 cheeriojs/cheerio#3987 We depend on enzyme (https://github.com/enzymejs/enzyme) which depends on cheerio. Enzyme has not correctly locked cheerio RC version: enzymejs/enzyme@cafdb2b They're working on it... enzymejs/enzyme#2558 enzymejs/enzyme#2606 enzymejs/enzyme#2607 enzymejs/enzyme#2608 enzymejs/enzyme#2609 Meanwhile, locking cheerio here allow us to update our dependencies. According to enzyme, Cheerio RC was the last one supported by enzyme, even though RC12 seems to work for us.
glepretre
added a commit
to Kozea/formol
that referenced
this issue
Sep 3, 2024
cheerio (https://github.com/cheeriojs/cheerio) has released an official 1.0.0 version after years of Release Candidate ones. cheeriojs/cheerio#4044 cheeriojs/cheerio#4032 cheeriojs/cheerio#3987 We depend on enzyme (https://github.com/enzymejs/enzyme) which depends on cheerio. Enzyme has not correctly locked cheerio RC version: enzymejs/enzyme@cafdb2b They're working on it... enzymejs/enzyme#2558 enzymejs/enzyme#2606 enzymejs/enzyme#2607 enzymejs/enzyme#2608 enzymejs/enzyme#2609 Meanwhile, locking cheerio here allow us to update our dependencies. According to enzyme, Cheerio RC was the last one supported by enzyme, even though RC12 seems to work for us.
zzacharo
added a commit
to anikachurilova/react-searchkit
that referenced
this issue
Oct 10, 2024
* Add TextEncoder, TextDecoder, ReadableStream as globals due to jsdom/jsdom#2524 * Pin `cheerio` due to enzymejs/enzyme#2558 * Add option `--transformIgnorePatterns /\"node_modules/(?!axios)/\"` to instruct jest to transform "node_modules/axios"
zzacharo
added a commit
to anikachurilova/react-searchkit
that referenced
this issue
Oct 10, 2024
* Add TextEncoder, TextDecoder, ReadableStream as globals due to jsdom/jsdom#2524 * Pin `cheerio` due to enzymejs/enzyme#2558 * Add option `--transformIgnorePatterns /\"node_modules/(?!axios)/\"` to instruct jest to transform "node_modules/axios"
zzacharo
added a commit
to anikachurilova/react-searchkit
that referenced
this issue
Oct 10, 2024
* Add TextEncoder, TextDecoder, ReadableStream as globals due to jsdom/jsdom#2524 * Pin `cheerio` due to enzymejs/enzyme#2558 * Add option `--transformIgnorePatterns /\"node_modules/(?!axios)/\"` to instruct jest to transform "node_modules/axios"
zzacharo
added a commit
to inveniosoftware/react-searchkit
that referenced
this issue
Oct 10, 2024
* Add TextEncoder, TextDecoder, ReadableStream as globals due to jsdom/jsdom#2524 * Pin `cheerio` due to enzymejs/enzyme#2558 * Add option `--transformIgnorePatterns /\"node_modules/(?!axios)/\"` to instruct jest to transform "node_modules/axios"
grubbins
pushed a commit
to imc-trading/mattermost-plugin-pingboard
that referenced
this issue
Oct 17, 2024
A workaround is needed to provide ReadableStream since node 16 does not globally provide it. A pin on the cheerio version was also needed (enzymejs/enzyme#2558).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current behavior
packages/enzyme/src/Utils.js
import { isHtml } from 'cheerio/lib/utils';
Expected behavior
no error
API
Version
Adapter
N/A
The text was updated successfully, but these errors were encountered: