New:Socket for Asana Is Now Available.Learn more
Get Started

@vue/server-renderer

Package Overview
Dependencies
Maintainers
1
Versions
293
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.40
to
3.5.41
+5
-3
dist/server-renderer.cjs.js
/**
* @vue/server-renderer v3.5.40
* @vue/server-renderer v3.5.41
* (c) 2018-present Yuxi (Evan) You and Vue contributors

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

const attrKey = tag && (tag.indexOf("-") > 0 || shared.isSVGTag(tag)) ? key : shared.propsToAttrMap[key] || key.toLowerCase();
if (shared.isBooleanAttr(attrKey)) {
if (shared.isBooleanAttr(attrKey) || attrKey === "hidden" && (typeof value === "boolean" || typeof value === "number")) {
return shared.includeBooleanAttr(value) ? ` ${attrKey}` : ``;

@@ -134,3 +134,5 @@ } else if (shared.isSSRSafeAttrName(attrKey)) {

const ret = slotFn(
slotProps,
// keep the slot function's contract in sync with `renderSlot`, which also
// normalizes nullish props before invoking the slot
slotProps || {},
bufferedPush,

@@ -137,0 +139,0 @@ parentComponent,

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

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

const attrKey = tag && (tag.indexOf("-") > 0 || shared.isSVGTag(tag)) ? key : shared.propsToAttrMap[key] || key.toLowerCase();
if (shared.isBooleanAttr(attrKey)) {
if (shared.isBooleanAttr(attrKey) || attrKey === "hidden" && (typeof value === "boolean" || typeof value === "number")) {
return shared.includeBooleanAttr(value) ? ` ${attrKey}` : ``;

@@ -134,3 +134,5 @@ } else if (shared.isSSRSafeAttrName(attrKey)) {

const ret = slotFn(
slotProps,
// keep the slot function's contract in sync with `renderSlot`, which also
// normalizes nullish props before invoking the slot
slotProps || {},
bufferedPush,

@@ -137,0 +139,0 @@ parentComponent,

@@ -35,4 +35,4 @@ import { VNode, ComponentInternalInstance, App, Slots, Component, ComponentPublicInstance, Directive } from '@vue/runtime-dom';

type SSRSlot = (props: Props, push: PushFn, parentComponent: ComponentInternalInstance | null, scopeId: string | null) => void;
export declare function ssrRenderSlot(slots: Slots | SSRSlots, slotName: string, slotProps: Props, fallbackRenderFn: (() => void) | null, push: PushFn, parentComponent: ComponentInternalInstance, slotScopeId?: string): void;
export declare function ssrRenderSlotInner(slots: Slots | SSRSlots, slotName: string, slotProps: Props, fallbackRenderFn: (() => void) | null, push: PushFn, parentComponent: ComponentInternalInstance, slotScopeId?: string, transition?: boolean): void;
export declare function ssrRenderSlot(slots: Slots | SSRSlots, slotName: string, slotProps: Props | null | undefined, fallbackRenderFn: (() => void) | null, push: PushFn, parentComponent: ComponentInternalInstance, slotScopeId?: string): void;
export declare function ssrRenderSlotInner(slots: Slots | SSRSlots, slotName: string, slotProps: Props | null | undefined, fallbackRenderFn: (() => void) | null, push: PushFn, parentComponent: ComponentInternalInstance, slotScopeId?: string, transition?: boolean): void;

@@ -60,3 +60,3 @@ export declare function ssrRenderComponent(comp: Component, props?: Props | null, children?: Slots | SSRSlots | null, parentComponent?: ComponentInternalInstance | null, slotScopeId?: string): SSRBuffer | Promise<SSRBuffer>;

export declare function ssrRenderDynamicModel(type: unknown, model: unknown, value: unknown): string;
export declare function ssrGetDynamicModelProps(existingProps: any, model: unknown): {
export declare function ssrGetDynamicModelProps(existingProps: any | undefined, model: unknown): {
checked: true;

@@ -63,0 +63,0 @@ } | {

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

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

const attrKey = tag && (tag.indexOf("-") > 0 || isSVGTag(tag)) ? key : propsToAttrMap[key] || key.toLowerCase();
if (isBooleanAttr(attrKey)) {
if (isBooleanAttr(attrKey) || attrKey === "hidden" && (typeof value === "boolean" || typeof value === "number")) {
return includeBooleanAttr(value) ? ` ${attrKey}` : ``;

@@ -117,3 +117,5 @@ } else if (isSSRSafeAttrName(attrKey)) {

const ret = slotFn(
slotProps,
// keep the slot function's contract in sync with `renderSlot`, which also
// normalizes nullish props before invoking the slot
slotProps || {},
bufferedPush,

@@ -120,0 +122,0 @@ parentComponent,

{
"name": "@vue/server-renderer",
"version": "3.5.40",
"version": "3.5.41",
"description": "@vue/server-renderer",

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

"dependencies": {
"@vue/shared": "3.5.40",
"@vue/runtime-dom": "3.5.40",
"@vue/compiler-ssr": "3.5.40"
"@vue/shared": "3.5.41",
"@vue/runtime-dom": "3.5.41",
"@vue/compiler-ssr": "3.5.41"
}
}

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

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