@vue/runtime-core 3.4.18 → 3.4.19
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/runtime-core.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.4.
|
|
2
|
+
* @vue/runtime-core v3.4.19
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -188,13 +188,11 @@ const ErrorTypeStrings$1 = {
|
|
|
188
188
|
[14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."
|
|
189
189
|
};
|
|
190
190
|
function callWithErrorHandling(fn, instance, type, args) {
|
|
191
|
-
let res;
|
|
192
191
|
try {
|
|
193
|
-
|
|
192
|
+
return args ? fn(...args) : fn();
|
|
194
193
|
} catch (err) {
|
|
195
194
|
handleError(err, instance, type);
|
|
196
195
|
}
|
|
197
|
-
return res;
|
|
198
196
|
}
|
|
199
197
|
function callWithAsyncErrorHandling(fn, instance, type, args) {
|
|
200
198
|
if (shared.isFunction(fn)) {
|
|
@@ -4283,8 +4281,16 @@ function validatePropName(key) {
|
|
|
4283
4281
|
return false;
|
|
4284
4282
|
}
|
|
4285
4283
|
function getType(ctor) {
|
|
4286
|
-
|
|
4287
|
-
|
|
4284
|
+
if (ctor === null) {
|
|
4285
|
+
return "null";
|
|
4286
|
+
}
|
|
4287
|
+
if (typeof ctor === "function") {
|
|
4288
|
+
return ctor.name || "";
|
|
4289
|
+
} else if (typeof ctor === "object") {
|
|
4290
|
+
const name = ctor.constructor && ctor.constructor.name;
|
|
4291
|
+
return name || "";
|
|
4292
|
+
}
|
|
4293
|
+
return "";
|
|
4288
4294
|
}
|
|
4289
4295
|
function isSameType(a, b) {
|
|
4290
4296
|
return getType(a) === getType(b);
|
|
@@ -5081,9 +5087,12 @@ function propHasMismatch(el, key, clientValue, vnode, instance) {
|
|
|
5081
5087
|
}
|
|
5082
5088
|
}
|
|
5083
5089
|
}
|
|
5084
|
-
const
|
|
5085
|
-
|
|
5086
|
-
|
|
5090
|
+
const root = instance == null ? void 0 : instance.subTree;
|
|
5091
|
+
if (vnode === root || (root == null ? void 0 : root.type) === Fragment && root.children.includes(vnode)) {
|
|
5092
|
+
const cssVars = (_a = instance == null ? void 0 : instance.getCssVars) == null ? void 0 : _a.call(instance);
|
|
5093
|
+
for (const key2 in cssVars) {
|
|
5094
|
+
expectedMap.set(`--${key2}`, String(cssVars[key2]));
|
|
5095
|
+
}
|
|
5087
5096
|
}
|
|
5088
5097
|
if (!isMapEqual(actualMap, expectedMap)) {
|
|
5089
5098
|
mismatchType = mismatchKey = "style";
|
|
@@ -8068,7 +8077,7 @@ function isMemoSame(cached, memo) {
|
|
|
8068
8077
|
return true;
|
|
8069
8078
|
}
|
|
8070
8079
|
|
|
8071
|
-
const version = "3.4.
|
|
8080
|
+
const version = "3.4.19";
|
|
8072
8081
|
const warn = warn$1 ;
|
|
8073
8082
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8074
8083
|
const devtools = devtools$1 ;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.4.
|
|
2
|
+
* @vue/runtime-core v3.4.19
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -78,13 +78,11 @@ const ErrorTypeStrings$1 = {
|
|
|
78
78
|
[14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."
|
|
79
79
|
};
|
|
80
80
|
function callWithErrorHandling(fn, instance, type, args) {
|
|
81
|
-
let res;
|
|
82
81
|
try {
|
|
83
|
-
|
|
82
|
+
return args ? fn(...args) : fn();
|
|
84
83
|
} catch (err) {
|
|
85
84
|
handleError(err, instance, type);
|
|
86
85
|
}
|
|
87
|
-
return res;
|
|
88
86
|
}
|
|
89
87
|
function callWithAsyncErrorHandling(fn, instance, type, args) {
|
|
90
88
|
if (shared.isFunction(fn)) {
|
|
@@ -3337,8 +3335,16 @@ function validatePropName(key) {
|
|
|
3337
3335
|
return false;
|
|
3338
3336
|
}
|
|
3339
3337
|
function getType(ctor) {
|
|
3340
|
-
|
|
3341
|
-
|
|
3338
|
+
if (ctor === null) {
|
|
3339
|
+
return "null";
|
|
3340
|
+
}
|
|
3341
|
+
if (typeof ctor === "function") {
|
|
3342
|
+
return ctor.name || "";
|
|
3343
|
+
} else if (typeof ctor === "object") {
|
|
3344
|
+
const name = ctor.constructor && ctor.constructor.name;
|
|
3345
|
+
return name || "";
|
|
3346
|
+
}
|
|
3347
|
+
return "";
|
|
3342
3348
|
}
|
|
3343
3349
|
function isSameType(a, b) {
|
|
3344
3350
|
return getType(a) === getType(b);
|
|
@@ -6279,7 +6285,7 @@ function isMemoSame(cached, memo) {
|
|
|
6279
6285
|
return true;
|
|
6280
6286
|
}
|
|
6281
6287
|
|
|
6282
|
-
const version = "3.4.
|
|
6288
|
+
const version = "3.4.19";
|
|
6283
6289
|
const warn$1 = shared.NOOP;
|
|
6284
6290
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
6285
6291
|
const devtools = void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.4.
|
|
2
|
+
* @vue/runtime-core v3.4.19
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -188,13 +188,11 @@ const ErrorTypeStrings$1 = {
|
|
|
188
188
|
[14]: "scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."
|
|
189
189
|
};
|
|
190
190
|
function callWithErrorHandling(fn, instance, type, args) {
|
|
191
|
-
let res;
|
|
192
191
|
try {
|
|
193
|
-
|
|
192
|
+
return args ? fn(...args) : fn();
|
|
194
193
|
} catch (err) {
|
|
195
194
|
handleError(err, instance, type);
|
|
196
195
|
}
|
|
197
|
-
return res;
|
|
198
196
|
}
|
|
199
197
|
function callWithAsyncErrorHandling(fn, instance, type, args) {
|
|
200
198
|
if (isFunction(fn)) {
|
|
@@ -4291,8 +4289,16 @@ function validatePropName(key) {
|
|
|
4291
4289
|
return false;
|
|
4292
4290
|
}
|
|
4293
4291
|
function getType(ctor) {
|
|
4294
|
-
|
|
4295
|
-
|
|
4292
|
+
if (ctor === null) {
|
|
4293
|
+
return "null";
|
|
4294
|
+
}
|
|
4295
|
+
if (typeof ctor === "function") {
|
|
4296
|
+
return ctor.name || "";
|
|
4297
|
+
} else if (typeof ctor === "object") {
|
|
4298
|
+
const name = ctor.constructor && ctor.constructor.name;
|
|
4299
|
+
return name || "";
|
|
4300
|
+
}
|
|
4301
|
+
return "";
|
|
4296
4302
|
}
|
|
4297
4303
|
function isSameType(a, b) {
|
|
4298
4304
|
return getType(a) === getType(b);
|
|
@@ -5099,9 +5105,12 @@ function propHasMismatch(el, key, clientValue, vnode, instance) {
|
|
|
5099
5105
|
}
|
|
5100
5106
|
}
|
|
5101
5107
|
}
|
|
5102
|
-
const
|
|
5103
|
-
|
|
5104
|
-
|
|
5108
|
+
const root = instance == null ? void 0 : instance.subTree;
|
|
5109
|
+
if (vnode === root || (root == null ? void 0 : root.type) === Fragment && root.children.includes(vnode)) {
|
|
5110
|
+
const cssVars = (_a = instance == null ? void 0 : instance.getCssVars) == null ? void 0 : _a.call(instance);
|
|
5111
|
+
for (const key2 in cssVars) {
|
|
5112
|
+
expectedMap.set(`--${key2}`, String(cssVars[key2]));
|
|
5113
|
+
}
|
|
5105
5114
|
}
|
|
5106
5115
|
if (!isMapEqual(actualMap, expectedMap)) {
|
|
5107
5116
|
mismatchType = mismatchKey = "style";
|
|
@@ -8140,7 +8149,7 @@ function isMemoSame(cached, memo) {
|
|
|
8140
8149
|
return true;
|
|
8141
8150
|
}
|
|
8142
8151
|
|
|
8143
|
-
const version = "3.4.
|
|
8152
|
+
const version = "3.4.19";
|
|
8144
8153
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
8145
8154
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8146
8155
|
const devtools = !!(process.env.NODE_ENV !== "production") || true ? devtools$1 : void 0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vue/runtime-core",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.19",
|
|
4
4
|
"description": "@vue/runtime-core",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "dist/runtime-core.esm-bundler.js",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"homepage": "https://github.com/vuejs/core/tree/main/packages/runtime-core#readme",
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@vue/shared": "3.4.
|
|
50
|
-
"@vue/reactivity": "3.4.
|
|
49
|
+
"@vue/shared": "3.4.19",
|
|
50
|
+
"@vue/reactivity": "3.4.19"
|
|
51
51
|
}
|
|
52
52
|
}
|