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

@vue/compiler-ssr

Package Overview
Dependencies
Maintainers
16
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.0.0-rc.5 to 3.0.0-rc.6

30

dist/compiler-ssr.cjs.js

@@ -129,6 +129,6 @@ 'use strict';

const SSRErrorMessages = {
[59 /* X_SSR_CUSTOM_DIRECTIVE_NO_TRANSFORM */]: `Custom directive is missing corresponding SSR transform and will be ignored.`,
[60 /* X_SSR_UNSAFE_ATTR_NAME */]: `Unsafe attribute name for SSR.`,
[61 /* X_SSR_NO_TELEPORT_TARGET */]: `No target prop on teleport element.`,
[62 /* X_SSR_INVALID_AST_NODE */]: `Invalid AST node during SSR transform.`
[60 /* X_SSR_CUSTOM_DIRECTIVE_NO_TRANSFORM */]: `Custom directive is missing corresponding SSR transform and will be ignored.`,
[61 /* X_SSR_UNSAFE_ATTR_NAME */]: `Unsafe attribute name for SSR.`,
[62 /* X_SSR_NO_TELEPORT_TARGET */]: `No target prop on teleport element.`,
[63 /* X_SSR_INVALID_AST_NODE */]: `Invalid AST node during SSR transform.`
};

@@ -140,3 +140,3 @@

if (!targetProp) {
context.onError(createSSRCompilerError(61 /* X_SSR_NO_TELEPORT_TARGET */, node.loc));
context.onError(createSSRCompilerError(62 /* X_SSR_NO_TELEPORT_TARGET */, node.loc));
return;

@@ -153,3 +153,3 @@ }

if (!target) {
context.onError(createSSRCompilerError(61 /* X_SSR_NO_TELEPORT_TARGET */, targetProp.loc));
context.onError(createSSRCompilerError(62 /* X_SSR_NO_TELEPORT_TARGET */, targetProp.loc));
return;

@@ -509,3 +509,3 @@ }

else if (prop.name === 'slot') {
context.onError(compilerDom.createCompilerError(38 /* X_V_SLOT_MISPLACED */, prop.loc));
context.onError(compilerDom.createCompilerError(39 /* X_V_SLOT_MISPLACED */, prop.loc));
}

@@ -522,3 +522,3 @@ else if (isTextareaWithValue(node, prop) && prop.exp) {

// no corresponding ssr directive transform found.
context.onError(createSSRCompilerError(59 /* X_SSR_CUSTOM_DIRECTIVE_NO_TRANSFORM */, prop.loc));
context.onError(createSSRCompilerError(60 /* X_SSR_CUSTOM_DIRECTIVE_NO_TRANSFORM */, prop.loc));
}

@@ -562,3 +562,3 @@ else if (!hasDynamicVBind) {

else {
context.onError(createSSRCompilerError(60 /* X_SSR_UNSAFE_ATTR_NAME */, key.loc));
context.onError(createSSRCompilerError(61 /* X_SSR_UNSAFE_ATTR_NAME */, key.loc));
}

@@ -751,3 +751,3 @@ }

default:
context.onError(createSSRCompilerError(62 /* X_SSR_INVALID_AST_NODE */, child.loc));
context.onError(createSSRCompilerError(63 /* X_SSR_INVALID_AST_NODE */, child.loc));
// make sure we exhaust all possible types

@@ -784,3 +784,3 @@ const exhaustiveCheck = child;

default:
context.onError(createSSRCompilerError(62 /* X_SSR_INVALID_AST_NODE */, child.loc));
context.onError(createSSRCompilerError(63 /* X_SSR_INVALID_AST_NODE */, child.loc));
// make sure we exhaust all possible types

@@ -806,3 +806,3 @@ const exhaustiveCheck = child;

if (value) {
context.onError(compilerDom.createDOMCompilerError(55 /* X_V_MODEL_UNNECESSARY_VALUE */, value.loc));
context.onError(compilerDom.createDOMCompilerError(56 /* X_V_MODEL_UNNECESSARY_VALUE */, value.loc));
}

@@ -850,3 +850,3 @@ }

case 'file':
context.onError(compilerDom.createDOMCompilerError(54 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */, dir.loc));
context.onError(compilerDom.createDOMCompilerError(55 /* X_V_MODEL_ON_FILE_INPUT_ELEMENT */, dir.loc));
break;

@@ -873,3 +873,3 @@ default:

else {
context.onError(compilerDom.createDOMCompilerError(52 /* X_V_MODEL_ON_INVALID_ELEMENT */, dir.loc));
context.onError(compilerDom.createDOMCompilerError(53 /* X_V_MODEL_ON_INVALID_ELEMENT */, dir.loc));
}

@@ -894,3 +894,3 @@ return res;

if (!dir.exp) {
context.onError(compilerDom.createDOMCompilerError(56 /* X_V_SHOW_NO_EXPRESSION */));
context.onError(compilerDom.createDOMCompilerError(57 /* X_V_SHOW_NO_EXPRESSION */));
}

@@ -897,0 +897,0 @@ return {

{
"name": "@vue/compiler-ssr",
"version": "3.0.0-rc.5",
"version": "3.0.0-rc.6",
"description": "@vue/compiler-ssr",

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

"dependencies": {
"@vue/shared": "3.0.0-rc.5",
"@vue/compiler-dom": "3.0.0-rc.5"
"@vue/shared": "3.0.0-rc.6",
"@vue/compiler-dom": "3.0.0-rc.6"
}
}
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