vue 3.6.0-rc.4 → 3.6.0-rc.6
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 +8 -6
- package/dist/vue.cjs.prod.js +6 -4
- package/dist/vue.d.mts +0 -3
- package/dist/vue.d.ts +0 -3
- package/dist/vue.esm-browser.js +836 -616
- package/dist/vue.esm-browser.prod.js +7 -7
- package/dist/vue.esm-bundler.js +7 -6
- package/dist/vue.global.js +836 -616
- package/dist/vue.global.prod.js +7 -7
- package/dist/vue.runtime-with-vapor.esm-browser.js +2696 -1930
- package/dist/vue.runtime-with-vapor.esm-browser.prod.js +7 -7
- package/dist/vue.runtime.esm-browser.js +647 -442
- package/dist/vue.runtime.esm-browser.prod.js +4 -4
- package/dist/vue.runtime.esm-bundler.js +1 -2
- package/dist/vue.runtime.global.js +647 -442
- package/dist/vue.runtime.global.prod.js +4 -4
- package/package.json +10 -7
package/dist/vue.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.6.0-rc.
|
|
2
|
+
* vue v3.6.0-rc.6
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -24,7 +24,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
24
24
|
}
|
|
25
25
|
return to;
|
|
26
26
|
};
|
|
27
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
27
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
28
28
|
value: mod,
|
|
29
29
|
enumerable: true
|
|
30
30
|
}) : target, mod));
|
|
@@ -36,10 +36,12 @@ let _vue_shared = require("@vue/shared");
|
|
|
36
36
|
//#region packages/vue/src/index.ts
|
|
37
37
|
const compileCache = Object.create(null);
|
|
38
38
|
function compileToFunction(template, options) {
|
|
39
|
-
if (!(0, _vue_shared.isString)(template))
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
if (!(0, _vue_shared.isString)(template)) {
|
|
40
|
+
if (template.nodeType) template = template.innerHTML;
|
|
41
|
+
else {
|
|
42
|
+
(0, _vue_runtime_dom.warn)(`invalid template option: `, template);
|
|
43
|
+
return _vue_shared.NOOP;
|
|
44
|
+
}
|
|
43
45
|
}
|
|
44
46
|
const key = (0, _vue_shared.genCacheKey)(template, options);
|
|
45
47
|
const cached = compileCache[key];
|
package/dist/vue.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.6.0-rc.
|
|
2
|
+
* vue v3.6.0-rc.6
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -24,7 +24,7 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
24
24
|
}
|
|
25
25
|
return to;
|
|
26
26
|
};
|
|
27
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
27
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
|
|
28
28
|
value: mod,
|
|
29
29
|
enumerable: true
|
|
30
30
|
}) : target, mod));
|
|
@@ -36,8 +36,10 @@ let _vue_shared = require("@vue/shared");
|
|
|
36
36
|
//#region packages/vue/src/index.ts
|
|
37
37
|
const compileCache = Object.create(null);
|
|
38
38
|
function compileToFunction(template, options) {
|
|
39
|
-
if (!(0, _vue_shared.isString)(template))
|
|
40
|
-
|
|
39
|
+
if (!(0, _vue_shared.isString)(template)) {
|
|
40
|
+
if (template.nodeType) template = template.innerHTML;
|
|
41
|
+
else return _vue_shared.NOOP;
|
|
42
|
+
}
|
|
41
43
|
const key = (0, _vue_shared.genCacheKey)(template, options);
|
|
42
44
|
const cached = compileCache[key];
|
|
43
45
|
if (cached) return cached;
|
package/dist/vue.d.mts
CHANGED
|
@@ -3,9 +3,6 @@ import { RenderFunction, defineAsyncComponent as defineVaporAsyncComponent$1 } f
|
|
|
3
3
|
import { VaporSlot, defineVaporAsyncComponent, withAsyncContext } from "@vue/runtime-vapor";
|
|
4
4
|
export * from "@vue/runtime-dom";
|
|
5
5
|
export * from "@vue/runtime-vapor";
|
|
6
|
-
|
|
7
|
-
//#region \0rolldown/runtime.js
|
|
8
|
-
//#endregion
|
|
9
6
|
//#region temp/packages/vue/src/index.d.ts
|
|
10
7
|
export declare function compileToFunction(template: string | HTMLElement, options?: CompilerOptions): RenderFunction;
|
|
11
8
|
//#endregion
|
package/dist/vue.d.ts
CHANGED
|
@@ -3,9 +3,6 @@ import { RenderFunction, defineAsyncComponent as defineVaporAsyncComponent$1 } f
|
|
|
3
3
|
import { VaporSlot, defineVaporAsyncComponent, withAsyncContext } from "@vue/runtime-vapor";
|
|
4
4
|
export * from "@vue/runtime-dom";
|
|
5
5
|
export * from "@vue/runtime-vapor";
|
|
6
|
-
|
|
7
|
-
//#region \0rolldown/runtime.js
|
|
8
|
-
//#endregion
|
|
9
6
|
//#region temp/packages/vue/src/index.d.ts
|
|
10
7
|
export declare function compileToFunction(template: string | HTMLElement, options?: CompilerOptions): RenderFunction;
|
|
11
8
|
//#endregion
|