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 prismjs string template literal regex #2719

Merged

Conversation

timotheeguerin
Copy link
Member

Those regex were reporting to have some vulnerability for performance, not sure if this fixes it but I think those were errors to start with and this is the way the swift prism definition does with with \( instead of ${

Copy link
Contributor

github-actions bot commented Dec 4, 2023

Changes in this PR will be published to the following url to try(check status of TypeSpec Pull Request Try It pipeline for publish status):
Playground: https://cadlplayground.z22.web.core.windows.net/prs/2719/

Website: https://tspwebsitepr.z22.web.core.windows.net/prs/2719/

@markcowl markcowl enabled auto-merge (squash) December 5, 2023 01:19
@timotheeguerin timotheeguerin merged commit 211ca4f into microsoft:main Dec 5, 2023
12 checks passed
@timotheeguerin timotheeguerin deleted the fix/string-template-regex-prism branch December 5, 2023 17:30
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