Socket
Socket
Sign inDemoInstall

svelte-tiny-virtual-list

Package Overview
Dependencies
0
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.1 to 2.0.3

29

dist/svelte-tiny-virtual-list.js

@@ -926,6 +926,6 @@ (function (global, factory) {

/* src/VirtualList.svelte generated by Svelte v3.46.4 */
/* src/VirtualList.svelte generated by Svelte v3.46.6 */
function add_css(target) {
append_styles(target, "svelte-1he1ex4", ".virtual-list-wrapper.svelte-1he1ex4{overflow:auto;will-change:transform;-webkit-overflow-scrolling:touch}.virtual-list-inner.svelte-1he1ex4{position:relative;display:flex;width:100%;min-height:100%}");
append_styles(target, "svelte-dwpad5", ".virtual-list-wrapper.svelte-dwpad5{overflow:auto;will-change:transform;-webkit-overflow-scrolling:touch}.virtual-list-inner.svelte-dwpad5{position:relative;display:flex;width:100%}");
}

@@ -955,3 +955,3 @@

// (318:2) {#each items as item (getKey ? getKey(item.index) : item.index)}
// (322:2) {#each items as item (getKey ? getKey(item.index) : item.index)}
function create_each_block(key_1, ctx) {

@@ -1052,5 +1052,5 @@ let first;

if (footer_slot) footer_slot.c();
attr(div0, "class", "virtual-list-inner svelte-1he1ex4");
attr(div0, "class", "virtual-list-inner svelte-dwpad5");
attr(div0, "style", /*innerStyle*/ ctx[4]);
attr(div1, "class", "virtual-list-wrapper svelte-1he1ex4");
attr(div1, "class", "virtual-list-wrapper svelte-dwpad5");
attr(div1, "style", /*wrapperStyle*/ ctx[3]);

@@ -1313,3 +1313,3 @@ },

$$invalidate(3, wrapperStyle = `height:${height};width:${width}px`);
$$invalidate(4, innerStyle = `width:${totalSize}px;`);
$$invalidate(4, innerStyle = `min-height:100%;width:${totalSize}px;`);
}

@@ -1435,11 +1435,20 @@

if ($$self.$$.dirty[0] & /*scrollToIndex, scrollToAlignment, scrollOffset, itemCount, itemSize, estimatedItemSize*/ 29568) {
propsUpdated();
{
propsUpdated();
}
}
if ($$self.$$.dirty[0] & /*state*/ 262144) {
stateUpdated();
{
stateUpdated();
}
}
if ($$self.$$.dirty[0] & /*mounted, height, width, stickyIndices*/ 132192) {
if (mounted) recomputeSizes(0); // call scroll.reset;
if ($$self.$$.dirty[0] & /*height, width, stickyIndices, mounted*/ 132192) {
{
if (mounted) recomputeSizes(0); // call scroll.reset;
}
}

@@ -1446,0 +1455,0 @@ };

{
"name": "svelte-tiny-virtual-list",
"version": "2.0.1",
"version": "2.0.3",
"description": "A tiny but mighty list virtualization component for svelte, with zero dependencies 💪",

@@ -5,0 +5,0 @@ "svelte": "src/index.js",

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc