Upgrading cheerio 0.12 to 0.13
Breaking0.12.4 → 0.13.1Breaking2Platform1New2Changed4Fixed7Other5
BreakingUpgrade verdict
2 breaking changes and a platform requirement change.
In plain terms
- The special root node is no longer included, so code that relied on it must change.
- The internal connect helper is gone; code using it must stop.
- Cheerio no longer supports the very old Node.js 0.6 runtime.
Must act 3 items need code or config changes
Adds CSSselect ~0.4.0.
Drops cheerio-select.
Installs 14 packages in all (was 21).
Also installs CSSwhat.
No longer installs boolbase, css-select, css-what, dom-serializer, nth-check.
Moves domelementtype 1.3.1, 2.3.0 → 1.3.1, domhandler 2.0.3, 5.0.3 → 2.2.1, domutils 1.1.6, 3.2.2 → 1.3.0, 1.4.3, entities 0.5.0, 4.5.0 → 0.5.0, htmlparser2 3.1.4 → 3.4.0, readable-stream 1.0.34 → 1.1.14, underscore 1.4.4 → 1.5.2. Your build may pick other versions.
What you must change
Breaking2
Removes the "root" node.
Removes the internal
connect function.connectPlatform1
Deprecates support for Node 0.6.