Skip to content

Tests: Improved detection of empty patterns#3058

Merged
RunDevelopment merged 1 commit intoPrismJS:masterfrom
RunDevelopment:tests-better-empty-pattern-detection
Sep 12, 2021
Merged

Tests: Improved detection of empty patterns#3058
RunDevelopment merged 1 commit intoPrismJS:masterfrom
RunDevelopment:tests-better-empty-pattern-detection

Conversation

@RunDevelopment
Copy link
Copy Markdown
Member

This improves the static analysis we do using regexp-ast-analysis (= my project that powers some of the static analysis in eslint-plugin-regexp).

I also simplified the logic around lookbehind groups.

@github-actions
Copy link
Copy Markdown

JS File Size Changes (gzipped)

A total of 2 files have changed, with a combined diff of +2 B (+0.1%).

Details
file master pull size diff % diff
components/prism-asciidoc.min.js 1.62 KB 1.62 KB +2 B +0.1%
components/prism-promql.min.js 648 B 648 B 0 Bytes 0%

Generated by 🚫 dangerJS against 3850fd0

@RunDevelopment RunDevelopment merged commit d216e60 into PrismJS:master Sep 12, 2021
@RunDevelopment RunDevelopment deleted the tests-better-empty-pattern-detection branch September 12, 2021 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant