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.0.7 to 0.0.8

10

es/virtual-list/src/VirtualList.js
/* eslint-disable @typescript-eslint/restrict-plus-operands */
import { computed, defineComponent, ref, onMounted, h, renderSlot, renderList, onBeforeMount } from 'vue';
import { depx } from 'seemly';
import { depx, pxfy } from 'seemly';
import { nextFrame, c } from '../../shared';

@@ -170,5 +170,5 @@ import VResizeObserver from '../../resize-observer/src';

boxSizing: 'padding-box',
height: `${props.itemSize * props.items.length}px`,
paddingTop: `${props.paddingTop}px`,
paddingBottom: `${props.paddingBottom}px`
height: pxfy(props.itemSize * props.items.length),
paddingTop: pxfy(props.paddingTop),
paddingBottom: pxfy(props.paddingBottom)
};

@@ -178,3 +178,3 @@ }),

return {
transform: `translate3d(0, ${startIndexRef.value * props.itemSize}px, 0)`
transform: `translate3d(0, ${pxfy(startIndexRef.value * props.itemSize)}, 0)`
};

@@ -181,0 +181,0 @@ }),

@@ -175,5 +175,5 @@ "use strict";

boxSizing: 'padding-box',
height: `${props.itemSize * props.items.length}px`,
paddingTop: `${props.paddingTop}px`,
paddingBottom: `${props.paddingBottom}px`
height: seemly_1.pxfy(props.itemSize * props.items.length),
paddingTop: seemly_1.pxfy(props.paddingTop),
paddingBottom: seemly_1.pxfy(props.paddingBottom)
};

@@ -183,3 +183,3 @@ }),

return {
transform: `translate3d(0, ${startIndexRef.value * props.itemSize}px, 0)`
transform: `translate3d(0, ${seemly_1.pxfy(startIndexRef.value * props.itemSize)}, 0)`
};

@@ -186,0 +186,0 @@ }),

{
"name": "vueuc",
"version": "0.0.7",
"version": "0.0.8",
"description": "Util Components for Vue",

@@ -5,0 +5,0 @@ "main": "lib/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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc