Skip to content

chore(react-native): patch vulnerable transitive dependencies - #718

Open
markmur wants to merge 1 commit into
security/web-dependenciesfrom
security/react-native-dependencies
Open

markmur wants to merge 1 commit into
security/web-dependenciesfrom
security/react-native-dependencies

Conversation

@markmur

@markmur markmur commented Sep 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Pin patched releases of brace-expansion, fast-uri, js-yaml, nanoid, shell-quote, and ws.
  • Correct the existing js-yaml overrides so each major remains on its intended patched line.
  • Regenerate the React Native lockfile without changing direct dependencies.

Stack

  1. chore(react-native): replace vulnerable URI decoder #719
  2. chore(react-native): patch vulnerable transitive dependencies #718 ← This PR
  3. chore(web): patch vulnerable transitive dependencies #717
  4. chore(protocol): patch vulnerable transitive dependencies #716

@markmur
markmur requested a review from a team as a code owner September 1, 2026 15:19
@github-actions github-actions Bot added the #gsd:50662 Rebase Checkout Kit on UCP label Sep 1, 2026
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 91%
90.97% (363/399) 87.29% (213/244) 100% (92/92)

@github-actions

github-actions Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

Package Size

Platform Artifact Base Head Delta
React Native npm tarball 108.6 KiB 108.6 KiB 0 B
React Native file breakdown
File Base Head Delta
node_modules/@shopify/checkout-kit-protocol/src/generated/Models.ts 85.4 KiB 85.4 KiB 0 B
node_modules/@shopify/checkout-kit-protocol/src/generated/Models.d.ts 53.0 KiB 53.0 KiB 0 B
android/src/main/java/com/shopify/reactnative/checkoutkit/ShopifyCheckoutKitModule.java 16.2 KiB 16.2 KiB 0 B
ios/ShopifyCheckoutKit.swift 16.1 KiB 16.1 KiB 0 B
ios/AcceleratedCheckoutButtons.swift 14.1 KiB 14.1 KiB 0 B
src/components/AcceleratedCheckoutButtons.tsx 13.0 KiB 13.0 KiB 0 B
src/index.ts 12.7 KiB 12.7 KiB 0 B
lib/commonjs/index.js 12.4 KiB 12.4 KiB 0 B
lib/commonjs/components/AcceleratedCheckoutButtons.js 11.4 KiB 11.4 KiB 0 B
src/index.d.ts 11.3 KiB 11.3 KiB 0 B
lib/commonjs/components/AcceleratedCheckoutButtons.js.map 10.4 KiB 10.4 KiB 0 B
lib/module/index.js 10.4 KiB 10.4 KiB 0 B
lib/module/components/AcceleratedCheckoutButtons.js 10.2 KiB 10.2 KiB 0 B
node_modules/@shopify/checkout-kit-protocol/src/generated/ProtocolNotifications.ts 9.5 KiB 9.5 KiB 0 B
lib/module/components/AcceleratedCheckoutButtons.js.map 9.1 KiB 9.1 KiB 0 B
lib/module/index.js.map 8.1 KiB 8.1 KiB 0 B
src/present-dispatcher.ts 8.0 KiB 8.0 KiB 0 B
lib/commonjs/index.js.map 7.9 KiB 7.9 KiB 0 B
node_modules/@shopify/checkout-kit-protocol/src/generated/ProtocolNotifications.d.ts 7.6 KiB 7.6 KiB 0 B
node_modules/@shopify/checkout-kit-protocol/src/generated/ProtocolRenameMap.ts 7.2 KiB 7.2 KiB 0 B
…and 117 smaller files

Measured from the PR base SHA and PR head SHA. The file breakdown shows uncompressed sizes within each package artifact, so individual files do not sum to the compressed artifact total. This comment reports package artifact sizes only; it is not a final app binary-size report.

@markmur markmur self-assigned this Sep 1, 2026
@bitrise

bitrise Bot commented Sep 1, 2026 •

Copy link
Copy Markdown

Install this build

Open Tophat, select your target device, then click Install. Links open on the Mac running Tophat.

SDK Install
React Native Install with Tophat

Checkout Kit E2E results

Status Tags Target Platform OS version tag Device
❌ launch, checkout-presentation, checkout-completion, buyer-identity react-native ios latest iPhone 15
iOS 27 Beta
✅ launch, checkout-presentation, checkout-completion, buyer-identity react-native android latest Google Pixel 9
Android 17.0

Failures

Caution

If you believe an assertion is flaky, please raise a ticket in the #checkout-kit-devs channel so it can be addressed.

BrowserStack artifacts require BrowserStack access. Sign in to BrowserStack App Automate before opening artifact links.

iOS — react-native

Test Status Artifacts
./tests/shared/checkout-hardcoded-buyer-identity ❌ BrowserStack
./tests/shared/checkout-present-and-close ❌ BrowserStack
./tests/shared/launch-smoke ❌ BrowserStack
./tests/shared/checkout-guest ❌ BrowserStack

@markmur
markmur force-pushed the security/web-dependencies branch from 78cb1e8 to 9e35532 Compare September 18, 2026 13:06
@markmur
markmur force-pushed the security/react-native-dependencies branch from 8ac78ab to 20328fa Compare September 18, 2026 13:06
@github-actions

Copy link
Copy Markdown

React Native — Coverage Report

Lines Statements Branches Functions
Coverage: 91%
90.97% (363/399) 87.29% (213/244) 100% (92/92)

This branch has not been deployed

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

Labels

#gsd:50662 Rebase Checkout Kit on UCP

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant