Skip to content

Bump react-svg-credit-card-payment-icons from 5.1.2 to 6.0.4#163

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-svg-credit-card-payment-icons-6.0.4
Open

Bump react-svg-credit-card-payment-icons from 5.1.2 to 6.0.4#163
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/react-svg-credit-card-payment-icons-6.0.4

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 19, 2026

Copy link
Copy Markdown
Contributor

Bumps react-svg-credit-card-payment-icons from 5.1.2 to 6.0.4.

Release notes

Sourced from react-svg-credit-card-payment-icons's releases.

🆕 6.0.4 - Fix: default export condition no longer resolves to native bundle

Bug Fix

Fix: default export condition no longer resolves to native bundle

The "default" condition in package.json exports was incorrectly pointing to the native bundle (dist/native/index.js). This caused environments that don't match the "react-native" or "browser" conditions — such as Next.js SSR, Remix, and plain Node.js — to load react-native-svg as a hard dependency, breaking server-side rendering with:

View config getter callback for component `path` must be a function (received `undefined`)

The "default" fallback now correctly resolves to the web/browser bundle for all environments that don't explicitly require the React Native build.

Affected exports

  • "." (bare import)
  • "./icons/*" (direct icon imports)

Migration

No code changes needed — just upgrade to 6.0.4.

Full Changelog: marcovoliveira/react-svg-credit-card-payment-icons@v6.0.3...v6.0.4

NPM

v6.0.2 - Metro Resolver Fix

What's Changed

  • Added dist/index.native.js and dist/index.native.mjs wrapper files for reliable Metro bundler resolution
  • Metro automatically picks up .native.js extensions, ensuring React Native apps always get the native (react-native-svg) build regardless of the bundler support for exports or the top-level react-native field

Upgrade Notes

After upgrading, clear Metro cache:

npx react-native start --reset-cache
# or for Expo:
npx expo start --clear

Full Changelog: marcovoliveira/react-svg-credit-card-payment-icons@v6.0.1...v6.0.2

🆕 Version 6.0.1 - Metro Resolver Fix

What's Changed

  • Added top-level "react-native" field to package.json for compatibility with Metro bundler's legacy resolver (used by older React Native versions and some Expo configs)

Full Changelog: marcovoliveira/react-svg-credit-card-payment-icons@v6.0.0...v6.0.1

... (truncated)

Commits
  • da82404 fix: default export condition resolves to web bundle instead of native
  • 8cffb11 fix: use browser/default conditions in exports for reliable Metro resolution
  • 272099c fix: add .native.js/.mjs wrappers for reliable Metro resolution
  • 0858efd fix: add top-level react-native field to package.json for Metro resolver comp...
  • f917dca feat!: add React Native support (cross-platform)
  • See full diff in compare view
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [react-svg-credit-card-payment-icons](https://github.com/marcovoliveira/svg-credit-card-payment-icons) from 5.1.2 to 6.0.4.
- [Release notes](https://github.com/marcovoliveira/svg-credit-card-payment-icons/releases)
- [Changelog](https://github.com/marcovoliveira/react-svg-credit-card-payment-icons/blob/main/CHANGELOG.md)
- [Commits](marcovoliveira/react-svg-credit-card-payment-icons@v5.1.2...v6.0.4)

---
updated-dependencies:
- dependency-name: react-svg-credit-card-payment-icons
  dependency-version: 6.0.4
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 19, 2026
@vercel

vercel Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
storefront Ready Ready Preview, Comment Jun 19, 2026 10:22am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants