@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.cjs.js
CHANGED
|
@@ -2474,8 +2474,8 @@ const deprecationData = {
|
|
|
2474
2474
|
},
|
|
2475
2475
|
["INSTANCE_EVENT_HOOKS" /* DeprecationTypes.INSTANCE_EVENT_HOOKS */]: {
|
|
2476
2476
|
message: event => `"${event}" lifecycle events are no longer supported. From templates, ` +
|
|
2477
|
-
`use the "
|
|
2478
|
-
`should be changed to @
|
|
2477
|
+
`use the "vue:" prefix instead of "hook:". For example, @${event} ` +
|
|
2478
|
+
`should be changed to @vue:${event.slice(5)}. ` +
|
|
2479
2479
|
`From JavaScript, use Composition API to dynamically register lifecycle ` +
|
|
2480
2480
|
`hooks.`,
|
|
2481
2481
|
link: `https://v3-migration.vuejs.org/breaking-changes/vnode-lifecycle-events.html`
|
|
@@ -4078,10 +4078,11 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
|
|
|
4078
4078
|
callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [
|
|
4079
4079
|
newValue,
|
|
4080
4080
|
// pass undefined as the old value when it's changed for the first time
|
|
4081
|
-
oldValue === INITIAL_WATCHER_VALUE
|
|
4082
|
-
|
|
4083
|
-
|
|
4084
|
-
|
|
4081
|
+
oldValue === INITIAL_WATCHER_VALUE
|
|
4082
|
+
? undefined
|
|
4083
|
+
: (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
|
|
4084
|
+
? []
|
|
4085
|
+
: oldValue,
|
|
4085
4086
|
onCleanup
|
|
4086
4087
|
]);
|
|
4087
4088
|
oldValue = newValue;
|
|
@@ -7348,7 +7349,7 @@ function createCompatVue(createApp, createSingletonApp) {
|
|
|
7348
7349
|
return vm;
|
|
7349
7350
|
}
|
|
7350
7351
|
}
|
|
7351
|
-
Vue.version = `2.6.14-compat:${"3.2.
|
|
7352
|
+
Vue.version = `2.6.14-compat:${"3.2.44"}`;
|
|
7352
7353
|
Vue.config = singletonApp.config;
|
|
7353
7354
|
Vue.use = (p, ...options) => {
|
|
7354
7355
|
if (p && isFunction(p.install)) {
|
|
@@ -11364,7 +11365,7 @@ function isMemoSame(cached, memo) {
|
|
|
11364
11365
|
}
|
|
11365
11366
|
|
|
11366
11367
|
// Core API ------------------------------------------------------------------
|
|
11367
|
-
const version = "3.2.
|
|
11368
|
+
const version = "3.2.44";
|
|
11368
11369
|
const _ssrUtils = {
|
|
11369
11370
|
createComponentInstance,
|
|
11370
11371
|
setupComponent,
|
|
@@ -11525,6 +11526,7 @@ function patchStyle(el, prev, next) {
|
|
|
11525
11526
|
}
|
|
11526
11527
|
}
|
|
11527
11528
|
}
|
|
11529
|
+
const semicolonRE = /[^\\];\s*$/;
|
|
11528
11530
|
const importantRE = /\s*!important$/;
|
|
11529
11531
|
function setStyle(style, name, val) {
|
|
11530
11532
|
if (isArray(val)) {
|
|
@@ -11533,6 +11535,11 @@ function setStyle(style, name, val) {
|
|
|
11533
11535
|
else {
|
|
11534
11536
|
if (val == null)
|
|
11535
11537
|
val = '';
|
|
11538
|
+
{
|
|
11539
|
+
if (semicolonRE.test(val)) {
|
|
11540
|
+
warn$1(`Unexpected semicolon at the end of '${name}' style value: '${val}'`);
|
|
11541
|
+
}
|
|
11542
|
+
}
|
|
11536
11543
|
if (name.startsWith('--')) {
|
|
11537
11544
|
// custom property definition
|
|
11538
11545
|
style.setProperty(name, val);
|
package/dist/vue.cjs.prod.js
CHANGED
|
@@ -3003,10 +3003,11 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
|
|
|
3003
3003
|
callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [
|
|
3004
3004
|
newValue,
|
|
3005
3005
|
// pass undefined as the old value when it's changed for the first time
|
|
3006
|
-
oldValue === INITIAL_WATCHER_VALUE
|
|
3007
|
-
|
|
3008
|
-
|
|
3009
|
-
|
|
3006
|
+
oldValue === INITIAL_WATCHER_VALUE
|
|
3007
|
+
? undefined
|
|
3008
|
+
: (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
|
|
3009
|
+
? []
|
|
3010
|
+
: oldValue,
|
|
3010
3011
|
onCleanup
|
|
3011
3012
|
]);
|
|
3012
3013
|
oldValue = newValue;
|
|
@@ -5803,7 +5804,7 @@ function createCompatVue(createApp, createSingletonApp) {
|
|
|
5803
5804
|
return vm;
|
|
5804
5805
|
}
|
|
5805
5806
|
}
|
|
5806
|
-
Vue.version = `2.6.14-compat:${"3.2.
|
|
5807
|
+
Vue.version = `2.6.14-compat:${"3.2.44"}`;
|
|
5807
5808
|
Vue.config = singletonApp.config;
|
|
5808
5809
|
Vue.use = (p, ...options) => {
|
|
5809
5810
|
if (p && isFunction(p.install)) {
|
|
@@ -9082,7 +9083,7 @@ function isMemoSame(cached, memo) {
|
|
|
9082
9083
|
}
|
|
9083
9084
|
|
|
9084
9085
|
// Core API ------------------------------------------------------------------
|
|
9085
|
-
const version = "3.2.
|
|
9086
|
+
const version = "3.2.44";
|
|
9086
9087
|
const _ssrUtils = {
|
|
9087
9088
|
createComponentInstance,
|
|
9088
9089
|
setupComponent,
|
package/dist/vue.esm-browser.js
CHANGED
|
@@ -2334,8 +2334,8 @@ const deprecationData = {
|
|
|
2334
2334
|
},
|
|
2335
2335
|
["INSTANCE_EVENT_HOOKS" /* DeprecationTypes.INSTANCE_EVENT_HOOKS */]: {
|
|
2336
2336
|
message: event => `"${event}" lifecycle events are no longer supported. From templates, ` +
|
|
2337
|
-
`use the "
|
|
2338
|
-
`should be changed to @
|
|
2337
|
+
`use the "vue:" prefix instead of "hook:". For example, @${event} ` +
|
|
2338
|
+
`should be changed to @vue:${event.slice(5)}. ` +
|
|
2339
2339
|
`From JavaScript, use Composition API to dynamically register lifecycle ` +
|
|
2340
2340
|
`hooks.`,
|
|
2341
2341
|
link: `https://v3-migration.vuejs.org/breaking-changes/vnode-lifecycle-events.html`
|
|
@@ -3912,10 +3912,11 @@ function doWatch(source, cb, { immediate, deep, flush, onTrack, onTrigger } = EM
|
|
|
3912
3912
|
callWithAsyncErrorHandling(cb, instance, 3 /* ErrorCodes.WATCH_CALLBACK */, [
|
|
3913
3913
|
newValue,
|
|
3914
3914
|
// pass undefined as the old value when it's changed for the first time
|
|
3915
|
-
oldValue === INITIAL_WATCHER_VALUE
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3915
|
+
oldValue === INITIAL_WATCHER_VALUE
|
|
3916
|
+
? undefined
|
|
3917
|
+
: (isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE)
|
|
3918
|
+
? []
|
|
3919
|
+
: oldValue,
|
|
3919
3920
|
onCleanup
|
|
3920
3921
|
]);
|
|
3921
3922
|
oldValue = newValue;
|
|
@@ -7172,7 +7173,7 @@ function createCompatVue(createApp, createSingletonApp) {
|
|
|
7172
7173
|
return vm;
|
|
7173
7174
|
}
|
|
7174
7175
|
}
|
|
7175
|
-
Vue.version = `2.6.14-compat:${"3.2.
|
|
7176
|
+
Vue.version = `2.6.14-compat:${"3.2.44"}`;
|
|
7176
7177
|
Vue.config = singletonApp.config;
|
|
7177
7178
|
Vue.use = (p, ...options) => {
|
|
7178
7179
|
if (p && isFunction(p.install)) {
|
|
@@ -11184,7 +11185,7 @@ function isMemoSame(cached, memo) {
|
|
|
11184
11185
|
}
|
|
11185
11186
|
|
|
11186
11187
|
// Core API ------------------------------------------------------------------
|
|
11187
|
-
const version = "3.2.
|
|
11188
|
+
const version = "3.2.44";
|
|
11188
11189
|
/**
|
|
11189
11190
|
* SSR utils for \@vue/server-renderer. Only exposed in ssr-possible builds.
|
|
11190
11191
|
* @internal
|
|
@@ -11337,6 +11338,7 @@ function patchStyle(el, prev, next) {
|
|
|
11337
11338
|
}
|
|
11338
11339
|
}
|
|
11339
11340
|
}
|
|
11341
|
+
const semicolonRE = /[^\\];\s*$/;
|
|
11340
11342
|
const importantRE = /\s*!important$/;
|
|
11341
11343
|
function setStyle(style, name, val) {
|
|
11342
11344
|
if (isArray(val)) {
|
|
@@ -11345,6 +11347,11 @@ function setStyle(style, name, val) {
|
|
|
11345
11347
|
else {
|
|
11346
11348
|
if (val == null)
|
|
11347
11349
|
val = '';
|
|
11350
|
+
{
|
|
11351
|
+
if (semicolonRE.test(val)) {
|
|
11352
|
+
warn$1(`Unexpected semicolon at the end of '${name}' style value: '${val}'`);
|
|
11353
|
+
}
|
|
11354
|
+
}
|
|
11348
11355
|
if (name.startsWith('--')) {
|
|
11349
11356
|
// custom property definition
|
|
11350
11357
|
style.setProperty(name, val);
|