chore: upgrade dependencies (#8534)

* chore: upgrade dependencies

* FIxes

* Bump again
This commit is contained in:
Joshua Chen 2023-01-10 13:23:16 -05:00 committed by GitHub
parent 64c6b5c100
commit e8a07633ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 3126 additions and 3144 deletions

View file

@ -98,7 +98,7 @@ export function createExcerpt(fileString: string): string | undefined {
// Remove Title headers
.replace(/^#[^#]+#?/gm, '')
// Remove Markdown + ATX-style headers
.replace(/^#{1,6}\s*(?<text>[^#]*)\s*#{0,6}/gm, '$1')
.replace(/^#{1,6}\s*(?<text>[^#]*?)\s*#{0,6}/gm, '$1')
// Remove emphasis.
.replace(/(?<opening>[*_]{1,3})(?<text>.*?)\1/g, '$2')
// Remove strikethroughs.