Skip to content

Comments

Update deps#343

Merged
threepointone merged 6 commits intomainfrom
update-deps
Feb 24, 2026
Merged

Update deps#343
threepointone merged 6 commits intomainfrom
update-deps

Conversation

@threepointone
Copy link
Collaborator

No description provided.

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.
@changeset-bot
Copy link

changeset-bot bot commented Feb 24, 2026

🦋 Changeset detected

Latest commit: ead1b92

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

This PR includes changesets to release 7 packages
Name Type
y-partyserver Patch
partyserver Patch
partysocket Patch
hono-party Patch
partysync Patch
partywhen Patch
partysub 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

@pkg-pr-new
Copy link

pkg-pr-new bot commented Feb 24, 2026

Open in StackBlitz

hono-party

npm i https://pkg.pr.new/cloudflare/partykit/hono-party@343

partyfn

npm i https://pkg.pr.new/cloudflare/partykit/partyfn@343

partyserver

npm i https://pkg.pr.new/cloudflare/partykit/partyserver@343

partysocket

npm i https://pkg.pr.new/cloudflare/partykit/partysocket@343

partysub

npm i https://pkg.pr.new/cloudflare/partykit/partysub@343

partysync

npm i https://pkg.pr.new/cloudflare/partykit/partysync@343

partytracks

npm i https://pkg.pr.new/cloudflare/partykit/partytracks@343

partywhen

npm i https://pkg.pr.new/cloudflare/partykit/partywhen@343

y-partyserver

npm i https://pkg.pr.new/cloudflare/partykit/y-partyserver@343

commit: ead1b92

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.
@threepointone threepointone merged commit d58823f into main Feb 24, 2026
6 checks passed
@threepointone threepointone deleted the update-deps branch February 24, 2026 11:34
@github-actions github-actions bot mentioned this pull request Feb 24, 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.

1 participant