@vue/compat 3.2.34 → 3.2.35
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 -5
- package/dist/vue.esm-browser.js +3 -3
- package/dist/vue.esm-browser.prod.js +1 -1
- package/dist/vue.esm-bundler.js +3 -3
- package/dist/vue.global.js +3 -3
- package/dist/vue.global.prod.js +1 -1
- package/dist/vue.runtime.esm-browser.js +3 -3
- package/dist/vue.runtime.esm-browser.prod.js +1 -1
- package/dist/vue.runtime.esm-bundler.js +3 -3
- package/dist/vue.runtime.global.js +3 -3
- package/dist/vue.runtime.global.prod.js +1 -1
- package/package.json +2 -2
package/dist/vue.cjs.js
CHANGED
|
@@ -2301,6 +2301,7 @@ function emit(event, ...args) {
|
|
|
2301
2301
|
}
|
|
2302
2302
|
}
|
|
2303
2303
|
function setDevtoolsHook(hook, target) {
|
|
2304
|
+
var _a, _b;
|
|
2304
2305
|
devtools = hook;
|
|
2305
2306
|
if (devtools) {
|
|
2306
2307
|
devtools.enabled = true;
|
|
@@ -2315,7 +2316,7 @@ function setDevtoolsHook(hook, target) {
|
|
|
2315
2316
|
// some envs mock window but not fully
|
|
2316
2317
|
window.HTMLElement &&
|
|
2317
2318
|
// also exclude jsdom
|
|
2318
|
-
!window.navigator
|
|
2319
|
+
!((_b = (_a = window.navigator) === null || _a === void 0 ? void 0 : _a.userAgent) === null || _b === void 0 ? void 0 : _b.includes('jsdom'))) {
|
|
2319
2320
|
const replay = (target.__VUE_DEVTOOLS_HOOK_REPLAY__ =
|
|
2320
2321
|
target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []);
|
|
2321
2322
|
replay.push((newHook) => {
|
|
@@ -7280,7 +7281,7 @@ function createCompatVue(createApp, createSingletonApp) {
|
|
|
7280
7281
|
return vm;
|
|
7281
7282
|
}
|
|
7282
7283
|
}
|
|
7283
|
-
Vue.version = `2.6.14-compat:${"3.2.
|
|
7284
|
+
Vue.version = `2.6.14-compat:${"3.2.35"}`;
|
|
7284
7285
|
Vue.config = singletonApp.config;
|
|
7285
7286
|
Vue.use = (p, ...options) => {
|
|
7286
7287
|
if (p && isFunction(p.install)) {
|
|
@@ -8000,7 +8001,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
8000
8001
|
// #5728 empty text node inside a slot can cause hydration failure
|
|
8001
8002
|
// because the server rendered HTML won't contain a text node
|
|
8002
8003
|
if (vnode.children === '') {
|
|
8003
|
-
insert((vnode.el = createText('')), node
|
|
8004
|
+
insert((vnode.el = createText('')), parentNode(node), node);
|
|
8004
8005
|
nextNode = node;
|
|
8005
8006
|
}
|
|
8006
8007
|
else {
|
|
@@ -10573,6 +10574,7 @@ function setupComponent(instance, isSSR = false) {
|
|
|
10573
10574
|
return setupResult;
|
|
10574
10575
|
}
|
|
10575
10576
|
function setupStatefulComponent(instance, isSSR) {
|
|
10577
|
+
var _a;
|
|
10576
10578
|
const Component = instance.type;
|
|
10577
10579
|
{
|
|
10578
10580
|
if (Component.name) {
|
|
@@ -10631,7 +10633,7 @@ function setupStatefulComponent(instance, isSSR) {
|
|
|
10631
10633
|
// bail here and wait for re-entry.
|
|
10632
10634
|
instance.asyncDep = setupResult;
|
|
10633
10635
|
if (!instance.suspense) {
|
|
10634
|
-
const name = Component.name
|
|
10636
|
+
const name = (_a = Component.name) !== null && _a !== void 0 ? _a : 'Anonymous';
|
|
10635
10637
|
warn$1(`Component <${name}>: setup function returned a promise, but no ` +
|
|
10636
10638
|
`<Suspense> boundary was found in the parent component tree. ` +
|
|
10637
10639
|
`A component with async setup() must be nested in a <Suspense> ` +
|
|
@@ -11272,7 +11274,7 @@ function isMemoSame(cached, memo) {
|
|
|
11272
11274
|
}
|
|
11273
11275
|
|
|
11274
11276
|
// Core API ------------------------------------------------------------------
|
|
11275
|
-
const version = "3.2.
|
|
11277
|
+
const version = "3.2.35";
|
|
11276
11278
|
const _ssrUtils = {
|
|
11277
11279
|
createComponentInstance,
|
|
11278
11280
|
setupComponent,
|
|
@@ -16361,7 +16363,7 @@ function isReferenced(node, parent, grandparent) {
|
|
|
16361
16363
|
// no: export { NODE as foo } from "foo";
|
|
16362
16364
|
case 'ExportSpecifier':
|
|
16363
16365
|
// @ts-expect-error
|
|
16364
|
-
if (grandparent
|
|
16366
|
+
if (grandparent === null || grandparent === void 0 ? void 0 : grandparent.source) {
|
|
16365
16367
|
return false;
|
|
16366
16368
|
}
|
|
16367
16369
|
return parent.local === node;
|
package/dist/vue.cjs.prod.js
CHANGED
|
@@ -1909,6 +1909,7 @@ function flushJobs(seen) {
|
|
|
1909
1909
|
let devtools;
|
|
1910
1910
|
let buffer = [];
|
|
1911
1911
|
function setDevtoolsHook(hook, target) {
|
|
1912
|
+
var _a, _b;
|
|
1912
1913
|
devtools = hook;
|
|
1913
1914
|
if (devtools) {
|
|
1914
1915
|
devtools.enabled = true;
|
|
@@ -1923,7 +1924,7 @@ function setDevtoolsHook(hook, target) {
|
|
|
1923
1924
|
// some envs mock window but not fully
|
|
1924
1925
|
window.HTMLElement &&
|
|
1925
1926
|
// also exclude jsdom
|
|
1926
|
-
!window.navigator
|
|
1927
|
+
!((_b = (_a = window.navigator) === null || _a === void 0 ? void 0 : _a.userAgent) === null || _b === void 0 ? void 0 : _b.includes('jsdom'))) {
|
|
1927
1928
|
const replay = (target.__VUE_DEVTOOLS_HOOK_REPLAY__ =
|
|
1928
1929
|
target.__VUE_DEVTOOLS_HOOK_REPLAY__ || []);
|
|
1929
1930
|
replay.push((newHook) => {
|
|
@@ -5851,7 +5852,7 @@ function createCompatVue(createApp, createSingletonApp) {
|
|
|
5851
5852
|
return vm;
|
|
5852
5853
|
}
|
|
5853
5854
|
}
|
|
5854
|
-
Vue.version = `2.6.14-compat:${"3.2.
|
|
5855
|
+
Vue.version = `2.6.14-compat:${"3.2.35"}`;
|
|
5855
5856
|
Vue.config = singletonApp.config;
|
|
5856
5857
|
Vue.use = (p, ...options) => {
|
|
5857
5858
|
if (p && isFunction(p.install)) {
|
|
@@ -6461,7 +6462,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
6461
6462
|
// #5728 empty text node inside a slot can cause hydration failure
|
|
6462
6463
|
// because the server rendered HTML won't contain a text node
|
|
6463
6464
|
if (vnode.children === '') {
|
|
6464
|
-
insert((vnode.el = createText('')), node
|
|
6465
|
+
insert((vnode.el = createText('')), parentNode(node), node);
|
|
6465
6466
|
nextNode = node;
|
|
6466
6467
|
}
|
|
6467
6468
|
else {
|
|
@@ -9146,7 +9147,7 @@ function isMemoSame(cached, memo) {
|
|
|
9146
9147
|
}
|
|
9147
9148
|
|
|
9148
9149
|
// Core API ------------------------------------------------------------------
|
|
9149
|
-
const version = "3.2.
|
|
9150
|
+
const version = "3.2.35";
|
|
9150
9151
|
const _ssrUtils = {
|
|
9151
9152
|
createComponentInstance,
|
|
9152
9153
|
setupComponent,
|
|
@@ -13981,7 +13982,7 @@ function isReferenced(node, parent, grandparent) {
|
|
|
13981
13982
|
// no: export { NODE as foo } from "foo";
|
|
13982
13983
|
case 'ExportSpecifier':
|
|
13983
13984
|
// @ts-expect-error
|
|
13984
|
-
if (grandparent
|
|
13985
|
+
if (grandparent === null || grandparent === void 0 ? void 0 : grandparent.source) {
|
|
13985
13986
|
return false;
|
|
13986
13987
|
}
|
|
13987
13988
|
return parent.local === node;
|
package/dist/vue.esm-browser.js
CHANGED
|
@@ -7108,7 +7108,7 @@ function createCompatVue(createApp, createSingletonApp) {
|
|
|
7108
7108
|
return vm;
|
|
7109
7109
|
}
|
|
7110
7110
|
}
|
|
7111
|
-
Vue.version = `2.6.14-compat:${"3.2.
|
|
7111
|
+
Vue.version = `2.6.14-compat:${"3.2.35"}`;
|
|
7112
7112
|
Vue.config = singletonApp.config;
|
|
7113
7113
|
Vue.use = (p, ...options) => {
|
|
7114
7114
|
if (p && isFunction(p.install)) {
|
|
@@ -7828,7 +7828,7 @@ function createHydrationFunctions(rendererInternals) {
|
|
|
7828
7828
|
// #5728 empty text node inside a slot can cause hydration failure
|
|
7829
7829
|
// because the server rendered HTML won't contain a text node
|
|
7830
7830
|
if (vnode.children === '') {
|
|
7831
|
-
insert((vnode.el = createText('')), node
|
|
7831
|
+
insert((vnode.el = createText('')), parentNode(node), node);
|
|
7832
7832
|
nextNode = node;
|
|
7833
7833
|
}
|
|
7834
7834
|
else {
|
|
@@ -11097,7 +11097,7 @@ function isMemoSame(cached, memo) {
|
|
|
11097
11097
|
}
|
|
11098
11098
|
|
|
11099
11099
|
// Core API ------------------------------------------------------------------
|
|
11100
|
-
const version = "3.2.
|
|
11100
|
+
const version = "3.2.35";
|
|
11101
11101
|
/**
|
|
11102
11102
|
* SSR utils for \@vue/server-renderer. Only exposed in cjs builds.
|
|
11103
11103
|
* @internal
|