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

Add support for Content Security Policy #6

Merged
merged 5 commits into from
Jun 10, 2024
Merged

Conversation

mayank1513
Copy link
Member

If you are using CSP rules for CSS files, you can pass nonce argument to the Core component. If nonce is not supplied transition styles will not be applied. This may allow patched transitions throught the page in some cases.

<Core nonce={yourNonce} t="transition: all .5s" />

@mayank1513 mayank1513 self-assigned this Jun 10, 2024
Copy link

deepsource-io bot commented Jun 10, 2024

Here's the code health analysis summary for commits 90c4619..110c916. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@mayank1513 mayank1513 merged commit 3a5680d into main Jun 10, 2024
5 checks passed
@mayank1513 mayank1513 deleted the fix/5-add-nonce branch June 10, 2024 09:06
Copy link

codecov bot commented Jun 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (90c4619) to head (110c916).
Report is 6 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #6   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          215       218    +3     
  Branches        28        29    +1     
=========================================
+ Hits           215       218    +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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.

None yet

1 participant