Skip to content

chore(deps)!: require @paypal/paypal-js v10 - #864

Merged
harlan-zw merged 1 commit into
mainfrom
chore/paypal-js-v10
Aug 18, 2026
Merged

chore(deps)!: require @paypal/paypal-js v10#864
harlan-zw merged 1 commit into
mainfrom
chore/paypal-js-v10

Conversation

@harlan-zw

@harlan-zwharlan-zw commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Supersedes #813.

📚 Description

#813 widened the peer range to ^8.1.2 || ^9.0.0 || ^10.0.0. For v2 we require the latest major instead, so the range is now ^10.0.0.

No code change. v10's breaking change makes environment required on loadCoreSdkScript, and we never call that helper: useScriptPayPal injects the web-sdk/v6/core tag directly and picks the sandbox or live origin from the sandbox option. The rest of v10 is additive (v6 web component DOM types, vaultSetupToken on OnApproveData, a narrowed fetchContent return type).

⚠️ Breaking: apps that install @paypal/paypal-js for types need v10.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

Drop the v8 and v9 peer ranges. The PayPal registry entry and components
already target the v6 SDK types, which v10 ships.
Closes#813
@vercel

vercelBot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

ProjectDeploymentActionsUpdated (UTC)
scripts-playgroundReadyReadyPreviewAug 18, 2026 4:26am

Request Review

@coderabbitai

Copy link
Copy Markdown

Warning

Review limit reached

@harlan-zw, you've reached your PR review limit, so we couldn't start this review.

Next review available in:50 seconds

Limit details: You’ve used all 4 included reviews currently available under your plan.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: fe66011a-9897-45f9-a9cc-8671d2822487

📥 Commits

Reviewing files that changed from the base of the PR and between f811258 and a7179a0.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (2)
  • docs/content/scripts/paypal.md
  • packages/script/package.json

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pkg-pr-new

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/scripts@864

commit: a7179a0

@harlan-zw
harlan-zw merged commit c8375a7 into mainAug 18, 2026
15 checks passed
@harlan-zw
harlan-zw deleted the chore/paypal-js-v10 branch August 18, 2026 04:34
Sign up for freeto 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

@harlan-zw