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

vue-multiselect

Package Overview
Dependencies
Maintainers
2
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 3.0.0-beta.1 to 3.0.0-beta.2

dist/vue-multiselect.common.js

17

dist/vue-multiselect.esm.js

@@ -392,8 +392,11 @@ import { openBlock, createBlock, withKeys, withModifiers, renderSlot, createVNode, withDirectives, Fragment, renderList, toDisplayString, vShow, createCommentVNode, Transition, withCtx, createTextVNode } from 'vue';

watch: {
internalValue () {
internalValue: {
handler () {
/* istanbul ignore else */
if (this.resetAfter && this.internalValue.length) {
this.search = '';
this.$emit('update:modelValue', this.multiple ? [] : null);
}
if (this.resetAfter && this.internalValue.length) {
this.search = '';
this.$emit('update:modelValue', this.multiple ? [] : null);
}
},
deep: true
},

@@ -874,2 +877,6 @@ search () {

mixins: [multiselectMixin, pointerMixin],
compatConfig: {
MODE: 3,
ATTR_ENUMERATED_COERCION: false
},
props: {

@@ -876,0 +883,0 @@ /**

@@ -393,8 +393,11 @@ var VueMultiselect = (function (exports, vue) {

watch: {
internalValue () {
internalValue: {
handler () {
/* istanbul ignore else */
if (this.resetAfter && this.internalValue.length) {
this.search = '';
this.$emit('update:modelValue', this.multiple ? [] : null);
}
if (this.resetAfter && this.internalValue.length) {
this.search = '';
this.$emit('update:modelValue', this.multiple ? [] : null);
}
},
deep: true
},

@@ -875,2 +878,6 @@ search () {

mixins: [multiselectMixin, pointerMixin],
compatConfig: {
MODE: 3,
ATTR_ENUMERATED_COERCION: false
},
props: {

@@ -877,0 +884,0 @@ /**

@@ -396,8 +396,11 @@ 'use strict';

watch: {
internalValue () {
internalValue: {
handler () {
/* istanbul ignore else */
if (this.resetAfter && this.internalValue.length) {
this.search = '';
this.$emit('update:modelValue', this.multiple ? [] : null);
}
if (this.resetAfter && this.internalValue.length) {
this.search = '';
this.$emit('update:modelValue', this.multiple ? [] : null);
}
},
deep: true
},

@@ -878,2 +881,6 @@ search () {

mixins: [multiselectMixin, pointerMixin],
compatConfig: {
MODE: 3,
ATTR_ENUMERATED_COERCION: false
},
props: {

@@ -880,0 +887,0 @@ /**

{
"name": "vue-multiselect",
"version": "3.0.0-beta.1",
"version": "3.0.0-beta.2",
"private": false,

@@ -5,0 +5,0 @@ "types": "index.d.ts",

@@ -390,8 +390,11 @@ function isEmpty (opt) {

watch: {
internalValue () {
internalValue: {
handler () {
/* istanbul ignore else */
if (this.resetAfter && this.internalValue.length) {
this.search = ''
this.$emit('update:modelValue', this.multiple ? [] : null)
}
if (this.resetAfter && this.internalValue.length) {
this.search = ''
this.$emit('update:modelValue', this.multiple ? [] : null)
}
},
deep: true
},

@@ -398,0 +401,0 @@ search () {

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