Socket
Socket
Sign inDemoInstall

@alisowski/react-resizable-panels

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alisowski/react-resizable-panels - npm Package Compare versions

Comparing version 0.1.10 to 0.1.11

3

dist/alisowski-react-resizable-panels.browser.cjs.js

@@ -574,3 +574,4 @@ 'use strict';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -577,0 +578,0 @@ }

@@ -578,3 +578,4 @@ 'use strict';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -581,0 +582,0 @@ }

@@ -554,3 +554,4 @@ import * as React from 'react';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -557,0 +558,0 @@ }

@@ -550,3 +550,4 @@ import * as React from 'react';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -553,0 +554,0 @@ }

@@ -576,3 +576,4 @@ 'use strict';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -579,0 +580,0 @@ }

@@ -580,3 +580,4 @@ 'use strict';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -583,0 +584,0 @@ }

@@ -556,3 +556,4 @@ import * as React from 'react';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -559,0 +560,0 @@ }

@@ -450,3 +450,4 @@ 'use strict';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -453,0 +454,0 @@ }

@@ -426,3 +426,4 @@ import * as React from 'react';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -429,0 +430,0 @@ }

@@ -552,3 +552,4 @@ import * as React from 'react';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -555,0 +556,0 @@ }

@@ -450,3 +450,4 @@ 'use strict';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -453,0 +454,0 @@ }

@@ -426,3 +426,4 @@ import * as React from 'react';

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (nextSize < minSize && Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000") {
return collapsedSize;

@@ -429,0 +430,0 @@ }

{
"name": "@alisowski/react-resizable-panels",
"version": "0.1.10",
"version": "0.1.11",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

@@ -547,3 +547,7 @@ import { isDevelopment } from "#is-development";

// to avoid a visual flickering when dragging between collapsed and min size.
if (nextSize < minSize) {
// Account for floating point math imprecision
if (
nextSize < minSize &&
Math.abs(minSize - nextSize).toFixed(10) !== "0.0000000000"
) {
return collapsedSize;

@@ -550,0 +554,0 @@ }

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