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

Update tailwindcss-colors package -> 0.1.1 #150

Merged
merged 1 commit into from
Jan 9, 2025

Conversation

paulinek13
Copy link
Contributor

This update resolves an issue where color triggers were unintentionally activated by partial matches, causing incorrect values to be inserted.

To address this, word triggers are now used for all colors, ensuring each trigger is distinct and only activated when surrounded by word separators (e.g., spaces, commas, or newlines).

For instance, typing :slate500 previously triggered :slate50 because it was a substring. This behavior has now been fixed.

Use word triggers for all colors to prevent activation by partial matches.
@smeech
Copy link
Collaborator

smeech commented Jan 9, 2025

Thank you for spotting that - sorry I didn't! The alternative would have been the addition of suffix characters, like the emoji and similar packages, I guess.

An update to a straightforward trigger:/replace: package with no shell, script or potentially malicious code. OK to merge.

@smeech smeech merged commit ee782db into espanso:main Jan 9, 2025
1 check passed
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.

2 participants