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

Tighten regex logic #2620

Merged
merged 1 commit into from
May 2, 2024
Merged

Tighten regex logic #2620

merged 1 commit into from
May 2, 2024

Conversation

hannahramadan
Copy link
Contributor

@hannahramadan hannahramadan commented May 2, 2024

Where we use =~, can lead to unintended matches. This PR adds some additional lockdown. Previously, =~ 2.4 could match 3.2.4. We're now being more specific (ex: =~ ^2\.4) with how we are matching.

Copy link

github-actions bot commented May 2, 2024

SimpleCov Report

Coverage Threshold
Line 93.77% 93%
Branch 71.53% 71%

@hannahramadan hannahramadan marked this pull request as ready for review May 2, 2024 18:02
@hannahramadan hannahramadan merged commit 9e2fdf0 into dev May 2, 2024
127 checks passed
@hannahramadan hannahramadan deleted the bundler_lockdown branch May 2, 2024 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants