Conversation
Upgrade various dependencies across fixtures and packages (React/react-dom, @types/react, Cloudflare types, tiptap, lexical, tldraw, partysync/partyfn, hono, etc.) and update biome schema. Add lang="en" to several fixture HTML files, add explicit button type attributes and a captions track for the partytracks fixture, and adjust the todo-sync package.json (private flag placement and new deps). These are maintenance updates to keep examples and dev tooling current and improve HTML accessibility/behavior.
Switch several vitest tests from jsdom to node to avoid jsdom's Event interfering with Node WebSocket behavior (integration.test.ts, performance.test.ts, reconnecting.test.ts). In react-hooks.test.tsx, import the ws WebSocket, override globalThis.WebSocket for the test file, and pass the ws WebSocket into reconnect options and usePartySocket to ensure sockets use the Node implementation. Adjust isNode detection in ws.ts to only check for process.versions.node (remove reliance on document being undefined) to better support environments that polyfill document (e.g. React Native). These changes resolve test flakiness and WebSocket incompatibilities under jsdom.
Adjust the minUptime test to reflect a shorter minUptime and correct retry/reset behavior: set minUptime to 75ms (was 250ms), update expectedDelays and expectedRetryCount arrays, and add comments explaining connection durations and when retryCount resets. Also modify the test signature to accept a fail callback and wrap assertions in a try/catch that calls fail(e) to properly report assertion failures from the async close handler.
Add a changeset to publish patch updates for multiple packages (y-partyserver, partyserver, partysocket, hono-party, partysync, partywhen, partysub) with message "update deps". Also fix wrangler config by changing the worker entry from "/worker.ts" to a relative "./worker.ts" to ensure correct path resolution.
Regenerate package-lock.json to capture dependency updates and new optional platform builds. Notable changes: bump @rollup platform packages to 4.59.0, @babel/helper-plugin-utils -> 7.28.6 and @babel/runtime -> 7.28.6, @emnapi core/runtime -> 1.8.1, @floating-ui packages updated, undici -> 6.23.0, added nanoid entries for several fixtures, and replaced lightningcss entries with @tailwindcss/oxide (4.2.1) including platform-specific oxide binaries (node engine requirement updated to >=20). This lockfile reflects an npm install/resolution update; no source code changes.
Configure actions/setup-node@v4 in .github/workflows/pullrequest.yml to use Node v25 so the CI steps (npm ci and npm run build) run with the intended Node runtime.
Replace Prettier/Biome with Oxfmt and Oxlint across the repo. Added .oxfmtrc.json and .oxlintrc.json, removed .prettierrc and biome.json, and updated AGENTS.md to document the new formatter/linter and configurations. Updated inline lint pragmas in source/fixture files (e.g. biome-ignore -> oxlint-disable-next-line or jsx-a11y/media-has-caption) and adjusted package.json dev dependencies to use oxfmt/oxlint. Miscellaneous code/test script changes to align with the new tooling.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.4)
Can you help keep this open source service alive? 💖 Please sponsor : )