vue 3.6.0-rc.7 → 3.6.0-rc.8
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 +1 -1
- package/dist/vue.cjs.prod.js +1 -1
- package/dist/vue.d.mts +2 -2
- package/dist/vue.d.ts +2 -2
- package/dist/vue.esm-browser.js +10 -13
- package/dist/vue.esm-browser.prod.js +2 -2
- package/dist/vue.esm-bundler.js +3 -3
- package/dist/vue.global.js +10 -13
- package/dist/vue.global.prod.js +2 -2
- package/dist/vue.runtime-with-vapor.esm-browser.js +1279 -1274
- package/dist/vue.runtime-with-vapor.esm-browser.prod.js +7 -7
- package/dist/vue.runtime.esm-browser.js +10 -13
- package/dist/vue.runtime.esm-browser.prod.js +2 -2
- package/dist/vue.runtime.esm-bundler.js +3 -3
- package/dist/vue.runtime.global.js +10 -13
- package/dist/vue.runtime.global.prod.js +2 -2
- package/package.json +7 -7
package/dist/vue.cjs.js
CHANGED
package/dist/vue.cjs.prod.js
CHANGED
package/dist/vue.d.mts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CompilerOptions } from "@vue/compiler-dom";
|
|
2
2
|
import { RenderFunction, defineAsyncComponent as defineVaporAsyncComponent$1 } from "@vue/runtime-dom";
|
|
3
|
-
import { VaporSlot, defineVaporAsyncComponent
|
|
3
|
+
import { VaporSlot, defineVaporAsyncComponent } from "@vue/runtime-vapor";
|
|
4
4
|
export * from "@vue/runtime-dom";
|
|
5
5
|
export * from "@vue/runtime-vapor";
|
|
6
6
|
//#region temp/packages/vue/src/index.d.ts
|
|
7
7
|
export declare function compileToFunction(template: string | HTMLElement, options?: CompilerOptions): RenderFunction;
|
|
8
8
|
//#endregion
|
|
9
|
-
export { type VaporSlot, compileToFunction as compile, defineVaporAsyncComponent
|
|
9
|
+
export { type VaporSlot, compileToFunction as compile, defineVaporAsyncComponent };
|
package/dist/vue.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { CompilerOptions } from "@vue/compiler-dom";
|
|
2
2
|
import { RenderFunction, defineAsyncComponent as defineVaporAsyncComponent$1 } from "@vue/runtime-dom";
|
|
3
|
-
import { VaporSlot, defineVaporAsyncComponent
|
|
3
|
+
import { VaporSlot, defineVaporAsyncComponent } from "@vue/runtime-vapor";
|
|
4
4
|
export * from "@vue/runtime-dom";
|
|
5
5
|
export * from "@vue/runtime-vapor";
|
|
6
6
|
//#region temp/packages/vue/src/index.d.ts
|
|
7
7
|
export declare function compileToFunction(template: string | HTMLElement, options?: CompilerOptions): RenderFunction;
|
|
8
8
|
//#endregion
|
|
9
|
-
export { type VaporSlot, compileToFunction as compile, defineVaporAsyncComponent
|
|
9
|
+
export { type VaporSlot, compileToFunction as compile, defineVaporAsyncComponent };
|
package/dist/vue.esm-browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* vue v3.6.0-rc.
|
|
2
|
+
* vue v3.6.0-rc.8
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -539,6 +539,8 @@ function setupFlagsHandler(target) {
|
|
|
539
539
|
function warn$2(msg, ...args) {
|
|
540
540
|
console.warn(`[Vue warn] ${msg}`, ...args);
|
|
541
541
|
}
|
|
542
|
+
//#endregion
|
|
543
|
+
//#region packages/reactivity/src/system.ts
|
|
542
544
|
const notifyBuffer = [];
|
|
543
545
|
let batchDepth = 0;
|
|
544
546
|
let activeSub = void 0;
|
|
@@ -5420,37 +5422,32 @@ function createPropsRestProxy(props, excludedKeys) {
|
|
|
5420
5422
|
function withAsyncContext(getAwaitable) {
|
|
5421
5423
|
const ctx = getCurrentGenericInstance();
|
|
5422
5424
|
const inSSRSetup = isInSSRComponentSetup;
|
|
5423
|
-
const restoreAsyncContext = ctx && ctx.restoreAsyncContext ? ctx.restoreAsyncContext.bind(ctx) : void 0;
|
|
5424
5425
|
if (!ctx) warn$1("withAsyncContext called without active current instance. This is likely a bug.");
|
|
5425
5426
|
let awaitable = getAwaitable();
|
|
5426
5427
|
setCurrentInstance(null, void 0);
|
|
5427
5428
|
if (inSSRSetup) setInSSRSetupState(false);
|
|
5428
5429
|
const restore = () => {
|
|
5429
|
-
const
|
|
5430
|
+
const stoppedScope = ctx && !ctx.scope.active ? ctx.scope : void 0;
|
|
5430
5431
|
setCurrentInstance(ctx);
|
|
5431
5432
|
if (inSSRSetup) setInSSRSetupState(true);
|
|
5432
|
-
|
|
5433
|
-
return () => {
|
|
5434
|
-
if (reset) reset();
|
|
5435
|
-
if (resetStoppedScope) resetStoppedScope.reset();
|
|
5436
|
-
};
|
|
5433
|
+
return stoppedScope;
|
|
5437
5434
|
};
|
|
5438
5435
|
const cleanup = () => {
|
|
5439
5436
|
setCurrentInstance(null, void 0);
|
|
5440
5437
|
if (inSSRSetup) setInSSRSetupState(false);
|
|
5441
5438
|
};
|
|
5442
5439
|
if (isPromise(awaitable)) awaitable = awaitable.catch((e) => {
|
|
5443
|
-
const
|
|
5440
|
+
const stoppedScope = restore();
|
|
5444
5441
|
Promise.resolve().then(() => Promise.resolve().then(() => {
|
|
5445
|
-
if (
|
|
5442
|
+
if (stoppedScope) stoppedScope.reset();
|
|
5446
5443
|
cleanup();
|
|
5447
5444
|
}));
|
|
5448
5445
|
throw e;
|
|
5449
5446
|
});
|
|
5450
5447
|
return [awaitable, () => {
|
|
5451
|
-
const
|
|
5448
|
+
const stoppedScope = restore();
|
|
5452
5449
|
Promise.resolve().then(() => {
|
|
5453
|
-
if (
|
|
5450
|
+
if (stoppedScope) stoppedScope.reset();
|
|
5454
5451
|
cleanup();
|
|
5455
5452
|
});
|
|
5456
5453
|
}];
|
|
@@ -8810,7 +8807,7 @@ function isMemoSame(cached, memo) {
|
|
|
8810
8807
|
}
|
|
8811
8808
|
//#endregion
|
|
8812
8809
|
//#region packages/runtime-core/src/index.ts
|
|
8813
|
-
const version = "3.6.0-rc.
|
|
8810
|
+
const version = "3.6.0-rc.8";
|
|
8814
8811
|
const warn = warn$1;
|
|
8815
8812
|
/**
|
|
8816
8813
|
* Runtime error messages. Only exposed in dev or esm builds.
|