Socket
Socket
Sign inDemoInstall

@vue/server-renderer

Package Overview
Dependencies
16
Maintainers
1
Versions
205
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-beta.20 to 3.0.0-beta.21

14

dist/server-renderer.cjs.js

@@ -198,3 +198,5 @@ 'use strict';

setCurrentRenderingInstance(instance);
comp.ssrRender(instance.proxy, push, instance, attrs);
comp.ssrRender(instance.proxy, push, instance, attrs,
// compiler-optimized bindings
instance.props, instance.setupState, instance.data, instance.ctx);
setCurrentRenderingInstance(null);

@@ -512,2 +514,11 @@ }

function ssrResolveCssVars(source, scopeId) {
const style = {};
const prefix = scopeId ? `${scopeId.replace(/^data-v-/, '')}-` : ``;
for (const key in source) {
style[`--${prefix}${key}`] = source[key];
}
return { style };
}
const ssrLooseEqual = shared.looseEqual;

@@ -569,1 +580,2 @@ function ssrLooseContain(arr, value) {

exports.ssrRenderVNode = renderVNode;
exports.ssrResolveCssVars = ssrResolveCssVars;

@@ -195,3 +195,5 @@ 'use strict';

setCurrentRenderingInstance(instance);
comp.ssrRender(instance.proxy, push, instance, attrs);
comp.ssrRender(instance.proxy, push, instance, attrs,
// compiler-optimized bindings
instance.props, instance.setupState, instance.data, instance.ctx);
setCurrentRenderingInstance(null);

@@ -509,2 +511,11 @@ }

function ssrResolveCssVars(source, scopeId) {
const style = {};
const prefix = scopeId ? `${scopeId.replace(/^data-v-/, '')}-` : ``;
for (const key in source) {
style[`--${prefix}${key}`] = source[key];
}
return { style };
}
const ssrLooseEqual = shared.looseEqual;

@@ -566,1 +577,2 @@ function ssrLooseContain(arr, value) {

exports.ssrRenderVNode = renderVNode;
exports.ssrResolveCssVars = ssrResolveCssVars;

@@ -67,2 +67,6 @@ /// <reference types="node" />

export declare function ssrResolveCssVars(source: Record<string, string>, scopeId?: string): {
style: Record<string, string>;
};
declare type SSRSlot = (props: Props, push: PushFn, parentComponent: ComponentInternalInstance | null, scopeId: string | null) => void;

@@ -69,0 +73,0 @@

8

package.json
{
"name": "@vue/server-renderer",
"version": "3.0.0-beta.20",
"version": "3.0.0-beta.21",
"description": "@vue/server-renderer",

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

"peerDependencies": {
"vue": "3.0.0-beta.20"
"vue": "3.0.0-beta.21"
},
"dependencies": {
"@vue/shared": "3.0.0-beta.20",
"@vue/compiler-ssr": "3.0.0-beta.20"
"@vue/shared": "3.0.0-beta.21",
"@vue/compiler-ssr": "3.0.0-beta.21"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc