Skip to content

chore(deps): update peerdependency @paypal/paypal-js to v9 - autoclosed#525

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/paypal-paypal-js-9.x
Closed

chore(deps): update peerdependency @paypal/paypal-js to v9 - autoclosed#525
renovate[bot] wants to merge 1 commit intomainfrom
renovate/paypal-paypal-js-9.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 6, 2025

This PR contains the following updates:

Package Change Age Confidence
@paypal/paypal-js (source) ^8.1.2 -> ^9.1.0 age confidence

Release Notes

paypal/paypal-js (@​paypal/paypal-js)

v9.1.0

Compare Source

Minor Changes
Patch Changes
  • 4a6321e: Updates the paypal guest payments presentation mode options type with more properties.
  • d08e6a0: Adjust FindEligibleMethodsOptions type
  • 45b78ce: Update v6 sdk presentation mode props types.
  • b2cbae5: chore: add build-and-deploy-docs github actions workflow
  • 036f31b: feat: use typedoc for generating v6 public interface documentation
  • 6d5e590: feat: use tsdoc for v6 public interface
  • 4adcd4e: Updates loadCoreSdkScript to not log when called server-side.
  • 6a745d7: Updated the properties on the find eligible methods options type.
  • acc3ba2: feat: optimize docs
  • cfb9887: feat: add version to PayPalV6Namespace
  • eae3d6c: Update v6 types to use undefined instead of never (PR #​732)
  • 4023efd: Adds types for the v6 paypal messages SDK component.
  • 249f1e3: Update loadCoreSdkScript function to handle data-namespace attribute.
  • 6d406fd: Refactor loadCoreSdkScript namespace retrieval.
  • c41dab4: feat: add paypal copyright to docs footers
  • 89e81bf: Added types for V6 Card Fields
  • 1599832: feat: add jsdoc comments to v6 public interface types
  • 03b0069: chore: docs updates

v9.0.1

Compare Source

Patch Changes
  • 53b1f63: Export v6 types for all callbacks

v9.0.0

Compare Source

Major Changes
  • 6c83cf1: Added the missing style properties to the type definitions so developers can correctly pass styling options to PayPal card fields or PayPalCardFieldsProvider without TypeScript errors.
Minor Changes
  • 9b6eecc: Update types for the v6 web sdk
Patch Changes
  • 0575877: Upgrade to package-lock v3 and fix rollup dependency

v8.4.2

Compare Source

Patch Changes
  • 9423b3d: fix: use correct type name with v6 script load options
  • 415c94e: Fix SdkInstance type definition conditional statements.

v8.4.1

Compare Source

Patch Changes
  • f97adb4: fix: update type for v6 loader loadCoreSdkScript

v8.4.0

Compare Source

Minor Changes
  • 4d51a9a: Add new script loader for v6 core sdk script
Patch Changes
  • d3851e4: Adds types for v5 Direct App Switch

v8.3.1

Compare Source

Patch Changes
  • c22489a: Update tsconfig location for paypal-js package

v8.3.0

Compare Source

Minor Changes
  • f594d7e: Update rollup config and add V6 types

v8.2.0

Compare Source

Minor Changes
  • 6f339f6: Adding test for card-fields.test.ts

v8.1.3

Compare Source

Patch Changes
  • b2253cc: Prevent option paremeter being modified by processOptions()

Configuration

📅 Schedule: Branch creation - "on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel
Copy link
Contributor

vercel bot commented Oct 6, 2025

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

Project Deployment Review Updated (UTC)
scripts-docs Error Error Dec 20, 2025 4:09am
scripts-playground Ready Ready Preview, Comment Dec 20, 2025 4:09am

@pkg-pr-new
Copy link

pkg-pr-new bot commented Oct 6, 2025

Open in StackBlitz

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

commit: fc71eb9

@renovate renovate bot force-pushed the renovate/paypal-paypal-js-9.x branch from 7167c20 to be890f0 Compare October 7, 2025 21:54
@renovate renovate bot force-pushed the renovate/paypal-paypal-js-9.x branch from be890f0 to 9047084 Compare October 7, 2025 22:44
@renovate renovate bot force-pushed the renovate/paypal-paypal-js-9.x branch from 9047084 to 865ef40 Compare October 13, 2025 06:07
@renovate renovate bot force-pushed the renovate/paypal-paypal-js-9.x branch from 865ef40 to 68b6e14 Compare October 21, 2025 20:09
@renovate renovate bot force-pushed the renovate/paypal-paypal-js-9.x branch from 68b6e14 to b91acf0 Compare November 10, 2025 22:31
@renovate renovate bot force-pushed the renovate/paypal-paypal-js-9.x branch from b91acf0 to 51aa782 Compare December 3, 2025 15:11
@renovate renovate bot force-pushed the renovate/paypal-paypal-js-9.x branch from 51aa782 to adc80de Compare December 18, 2025 00:26
Copy link
Contributor

@vercel vercel bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional Suggestion:

The pnpm lock file is out of sync with package.json - it specifies ^9.0.1 for @paypal/paypal-js but package.json requires ^9.1.0, and the lock file doesn't have version 9.1.0 available.

View Details
📝 Patch Details
diff --git a/package.json b/package.json
index 316fdcd..cf4c1a4 100644
--- a/package.json
+++ b/package.json
@@ -125,7 +125,7 @@
     "@nuxt/module-builder": "^1.0.2",
     "@nuxt/scripts": "workspace:*",
     "@nuxt/test-utils": "3.19.2",
-    "@paypal/paypal-js": "^9.0.1",
+    "@paypal/paypal-js": "^9.1.0",
     "@types/semver": "^7.7.1",
     "@typescript-eslint/typescript-estree": "^8.49.0",
     "@vue/test-utils": "^2.4.6",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 3bec2ad..c8d7137 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -97,8 +97,8 @@ importers:
         specifier: 3.19.2
         version: 3.19.2(@vue/test-utils@2.4.6)(happy-dom@20.0.11)(magicast@0.5.1)(playwright-core@1.57.0)(typescript@5.9.3)(vitest@4.0.15(@opentelemetry/api@1.9.0)(@types/node@24.7.2)(happy-dom@20.0.11)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.44.0)(yaml@2.8.2))
       '@paypal/paypal-js':
