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

vueuc

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vueuc - npm Package Compare versions

Comparing version 0.4.27 to 0.4.28

6

es/virtual-list/src/VirtualList.js

@@ -195,3 +195,3 @@ /* eslint-disable no-void */

function handleItemResize(key, entry) {
var _a;
var _a, _b, _c, _d;
if (props.ignoreItemResize)

@@ -204,3 +204,3 @@ return;

const previousHeight = ft.get(index);
const height = entry.contentRect.height;
const height = (_c = (_b = (_a = entry.borderBoxSize) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.blockSize) !== null && _c !== void 0 ? _c : entry.contentRect.height;
if (height === previousHeight)

@@ -222,3 +222,3 @@ return;

if (lastAnchorIndex !== undefined && index <= lastAnchorIndex) {
(_a = listElRef.value) === null || _a === void 0 ? void 0 : _a.scrollBy(0, delta);
(_d = listElRef.value) === null || _d === void 0 ? void 0 : _d.scrollBy(0, delta);
}

@@ -225,0 +225,0 @@ ft.add(index, delta);

@@ -200,3 +200,3 @@ "use strict";

function handleItemResize(key, entry) {
var _a;
var _a, _b, _c, _d;
if (props.ignoreItemResize)

@@ -209,3 +209,3 @@ return;

const previousHeight = ft.get(index);
const height = entry.contentRect.height;
const height = (_c = (_b = (_a = entry.borderBoxSize) === null || _a === void 0 ? void 0 : _a[0]) === null || _b === void 0 ? void 0 : _b.blockSize) !== null && _c !== void 0 ? _c : entry.contentRect.height;
if (height === previousHeight)

@@ -227,3 +227,3 @@ return;

if (lastAnchorIndex !== undefined && index <= lastAnchorIndex) {
(_a = listElRef.value) === null || _a === void 0 ? void 0 : _a.scrollBy(0, delta);
(_d = listElRef.value) === null || _d === void 0 ? void 0 : _d.scrollBy(0, delta);
}

@@ -230,0 +230,0 @@ ft.add(index, delta);

{
"name": "vueuc",
"version": "0.4.27",
"version": "0.4.28",
"description": "Util Components for Vue",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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