Bump cheerio to @1.0.0-rc.11#2561
Bump cheerio to @1.0.0-rc.11#2561vinodkumarsharma276 wants to merge 1 commit intoenzymejs:masterfrom
Conversation
Due to recent security vulnerability in nth-checkv1.2.0 which is fetched transitively from enzyme --> cheerio --> css-select --> .... --> nth-checkv1.2.0. cherrio@1.0.0-rc.11 removes dependency of css-select which ultimately removes dependency of nth-check
|
Hi @ljharb / @lelandrichardson @koba04 @nfcampos , |
Codecov Report
@@ Coverage Diff @@
## master #2561 +/- ##
==========================================
- Coverage 96.31% 94.62% -1.69%
==========================================
Files 49 32 -17
Lines 4207 2717 -1490
Branches 1130 777 -353
==========================================
- Hits 4052 2571 -1481
+ Misses 155 146 -9
Continue to review full report at Codecov.
|
|
It's worth noting that this is not actually a vulnerability, it's a false positive, at least for enzyme's use case. |
| "dependencies": { | ||
| "array.prototype.flat": "^1.2.4", | ||
| "cheerio": "=1.0.0-rc.3", | ||
| "cheerio": "=1.0.0-rc.11", |
There was a problem hiding this comment.
| "cheerio": "=1.0.0-rc.11", | |
| "cheerio": "^1.0.0-rc.11", |
i suspect this will break tests, which is why it's pinned to rc3.
|
FYI: People (me included!) have been having problems with cheerio I mention it here because I, like others in that thread, encountered it through the dependency from enzyme. |
43eb75e to
39e6b1f
Compare
|
cheerio 1.0.0 is now released, so perhaps (if anyone ever comes around) it should be updated to that package |
|
Due to engine requirements, we may never be able to update to it. We’re far more likely to drop the render API. |
Due to recent security vulnerability in nth-checkv1.2.0 which is fetched transitively from enzyme --> cheerio --> css-select --> .... --> nth-checkv1.2.0.
cherrio@1.0.0-rc.11 removes dependency of css-select which ultimately removes dependency of nth-check