vue 3.2.43 → 3.2.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/vue.esm-browser.js +12 -5
- package/dist/vue.esm-browser.prod.js +1 -1
- package/dist/vue.global.js +12 -5
- package/dist/vue.global.prod.js +1 -1
- package/dist/vue.runtime.esm-browser.js +12 -5
- package/dist/vue.runtime.esm-browser.prod.js +1 -1
- package/dist/vue.runtime.global.js +12 -5
- package/dist/vue.runtime.global.prod.js +1 -1
- package/package.json +6 -6
package/dist/vue.global.js
CHANGED
|
@@ -3353,10 +3353,11 @@ var Vue = (function (exports) {
|
|
|
3353
3353
|
callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [
|
|
3354
3354
|
newValue,
|
|
3355
3355
|
// pass undefined as the old value when it's changed for the first time
|
|
3356
|
-
oldValue === INITIAL_WATCHER_VALUE
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
|
|
3356
|
+
oldValue === INITIAL_WATCHER_VALUE
|
|
3357
|
+
? undefined
|
|
3358
|
+
: (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
|
|
3359
|
+
? []
|
|
3360
|
+
: oldValue,
|
|
3360
3361
|
onCleanup
|
|
3361
3362
|
]);
|
|
3362
3363
|
oldValue = newValue;
|
|
@@ -9346,7 +9347,7 @@ var Vue = (function (exports) {
|
|
|
9346
9347
|
}
|
|
9347
9348
|
|
|
9348
9349
|
// Core API ------------------------------------------------------------------
|
|
9349
|
-
const version = "3.2.
|
|
9350
|
+
const version = "3.2.44";
|
|
9350
9351
|
/**
|
|
9351
9352
|
* SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
|
|
9352
9353
|
* @internal
|
|
@@ -9492,6 +9493,7 @@ var Vue = (function (exports) {
|
|
|
9492
9493
|
}
|
|
9493
9494
|
}
|
|
9494
9495
|
}
|
|
9496
|
+
const semicolonRE = /[^\\];\s*$/;
|
|
9495
9497
|
const importantRE = /\s*!important$/;
|
|
9496
9498
|
function setStyle(style, name, val) {
|
|
9497
9499
|
if (isArray(val)) {
|
|
@@ -9500,6 +9502,11 @@ var Vue = (function (exports) {
|
|
|
9500
9502
|
else {
|
|
9501
9503
|
if (val == null)
|
|
9502
9504
|
val = '';
|
|
9505
|
+
{
|
|
9506
|
+
if (semicolonRE.test(val)) {
|
|
9507
|
+
warn$1(`Unexpected semicolon at the end of '${name}' style value: '${val}'`);
|
|
9508
|
+
}
|
|
9509
|
+
}
|
|
9503
9510
|
if (name.startsWith('--')) {
|
|
9504
9511
|
// custom property definition
|
|
9505
9512
|
style.setProperty(name, val);
|