Repository navigation
chore(deps): upgrade use-resize-observer to 10.0.0 - #12
Merged
Merged
Conversation
v10 ships a named export only, so switch the file tree to
`import { useResizeObserver }`. The package no longer depends on
@juggle/resize-observer, which drops out of the lockfile.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…se-resize-observer-10
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What changed
apps/dokploy/package.json:use-resize-observer9.1.0 -> 10.0.0 (published 2026-07-31, past the 3-day release-age window).apps/dokploy/components/ui/file-tree.tsx: default import -> named import{ useResizeObserver }.bun.lock:@juggle/resize-observeris no longer pulled in.The file tree is the only consumer of the package. The other
ResizeObserverusages in the app (truncate-tooltip.tsx, both terminals) use the native browser API and are unaffected.Release notes (v10.0.0) and impact
file-tree.tsx./polyfilledentrypoint removed, only the package root is importable: not used here.@juggle/resize-observerdropped, nativeResizeObserverrequired: all supported browsers have it.react-domno longer a peer; React >= 18.2 required: the app is on React 19.0is now reported as0instead ofundefined, and theonResizepayload carries the rawentry: the file tree only uses the returnedrefand never readswidth/heightor passesonResize, so there is no??vs||fallback to adjust.Verification
bun run typecheck: passes for all workspaces.bunx biome checkon the changed files: clean.bun run testinapps/dokploy: the only failures seen are inapplication.real.test.ts, which needs a Docker socket and fails locally as expected. No test covers the file tree.next buildnot run locally; CI builds it.Manual check on dev
The file tree is rendered on Traefik File System (
/dashboard/traefik, sidebar entry, also reachable from the user menu and the command palette), viacomponents/dashboard/file-system/show-traefik-system.tsx. Check that:If remote servers are configured, check the same page with a server selected.
🤖 Generated with Claude Code