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

fix: sizeRem regression in v4.3.1 to transform px to rem #1436

Merged
merged 1 commit into from
Jan 21, 2025

Conversation

jorenbroekema
Copy link
Collaborator

@jorenbroekema jorenbroekema commented Jan 21, 2025

Issue #, if available:
fixes #1435

Description of changes:
Earlier PR #1432 which was released as v4.3.1 introduced the regression.
Due to adding the ^ at the start of the regex, it no longer matched e.g. "5px" since the first character doesn't match a unit character. Unfortunately we didn't have a test for this before.

Pkg lock changes is from doing npm audit fix since we had some vulnerable dev dependencies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jorenbroekema jorenbroekema requested a review from a team as a code owner January 21, 2025 11:28
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-1436.d16eby4ekpss5y.amplifyapp.com

@dbanksdesign dbanksdesign merged commit 7d60069 into main Jan 21, 2025
6 checks passed
@dbanksdesign dbanksdesign deleted the fix-reg-regress branch January 21, 2025 17:25
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.

Version 4.3.1 converts every size value in css to rem
2 participants