mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
adapt cheerio import to package update
This commit is contained in:
parent
67b135f09e
commit
368a05d867
@ -1,4 +1,4 @@
|
|||||||
import cheerio from 'cheerio'
|
import * as cheerio from 'cheerio'
|
||||||
import { exec, build } from 'xregexp/xregexp-all.js'
|
import { exec, build } from 'xregexp/xregexp-all.js'
|
||||||
// formats of a Hashtag:
|
// formats of a Hashtag:
|
||||||
// https://en.wikipedia.org/w/index.php?title=Hashtag&oldid=905141980#Style
|
// https://en.wikipedia.org/w/index.php?title=Hashtag&oldid=905141980#Style
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
import cheerio from 'cheerio'
|
import * as cheerio from 'cheerio'
|
||||||
|
|
||||||
export default (content?) => {
|
export default (content?) => {
|
||||||
if (!content) return []
|
if (!content) return []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user