-        specifier: ^9.0.1
-        version: 9.0.1
+        specifier: ^9.1.0
+        version: 9.1.0
       '@types/semver':
         specifier: ^7.7.1
         version: 7.7.1
@@ -1771,8 +1771,8 @@ packages:
     resolution: {integrity: sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==}
     engines: {node: '>= 10.0.0'}
 
-  '@paypal/paypal-js@9.0.1':
-    resolution: {integrity: sha512-6A5hkyYBSuloO7rPwnoPoy/0PPNH0pZZ1TBSTuEaSVqJ9h9t13PiP1ZarffirsO/e5t4hKjUmUORjgKV9sTMLw==}
+  '@paypal/paypal-js@9.1.0':
+    resolution: {integrity: sha512-65amihsmnU2BqoJrOG34xTn02WM56abLF0saQLqm+UhyXvPVci0jdHz8yEd3mTy7xsUTUf9hLCke99yG6iLArQ==}
 
   '@pkgjs/parseargs@0.11.0':
     resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==}
@@ -9555,7 +9555,7 @@ snapshots:
       '@parcel/watcher-win32-ia32': 2.5.1
       '@parcel/watcher-win32-x64': 2.5.1
 
-  '@paypal/paypal-js@9.0.1':
+  '@paypal/paypal-js@9.1.0':
     dependencies:
       promise-polyfill: 8.3.0
 

Analysis

Mismatched @paypal/paypal-js version in devDependencies

What fails: package.json specifies @paypal/paypal-js@^9.1.0 in peerDependencies but @paypal/paypal-js@^9.0.1 in devDependencies, causing the lock file to reference version 9.0.1 instead of 9.1.0.

How to reproduce:

grep -A 5 '"peerDependencies"' package.json | grep paypal
# Shows: "@paypal/paypal-js": "^9.1.0"

grep -A 50 '"devDependencies"' package.json | grep paypal
# Shows: "@paypal/paypal-js": "^9.0.1"

grep -A 2 '@paypal/paypal-js' pnpm-lock.yaml
# Before fix shows: specifier: ^9.0.1, version: 9.0.1

Result: pnpm-lock.yaml referenced 9.0.1 which does not satisfy the peer dependency requirement of ^9.1.0, creating version mismatch between development and consumer expectations.

Expected: devDependencies should match peerDependencies at ^9.1.0, and pnpm-lock.yaml should reflect this version. This maintains consistency between what the project is tested with and what consumers can use (following the pattern established when @paypal/paypal-js was initially added with matching versions in both peerDependencies and devDependencies).

Fix applied: Updated devDependencies from ^9.0.1 to ^9.1.0 and regenerated lock file via pnpm install. Verification: type checking passes, and pnpm-lock.yaml now correctly specifies version 9.1.0.

@renovate renovate bot force-pushed the renovate/paypal-paypal-js-9.x branch from adc80de to fc71eb9 Compare December 20, 2025 04:06
@renovate renovate bot changed the title chore(deps): update peerdependency @paypal/paypal-js to v9 chore(deps): update peerdependency @paypal/paypal-js to v9 - autoclosed Dec 20, 2025
@renovate renovate bot closed this Dec 20, 2025
@renovate renovate bot deleted the renovate/paypal-paypal-js-9.x branch December 20, 2025 04:20
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.

0 participants