Skip to content

chore(deps): bump @figma/code-connect from 1.4.8 to 1.4.9 - #1407

Merged
georgewrmarshall merged 2 commits into
mainfrom
chore/code-connect-package-1.4.9
Jul 22, 2026
Merged

chore(deps): bump @figma/code-connect from 1.4.8 to 1.4.9#1407
georgewrmarshall merged 2 commits into
mainfrom
chore/code-connect-package-1.4.9

Conversation

@amandaye0h

@amandaye0h amandaye0h commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Description

Bump @figma/code-connect from 1.4.8 to 1.4.9 in the root workspace and both @metamask/design-system-react and @metamask/design-system-react-native.

1.4.9 improves how slot contents are rendered by adopting the augmented getSlot API from Code Connect v1.4.9.

getSlot('SlotName') still renders as before, and the return value now also exposes connectedInstances — the connected instances directly in the slot. That lets us render a slot’s connected children inline.

This may resolve the review comment on PR #1359 about mapping startAccessory / endAccessory via slots vs connected instances.

Related issues

Fixes: N/A

Manual testing steps

  1. Confirm @figma/code-connect resolves to 1.4.9 (yarn why @figma/code-connect).
  2. Run a Code Connect parse/publish dry-run for React and React Native packages to confirm the CLI still works.
  3. Spot-check that existing .figma.tsx mappings still load as expected.

Screenshots/Recordings

N/A — dependency bump only.

Before

N/A

After

N/A

Pre-merge author checklist

  • I've followed MetaMask Contributor Docs
  • I've completed the PR template to the best of my ability
  • I’ve included tests if applicable
  • I’ve documented my code using JSDoc format if applicable

Pre-merge reviewer checklist

  • I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
  • I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.

Made with Cursor

Unlock getSlot().connectedInstances for richer Code Connect slot mappings.

Co-authored-by: Cursor <cursoragent@cursor.com>
@socket-security

socket-security Bot commented Jul 22, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​figma/​code-connect@​1.4.8 ⏵ 1.4.993 -510082 +198 +2100

View full report

@socket-security

socket-security Bot commented Jul 22, 2026

Copy link
Copy Markdown

All alerts resolved. Learn more about Socket for GitHub.

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring alerts on:

  • @figma/code-connect@1.4.9

View full report

@github-actions

Copy link
Copy Markdown
Contributor

📖 Storybook Links

Compare the preview for this pull request with the latest Storybooks from the main branch.

🔀 Pull Request Preview

🌳 Main Branch (Latest)

@georgewrmarshall

georgewrmarshall commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

@SocketSecurity ignore npm/@figma/code-connect@1.4.9

publisher looks legitimate

@georgewrmarshall
georgewrmarshall marked this pull request as ready for review July 22, 2026 16:15
@georgewrmarshall
georgewrmarshall requested a review from a team as a code owner July 22, 2026 16:15
@georgewrmarshall
georgewrmarshall enabled auto-merge (squash) July 22, 2026 16:15
@github-actions

Copy link
Copy Markdown
Contributor

📖 Storybook Links

Compare the preview for this pull request with the latest Storybooks from the main branch.

🔀 Pull Request Preview

🌳 Main Branch (Latest)

@georgewrmarshall
georgewrmarshall merged commit c7211a8 into main Jul 22, 2026
31 checks passed
@georgewrmarshall
georgewrmarshall deleted the chore/code-connect-package-1.4.9 branch July 22, 2026 16: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.

2 participants