Skip to content

Fix WinterTC lint violation in private-preview branch#2721

Closed
jar-stripe wants to merge 1 commit into
private-previewfrom
jar/fix-linting-private-preview
Closed

Fix WinterTC lint violation in private-preview branch#2721
jar-stripe wants to merge 1 commit into
private-previewfrom
jar/fix-linting-private-preview

Conversation

@jar-stripe
Copy link
Copy Markdown
Contributor

@jar-stripe jar-stripe commented May 20, 2026

Why?

#2715 added a lint rule to ensure we conform to the WinterTC Minimum Web Platform API standard. The EventNotificationHandler class in the private-preview uses Buffer which is not allowed by these rules.

What?

  • replaced Buffer with Uint8Array in src/StripeEventNotificationHandler.ts

See Also

…ificationHandler

Buffer is a Node.js-specific global. Since Buffer extends Uint8Array,
this is a compatible change — callers passing Buffer still work.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Committed-By-Agent: claude
@jar-stripe jar-stripe requested a review from a team as a code owner May 20, 2026 23:55
@jar-stripe jar-stripe requested review from Copilot and xavdid and removed request for a team and Copilot May 20, 2026 23:55
@jar-stripe jar-stripe changed the base branch from master to private-preview May 20, 2026 23:56
@jar-stripe jar-stripe changed the title Jar/fix linting private preview Fix WinterTC lint violation May 20, 2026
@jar-stripe jar-stripe changed the title Fix WinterTC lint violation Fix WinterTC lint violation in private-preview branch May 20, 2026
@jar-stripe jar-stripe closed this May 21, 2026
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.

1 participant