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

CSP: Improved tokenization #3276

Merged
merged 1 commit into from Dec 18, 2021
Merged

Conversation

RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Dec 7, 2021

I pretty much re-did the way to tokenize expressions (= the value(s) of directives). It's now pretty close to a parser.

This works together with #3275 nicely:

image

@github-actions
Copy link

github-actions bot commented Dec 7, 2021

JS File Size Changes (gzipped)

A total of 1 files have changed, with a combined diff of +115 B (+23.7%).

file master pull size diff % diff
components/prism-csp.min.js 485 B 600 B +115 B +23.7%

Generated by 🚫 dangerJS against 00ed6fd

@RunDevelopment RunDevelopment merged commit a943f2b into PrismJS:master Dec 18, 2021
12 checks passed
@RunDevelopment RunDevelopment deleted the csp-impr branch Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant