Socket
Socket
Sign inDemoInstall

@vue/compiler-ssr

Package Overview
Dependencies
Maintainers
2
Versions
224
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/compiler-ssr - npm Package Compare versions

Comparing version 3.4.35 to 3.4.36

23

dist/compiler-ssr.cjs.js
/**
* @vue/compiler-ssr v3.4.35
* @vue/compiler-ssr v3.4.36
* (c) 2018-present Yuxi (Evan) You and Vue contributors

@@ -362,2 +362,21 @@ * @license MIT

}
} else if (directives.length && !node.children.length) {
const tempId = `_temp${context.temps++}`;
propsExp.arguments = [
compilerDom.createAssignmentExpression(
compilerDom.createSimpleExpression(tempId, false),
mergedProps
)
];
rawChildrenMap.set(
node,
compilerDom.createConditionalExpression(
compilerDom.createSimpleExpression(`"textContent" in ${tempId}`, false),
compilerDom.createCallExpression(context.helper(SSR_INTERPOLATE), [
compilerDom.createSimpleExpression(`${tempId}.textContent`, false)
]),
compilerDom.createSimpleExpression(`${tempId}.innerHTML ?? ''`, false),
false
)
);
}

@@ -651,3 +670,3 @@ if (needTagForRuntime) {

context.pushStringPart(`>`);
processChildren(node, context, false, true);
processChildren(node, context, false, true, true);
context.pushStringPart(`</${tag.value.content}>`);

@@ -654,0 +673,0 @@ }

6

package.json
{
"name": "@vue/compiler-ssr",
"version": "3.4.35",
"version": "3.4.36",
"description": "@vue/compiler-ssr",

@@ -31,5 +31,5 @@ "main": "dist/compiler-ssr.cjs.js",

"dependencies": {
"@vue/shared": "3.4.35",
"@vue/compiler-dom": "3.4.35"
"@vue/compiler-dom": "3.4.36",
"@vue/shared": "3.4.36"
}
}
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc