chore(deps): update peerdependency @paypal/paypal-js to v9 - autoclosed#525
chore(deps): update peerdependency @paypal/paypal-js to v9 - autoclosed#525renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
commit: |
7167c20 to
be890f0
Compare
be890f0 to
9047084
Compare
9047084 to
865ef40
Compare
865ef40 to
68b6e14
Compare
68b6e14 to
b91acf0
Compare
b91acf0 to
51aa782
Compare
51aa782 to
adc80de
Compare
There was a problem hiding this comment.
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.1Result: 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.
adc80de to
fc71eb9
Compare
This PR contains the following updates:
^8.1.2->^9.1.0Release Notes
paypal/paypal-js (@paypal/paypal-js)
v9.1.0Compare Source
Minor Changes
16b2dfe: Add new types for paypal-guest-payments componenta1c7246: Update dependencies, warn when loader is used server-side (PR #695)bee5716: Add v6 types for direct app switch presentation mode (PR #739)6539e8e: simplify createInstance generic type for v6c1c411b: Update v6 card field types (PR #762)Patch Changes
4a6321e: Updates the paypal guest payments presentation mode options type with more properties.d08e6a0: Adjust FindEligibleMethodsOptions type45b78ce: Update v6 sdk presentation mode props types.b2cbae5: chore: add build-and-deploy-docs github actions workflow036f31b: feat: use typedoc for generating v6 public interface documentation6d5e590: feat: use tsdoc for v6 public interface4adcd4e: Updates loadCoreSdkScript to not log when called server-side.6a745d7: Updated the properties on the find eligible methods options type.acc3ba2: feat: optimize docscfb9887: feat: add version to PayPalV6Namespaceeae3d6c: Update v6 types to useundefinedinstead ofnever(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 footers89e81bf: Added types for V6 Card Fields1599832: feat: add jsdoc comments to v6 public interface types03b0069: chore: docs updatesv9.0.1Compare Source
Patch Changes
53b1f63: Export v6 types for all callbacksv9.0.0Compare 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 sdkPatch Changes
0575877: Upgrade to package-lock v3 and fix rollup dependencyv8.4.2Compare Source
Patch Changes
9423b3d: fix: use correct type name with v6 script load options415c94e: Fix SdkInstance type definition conditional statements.v8.4.1Compare Source
Patch Changes
f97adb4: fix: update type for v6 loader loadCoreSdkScriptv8.4.0Compare Source
Minor Changes
4d51a9a: Add new script loader for v6 core sdk scriptPatch Changes
d3851e4: Adds types for v5 Direct App Switchv8.3.1Compare Source
Patch Changes
c22489a: Update tsconfig location for paypal-js packagev8.3.0Compare Source
Minor Changes
f594d7e: Update rollup config and add V6 typesv8.2.0Compare Source
Minor Changes
6f339f6: Adding test for card-fields.test.tsv8.1.3Compare 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.
This PR was generated by Mend Renovate. View the repository job log.