vue 3.2.15 → 3.2.19
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.esm-browser.js +16 -15
- package/dist/vue.esm-browser.prod.js +1 -1
- package/dist/vue.global.js +15 -14
- package/dist/vue.global.prod.js +1 -1
- package/dist/vue.runtime.esm-browser.js +12 -13
- package/dist/vue.runtime.esm-browser.prod.js +1 -1
- package/dist/vue.runtime.global.js +12 -12
- package/dist/vue.runtime.global.prod.js +1 -1
- package/index.mjs +1 -0
- package/package.json +26 -6
package/dist/vue.global.js
CHANGED
|
@@ -1516,14 +1516,7 @@ var Vue = (function (exports) {
|
|
|
1516
1516
|
// Note: for a component to be eligible for HMR it also needs the __hmrId option
|
|
1517
1517
|
// to be set so that its instances can be registered / removed.
|
|
1518
1518
|
{
|
|
1519
|
-
|
|
1520
|
-
? global
|
|
1521
|
-
: typeof self !== 'undefined'
|
|
1522
|
-
? self
|
|
1523
|
-
: typeof window !== 'undefined'
|
|
1524
|
-
? window
|
|
1525
|
-
: {};
|
|
1526
|
-
globalObject.__VUE_HMR_RUNTIME__ = {
|
|
1519
|
+
getGlobalThis().__VUE_HMR_RUNTIME__ = {
|
|
1527
1520
|
createRecord: tryWrap(createRecord),
|
|
1528
1521
|
rerender: tryWrap(rerender),
|
|
1529
1522
|
reload: tryWrap(reload)
|
|
@@ -7789,9 +7782,11 @@ var Vue = (function (exports) {
|
|
|
7789
7782
|
function finishComponentSetup(instance, isSSR, skipOptions) {
|
|
7790
7783
|
const Component = instance.type;
|
|
7791
7784
|
// template / render function normalization
|
|
7785
|
+
// could be already set when returned from setup()
|
|
7792
7786
|
if (!instance.render) {
|
|
7793
|
-
//
|
|
7794
|
-
|
|
7787
|
+
// only do on-the-fly compile if not in SSR - SSR on-the-fly compliation
|
|
7788
|
+
// is done by server-renderer
|
|
7789
|
+
if (!isSSR && compile && !Component.render) {
|
|
7795
7790
|
const template = Component.template;
|
|
7796
7791
|
if (template) {
|
|
7797
7792
|
{
|
|
@@ -8985,7 +8980,7 @@ var Vue = (function (exports) {
|
|
|
8985
8980
|
}
|
|
8986
8981
|
|
|
8987
8982
|
// Core API ------------------------------------------------------------------
|
|
8988
|
-
const version = "3.2.
|
|
8983
|
+
const version = "3.2.19";
|
|
8989
8984
|
/**
|
|
8990
8985
|
* SSR utils for \@vue/server-renderer. Only exposed in cjs builds.
|
|
8991
8986
|
* @internal
|
|
@@ -10595,7 +10590,11 @@ var Vue = (function (exports) {
|
|
|
10595
10590
|
warn$1(`mounting on a ShadowRoot with \`{mode: "closed"}\` may lead to unpredictable bugs`);
|
|
10596
10591
|
}
|
|
10597
10592
|
return container;
|
|
10598
|
-
}
|
|
10593
|
+
}
|
|
10594
|
+
/**
|
|
10595
|
+
* @internal
|
|
10596
|
+
*/
|
|
10597
|
+
const initDirectivesForSSR = NOOP;
|
|
10599
10598
|
|
|
10600
10599
|
function initDev() {
|
|
10601
10600
|
{
|
|
@@ -12655,7 +12654,7 @@ var Vue = (function (exports) {
|
|
|
12655
12654
|
}
|
|
12656
12655
|
|
|
12657
12656
|
const PURE_ANNOTATION = `/*#__PURE__*/`;
|
|
12658
|
-
function createCodegenContext(ast, { mode = 'function', prefixIdentifiers = mode === 'module', sourceMap = false, filename = `template.vue.html`, scopeId = null, optimizeImports = false, runtimeGlobalName = `Vue`, runtimeModuleName = `vue`, ssr = false, isTS = false, inSSR = false }) {
|
|
12657
|
+
function createCodegenContext(ast, { mode = 'function', prefixIdentifiers = mode === 'module', sourceMap = false, filename = `template.vue.html`, scopeId = null, optimizeImports = false, runtimeGlobalName = `Vue`, runtimeModuleName = `vue`, ssrRuntimeModuleName = 'vue/server-renderer', ssr = false, isTS = false, inSSR = false }) {
|
|
12659
12658
|
const context = {
|
|
12660
12659
|
mode,
|
|
12661
12660
|
prefixIdentifiers,
|
|
@@ -12665,6 +12664,7 @@ var Vue = (function (exports) {
|
|
|
12665
12664
|
optimizeImports,
|
|
12666
12665
|
runtimeGlobalName,
|
|
12667
12666
|
runtimeModuleName,
|
|
12667
|
+
ssrRuntimeModuleName,
|
|
12668
12668
|
ssr,
|
|
12669
12669
|
isTS,
|
|
12670
12670
|
inSSR,
|
|
@@ -12785,7 +12785,7 @@ var Vue = (function (exports) {
|
|
|
12785
12785
|
};
|
|
12786
12786
|
}
|
|
12787
12787
|
function genFunctionPreamble(ast, context) {
|
|
12788
|
-
const { ssr, prefixIdentifiers, push, newline, runtimeModuleName, runtimeGlobalName } = context;
|
|
12788
|
+
const { ssr, prefixIdentifiers, push, newline, runtimeModuleName, runtimeGlobalName, ssrRuntimeModuleName } = context;
|
|
12789
12789
|
const VueBinding = runtimeGlobalName;
|
|
12790
12790
|
const aliasHelper = (s) => `${helperNameMap[s]}: _${helperNameMap[s]}`;
|
|
12791
12791
|
// Generate const declaration for helpers
|
|
@@ -15493,6 +15493,7 @@ var Vue = (function (exports) {
|
|
|
15493
15493
|
exports.handleError = handleError;
|
|
15494
15494
|
exports.hydrate = hydrate;
|
|
15495
15495
|
exports.initCustomFormatter = initCustomFormatter;
|
|
15496
|
+
exports.initDirectivesForSSR = initDirectivesForSSR;
|
|
15496
15497
|
exports.inject = inject;
|
|
15497
15498
|
exports.isMemoSame = isMemoSame;
|
|
15498
15499
|
exports.isProxy = isProxy;
|