@vue/compat 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-compat.d.ts +1 -6
- package/dist/vue.cjs.js +11 -14
- package/dist/vue.cjs.prod.js +11 -14
- package/dist/vue.esm-browser.js +11 -14
- package/dist/vue.esm-browser.prod.js +2 -2
- package/dist/vue.esm-bundler.js +11 -14
- package/dist/vue.global.js +11 -14
- package/dist/vue.global.prod.js +2 -2
- package/dist/vue.runtime.esm-browser.js +11 -14
- package/dist/vue.runtime.esm-browser.prod.js +2 -2
- package/dist/vue.runtime.esm-bundler.js +11 -14
- package/dist/vue.runtime.global.js +11 -14
- package/dist/vue.runtime.global.prod.js +2 -2
- package/package.json +2 -2
package/dist/vue-compat.d.ts
CHANGED
|
@@ -1065,7 +1065,7 @@ interface VdomSlotOptions {
|
|
|
1065
1065
|
interface VdomInVaporInterface {
|
|
1066
1066
|
mount: (component: ConcreteComponent, parentComponent: any, props?: any, slots?: any, once?: boolean) => any;
|
|
1067
1067
|
slot: (slots: any, name: string | (() => string), props: Record<string, any>, parentComponent: any, options?: VdomSlotOptions) => any;
|
|
1068
|
-
mountVNode: (vnode: VNode, parentComponent: any,
|
|
1068
|
+
mountVNode: (vnode: VNode, parentComponent: any, isSingleRoot?: boolean) => any;
|
|
1069
1069
|
}
|
|
1070
1070
|
/**
|
|
1071
1071
|
* Minimal app context shared between vdom and vapor
|
|
@@ -1595,11 +1595,6 @@ interface GenericComponentInstance {
|
|
|
1595
1595
|
* @internal
|
|
1596
1596
|
*/
|
|
1597
1597
|
asyncResolved: boolean;
|
|
1598
|
-
/**
|
|
1599
|
-
* restore renderer-specific async context after `withAsyncContext()`
|
|
1600
|
-
* @internal
|
|
1601
|
-
*/
|
|
1602
|
-
restoreAsyncContext?: () => void | (() => void);
|
|
1603
1598
|
/**
|
|
1604
1599
|
* `updateTeleportCssVars`
|
|
1605
1600
|
* For updating css vars on contained teleports
|
package/dist/vue.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-rc.
|
|
2
|
+
* @vue/compat v3.6.0-rc.8
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -584,6 +584,8 @@ function setupFlagsHandler(target) {
|
|
|
584
584
|
function warn$2(msg, ...args) {
|
|
585
585
|
console.warn(`[Vue warn] ${msg}`, ...args);
|
|
586
586
|
}
|
|
587
|
+
//#endregion
|
|
588
|
+
//#region packages/reactivity/src/system.ts
|
|
587
589
|
const notifyBuffer = [];
|
|
588
590
|
let batchDepth = 0;
|
|
589
591
|
let activeSub = void 0;
|
|
@@ -6251,37 +6253,32 @@ function createPropsRestProxy(props, excludedKeys) {
|
|
|
6251
6253
|
function withAsyncContext(getAwaitable) {
|
|
6252
6254
|
const ctx = getCurrentGenericInstance();
|
|
6253
6255
|
const inSSRSetup = isInSSRComponentSetup;
|
|
6254
|
-
const restoreAsyncContext = ctx && ctx.restoreAsyncContext ? ctx.restoreAsyncContext.bind(ctx) : void 0;
|
|
6255
6256
|
if (!ctx) warn$1("withAsyncContext called without active current instance. This is likely a bug.");
|
|
6256
6257
|
let awaitable = getAwaitable();
|
|
6257
6258
|
setCurrentInstance(null, void 0);
|
|
6258
6259
|
if (inSSRSetup) setInSSRSetupState(false);
|
|
6259
6260
|
const restore = () => {
|
|
6260
|
-
const
|
|
6261
|
+
const stoppedScope = ctx && !ctx.scope.active ? ctx.scope : void 0;
|
|
6261
6262
|
setCurrentInstance(ctx);
|
|
6262
6263
|
if (inSSRSetup) setInSSRSetupState(true);
|
|
6263
|
-
|
|
6264
|
-
return () => {
|
|
6265
|
-
if (reset) reset();
|
|
6266
|
-
if (resetStoppedScope) resetStoppedScope.reset();
|
|
6267
|
-
};
|
|
6264
|
+
return stoppedScope;
|
|
6268
6265
|
};
|
|
6269
6266
|
const cleanup = () => {
|
|
6270
6267
|
setCurrentInstance(null, void 0);
|
|
6271
6268
|
if (inSSRSetup) setInSSRSetupState(false);
|
|
6272
6269
|
};
|
|
6273
6270
|
if (isPromise(awaitable)) awaitable = awaitable.catch((e) => {
|
|
6274
|
-
const
|
|
6271
|
+
const stoppedScope = restore();
|
|
6275
6272
|
Promise.resolve().then(() => Promise.resolve().then(() => {
|
|
6276
|
-
if (
|
|
6273
|
+
if (stoppedScope) stoppedScope.reset();
|
|
6277
6274
|
cleanup();
|
|
6278
6275
|
}));
|
|
6279
6276
|
throw e;
|
|
6280
6277
|
});
|
|
6281
6278
|
return [awaitable, () => {
|
|
6282
|
-
const
|
|
6279
|
+
const stoppedScope = restore();
|
|
6283
6280
|
Promise.resolve().then(() => {
|
|
6284
|
-
if (
|
|
6281
|
+
if (stoppedScope) stoppedScope.reset();
|
|
6285
6282
|
cleanup();
|
|
6286
6283
|
});
|
|
6287
6284
|
}];
|
|
@@ -6607,7 +6604,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6607
6604
|
if (options.el) return vm.$mount(options.el);
|
|
6608
6605
|
else return vm;
|
|
6609
6606
|
}
|
|
6610
|
-
Vue.version = `2.6.14-compat:3.6.0-rc.
|
|
6607
|
+
Vue.version = `2.6.14-compat:3.6.0-rc.8`;
|
|
6611
6608
|
Vue.config = singletonApp.config;
|
|
6612
6609
|
Vue.use = (plugin, ...options) => {
|
|
6613
6610
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -10160,7 +10157,7 @@ function isMemoSame(cached, memo) {
|
|
|
10160
10157
|
}
|
|
10161
10158
|
//#endregion
|
|
10162
10159
|
//#region packages/runtime-core/src/index.ts
|
|
10163
|
-
const version = "3.6.0-rc.
|
|
10160
|
+
const version = "3.6.0-rc.8";
|
|
10164
10161
|
const warn = warn$1;
|
|
10165
10162
|
/**
|
|
10166
10163
|
* Runtime error messages. Only exposed in dev or esm builds.
|
package/dist/vue.cjs.prod.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-rc.
|
|
2
|
+
* @vue/compat v3.6.0-rc.8
|
|
3
3
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
4
|
* @license MIT
|
|
5
5
|
**/
|
|
@@ -450,6 +450,8 @@ function getSequence(arr) {
|
|
|
450
450
|
}
|
|
451
451
|
return result;
|
|
452
452
|
}
|
|
453
|
+
//#endregion
|
|
454
|
+
//#region packages/reactivity/src/system.ts
|
|
453
455
|
const notifyBuffer = [];
|
|
454
456
|
let batchDepth = 0;
|
|
455
457
|
let activeSub = void 0;
|
|
@@ -5169,36 +5171,31 @@ function createPropsRestProxy(props, excludedKeys) {
|
|
|
5169
5171
|
function withAsyncContext(getAwaitable) {
|
|
5170
5172
|
const ctx = getCurrentGenericInstance();
|
|
5171
5173
|
const inSSRSetup = isInSSRComponentSetup;
|
|
5172
|
-
const restoreAsyncContext = ctx && ctx.restoreAsyncContext ? ctx.restoreAsyncContext.bind(ctx) : void 0;
|
|
5173
5174
|
let awaitable = getAwaitable();
|
|
5174
5175
|
setCurrentInstance(null, void 0);
|
|
5175
5176
|
if (inSSRSetup) setInSSRSetupState(false);
|
|
5176
5177
|
const restore = () => {
|
|
5177
|
-
const
|
|
5178
|
+
const stoppedScope = ctx && !ctx.scope.active ? ctx.scope : void 0;
|
|
5178
5179
|
setCurrentInstance(ctx);
|
|
5179
5180
|
if (inSSRSetup) setInSSRSetupState(true);
|
|
5180
|
-
|
|
5181
|
-
return () => {
|
|
5182
|
-
if (reset) reset();
|
|
5183
|
-
if (resetStoppedScope) resetStoppedScope.reset();
|
|
5184
|
-
};
|
|
5181
|
+
return stoppedScope;
|
|
5185
5182
|
};
|
|
5186
5183
|
const cleanup = () => {
|
|
5187
5184
|
setCurrentInstance(null, void 0);
|
|
5188
5185
|
if (inSSRSetup) setInSSRSetupState(false);
|
|
5189
5186
|
};
|
|
5190
5187
|
if (isPromise(awaitable)) awaitable = awaitable.catch((e) => {
|
|
5191
|
-
const
|
|
5188
|
+
const stoppedScope = restore();
|
|
5192
5189
|
Promise.resolve().then(() => Promise.resolve().then(() => {
|
|
5193
|
-
if (
|
|
5190
|
+
if (stoppedScope) stoppedScope.reset();
|
|
5194
5191
|
cleanup();
|
|
5195
5192
|
}));
|
|
5196
5193
|
throw e;
|
|
5197
5194
|
});
|
|
5198
5195
|
return [awaitable, () => {
|
|
5199
|
-
const
|
|
5196
|
+
const stoppedScope = restore();
|
|
5200
5197
|
Promise.resolve().then(() => {
|
|
5201
|
-
if (
|
|
5198
|
+
if (stoppedScope) stoppedScope.reset();
|
|
5202
5199
|
cleanup();
|
|
5203
5200
|
});
|
|
5204
5201
|
}];
|
|
@@ -5458,7 +5455,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
5458
5455
|
if (options.el) return vm.$mount(options.el);
|
|
5459
5456
|
else return vm;
|
|
5460
5457
|
}
|
|
5461
|
-
Vue.version = `2.6.14-compat:3.6.0-rc.
|
|
5458
|
+
Vue.version = `2.6.14-compat:3.6.0-rc.8`;
|
|
5462
5459
|
Vue.config = singletonApp.config;
|
|
5463
5460
|
Vue.use = (plugin, ...options) => {
|
|
5464
5461
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -8286,7 +8283,7 @@ function isMemoSame(cached, memo) {
|
|
|
8286
8283
|
}
|
|
8287
8284
|
//#endregion
|
|
8288
8285
|
//#region packages/runtime-core/src/index.ts
|
|
8289
|
-
const version = "3.6.0-rc.
|
|
8286
|
+
const version = "3.6.0-rc.8";
|
|
8290
8287
|
const warn = NOOP;
|
|
8291
8288
|
/**
|
|
8292
8289
|
* Runtime error messages. Only exposed in dev or esm builds.
|
package/dist/vue.esm-browser.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @vue/compat v3.6.0-rc.
|
|
2
|
+
* @vue/compat 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;
|
|
@@ -6184,37 +6186,32 @@ function createPropsRestProxy(props, excludedKeys) {
|
|
|
6184
6186
|
function withAsyncContext(getAwaitable) {
|
|
6185
6187
|
const ctx = getCurrentGenericInstance();
|
|
6186
6188
|
const inSSRSetup = isInSSRComponentSetup;
|
|
6187
|
-
const restoreAsyncContext = ctx && ctx.restoreAsyncContext ? ctx.restoreAsyncContext.bind(ctx) : void 0;
|
|
6188
6189
|
if (!ctx) warn$1("withAsyncContext called without active current instance. This is likely a bug.");
|
|
6189
6190
|
let awaitable = getAwaitable();
|
|
6190
6191
|
setCurrentInstance(null, void 0);
|
|
6191
6192
|
if (inSSRSetup) setInSSRSetupState(false);
|
|
6192
6193
|
const restore = () => {
|
|
6193
|
-
const
|
|
6194
|
+
const stoppedScope = ctx && !ctx.scope.active ? ctx.scope : void 0;
|
|
6194
6195
|
setCurrentInstance(ctx);
|
|
6195
6196
|
if (inSSRSetup) setInSSRSetupState(true);
|
|
6196
|
-
|
|
6197
|
-
return () => {
|
|
6198
|
-
if (reset) reset();
|
|
6199
|
-
if (resetStoppedScope) resetStoppedScope.reset();
|
|
6200
|
-
};
|
|
6197
|
+
return stoppedScope;
|
|
6201
6198
|
};
|
|
6202
6199
|
const cleanup = () => {
|
|
6203
6200
|
setCurrentInstance(null, void 0);
|
|
6204
6201
|
if (inSSRSetup) setInSSRSetupState(false);
|
|
6205
6202
|
};
|
|
6206
6203
|
if (isPromise(awaitable)) awaitable = awaitable.catch((e) => {
|
|
6207
|
-
const
|
|
6204
|
+
const stoppedScope = restore();
|
|
6208
6205
|
Promise.resolve().then(() => Promise.resolve().then(() => {
|
|
6209
|
-
if (
|
|
6206
|
+
if (stoppedScope) stoppedScope.reset();
|
|
6210
6207
|
cleanup();
|
|
6211
6208
|
}));
|
|
6212
6209
|
throw e;
|
|
6213
6210
|
});
|
|
6214
6211
|
return [awaitable, () => {
|
|
6215
|
-
const
|
|
6212
|
+
const stoppedScope = restore();
|
|
6216
6213
|
Promise.resolve().then(() => {
|
|
6217
|
-
if (
|
|
6214
|
+
if (stoppedScope) stoppedScope.reset();
|
|
6218
6215
|
cleanup();
|
|
6219
6216
|
});
|
|
6220
6217
|
}];
|
|
@@ -6539,7 +6536,7 @@ function createCompatVue$1(createApp, createSingletonApp) {
|
|
|
6539
6536
|
if (options.el) return vm.$mount(options.el);
|
|
6540
6537
|
else return vm;
|
|
6541
6538
|
}
|
|
6542
|
-
Vue.version = `2.6.14-compat:3.6.0-rc.
|
|
6539
|
+
Vue.version = `2.6.14-compat:3.6.0-rc.8`;
|
|
6543
6540
|
Vue.config = singletonApp.config;
|
|
6544
6541
|
Vue.use = (plugin, ...options) => {
|
|
6545
6542
|
if (plugin && isFunction(plugin.install)) plugin.install(Vue, ...options);
|
|
@@ -10081,7 +10078,7 @@ function isMemoSame(cached, memo) {
|
|
|
10081
10078
|
}
|
|
10082
10079
|
//#endregion
|
|
10083
10080
|
//#region packages/runtime-core/src/index.ts
|
|
10084
|
-
const version = "3.6.0-rc.
|
|
10081
|
+
const version = "3.6.0-rc.8";
|
|
10085
10082
|
const warn = warn$1;
|
|
10086
10083
|
/**
|
|
10087
10084
|
* Runtime error messages. Only exposed in dev or esm builds.
|