Skip to content

perf: faster externalLink regexp#5706

Merged
uiolee merged 4 commits intohexojs:masterfrom
D-Sketon:perf/8.0.0-9
Apr 10, 2026
Merged

perf: faster externalLink regexp#5706
uiolee merged 4 commits intohexojs:masterfrom
D-Sketon:perf/8.0.0-9

Conversation

@D-Sketon
Copy link
Copy Markdown
Member

What does it do?

{97D2E40A-D3CE-445F-B14D-9ABBF8BC2269}

Screenshots

Pull request tasks

  • Add test cases for the changes.
  • Passed the CI test.

@github-actions
Copy link
Copy Markdown

How to test

git clone -b perf/8.0.0-9 https://github.com/D-Sketon/hexo.git
cd hexo
npm install
npm test

@coveralls
Copy link
Copy Markdown

coveralls commented Oct 12, 2025

Pull Request Test Coverage Report for Build 18782178730

Details

  • 2 of 2 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 99.526%

Totals Coverage Status
Change from base Build 18782167202: 0.0%
Covered Lines: 9866
Relevant Lines: 9913

💛 - Coveralls

@stevenjoezhang
Copy link
Copy Markdown
Member

stevenjoezhang commented Jan 2, 2026

Find another bug: rel.includes('noopenner') should be rel.includes('noopener')
#5729

@uiolee uiolee merged commit 391c7d8 into hexojs:master Apr 10, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants