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

@lightningjs/ui

Package Overview
Dependencies
Maintainers
7
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.3.18 to 1.3.19

6

CHANGELOG.md
# Changelog
*11 dec 2023*
## v1.3.19
- When removing the last item from a CollectionWrapper using the remove method and that last item is out of bounds, no longer throws an error.
*17 nov 2023*
## v1.3.17 / v1.3.18

@@ -6,0 +10,0 @@ -This fixes an issue that when you use setIndex when the component is inactive and when _cleanUp from Carousel is called, it clears all the items because the scrollTransition.targetValue is not updated.

2

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

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

@@ -41,2 +41,3 @@ # Lightning-UI

[Ui-component-examples](https://github.com/mlapps/ui-component-examples)
[Ui-component-examples](https://github.com/mlapps/ui-component-examples)

@@ -215,10 +215,6 @@ /*

if(this.hasItems && target.assignedID) {
const itemWrappers = this.itemWrappers;
for(let i = 0; i < this._items.length; i++) {
let item = this._items[i];
if(itemWrappers[i] && itemWrappers[i].component.isAlive) {
item = itemWrappers[i].component;
}
if(target.assignedID === item.assignedID) {
if(i === this._items.length-1 && item.hasFocus()) {
if(i === this._items.length - 1 && this._index === this._items.length - 1) {
this._index = this._index - 1;

@@ -225,0 +221,0 @@ }

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