Skip to content

CSP: Improved tokenization#3276

Merged
RunDevelopment merged 1 commit intoPrismJS:masterfrom
RunDevelopment:csp-impr
Dec 18, 2021
Merged

CSP: Improved tokenization#3276
RunDevelopment merged 1 commit intoPrismJS:masterfrom
RunDevelopment:csp-impr

Conversation

@RunDevelopment
Copy link
Copy Markdown
Member

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
Copy Markdown

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%).

Details
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
@RunDevelopment RunDevelopment deleted the csp-impr branch December 18, 2021 12:26
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.

1 participant