Skip to content

Commit 16be229

Browse files
committed
chore: build, cl, version
1 parent b5c6d04 commit 16be229

9 files changed

+18
-11
lines changed

Diff for: CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## v2.6.9
2+
3+
> `2024-07-29`
4+
5+
### 🐞 Bug Fixes
6+
- Removed optional chaining, fixes #420
7+
18
## v2.6.8
29

310
> `2024-06-14`

Diff for: dist/multiselect.global.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/multiselect.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ function usePointer (props, context, dep)
13561356
});
13571357

13581358
watch(isOpen, (val) => {
1359-
if (val && multiselect?.value) {
1359+
if (val && multiselect && multiselect.value) {
13601360
let firstSelected = multiselect.value.querySelectorAll(`[data-selected]`)[0];
13611361

13621362
if (!firstSelected) {
@@ -4322,7 +4322,7 @@ var script = {
43224322
])
43234323
},
43244324
beforeMount() {
4325-
if (this.$root.constructor?.version?.match(/^2\./) || this.vueVersionMs === 2) {
4325+
if ((this.$root.constructor && this.$root.constructor.version && this.$root.constructor.version.match(/^2\./)) || this.vueVersionMs === 2) {
43264326
if (!this.$options.components.Teleport) {
43274327
this.$options.components.Teleport = {
43284328
render() {

Diff for: dist/multiselect.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/multiselect.mjs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ function usePointer (props, context, dep)
13561356
});
13571357

13581358
watch(isOpen, (val) => {
1359-
if (val && multiselect?.value) {
1359+
if (val && multiselect && multiselect.value) {
13601360
let firstSelected = multiselect.value.querySelectorAll(`[data-selected]`)[0];
13611361

13621362
if (!firstSelected) {
@@ -4322,7 +4322,7 @@ var script = {
43224322
])
43234323
},
43244324
beforeMount() {
4325-
if (this.$root.constructor?.version?.match(/^2\./) || this.vueVersionMs === 2) {
4325+
if ((this.$root.constructor && this.$root.constructor.version && this.$root.constructor.version.match(/^2\./)) || this.vueVersionMs === 2) {
43264326
if (!this.$options.components.Teleport) {
43274327
this.$options.components.Teleport = {
43284328
render() {

Diff for: dist/multiselect.vue2.global.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: dist/multiselect.vue2.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -1356,7 +1356,7 @@ function usePointer (props, context, dep)
13561356
});
13571357

13581358
watch(isOpen, (val) => {
1359-
if (val && multiselect?.value) {
1359+
if (val && multiselect && multiselect.value) {
13601360
let firstSelected = multiselect.value.querySelectorAll(`[data-selected]`)[0];
13611361

13621362
if (!firstSelected) {
@@ -4324,7 +4324,7 @@ function resolveDeps (props, context, features, deps = {}) {
43244324
])
43254325
},
43264326
beforeMount() {
4327-
if (this.$root.constructor?.version?.match(/^2\./) || this.vueVersionMs === 2) {
4327+
if ((this.$root.constructor && this.$root.constructor.version && this.$root.constructor.version.match(/^2\./)) || this.vueVersionMs === 2) {
43284328
if (!this.$options.components.Teleport) {
43294329
this.$options.components.Teleport = {
43304330
render() {

Diff for: dist/multiselect.vue2.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vueform/multiselect",
3-
"version": "2.6.8",
3+
"version": "2.6.9",
44
"private": false,
55
"description": "Vue 3 multiselect component with single select, multiselect and tagging options.",
66
"license": "MIT",

0 commit comments

Comments
 (0)