Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@vue/compiler-ssr

Package Overview
Dependencies
Maintainers
2
Versions
233
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.5.6 to 3.5.7

19

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

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

);
function ssrProcessIf(node, context, disableNestedFragments = false, disableCommentAsIfAlternate = false) {
function ssrProcessIf(node, context, disableNestedFragments = false, disableComment = false) {
const [rootBranch] = node.branches;

@@ -90,3 +90,3 @@ const ifStatement = compilerDom.createIfStatement(

}
if (!currentIf.alternate && !disableCommentAsIfAlternate) {
if (!currentIf.alternate && !disableComment) {
currentIf.alternate = compilerDom.createBlockStatement([

@@ -996,3 +996,3 @@ compilerDom.createCallExpression(`_push`, ["`<!---->`"])

}
function processChildren(parent, context, asFragment = false, disableNestedFragments = false, disableCommentAsIfAlternate = false) {
function processChildren(parent, context, asFragment = false, disableNestedFragments = false, disableComment = false) {
if (asFragment) {

@@ -1033,3 +1033,5 @@ context.pushStringPart(`<!--[-->`);

case 3:
context.pushStringPart(`<!--${child.content}-->`);
if (!disableComment) {
context.pushStringPart(`<!--${child.content}-->`);
}
break;

@@ -1044,8 +1046,3 @@ case 5:

case 9:
ssrProcessIf(
child,
context,
disableNestedFragments,
disableCommentAsIfAlternate
);
ssrProcessIf(child, context, disableNestedFragments, disableComment);
break;

@@ -1052,0 +1049,0 @@ case 11:

{
"name": "@vue/compiler-ssr",
"version": "3.5.6",
"version": "3.5.7",
"description": "@vue/compiler-ssr",

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

"dependencies": {
"@vue/shared": "3.5.6",
"@vue/compiler-dom": "3.5.6"
"@vue/shared": "3.5.7",
"@vue/compiler-dom": "3.5.7"
}
}
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