Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Improved detection of empty patterns #3058

Conversation

RunDevelopment
Copy link
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

JS File Size Changes (gzipped)

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

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.

None yet

1 participant