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

@lightningjs/ui

Package Overview
Dependencies
Maintainers
5
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lightningjs/ui - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "@lightningjs/ui",
"version": "1.0.1",
"version": "1.0.2",
"description": "Standard UI components for Lightning",

@@ -5,0 +5,0 @@ "scripts": {

@@ -78,3 +78,4 @@ import { CollectionWrapper, ItemWrapper} from "./helpers";

index = itemIndex > 0 ? itemIndex - 1 : items.length - 1;
while(-(scrollOffsetStart + this._tresholdStart) < position) {
let lastWidth = 0;
while(-(scrollOffsetStart + this._tresholdStart) < position + lastWidth) {
const item = items[index];

@@ -97,3 +98,3 @@ const sizes = this._getItemSizes(item);

});
lastWidth = sizes[mainDim];
position -= (sizes[mainMarginFrom] || sizes.margin);

@@ -100,0 +101,0 @@ index = this._normalizeDataIndex(index - 1, items);

@@ -221,3 +221,3 @@

let scroll = this.scroll;
let scroll = this._scroll;

@@ -224,0 +224,0 @@ if(!isNaN(scroll)) {

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