Socket
Socket
Sign inDemoInstall

@floating-ui/react-dom

Package Overview
Dependencies
Maintainers
2
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@floating-ui/react-dom - npm Package Compare versions

Comparing version 2.0.8 to 2.0.9

10

dist/floating-ui.react-dom.d.ts

@@ -43,3 +43,3 @@ import { AlignedPlacement } from '@floating-ui/dom';

import { platform } from '@floating-ui/dom';
import type * as React_2 from 'react';
import type * as React from 'react';
import { Rect } from '@floating-ui/dom';

@@ -74,3 +74,3 @@ import { ReferenceElement } from '@floating-ui/dom';

*/
element: React_2.MutableRefObject<Element | null> | Element | null;
element: React.MutableRefObject<Element | null> | Element | null;
/**

@@ -230,3 +230,3 @@ * The padding between the arrow element and the floating element edges.

*/
floatingStyles: React_2.CSSProperties;
floatingStyles: React.CSSProperties;
/**

@@ -239,7 +239,7 @@ * Object containing the reference and floating refs and reactive setters.

*/
reference: React_2.MutableRefObject<RT | null>;
reference: React.MutableRefObject<RT | null>;
/**
* A React ref to the floating element.
*/
floating: React_2.MutableRefObject<HTMLElement | null>;
floating: React.MutableRefObject<HTMLElement | null>;
/**

@@ -246,0 +246,0 @@ * A callback to set the reference element (reactive).

@@ -94,4 +94,2 @@ import { arrow as arrow$1, computePosition } from '@floating-ui/dom';

}
// biome-ignore lint/suspicious/noSelfCompare: in source
return a !== a && b !== b;

@@ -217,4 +215,2 @@ }

}, []);
// biome-ignore lint/correctness/useExhaustiveDependencies: `hasWhileElementsMounted` is intentionally included.
index(() => {

@@ -221,0 +217,0 @@ if (referenceEl) referenceRef.current = referenceEl;

@@ -114,4 +114,2 @@ (function (global, factory) {

}
// biome-ignore lint/suspicious/noSelfCompare: in source
return a !== a && b !== b;

@@ -237,4 +235,2 @@ }

}, []);
// biome-ignore lint/correctness/useExhaustiveDependencies: `hasWhileElementsMounted` is intentionally included.
index(() => {

@@ -241,0 +237,0 @@ if (referenceEl) referenceRef.current = referenceEl;

{
"name": "@floating-ui/react-dom",
"version": "2.0.8",
"version": "2.0.9",
"description": "Floating UI for React DOM",

@@ -52,3 +52,3 @@ "publishConfig": {

"dependencies": {
"@floating-ui/dom": "^1.6.1"
"@floating-ui/dom": "^1.0.0"
},

@@ -68,3 +68,4 @@ "devDependencies": {

"scripts": {
"lint": "biome lint .",
"lint": "eslint .",
"format": "prettier --write .",
"clean": "rimraf dist out-tsc",

@@ -71,0 +72,0 @@ "test": "vitest run",

Sorry, the diff of this file is not supported yet

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