Javascript dependency: Bump use-resize-observer from 9.1.0 to 10.0.0 in /web - #10265
Javascript dependency: Bump use-resize-observer from 9.1.0 to 10.0.0 in /web#10265dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [use-resize-observer](https://github.com/ZeeCoder/use-resize-observer) from 9.1.0 to 10.0.0. - [Release notes](https://github.com/ZeeCoder/use-resize-observer/releases) - [Changelog](https://github.com/ZeeCoder/use-resize-observer/blob/master/CHANGELOG.md) - [Commits](ZeeCoder/use-resize-observer@v9.1.0...v10.0.0) --- updated-dependencies: - dependency-name: use-resize-observer dependency-version: 10.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
Holding this one: it needs a source change alongside the bump, so it cannot go in as it stands. use-resize-observer 10.0.0 removes the default export in favour of a named export only, and import useResizeObserver from 'use-resize-observer';which yields So the bump is worth having, it just needs the import switching to |
|
Adding a note now that we have a worked example of exactly this failure mode. pickr 1.10.1 went in as #10264 with a completely green JS board and broke every dialog carrying a colour field, because the package switched to a dual CJS/ESM build and This PR is the same shape of change: a package dropping its default export whilst we import it as a default. So to restate what it needs before merging:
Worth doing, as v10 drops |
…gadmin-org#10265) v10 removes the default export in favour of a named one, so the import in PgTreeView had to change with it; left as it was, useResizeObserver resolves to undefined and the Object Explorer dies when the hook is called. The rest of the v10 changes cost us nothing: it drops the /polyfilled entrypoint and its @juggle/resize-observer dependency, no longer takes react-dom as a peer, and requires React >= 18.2, which is comfortably met on React 19. The hook still returns the { ref, width, height } shape the tree destructures. Verified by hand in Chrome and Safari with the tree expanded through databases, schemas, tables and tablespaces, resizing the panel and the window.
Bumps use-resize-observer from 9.1.0 to 10.0.0.
Release notes
Sourced from use-resize-observer's releases.
... (truncated)
Changelog
Sourced from use-resize-observer's changelog.
... (truncated)
Commits
9b5f242chore(release): 10.0.0 [skip ci]5647fabfeat!: v10 — modernised toolchain, React 19 support, long-standing fixes465fbc1chore: Update README.md to fix incorrect inlineSize/blockSize explanation.b2592d8Added FUNDING.ymlMaintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for use-resize-observer since your current version.
Install script changes
This version modifies
preparescript that runs during installation. Review the package contents before updating.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)