You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
@platejs/yjs: allow @hocuspocus/provider v4 in peerDependencies #5337
Behavior bug (incorrect output/state without crash)
Browser surface
No
Owner surface
Plate framework or plugin
Summary
@platejs/yjs@53.2.0 declares the peer dependency "@hocuspocus/provider": "^3.4.0", so installing it next to the current @hocuspocus/provider 4.x produces an unmet peer dependency.
Public reproduction URL
NOT_ENOUGH_INFO
Steps to reproduce
In any pnpm project run pnpm add @platejs/yjs@53.2.0 @hocuspocus/provider@4.8.0.
Observe the unmet peer warning for @hocuspocus/provider.
Expected behavior
The peer range accepts provider v4 (current stable is 4.8.0), for example ^3.4.0 || ^4.0.0, or the docs state that v4 is unsupported.
Actual behavior
pnpm reports an unmet peer: @hocuspocus/provider expected ^3.4.0, found 4.8.0. At runtime we see no problems: we run YjsPlugin with the Hocuspocus provider 4.x in production since 19.09.2026 (sync, awareness, cursors, HocuspocusProviderWrapper.provider).
Acceptance criteria
No unmet peer warning with @hocuspocus/provider 4.x.
Ideally a CI check of @platejs/yjs against provider v4.
Regression range
last-known-good: NOT_ENOUGH_INFOfirst-known-bad: NOT_ENOUGH_INFOevidence: peerDependencies of @platejs/yjs 53.2.0 and of main
pnpm install output: unmet peer @hocuspocus/provider@^3.4.0: found 4.8.0.
Maintainer Codex context
No response
Impact and severity
Packaging only: a warning on every install for anyone on Hocuspocus 4.x, and no signal from Plate whether v4 is supported. No editor breakage observed.
Activity