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

HSTS: Improved tokenization #3277

Merged
merged 1 commit into from Dec 18, 2021
Merged

Conversation

RunDevelopment
Copy link
Member

@RunDevelopment RunDevelopment commented Dec 7, 2021

Changes:

  • Better tokenization for directives
  • Added punctuation
  • Removed arbitrary "safe" and "unsafe" patterns

@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 -10 B (-6.3%).

file master pull size diff % diff
components/prism-hsts.min.js 158 B 148 B -10 B -6.3%

Generated by 🚫 dangerJS against 14a05e0

@RunDevelopment RunDevelopment merged commit 3d708b9 into PrismJS:master Dec 18, 2021
12 checks passed
@RunDevelopment RunDevelopment deleted the hsts-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