@crawlee/cheerio 4.0.0-beta.176 → 4.0.0-beta.178

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  import { extractUrlsFromCheerio } from '@crawlee/utils/internal';
2
- import * as cheerio from 'cheerio';
2
+ // slim uses faster htmlparser2 parser and doesn't load extra libs like undici
3
+ import * as cheerio from 'cheerio/slim';
3
4
  import { parseDocument } from 'htmlparser2';
4
5
  /**
5
6
  * A {@link DOMParser} backed by [cheerio](https://www.npmjs.com/package/cheerio). Pass it to a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crawlee/cheerio",
3
- "version": "4.0.0-beta.176",
3
+ "version": "4.0.0-beta.178",
4
4
  "description": "The scalable web crawling and scraping library for JavaScript/Node.js. Enables development of data extraction and web automation jobs (not only) with headless Chrome and Puppeteer.",
5
5
  "engines": {
6
6
  "node": ">=22.0.0"
@@ -47,9 +47,9 @@
47
47
  "access": "public"
48
48
  },
49
49
  "dependencies": {
50
- "@crawlee/http": "4.0.0-beta.176",
51
- "@crawlee/types": "4.0.0-beta.176",
52
- "@crawlee/utils": "4.0.0-beta.176",
50
+ "@crawlee/http": "4.0.0-beta.178",
51
+ "@crawlee/types": "4.0.0-beta.178",
52
+ "@crawlee/utils": "4.0.0-beta.178",
53
53
  "cheerio": "^1.0.0",
54
54
  "htmlparser2": "^10.0.0",
55
55
  "tslib": "^2.8.1"
@@ -61,5 +61,5 @@
61
61
  }
62
62
  }
63
63
  },
64
- "gitHead": "3e9e27d524dff8fe72aaf337e3d24fc2232eb241"
64
+ "gitHead": "7beea593ac56d23b678466bc28390d527dbc3d8b"
65
65
  }