New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@af-utils/react-virtual-headless

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@af-utils/react-virtual-headless - npm Package Compare versions

Comparing version 0.0.24 to 0.0.25

8

lib/bundlesize.index.js

@@ -1,4 +0,4 @@

export const raw = 7990;
export const min = 4907;
export const minGz = 2113;
export const minBrotli = 1914;
export const raw = 8004;
export const min = 4915;
export const minGz = 2123;
export const minBrotli = 1926;

@@ -134,6 +134,6 @@ import { useRef as t, useEffect as s, useLayoutEffect as i, useCallback as h } from "react";

const h = 0 | t, e = Math.min(this.scrollSize - this._, this.getOffset(h) + Math.round(this.S[h] * (t - h)));
e !== this.g && (i ||= 5, performance.now() - this.m > 200 && (this.u.scroll({
e !== this.g && (i ||= 5, s && 128 >= performance.now() - this.m || (this.u.scroll({
[this.t]: e,
behavior: s ? "smooth" : "instant"
}), i--), i && (this.p = setTimeout((() => this.scrollTo(t, s, i)), 400)));
}), i--), i && (this.p = setTimeout((() => this.scrollTo(t, s, i)), s ? 256 : 0)));
}

@@ -140,0 +140,0 @@ }

@@ -138,6 +138,6 @@ import { useRef as t, useEffect as s, useLayoutEffect as i, useCallback as h } from "react";

const h = 0 | t, e = Math.min(this.scrollSize - this._, this.getOffset(h) + Math.round(this.S[h] * (t - h)));
e !== this.g && (i ||= 5, performance.now() - this.m > 200 && (this.u.scroll({
e !== this.g && (i ||= 5, s && 128 >= performance.now() - this.m || (this.u.scroll({
[this.t]: e,
behavior: s ? "smooth" : "instant"
}), i--), i && (this.p = setTimeout((() => this.scrollTo(t, s, i)), 400)));
}), i--), i && (this.p = setTimeout((() => this.scrollTo(t, s, i)), s ? 256 : 0)));
}

@@ -144,0 +144,0 @@ }

{
"name": "@af-utils/react-virtual-headless",
"private": false,
"version": "0.0.24",
"version": "0.0.25",
"description": "React components for rendering large scrollable data",

@@ -6,0 +6,0 @@ "repository": "https://github.com/nowaalex/af-virtual-scroll.git",

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