Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tanstack/virtual-core

Package Overview
Dependencies
Maintainers
2
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/virtual-core - npm Package Compare versions

Comparing version 3.8.6 to 3.9.0

1

dist/esm/index.d.ts

@@ -76,2 +76,3 @@ export * from './utils.js';

enabled?: boolean;
isRtl?: boolean;
}

@@ -78,0 +79,0 @@ export declare class Virtualizer<TScrollElement extends Element | Window, TItemElement extends Element> {

4

dist/esm/index.js

@@ -82,3 +82,4 @@ import { debounce, memo, notUndefined, approxEqual } from "./utils.js";

const createHandler = (isScrolling) => () => {
offset = element[instance.options.horizontal ? "scrollLeft" : "scrollTop"];
const { horizontal, isRtl } = instance.options;
offset = horizontal ? element["scrollLeft"] * (isRtl && -1 || 1) : element["scrollTop"];
fallback();

@@ -237,2 +238,3 @@ cb(offset, isScrolling);

enabled: true,
isRtl: false,
...opts2

@@ -239,0 +241,0 @@ };

{
"name": "@tanstack/virtual-core",
"version": "3.8.6",
"version": "3.9.0",
"description": "Headless UI for virtualizing scrollable elements in TS/JS + Frameworks",

@@ -5,0 +5,0 @@ "author": "Tanner Linsley",

@@ -159,3 +159,6 @@ import { approxEqual, debounce, memo, notUndefined } from './utils'

const createHandler = (isScrolling: boolean) => () => {
offset = element[instance.options.horizontal ? 'scrollLeft' : 'scrollTop']
const { horizontal, isRtl } = instance.options
offset = horizontal
? element['scrollLeft'] * ((isRtl && -1) || 1)
: element['scrollTop']
fallback()

@@ -324,2 +327,3 @@ cb(offset, isScrolling)

enabled?: boolean
isRtl?: boolean
}

@@ -410,2 +414,3 @@

enabled: true,
isRtl: false,
...opts,

@@ -412,0 +417,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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