Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
chore(deps): update cheerio from 0.22 to 1.0.0
  • Loading branch information
yoshinorin committed Dec 31, 2024
commit e334eece484ecf6496dc0fe3e2a010c93d190dc2
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';
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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
Loading