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.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@next-safe/[email protected]
Minor Changes
#64
02ca36f
Thanks @nibtime! - feat: ✨ Hash-based CSP with trusted proxy loader to support Firefox and Safari (fixes #63)Avoids broken SRI validation of Firefox and Safari together with
strict-dynamic
an important precursor for alternative configuration methods to middleware, that can't dynamically opt-out from
strict-dynamic
by user agent#64
02ca36f
Thanks @nibtime! - rebuild/refactor lib into many small modules with CSP manifest (fixes #40)writes out a single file to
.next/static/~csp/csp-manifest.json
with all information about trustable sources identified during SSRprecursor for a multi-package approach to support alternative configuration methods (described in Why I realized publishing a lib like this might be a bad idea ... [and how it could get better] #60 (comment))
perf: fetch CSP manifest only once on first access and cache for all subsequent middlewares
#64
02ca36f
Thanks @nibtime! - feat(csp): newCspBuilder
class with fluent interface for safe and easy CSP construction + manipulation[email protected]
Minor Changes
02ca36f
Thanks @nibtime! - feat: CSP object Converter for converting external tool outputPatch Changes
02ca36f
,02ca36f
,02ca36f
]:[email protected]
Patch Changes
02ca36f
,02ca36f
,02ca36f
]: