Skip to content

Update @bynder/compact-view to v5.2.3, package.json-only patch#698

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/update-bynder-compact-view
Draft

Update @bynder/compact-view to v5.2.3, package.json-only patch#698
Copilot wants to merge 2 commits intomainfrom
copilot/update-bynder-compact-view

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 6, 2026

Upgrades @bynder/compact-view from 5.1.25.2.3 and drops the source code patches that were needed for v5.1.2. v5.2.3 natively imports from react/jsx-runtime and ships as ESM-only, so neither the index.js deletion nor the index.mjs shim are needed anymore.

Patch changes

  • Removed patches/@bynder__compact-view.patch — the old unversioned patch that deleted the CJS index.js and injected a react/jsx-runtime import into index.mjs
  • Added patches/@bynder__compact-view@5.2.3.patch — now only patches peerDependencies to allow React 19 (<19.0.0<20.0.0)
  • Updated pnpm-workspace.yaml to use the versioned patch reference (@bynder/compact-view@5.2.3)

Bundling fix for v5.2.3's unbundled package structure

v5.2.3 ships as separate chunk files instead of a single self-contained bundle. Those chunks import packages (react-responsive-modal, react-laag, etc.) that aren't listed in bynder's own package.json dependencies. Without these available, rolldown emits unresolved-module warnings and the pkg build --strict esbuild check fails.

Added the missing transitive deps as devDependencies of sanity-plugin-bynder-input so rolldown can bundle them into the dist (same net result as v5.1.2 where bynder bundled them internally):

react-colorful, react-copy-to-clipboard, react-draggable,
react-hot-toast, react-icons, react-intersection-observer,
react-laag, react-responsive-modal

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • sanity-cdn.com
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/plugins/plugins/dev/test-studio/node_modules/.bin/../sanity/bin/sanity build bash k/pl�� de_modules/@sanity/pkg-utils/dist/_chunks-es/checkAction.js de_modules/@sanity/pkg-utils/dist/_chunks-es/createApiExtractorConfig.js s de_modules/@sanish de_modules/@sani-c de_modules/@sanipkg build --strict --check --clean bash --no�� --noprofile de_modules/@sanity/pkg-utils/dist/_chunks-es/index.js ndor/bin/bash de_modules/@saniturbo de_modules/@sanibuild de_modules/@sanity/pkg-utils/dis--noprofile sh (dns block)
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/plugins/plugins/dev/test-studio/node_modules/.bin/../sanity/bin/sanity build bash --no�� veModal s/node_modules/.pnpm/@bynder&#43;compact-view@5.2.3_patch_hash=edb93b115acdd50274c849caae372c8626389-c s/node_modules/.pnpm/@bynder&#43;compact-view@5.2.3_patch_hash=edb93b115acdd50274c849caae372c8626389pkg build --strict --check --clean s/node_modules/.sh s/node_modules/.-c s/node_modules/.turbo build s/node_modules/.pnpm/@bynder&#43;compact-view@5.2.3_patch_hash=edb93b115acdd50274c849caae372c8626389762c7ed13c13_8d7f7198b5fb90463c7--ignore-cr-at-eol s/no�� s/node_modules/.pnpm/@bynder&#43;compact-view@5.2.3_patch_hash=edb93b115acdd50274c849caae372c8626389git s/node_modules/.pnpm/@bynder&#43;compact-view@5.2.3_patch_hash=edb93b115acdd50274c849caae372c8626389rev-parse dules/.bin/sh s/node_modules/.dirname s/node_modules/./home/REDACTED/work/plugins/plugins/dev/test-studio/node_modules/.bin/sanity s/node_modules/.pnpm/@bynder&#43;comshow s/node_modules/.pnpm/@bynder&#43;comreact-responsive-modal (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

update @bynder/compact-view to v5.2.3, only pnpm patch package.json remove the other patch to source code


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 6, 2026

🦋 Changeset detected

Latest commit: 058c891

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sanity-plugin-bynder-input Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 6, 2026

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

Project Deployment Actions Updated (UTC)
plugins-studio Error Error Mar 6, 2026 3:56pm

Request Review

Co-authored-by: stipsan <81981+stipsan@users.noreply.github.com>
@socket-security
Copy link
Copy Markdown

Copilot AI changed the title [WIP] Update @bynder/compact-view to v5.2.3 Update @bynder/compact-view to v5.2.3, package.json-only patch Mar 6, 2026
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