Conversation
- **Dependencies**: - Added `@melloware/csp-webpack-plugin` for improved CSP handling. - Introduced `dompurify` for safer DOM manipulation. - Added `trusted-types` to enhance script security. - **Webpack Configuration**: - Replaced custom CSP plugin with `@melloware/csp-webpack-plugin`. - Configured `crossOriginLoading: 'anonymous'` for improved script integrity. - **Caching**: - Updated `Cache-Control` header values to include both `max-age` and `s-maxage` for enhanced caching strategies. - **Other Changes**: - Updated `package.json` and `package-lock.json` to reflect added and updated dependencies. - Integrated stricter CSP policies with subresource integrity. **Impact**: - Strengthens security against XSS attacks. - Optimizes caching and delivery of static assets. - Aligns project with modern web security standards.
|
Visit the preview URL for this PR (updated for commit 991e64c): https://bvarga-fe600--pr84-csp-2-0qs98x2e.web.app (expires Mon, 16 Dec 2024 08:34:57 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: a3b1098a9eaf0750a134a339972f1df2a3969a8d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Dependencies:
@melloware/csp-webpack-pluginfor improved CSP handling.dompurifyfor safer DOM manipulation.trusted-typesto enhance script security.Webpack Configuration:
@melloware/csp-webpack-plugin.crossOriginLoading: 'anonymous'for improved script integrity.Caching:
Cache-Controlheader values to include bothmax-ageands-maxagefor enhanced caching strategies.Other Changes:
package.jsonandpackage-lock.jsonto reflect added and updated dependencies.Impact: