Conversation
ec99f3b to
4c979a0
Compare
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.
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
@csrf-armor/core@1.2.3
Patch Changes
#52
440e0afThanks @muneebs! - chore(deps): patch transitive dev dependency security advisoriesBumps pnpm overrides for
vite(^6.4.1→^6.4.2) andunhead(>=2.1.11→>=2.1.13) to pull in patched versions. These are dev/build-time dependencies only — no runtime behavior or published API changes.Addresses:
.maphandling (medium, <=6.4.1)hasDangerousProtocol()bypass via leading-zero padded HTML entities inuseHeadSafe()(medium, <2.1.13)@csrf-armor/express@1.2.3
Patch Changes
#52
440e0afThanks @muneebs! - chore(deps): patch transitive dev dependency security advisoriesBumps pnpm overrides for
vite(^6.4.1→^6.4.2) andunhead(>=2.1.11→>=2.1.13) to pull in patched versions. These are dev/build-time dependencies only — no runtime behavior or published API changes.Addresses:
.maphandling (medium, <=6.4.1)hasDangerousProtocol()bypass via leading-zero padded HTML entities inuseHeadSafe()(medium, <2.1.13)Updated dependencies [
440e0af]:@csrf-armor/nextjs@1.4.3
Patch Changes
#50
7d4adebThanks @muneebs! - fix(client): preserve headers whencsrfFetchis called with aRequestobjectcsrfFetchpreviously only read headers from theinitargument, so when it was called with a fullRequestobject (e.g.csrfFetch(new Request(url, { headers }))), the Request's headers were stripped. It now merges headers from the Request, then theinitargument, then the CSRF headers (CSRF headers always take precedence), makingcsrfFetcha drop-in replacement forfetch.Fixes Bug:
csrfFetchstrips headers when the first argument is aRequest#49#52
440e0afThanks @muneebs! - chore(deps): patch transitive dev dependency security advisoriesBumps pnpm overrides for
vite(^6.4.1→^6.4.2) andunhead(>=2.1.11→>=2.1.13) to pull in patched versions. These are dev/build-time dependencies only — no runtime behavior or published API changes.Addresses:
.maphandling (medium, <=6.4.1)hasDangerousProtocol()bypass via leading-zero padded HTML entities inuseHeadSafe()(medium, <2.1.13)Updated dependencies [
440e0af]:@csrf-armor/nuxt@1.1.2
Patch Changes
#50
7d4adebThanks @muneebs! - fix(client): preserve headers whencsrfFetchis called with aRequestobjectcsrfFetchpreviously only read headers from theinitargument, so when it was called with a fullRequestobject (e.g.csrfFetch(new Request(url, { headers }))), the Request's headers were stripped. It now merges headers from the Request, then theinitargument, then the CSRF headers (CSRF headers always take precedence), makingcsrfFetcha drop-in replacement forfetch.Fixes Bug:
csrfFetchstrips headers when the first argument is aRequest#49#52
440e0afThanks @muneebs! - chore(deps): patch transitive dev dependency security advisoriesBumps pnpm overrides for
vite(^6.4.1→^6.4.2) andunhead(>=2.1.11→>=2.1.13) to pull in patched versions. These are dev/build-time dependencies only — no runtime behavior or published API changes.Addresses:
.maphandling (medium, <=6.4.1)hasDangerousProtocol()bypass via leading-zero padded HTML entities inuseHeadSafe()(medium, <2.1.13)Updated dependencies [
440e0af]: