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

Regression in 1.21.2 #212

Closed
rarkins opened this issue Jun 13, 2024 · 1 comment
Closed

Regression in 1.21.2 #212

rarkins opened this issue Jun 13, 2024 · 1 comment
Assignees
Labels
bug A reported bug. confirmed A confirmed bug.

Comments

@rarkins
Copy link

rarkins commented Jun 13, 2024

Our test suite at Renovate Bot is getting failures for 1.21.2. We previously saw memory problems for 1.21.0 and reverted it, but tests were passing, as they were for 1.21.1. However for 1.21.2 we're seeing failed tests across a number of modules within Renovate.

Here is a minimal code snippet which behaves differently between the two versions:

const re2 = require('re2');

const regex = re2(/^.*?/);

const match = regex.exec('');

console.warn(match);

Result in v1.21.1:

[ '', index: 0, input: '', groups: undefined ]

Result in v1.21.2:

[ undefined, index: 0, input: '', groups: undefined ]
@uhop
Copy link
Owner

uhop commented Jun 13, 2024

Published as 1.21.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A reported bug. confirmed A confirmed bug.
Projects
None yet
Development

No branches or pull requests

2 participants