@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
package/dist/vue.esm-bundler.js
CHANGED
|
@@ -2359,8 +2359,8 @@ const deprecationData = {
|
|
|
2359
2359
|
},
|
|
2360
2360
|
["INSTANCE_EVENT_HOOKS" /* DeprecationTypes.INSTANCE_EVENT_HOOKS */]: {
|
|
2361
2361
|
message: event => `"${event}" lifecycle events are no longer supported. From templates, ` +
|
|
2362
|
-
`use the "
|
|
2363
|
-
`should be changed to @
|
|
2362
|
+
`use the "vue:" prefix instead of "hook:". For example, @${event} ` +
|
|
2363
|
+
`should be changed to @vue:${event.slice(5)}. ` +
|
|
2364
2364
|
`From JavaScript, use Composition API to dynamically register lifecycle ` +
|
|
2365
2365
|
`hooks.`,
|
|
2366
2366
|
link: `https://v3-migration.vuejs.org/breaking-changes/vnode-lifecycle-events.html`
|
|
@@ -3967,10 +3967,11 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
|
|
|
3967
3967
|
callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [
|
|
3968
3968
|
newValue,
|
|
3969
3969
|
// pass undefined as the old value when it's changed for the first time
|
|
3970
|
-
oldValue === INITIAL_WATCHER_VALUE
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3970
|
+
oldValue === INITIAL_WATCHER_VALUE
|
|
3971
|
+
? undefined
|
|
3972
|
+
: (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
|
|
3973
|
+
? []
|
|
3974
|
+
: oldValue,
|
|
3974
3975
|
onCleanup
|
|
3975
3976
|
]);
|
|
3976
3977
|
oldValue = newValue;
|
|
@@ -7252,7 +7253,7 @@ function createCompatVue(createApp, createSingletonApp) {
|
|
|
7252
7253
|
return vm;
|
|
7253
7254
|
}
|
|
7254
7255
|
}
|
|
7255
|
-
Vue.version = `2.6.14-compat:${"3.2.
|
|
7256
|
+
Vue.version = `2.6.14-compat:${"3.2.44"}`;
|
|
7256
7257
|
Vue.config = singletonApp.config;
|
|
7257
7258
|
Vue.use = (p, ...options) => {
|
|
7258
7259
|
if (p && isFunction(p.install)) {
|
|
@@ -11337,7 +11338,7 @@ function isMemoSame(cached, memo) {
|
|
|
11337
11338
|
}
|
|
11338
11339
|
|
|
11339
11340
|
// Core API ------------------------------------------------------------------
|
|
11340
|
-
const version = "3.2.
|
|
11341
|
+
const version = "3.2.44";
|
|
11341
11342
|
const _ssrUtils = {
|
|
11342
11343
|
createComponentInstance,
|
|
11343
11344
|
setupComponent,
|
|
@@ -11498,6 +11499,7 @@ function patchStyle(el, prev, next) {
|
|
|
11498
11499
|
}
|
|
11499
11500
|
}
|
|
11500
11501
|
}
|
|
11502
|
+
const semicolonRE = /[^\\];\s*$/;
|
|
11501
11503
|
const importantRE = /\s*!important$/;
|
|
11502
11504
|
function setStyle(style, name, val) {
|
|
11503
11505
|
if (isArray(val)) {
|
|
@@ -11506,6 +11508,11 @@ function setStyle(style, name, val) {
|
|
|
11506
11508
|
else {
|
|
11507
11509
|
if (val == null)
|
|
11508
11510
|
val = '';
|
|
11511
|
+
if ((process.env.NODE_ENV !== 'production')) {
|
|
11512
|
+
if (semicolonRE.test(val)) {
|
|
11513
|
+
warn$1(`Unexpected semicolon at the end of '${name}' style value: '${val}'`);
|
|
11514
|
+
}
|
|
11515
|
+
}
|
|
11509
11516
|
if (name.startsWith('--')) {
|
|
11510
11517
|
// custom property definition
|
|
11511
11518
|
style.setProperty(name, val);
|
package/dist/vue.global.js
CHANGED
|
@@ -2337,8 +2337,8 @@ var Vue = (function () {
|
|
|
2337
2337
|
},
|
|
2338
2338
|
["INSTANCE_EVENT_HOOKS" /* DeprecationTypes.INSTANCE_EVENT_HOOKS */]: {
|
|
2339
2339
|
message: event => `"${event}" lifecycle events are no longer supported. From templates, ` +
|
|
2340
|
-
`use the "
|
|
2341
|
-
`should be changed to @
|
|
2340
|
+
`use the "vue:" prefix instead of "hook:". For example, @${event} ` +
|
|
2341
|
+
`should be changed to @vue:${event.slice(5)}. ` +
|
|
2342
2342
|
`From JavaScript, use Composition API to dynamically register lifecycle ` +
|
|
2343
2343
|
`hooks.`,
|
|
2344
2344
|
link: `https://v3-migration.vuejs.org/breaking-changes/vnode-lifecycle-events.html`
|
|
@@ -3915,10 +3915,11 @@ var Vue = (function () {
|
|
|
3915
3915
|
callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [
|
|
3916
3916
|
newValue,
|
|
3917
3917
|
// pass undefined as the old value when it's changed for the first time
|
|
3918
|
-
oldValue === INITIAL_WATCHER_VALUE
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3918
|
+
oldValue === INITIAL_WATCHER_VALUE
|
|
3919
|
+
? undefined
|
|
3920
|
+
: (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
|
|
3921
|
+
? []
|
|
3922
|
+
: oldValue,
|
|
3922
3923
|
onCleanup
|
|
3923
3924
|
]);
|
|
3924
3925
|
oldValue = newValue;
|
|
@@ -7175,7 +7176,7 @@ var Vue = (function () {
|
|
|
7175
7176
|
return vm;
|
|
7176
7177
|
}
|
|
7177
7178
|
}
|
|
7178
|
-
Vue.version = `2.6.14-compat:${"3.2.
|
|
7179
|
+
Vue.version = `2.6.14-compat:${"3.2.44"}`;
|
|
7179
7180
|
Vue.config = singletonApp.config;
|
|
7180
7181
|
Vue.use = (p, ...options) => {
|
|
7181
7182
|
if (p && isFunction(p.install)) {
|
|
@@ -11182,7 +11183,7 @@ var Vue = (function () {
|
|
|
11182
11183
|
}
|
|
11183
11184
|
|
|
11184
11185
|
// Core API ------------------------------------------------------------------
|
|
11185
|
-
const version = "3.2.
|
|
11186
|
+
const version = "3.2.44";
|
|
11186
11187
|
/**
|
|
11187
11188
|
* SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
|
|
11188
11189
|
* @internal
|
|
@@ -11335,6 +11336,7 @@ var Vue = (function () {
|
|
|
11335
11336
|
}
|
|
11336
11337
|
}
|
|
11337
11338
|
}
|
|
11339
|
+
const semicolonRE = /[^\\];\s*$/;
|
|
11338
11340
|
const importantRE = /\s*!important$/;
|
|
11339
11341
|
function setStyle(style, name, val) {
|
|
11340
11342
|
if (isArray(val)) {
|
|
@@ -11343,6 +11345,11 @@ var Vue = (function () {
|
|
|
11343
11345
|
else {
|
|
11344
11346
|
if (val == null)
|
|
11345
11347
|
val = '';
|
|
11348
|
+
{
|
|
11349
|
+
if (semicolonRE.test(val)) {
|
|
11350
|
+
warn$1(`Unexpected semicolon at the end of '${name}' style value: '${val}'`);
|
|
11351
|
+
}
|
|
11352
|
+
}
|
|
11346
11353
|
if (name.startsWith('--')) {
|
|
11347
11354
|
// custom property definition
|
|
11348
11355
|
style.setProperty(name, val);
|