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

vue-multiselect

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-multiselect - npm Package Compare versions

Comparing version 0.1.8 to 0.1.9

src/index.js

2

package.json
{
"name": "vue-multiselect",
"version": "0.1.8",
"version": "0.1.9",
"description": "Multiselect component for vue.js",

@@ -5,0 +5,0 @@ "author": "Damian Dulisz <damian.dulisz@monterail.com>",

@@ -204,3 +204,3 @@ // Copied from Vuex’s util.js

filteredOptions () {
let options = this.hideSelected
var options = this.hideSelected
? this.options.filter(this.isNotSelected)

@@ -211,4 +211,5 @@ : this.options

allKeys () {
return this.value.map((element) => {
return element[this.key]
var key = this.key
return this.value.map(function (element) {
return element[key]
})

@@ -215,0 +216,0 @@ },

@@ -28,4 +28,4 @@ module.exports = {

this.pointer++
let pointerPosition = this.pointer * 40
let visibleElements = this.maxHeight / 40
var pointerPosition = this.pointer * 40
var visibleElements = this.maxHeight / 40
if (this.$els.list.scrollTop <= pointerPosition - visibleElements * 40) {

@@ -39,3 +39,3 @@ this.$els.list.scrollTop = pointerPosition - (visibleElements - 1) * 40

this.pointer--
let pointerPosition = this.pointer * 40
var pointerPosition = this.pointer * 40
if (this.$els.list.scrollTop >= pointerPosition) {

@@ -42,0 +42,0 @@ this.$els.list.scrollTop = pointerPosition

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