Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump @dnd-kit/core from 4.0.1 to 4.0.3 #13

Merged
merged 1 commit into from
Jun 29, 2022

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Nov 23, 2021

Bumps @dnd-kit/core from 4.0.1 to 4.0.3.

Release notes

Sourced from @​dnd-kit/core's releases.

@​dnd-kit/core@​4.0.3

Patch Changes

  • #509 1c6369e Thanks @​clauderic! - Helpers have been updated to support rendering in foreign window contexts (via ReactDOM.render or ReactDOM.createPortal).

    For example, checking if an element is an instance of an HTMLElement is normally done like so:

    if (element instanceof HTMLElement)

    However, when rendering in a different window, this can return false even if the element is indeed an HTMLElement, because this code is equivalent to:

    if (element instanceof window.HTMLElement)

    And in this case, the window of the element is different from the main execution context window, because we are rendering via a portal into another window.

    This can be solved by finding the local window of the element:

    const elementWindow = element.ownerDocument.defaultView;
    if (element instanceof elementWindow.HTMLElement)

  • Updated dependencies [1c6369e]:

    • @​dnd-kit/utilities@​3.0.1

@​dnd-kit/core@​4.0.2

Patch Changes

Changelog

Sourced from @​dnd-kit/core's changelog.

4.0.3

Patch Changes

  • #509 1c6369e Thanks @​clauderic! - Helpers have been updated to support rendering in foreign window contexts (via ReactDOM.render or ReactDOM.createPortal).

    For example, checking if an element is an instance of an HTMLElement is normally done like so:

    if (element instanceof HTMLElement)

    However, when rendering in a different window, this can return false even if the element is indeed an HTMLElement, because this code is equivalent to:

    if (element instanceof window.HTMLElement)

    And in this case, the window of the element is different from the main execution context window, because we are rendering via a portal into another window.

    This can be solved by finding the local window of the element:

    const elementWindow = element.ownerDocument.defaultView;
    if (element instanceof elementWindow.HTMLElement)

  • Updated dependencies [1c6369e]:

    • @​dnd-kit/utilities@​3.0.1

4.0.2

Patch Changes

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@dnd-kit/core](https://github.com/clauderic/dnd-kit/tree/HEAD/packages/core) from 4.0.1 to 4.0.3.
- [Release notes](https://github.com/clauderic/dnd-kit/releases)
- [Changelog](https://github.com/clauderic/dnd-kit/blob/master/packages/core/CHANGELOG.md)
- [Commits](https://github.com/clauderic/dnd-kit/commits/@dnd-kit/[email protected]/packages/core)

---
updated-dependencies:
- dependency-name: "@dnd-kit/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 23, 2021
@netlify
Copy link

netlify bot commented Nov 23, 2021

✔️ Deploy Preview for 3x3showlist ready!

🔨 Explore the source changes: 4e1a5ad

🔍 Inspect the deploy log: https://app.netlify.com/sites/3x3showlist/deploys/619ce37312c3bc00071c9589

😎 Browse the preview: https://deploy-preview-13--3x3showlist.netlify.app/

@mikitaserabrakou mikitaserabrakou merged commit 4e6f00c into master Jun 29, 2022
@mikitaserabrakou mikitaserabrakou deleted the dependabot/npm_and_yarn/dnd-kit/core-4.0.3 branch June 29, 2022 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant