@vue/compat 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.cjs.js +15 -8
- package/dist/vue.cjs.prod.js +7 -6
- package/dist/vue.esm-browser.js +15 -8
- package/dist/vue.esm-browser.prod.js +1 -1
- package/dist/vue.esm-bundler.js +15 -8
- package/dist/vue.global.js +15 -8
- package/dist/vue.global.prod.js +1 -1
- package/dist/vue.runtime.esm-browser.js +15 -8
- package/dist/vue.runtime.esm-browser.prod.js +1 -1
- package/dist/vue.runtime.esm-bundler.js +15 -8
- package/dist/vue.runtime.global.js +15 -8
- package/dist/vue.runtime.global.prod.js +1 -1
- package/package.json +2 -2
|
@@ -2280,8 +2280,8 @@ const deprecationData = {
|
|
|
2280
2280
|
},
|
|
2281
2281
|
["INSTANCE_EVENT_HOOKS" /* DeprecationTypes.INSTANCE_EVENT_HOOKS */]: {
|
|
2282
2282
|
message: event => `"${event}" lifecycle events are no longer supported. From templates, ` +
|
|
2283
|
-
`use the "
|
|
2284
|
-
`should be changed to @
|
|
2283
|
+
`use the "vue:" prefix instead of "hook:". For example, @${event} ` +
|
|
2284
|
+
`should be changed to @vue:${event.slice(5)}. ` +
|
|
2285
2285
|
`From JavaScript, use Composition API to dynamically register lifecycle ` +
|
|
2286
2286
|
`hooks.`,
|
|
2287
2287
|
link: `https://v3-migration.vuejs.org/breaking-changes/vnode-lifecycle-events.html`
|
|
@@ -3888,10 +3888,11 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
|
|
|
3888
3888
|
callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [
|
|
3889
3889
|
newValue,
|
|
3890
3890
|
// pass undefined as the old value when it's changed for the first time
|
|
3891
|
-
oldValue === INITIAL_WATCHER_VALUE
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3891
|
+
oldValue === INITIAL_WATCHER_VALUE
|
|
3892
|
+
? undefined
|
|
3893
|
+
: (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
|
|
3894
|
+
? []
|
|
3895
|
+
: oldValue,
|
|
3895
3896
|
onCleanup
|
|
3896
3897
|
]);
|
|
3897
3898
|
oldValue = newValue;
|
|
@@ -7173,7 +7174,7 @@ function createCompatVue(createApp, createSingletonApp) {
|
|
|
7173
7174
|
return vm;
|
|
7174
7175
|
}
|
|
7175
7176
|
}
|
|
7176
|
-
Vue.version = `2.6.14-compat:${"3.2.
|
|
7177
|
+
Vue.version = `2.6.14-compat:${"3.2.44"}`;
|
|
7177
7178
|
Vue.config = singletonApp.config;
|
|
7178
7179
|
Vue.use = (p, ...options) => {
|
|
7179
7180
|
if (p && isFunction(p.install)) {
|
|
@@ -11258,7 +11259,7 @@ function isMemoSame(cached, memo) {
|
|
|
11258
11259
|
}
|
|
11259
11260
|
|
|
11260
11261
|
// Core API ------------------------------------------------------------------
|
|
11261
|
-
const version = "3.2.
|
|
11262
|
+
const version = "3.2.44";
|
|
11262
11263
|
const _ssrUtils = {
|
|
11263
11264
|
createComponentInstance,
|
|
11264
11265
|
setupComponent,
|
|
@@ -11419,6 +11420,7 @@ function patchStyle(el, prev, next) {
|
|
|
11419
11420
|
}
|
|
11420
11421
|
}
|
|
11421
11422
|
}
|
|
11423
|
+
const semicolonRE = /[^\\];\s*$/;
|
|
11422
11424
|
const importantRE = /\s*!important$/;
|
|
11423
11425
|
function setStyle(style, name, val) {
|
|
11424
11426
|
if (isArray(val)) {
|
|
@@ -11427,6 +11429,11 @@ function setStyle(style, name, val) {
|
|
|
11427
11429
|
else {
|
|
11428
11430
|
if (val == null)
|
|
11429
11431
|
val = '';
|
|
11432
|
+
if ((process.env.NODE_ENV !== 'production')) {
|
|
11433
|
+
if (semicolonRE.test(val)) {
|
|
11434
|
+
warn$1(`Unexpected semicolon at the end of '${name}' style value: '${val}'`);
|
|
11435
|
+
}
|
|
11436
|
+
}
|
|
11430
11437
|
if (name.startsWith('--')) {
|
|
11431
11438
|
// custom property definition
|
|
11432
11439
|
style.setProperty(name, val);
|
|
@@ -2258,8 +2258,8 @@ var Vue = (function () {
|
|
|
2258
2258
|
},
|
|
2259
2259
|
["INSTANCE_EVENT_HOOKS" /* DeprecationTypes.INSTANCE_EVENT_HOOKS */]: {
|
|
2260
2260
|
message: event => `"${event}" lifecycle events are no longer supported. From templates, ` +
|
|
2261
|
-
`use the "
|
|
2262
|
-
`should be changed to @
|
|
2261
|
+
`use the "vue:" prefix instead of "hook:". For example, @${event} ` +
|
|
2262
|
+
`should be changed to @vue:${event.slice(5)}. ` +
|
|
2263
2263
|
`From JavaScript, use Composition API to dynamically register lifecycle ` +
|
|
2264
2264
|
`hooks.`,
|
|
2265
2265
|
link: `https://v3-migration.vuejs.org/breaking-changes/vnode-lifecycle-events.html`
|
|
@@ -3836,10 +3836,11 @@ var Vue = (function () {
|
|
|
3836
3836
|
callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [
|
|
3837
3837
|
newValue,
|
|
3838
3838
|
// pass undefined as the old value when it's changed for the first time
|
|
3839
|
-
oldValue === INITIAL_WATCHER_VALUE
|
|
3840
|
-
|
|
3841
|
-
|
|
3842
|
-
|
|
3839
|
+
oldValue === INITIAL_WATCHER_VALUE
|
|
3840
|
+
? undefined
|
|
3841
|
+
: (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
|
|
3842
|
+
? []
|
|
3843
|
+
: oldValue,
|
|
3843
3844
|
onCleanup
|
|
3844
3845
|
]);
|
|
3845
3846
|
oldValue = newValue;
|
|
@@ -7096,7 +7097,7 @@ var Vue = (function () {
|
|
|
7096
7097
|
return vm;
|
|
7097
7098
|
}
|
|
7098
7099
|
}
|
|
7099
|
-
Vue.version = `2.6.14-compat:${"3.2.
|
|
7100
|
+
Vue.version = `2.6.14-compat:${"3.2.44"}`;
|
|
7100
7101
|
Vue.config = singletonApp.config;
|
|
7101
7102
|
Vue.use = (p, ...options) => {
|
|
7102
7103
|
if (p && isFunction(p.install)) {
|
|
@@ -11103,7 +11104,7 @@ var Vue = (function () {
|
|
|
11103
11104
|
}
|
|
11104
11105
|
|
|
11105
11106
|
// Core API ------------------------------------------------------------------
|
|
11106
|
-
const version = "3.2.
|
|
11107
|
+
const version = "3.2.44";
|
|
11107
11108
|
/**
|
|
11108
11109
|
* SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
|
|
11109
11110
|
* @internal
|
|
@@ -11256,6 +11257,7 @@ var Vue = (function () {
|
|
|
11256
11257
|
}
|
|
11257
11258
|
}
|
|
11258
11259
|
}
|
|
11260
|
+
const semicolonRE = /[^\\];\s*$/;
|
|
11259
11261
|
const importantRE = /\s*!important$/;
|
|
11260
11262
|
function setStyle(style, name, val) {
|
|
11261
11263
|
if (isArray(val)) {
|
|
@@ -11264,6 +11266,11 @@ var Vue = (function () {
|
|
|
11264
11266
|
else {
|
|
11265
11267
|
if (val == null)
|
|
11266
11268
|
val = '';
|
|
11269
|
+
{
|
|
11270
|
+
if (semicolonRE.test(val)) {
|
|
11271
|
+
warn$1(`Unexpected semicolon at the end of '${name}' style value: '${val}'`);
|
|
11272
|
+
}
|
|
11273
|
+
}
|
|
11267
11274
|
if (name.startsWith('--')) {
|
|
11268
11275
|
// custom property definition
|
|
11269
11276
|
style.setProperty(name, val);
|