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.34.15 to 0.34.16

2

out/generators/template.d.ts

@@ -5,3 +5,3 @@ import { CodeGen } from '@volar/code-gen';

export declare const transformContext: CompilerDOM.TransformContext;
export declare function generate(ts: typeof import('typescript/lib/tsserverlibrary'), sourceLang: string, templateAst: CompilerDOM.RootNode, isVue2: boolean, allowTypeNarrowingInEventExpressions: boolean, cssScopedClasses: string[] | undefined, htmlToTemplate: (htmlStart: number, htmlEnd: number) => {
export declare function generate(ts: typeof import('typescript/lib/tsserverlibrary'), sourceLang: string, templateAst: CompilerDOM.RootNode, isVue2: boolean, experimentalRuntimeMode: 'runtime-dom' | 'runtime-uni-app', allowTypeNarrowingInEventExpressions: boolean, cssScopedClasses: string[] | undefined, htmlToTemplate: (htmlStart: number, htmlEnd: number) => {
start: number;

@@ -8,0 +8,0 @@ end: number;

@@ -79,4 +79,8 @@ "use strict";

const functionArgs = [];
for (const param of node.parameters)
for (const param of node.parameters) {
colletVars(ts, param.name, functionArgs);
if (param.type) {
walkIdentifiers(ts, param.type, cb, localVars);
}
}
for (const varName of functionArgs)

@@ -83,0 +87,0 @@ localVars[varName] = ((_b = localVars[varName]) !== null && _b !== void 0 ? _b : 0) + 1;

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

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

"dependencies": {
"@volar/code-gen": "0.34.15",
"@volar/source-map": "0.34.15",
"@volar/code-gen": "0.34.16",
"@volar/source-map": "0.34.16",
"@vue/compiler-core": "^3.2.31",

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

},
"gitHead": "5b2db858bb30dcff1b659eaa08d9ad965e6255a4"
"gitHead": "ac00080f9823618b7fcb6170b9dff04b60d1e89c"
}

Sorry, the diff of this file is too big to display

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