adapt cheerio import to package update

This commit is contained in:
mahula 2024-09-08 08:43:06 +02:00
parent 67b135f09e
commit 368a05d867
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import cheerio from 'cheerio'
import * as cheerio from 'cheerio'
import { exec, build } from 'xregexp/xregexp-all.js'
// formats of a Hashtag:
// https://en.wikipedia.org/w/index.php?title=Hashtag&oldid=905141980#Style

View File

@ -1,4 +1,4 @@
import cheerio from 'cheerio'
import * as cheerio from 'cheerio'
export default (content?) => {
if (!content) return []