New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

makeup-navigation-emitter

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makeup-navigation-emitter - npm Package Compare versions

Comparing version

to
0.1.4

@@ -136,7 +136,7 @@ 'use strict';

set: function set(newIndex) {
if (newIndex !== this.index) {
if (newIndex > -1 && newIndex < this.items.length && newIndex !== this.index) {
this._el.dispatchEvent(new CustomEvent('navigationModelChange', {
detail: {
toIndex: newIndex,
fromIndex: this.index
fromIndex: this.index,
toIndex: newIndex
},

@@ -143,0 +143,0 @@ bubbles: false

{
"name": "makeup-navigation-emitter",
"description": "Emits custom events based on keyboard navigation of one or two dimensional model",
"version": "0.1.3",
"version": "0.1.4",
"main": "index.js",

@@ -6,0 +6,0 @@ "repository": "https://github.com/makeup-js/makeup-navigation-emitter.git",

Sorry, the diff of this file is not supported yet