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(addon-table): TuiTableDirective Content Security Policy error v4 #8872

Merged

Conversation

stepnikoghosyan
Copy link
Contributor

TuiTableDirective caused error when adding Content Security Policy with NONCE value.

Error itself:

Refused to apply inline style because it violates the following Content Security Policy directive: "style-src....". Either the 'unsafe-inline' keyword, a hash ('sha256-uprzIeY8iAGlQbI25hI6vVEMS+1jDt6N6C2veKnb2dA='), or a nonce ('nonce-...') is required to enable inline execution. Note that hashes do not apply to event handlers, style attributes and javascript: navigations unless the 'unsafe-hashes' keyword is present.

Copy link

lumberjack-bot bot commented Sep 6, 2024

Pull request was closed ✔️

All saved screenshots (for current PR) were deleted 🗑️

Copy link

codecov bot commented Sep 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.69%. Comparing base (43c0ebb) to head (02a8b2f).
Report is 1552 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8872      +/-   ##
==========================================
+ Coverage   70.19%   75.69%   +5.50%     
==========================================
  Files        1460     1216     -244     
  Lines       15934    19059    +3125     
  Branches     2292     1998     -294     
==========================================
+ Hits        11185    14427    +3242     
- Misses       4369     4589     +220     
+ Partials      380       43     -337     
Flag Coverage Δ
summary 75.69% <ø> (+5.50%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Copy link

bundlemon bot commented Sep 6, 2024

BundleMon

Unchanged files (5)
Status Path Size Limits
demo/browser/main.(hash).js
283.1KB +10%
demo/browser/vendor.(hash).js
216.46KB +10%
demo/browser/runtime.(hash).js
42.03KB +10%
demo/browser/styles.(hash).css
11.65KB +10%
demo/browser/polyfills.(hash).js
11.2KB +10%

Total files change +1B 0%

Unchanged groups (1)
Status Path Size Limits
demo/browser/*..js
6.97MB -

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

@splincode splincode merged commit a7ae8f3 into taiga-family:main Sep 6, 2024
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants