Socket
Socket
Sign inDemoInstall

@floating-ui/utils

Package Overview
Dependencies
Maintainers
2
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@floating-ui/utils - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

dom/dist/floating-ui.utils.dom.esm.js

@@ -120,3 +120,3 @@ function getNodeName(node) {

if (isBody) {
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement ? getOverflowAncestors(win.frameElement) : []);
}

@@ -123,0 +123,0 @@ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));

@@ -126,3 +126,3 @@ (function (global, factory) {

if (isBody) {
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : []);
return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], win.frameElement ? getOverflowAncestors(win.frameElement) : []);
}

@@ -129,0 +129,0 @@ return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor));

{
"name": "@floating-ui/utils",
"version": "0.1.1",
"@rollingversions": {
"baseVersion": [
0,
1,
0
]
},
"version": "0.1.2",
"description": "Utilities for Floating UI",

@@ -12,0 +5,0 @@ "publishConfig": {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc