@vue/runtime-core 3.5.0-beta.1 → 3.5.0-beta.2
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.5.0-beta.
|
|
2
|
+
* @vue/runtime-core v3.5.0-beta.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1564,6 +1564,7 @@ const logMismatchError = () => {
|
|
|
1564
1564
|
const isSVGContainer = (container) => container.namespaceURI.includes("svg") && container.tagName !== "foreignObject";
|
|
1565
1565
|
const isMathMLContainer = (container) => container.namespaceURI.includes("MathML");
|
|
1566
1566
|
const getContainerType = (container) => {
|
|
1567
|
+
if (container.nodeType !== 1) return void 0;
|
|
1567
1568
|
if (isSVGContainer(container)) return "svg";
|
|
1568
1569
|
if (isMathMLContainer(container)) return "mathml";
|
|
1569
1570
|
return void 0;
|
|
@@ -2492,7 +2493,7 @@ const KeepAliveImpl = {
|
|
|
2492
2493
|
function pruneCache(filter) {
|
|
2493
2494
|
cache.forEach((vnode, key) => {
|
|
2494
2495
|
const name = getComponentName(vnode.type);
|
|
2495
|
-
if (name &&
|
|
2496
|
+
if (name && !filter(name)) {
|
|
2496
2497
|
pruneCacheEntry(key);
|
|
2497
2498
|
}
|
|
2498
2499
|
});
|
|
@@ -2611,6 +2612,7 @@ function matches(pattern, name) {
|
|
|
2611
2612
|
} else if (shared.isString(pattern)) {
|
|
2612
2613
|
return pattern.split(",").includes(name);
|
|
2613
2614
|
} else if (shared.isRegExp(pattern)) {
|
|
2615
|
+
pattern.lastIndex = 0;
|
|
2614
2616
|
return pattern.test(name);
|
|
2615
2617
|
}
|
|
2616
2618
|
return false;
|
|
@@ -6133,7 +6135,6 @@ function doWatch(source, cb, {
|
|
|
6133
6135
|
const effect = new reactivity.ReactiveEffect(getter);
|
|
6134
6136
|
let scheduler;
|
|
6135
6137
|
if (flush === "sync") {
|
|
6136
|
-
effect.flags |= 64;
|
|
6137
6138
|
scheduler = job;
|
|
6138
6139
|
} else if (flush === "post") {
|
|
6139
6140
|
scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);
|
|
@@ -8378,7 +8379,7 @@ function isMemoSame(cached, memo) {
|
|
|
8378
8379
|
return true;
|
|
8379
8380
|
}
|
|
8380
8381
|
|
|
8381
|
-
const version = "3.5.0-beta.
|
|
8382
|
+
const version = "3.5.0-beta.2";
|
|
8382
8383
|
const warn = warn$1 ;
|
|
8383
8384
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8384
8385
|
const devtools = devtools$1 ;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.5.0-beta.
|
|
2
|
+
* @vue/runtime-core v3.5.0-beta.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1118,6 +1118,7 @@ const logMismatchError = () => {
|
|
|
1118
1118
|
const isSVGContainer = (container) => container.namespaceURI.includes("svg") && container.tagName !== "foreignObject";
|
|
1119
1119
|
const isMathMLContainer = (container) => container.namespaceURI.includes("MathML");
|
|
1120
1120
|
const getContainerType = (container) => {
|
|
1121
|
+
if (container.nodeType !== 1) return void 0;
|
|
1121
1122
|
if (isSVGContainer(container)) return "svg";
|
|
1122
1123
|
if (isMathMLContainer(container)) return "mathml";
|
|
1123
1124
|
return void 0;
|
|
@@ -1864,7 +1865,7 @@ const KeepAliveImpl = {
|
|
|
1864
1865
|
function pruneCache(filter) {
|
|
1865
1866
|
cache.forEach((vnode, key) => {
|
|
1866
1867
|
const name = getComponentName(vnode.type);
|
|
1867
|
-
if (name &&
|
|
1868
|
+
if (name && !filter(name)) {
|
|
1868
1869
|
pruneCacheEntry(key);
|
|
1869
1870
|
}
|
|
1870
1871
|
});
|
|
@@ -1980,6 +1981,7 @@ function matches(pattern, name) {
|
|
|
1980
1981
|
} else if (shared.isString(pattern)) {
|
|
1981
1982
|
return pattern.split(",").includes(name);
|
|
1982
1983
|
} else if (shared.isRegExp(pattern)) {
|
|
1984
|
+
pattern.lastIndex = 0;
|
|
1983
1985
|
return pattern.test(name);
|
|
1984
1986
|
}
|
|
1985
1987
|
return false;
|
|
@@ -4818,7 +4820,6 @@ function doWatch(source, cb, {
|
|
|
4818
4820
|
const effect = new reactivity.ReactiveEffect(getter);
|
|
4819
4821
|
let scheduler;
|
|
4820
4822
|
if (flush === "sync") {
|
|
4821
|
-
effect.flags |= 64;
|
|
4822
4823
|
scheduler = job;
|
|
4823
4824
|
} else if (flush === "post") {
|
|
4824
4825
|
scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);
|
|
@@ -6539,7 +6540,7 @@ function isMemoSame(cached, memo) {
|
|
|
6539
6540
|
return true;
|
|
6540
6541
|
}
|
|
6541
6542
|
|
|
6542
|
-
const version = "3.5.0-beta.
|
|
6543
|
+
const version = "3.5.0-beta.2";
|
|
6543
6544
|
const warn$1 = shared.NOOP;
|
|
6544
6545
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
6545
6546
|
const devtools = void 0;
|
package/dist/runtime-core.d.ts
CHANGED
|
@@ -434,7 +434,7 @@ export declare function withDirectives<T extends VNode>(vnode: T, directives: Di
|
|
|
434
434
|
* import { createApp } from 'vue'
|
|
435
435
|
* import { Router, createRouter } from 'vue-router'
|
|
436
436
|
*
|
|
437
|
-
* declare module '
|
|
437
|
+
* declare module 'vue' {
|
|
438
438
|
* interface ComponentCustomProperties {
|
|
439
439
|
* $router: Router
|
|
440
440
|
* }
|
|
@@ -790,7 +790,7 @@ declare function configureCompat(config: CompatConfig): void;
|
|
|
790
790
|
*
|
|
791
791
|
* @example
|
|
792
792
|
* ```ts
|
|
793
|
-
* declare module '
|
|
793
|
+
* declare module 'vue' {
|
|
794
794
|
* interface ComponentCustomOptions {
|
|
795
795
|
* beforeRouteUpdate?(
|
|
796
796
|
* to: Route,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/runtime-core v3.5.0-beta.
|
|
2
|
+
* @vue/runtime-core v3.5.0-beta.2
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -1568,6 +1568,7 @@ const logMismatchError = () => {
|
|
|
1568
1568
|
const isSVGContainer = (container) => container.namespaceURI.includes("svg") && container.tagName !== "foreignObject";
|
|
1569
1569
|
const isMathMLContainer = (container) => container.namespaceURI.includes("MathML");
|
|
1570
1570
|
const getContainerType = (container) => {
|
|
1571
|
+
if (container.nodeType !== 1) return void 0;
|
|
1571
1572
|
if (isSVGContainer(container)) return "svg";
|
|
1572
1573
|
if (isMathMLContainer(container)) return "mathml";
|
|
1573
1574
|
return void 0;
|
|
@@ -2507,7 +2508,7 @@ const KeepAliveImpl = {
|
|
|
2507
2508
|
function pruneCache(filter) {
|
|
2508
2509
|
cache.forEach((vnode, key) => {
|
|
2509
2510
|
const name = getComponentName(vnode.type);
|
|
2510
|
-
if (name &&
|
|
2511
|
+
if (name && !filter(name)) {
|
|
2511
2512
|
pruneCacheEntry(key);
|
|
2512
2513
|
}
|
|
2513
2514
|
});
|
|
@@ -2626,6 +2627,7 @@ function matches(pattern, name) {
|
|
|
2626
2627
|
} else if (isString(pattern)) {
|
|
2627
2628
|
return pattern.split(",").includes(name);
|
|
2628
2629
|
} else if (isRegExp(pattern)) {
|
|
2630
|
+
pattern.lastIndex = 0;
|
|
2629
2631
|
return pattern.test(name);
|
|
2630
2632
|
}
|
|
2631
2633
|
return false;
|
|
@@ -6190,7 +6192,6 @@ function doWatch(source, cb, {
|
|
|
6190
6192
|
const effect = new ReactiveEffect(getter);
|
|
6191
6193
|
let scheduler;
|
|
6192
6194
|
if (flush === "sync") {
|
|
6193
|
-
effect.flags |= 64;
|
|
6194
6195
|
scheduler = job;
|
|
6195
6196
|
} else if (flush === "post") {
|
|
6196
6197
|
scheduler = () => queuePostRenderEffect(job, instance && instance.suspense);
|
|
@@ -8449,7 +8450,7 @@ function isMemoSame(cached, memo) {
|
|
|
8449
8450
|
return true;
|
|
8450
8451
|
}
|
|
8451
8452
|
|
|
8452
|
-
const version = "3.5.0-beta.
|
|
8453
|
+
const version = "3.5.0-beta.2";
|
|
8453
8454
|
const warn = !!(process.env.NODE_ENV !== "production") ? warn$1 : NOOP;
|
|
8454
8455
|
const ErrorTypeStrings = ErrorTypeStrings$1 ;
|
|
8455
8456
|
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.5.0-beta.
|
|
3
|
+
"version": "3.5.0-beta.2",
|
|
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/
|
|
50
|
-
"@vue/
|
|
49
|
+
"@vue/reactivity": "3.5.0-beta.2",
|
|
50
|
+
"@vue/shared": "3.5.0-beta.2"
|
|
51
51
|
}
|
|
52
52
|
}
|