🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@vue/server-renderer

Package Overview
Dependencies
Maintainers
1
Versions
284
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/server-renderer - npm Package Compare versions

Comparing version
3.5.38
to
3.5.39
+18
-5
dist/server-renderer.cjs.js
/**
* @vue/server-renderer v3.5.38
* @vue/server-renderer v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -216,2 +216,5 @@ * @license MIT

targetBuffer.splice(bufferIndex, 0, teleportContent);
if (shared.isPromise(teleportContent) || shared.isArray(teleportContent) && teleportContent.hasAsync) {
targetBuffer.hasAsync = true;
}
parentPush("<!--teleport end-->");

@@ -836,4 +839,11 @@ }

}
const renderedScopeIds = [];
const appendScopeId = (id) => {
if (id && (!props || !shared.hasOwn(props, id)) && !renderedScopeIds.includes(id)) {
openTag += ` ${id}`;
renderedScopeIds.push(id);
}
};
if (scopeId) {
openTag += ` ${scopeId}`;
appendScopeId(scopeId);
}

@@ -845,3 +855,3 @@ let curParent = parentComponent;

if (curVnode.scopeId) {
openTag += ` ${curVnode.scopeId}`;
appendScopeId(curVnode.scopeId);
}

@@ -851,3 +861,6 @@ curParent = curParent.parent;

if (slotScopeId) {
openTag += ` ${slotScopeId}`;
const slotScopeIdList = slotScopeId.trim().split(" ");
for (let i = 0; i < slotScopeIdList.length; i++) {
appendScopeId(slotScopeIdList[i]);
}
}

@@ -995,3 +1008,3 @@ push(openTag + `>`);

context.teleports[key] = await unrollBuffer$1(
await Promise.all([context.__teleportBuffers[key]])
context.__teleportBuffers[key]
);

@@ -998,0 +1011,0 @@ }

/**
* @vue/server-renderer v3.5.38
* @vue/server-renderer v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -216,2 +216,5 @@ * @license MIT

targetBuffer.splice(bufferIndex, 0, teleportContent);
if (shared.isPromise(teleportContent) || shared.isArray(teleportContent) && teleportContent.hasAsync) {
targetBuffer.hasAsync = true;
}
parentPush("<!--teleport end-->");

@@ -560,4 +563,11 @@ }

}
const renderedScopeIds = [];
const appendScopeId = (id) => {
if (id && (!props || !shared.hasOwn(props, id)) && !renderedScopeIds.includes(id)) {
openTag += ` ${id}`;
renderedScopeIds.push(id);
}
};
if (scopeId) {
openTag += ` ${scopeId}`;
appendScopeId(scopeId);
}

@@ -569,3 +579,3 @@ let curParent = parentComponent;

if (curVnode.scopeId) {
openTag += ` ${curVnode.scopeId}`;
appendScopeId(curVnode.scopeId);
}

@@ -575,3 +585,6 @@ curParent = curParent.parent;

if (slotScopeId) {
openTag += ` ${slotScopeId}`;
const slotScopeIdList = slotScopeId.trim().split(" ");
for (let i = 0; i < slotScopeIdList.length; i++) {
appendScopeId(slotScopeIdList[i]);
}
}

@@ -719,3 +732,3 @@ push(openTag + `>`);

context.teleports[key] = await unrollBuffer$1(
await Promise.all([context.__teleportBuffers[key]])
context.__teleportBuffers[key]
);

@@ -722,0 +735,0 @@ }

/**
* @vue/server-renderer v3.5.38
* @vue/server-renderer v3.5.39
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -7,3 +7,3 @@ * @license MIT

import { createVNode, ssrUtils, ssrContextKey, warn as warn$2, Fragment, Static, Comment, Text, mergeProps, createApp, initDirectivesForSSR } from 'vue';
import { isOn, escapeHtml, isRenderableAttrValue, isSVGTag, propsToAttrMap, isBooleanAttr, includeBooleanAttr, isSSRSafeAttrName, normalizeClass, isString, normalizeStyle, stringifyStyle, isArray, isObject, normalizeCssVarValue, makeMap, toDisplayString, isFunction, EMPTY_OBJ, getGlobalThis, NOOP, looseEqual, looseIndexOf, escapeHtmlComment, isPromise, isVoidTag } from '@vue/shared';
import { isOn, escapeHtml, isRenderableAttrValue, isSVGTag, propsToAttrMap, isBooleanAttr, includeBooleanAttr, isSSRSafeAttrName, normalizeClass, isString, normalizeStyle, stringifyStyle, isArray, isObject, normalizeCssVarValue, makeMap, isPromise, toDisplayString, isFunction, EMPTY_OBJ, getGlobalThis, NOOP, looseEqual, looseIndexOf, escapeHtmlComment, isVoidTag, hasOwn } from '@vue/shared';
export { includeBooleanAttr as ssrIncludeBooleanAttr } from '@vue/shared';

@@ -200,2 +200,5 @@

targetBuffer.splice(bufferIndex, 0, teleportContent);
if (isPromise(teleportContent) || isArray(teleportContent) && teleportContent.hasAsync) {
targetBuffer.hasAsync = true;
}
parentPush("<!--teleport end-->");

@@ -803,4 +806,11 @@ }

}
const renderedScopeIds = [];
const appendScopeId = (id) => {
if (id && (!props || !hasOwn(props, id)) && !renderedScopeIds.includes(id)) {
openTag += ` ${id}`;
renderedScopeIds.push(id);
}
};
if (scopeId) {
openTag += ` ${scopeId}`;
appendScopeId(scopeId);
}

@@ -812,3 +822,3 @@ let curParent = parentComponent;

if (curVnode.scopeId) {
openTag += ` ${curVnode.scopeId}`;
appendScopeId(curVnode.scopeId);
}

@@ -818,3 +828,6 @@ curParent = curParent.parent;

if (slotScopeId) {
openTag += ` ${slotScopeId}`;
const slotScopeIdList = slotScopeId.trim().split(" ");
for (let i = 0; i < slotScopeIdList.length; i++) {
appendScopeId(slotScopeIdList[i]);
}
}

@@ -962,3 +975,3 @@ push(openTag + `>`);

context.teleports[key] = await unrollBuffer$1(
await Promise.all([context.__teleportBuffers[key]])
context.__teleportBuffers[key]
);

@@ -965,0 +978,0 @@ }

{
"name": "@vue/server-renderer",
"version": "3.5.38",
"version": "3.5.39",
"description": "@vue/server-renderer",

@@ -49,8 +49,8 @@ "main": "index.js",

"peerDependencies": {
"vue": "3.5.38"
"vue": "3.5.39"
},
"dependencies": {
"@vue/shared": "3.5.38",
"@vue/compiler-ssr": "3.5.38"
"@vue/shared": "3.5.39",
"@vue/compiler-ssr": "3.5.39"
}
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display