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

@volar/vue-code-gen

Package Overview
Dependencies
Maintainers
1
Versions
79
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volar/vue-code-gen - npm Package Compare versions

Comparing version 0.39.0 to 0.39.2

13

out/vue2TemplateCompiler.js

@@ -9,8 +9,13 @@ "use strict";

options.onError = (error) => {
if (error.code === 33 /* CompilerCore.ErrorCodes.X_V_FOR_TEMPLATE_KEY_PLACEMENT */)
return; // :key binding allowed in v-for template child in vue 2
if (onError)
if (error.code === 33 /* CompilerCore.ErrorCodes.X_V_FOR_TEMPLATE_KEY_PLACEMENT */ // :key binding allowed in v-for template child in vue 2
|| error.code === 29 /* CompilerCore.ErrorCodes.X_V_IF_SAME_KEY */ // fix https://github.com/johnsoncodehk/volar/issues/1638
) {
return;
}
if (onError) {
onError(error);
else
}
else {
throw error;
}
};

@@ -17,0 +22,0 @@ return baseCompile(template, Object.assign({}, CompilerDom.parserOptions, options, {

{
"name": "@volar/vue-code-gen",
"version": "0.39.0",
"version": "0.39.2",
"main": "out/index.js",

@@ -19,4 +19,4 @@ "license": "MIT",

"dependencies": {
"@volar/code-gen": "0.39.0",
"@volar/source-map": "0.39.0",
"@volar/code-gen": "0.39.2",
"@volar/source-map": "0.39.2",
"@vue/compiler-core": "^3.2.37",

@@ -26,3 +26,3 @@ "@vue/compiler-dom": "^3.2.37",

},
"gitHead": "569487a290141032b48d570c85df2a3601c8ed1c"
"gitHead": "eac2dca4206dfa3f92ad50dd53650f924a9e6f94"
}
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