Skip to content

Commit

Permalink
chore(deps): update cheerio from 0.22 to 1.0.0 (#5603)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshinorin authored Dec 31, 2024
1 parent 353d8f5 commit 499d86d
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
"0x": "^5.1.2",
"c8": "^9.0.0",
"chai": "^4.3.6",
"cheerio": "0.22.0",
"cheerio": "1.0.0",
"decache": "^4.6.1",
"eslint": "^8.48.0",
"eslint-config-hexo": "^5.0.0",
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/filters/meta_generator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Hexo from '../../../lib/hexo';
import decache from 'decache';
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import type hexoMetaGeneratorInject from '../../../lib/plugins/filter/after_render/meta_generator';
import chai from 'chai';
const should = chai.should();
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/helpers/css.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import Hexo from '../../../lib/hexo';
import cssHelper from '../../../lib/plugins/helper/css';
type CssHelperParams = Parameters<typeof cssHelper>;
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/helpers/js.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import Hexo from '../../../lib/hexo';
import jsHelper from '../../../lib/plugins/helper/js';
type JsHelperParams = Parameters<typeof jsHelper>;
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/helpers/open_graph.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import moment from 'moment';
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import { encodeURL, htmlTag as tag } from 'hexo-util';
import defaultConfig from '../../../lib/hexo/default_config';
import Hexo from '../../../lib/hexo';
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/tags/code.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { escapeHTML, highlight as utilHighlight, prismHighlight } from 'hexo-util';
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import Hexo from '../../../lib/hexo';
import tagCode from '../../../lib/plugins/tag/code';

Expand Down
2 changes: 1 addition & 1 deletion test/scripts/tags/full_url_for.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import tagFullUrlFor from '../../../lib/plugins/tag/full_url_for';

describe('full_url_for', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/tags/iframe.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import iframe from '../../../lib/plugins/tag/iframe';

describe('iframe', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/tags/img.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import pathFn from 'path';
import Hexo from '../../../lib/hexo';
import tagImg from '../../../lib/plugins/tag/img';
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/tags/link.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import link from '../../../lib/plugins/tag/link';

describe('link', () => {
Expand Down
2 changes: 1 addition & 1 deletion test/scripts/tags/url_for.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import cheerio from 'cheerio';
import * as cheerio from 'cheerio';
import tagUrlFor from '../../../lib/plugins/tag/url_for';

describe('url_for', () => {
Expand Down

0 comments on commit 499d86d

Please sign in to comment.