Skip to content

Commit 36af762

Browse files
Bump cheerio from 1.0.0-rc.12 to 1.0.0 (#574)
* Bump cheerio from 1.0.0-rc.12 to 1.0.0 Bumps [cheerio](https://github.com/cheeriojs/cheerio) from 1.0.0-rc.12 to 1.0.0. - [Release notes](https://github.com/cheeriojs/cheerio/releases) - [Commits](cheeriojs/cheerio@v1.0.0-rc.12...v1.0.0) --- updated-dependencies: - dependency-name: cheerio dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> * Update usages of cheerio --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Illia Antypenko <[email protected]>
1 parent 4695e91 commit 36af762

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Try it using [demo app](https://github.com/website-scraper/demo)
1919
This module is an Open Source Software maintained by one developer in free time. If you want to thank the author of this module you can use [GitHub Sponsors](https://github.com/sponsors/s0ph1e) or [Patreon](https://www.patreon.com/s0ph1e).
2020

2121
## Requirements
22-
* nodejs version >= 18
22+
* nodejs version >= 18.17
2323
* website-scraper since v5 is pure ESM (it doesn't work with CommonJS), [read more in release v5.0.0 docs](https://github.com/website-scraper/node-website-scraper/releases/tag/v5.0.0)
2424

2525
## Installation

lib/resource-handler/html/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import cheerio from 'cheerio';
1+
import * as cheerio from 'cheerio';
22
import { union, getUrl, series, updateResourceEncoding } from '../../utils/index.js';
33
import logger from '../../logger.js';
44
import HtmlSourceElement from './html-source-element.js';

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
},
3838
"homepage": "https://github.com/website-scraper/node-website-scraper",
3939
"dependencies": {
40-
"cheerio": "1.0.0-rc.12",
40+
"cheerio": "1.0.0",
4141
"css-url-parser": "^1.0.0",
4242
"debug": "^4.3.1",
4343
"fs-extra": "^11.1.0",
@@ -60,6 +60,6 @@
6060
"lib"
6161
],
6262
"engines": {
63-
"node": ">=18"
63+
"node": ">=18.17"
6464
}
6565
}

test/functional/base/base.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import should from 'should';
22
import '../../utils/assertions.js';
33
import nock from 'nock';
44
import fs from 'fs-extra';
5-
import cheerio from 'cheerio';
5+
import * as cheerio from 'cheerio';
66
import scrape from 'website-scraper';
77
import Resource from '../../../lib/resource.js';
88

test/functional/binary-resources/images.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import should from 'should';
22
import '../../utils/assertions.js';
33
import nock from 'nock';
44
import fs from 'fs-extra';
5-
import cheerio from 'cheerio';
5+
import * as cheerio from 'cheerio';
66
import scrape from 'website-scraper';
77

88
const testDirname = './test/functional/binary-resources/.tmp';

0 commit comments

Comments
 (0)