@volar/vue-typescript
Advanced tools
Comparing version 0.34.4 to 0.34.5
@@ -122,2 +122,3 @@ import { TextRange } from '@volar/vue-code-gen'; | ||
exposeRuntimeArg: TextRange | undefined; | ||
exposeTypeArg: TextRange | undefined; | ||
} | undefined; | ||
@@ -124,0 +125,0 @@ getSfcTemplateDocument: () => EmbeddedFile<unknown> | undefined; |
@@ -82,3 +82,3 @@ "use strict"; | ||
}); | ||
const sfcTemplateScript = (0, useSfcTemplateScript_1.useSfcTemplateScript)(ts, fileName, (0, reactivity_1.computed)(() => sfc.template), (0, reactivity_1.computed)(() => sfc.script), (0, reactivity_1.computed)(() => sfc.scriptSetup), (0, reactivity_1.computed)(() => scriptSetupRanges.value), (0, reactivity_1.computed)(() => sfc.styles), sfcStyles.files, sfcStyles.embeddeds, sfcTemplateCompiled, sfcTemplateCompileResult, sfcStyles.files, scriptLang, compilerOptions, baseCssModuleType, getCssVBindRanges, getCssClasses, compilerOptions.experimentalCompatMode === 2, !!compilerOptions.experimentalDisableTemplateSupport); | ||
const sfcTemplateScript = (0, useSfcTemplateScript_1.useSfcTemplateScript)(ts, fileName, (0, reactivity_1.computed)(() => sfc.template), (0, reactivity_1.computed)(() => sfc.script), (0, reactivity_1.computed)(() => sfc.scriptSetup), (0, reactivity_1.computed)(() => scriptSetupRanges.value), (0, reactivity_1.computed)(() => sfc.styles), sfcStyles.files, sfcStyles.embeddeds, sfcTemplateCompiled, sfcTemplateCompileResult, sfcStyles.files, scriptLang, compilerOptions, baseCssModuleType, getCssVBindRanges, getCssClasses, compilerOptions.experimentalCompatMode === 2, !!compilerOptions.experimentalDisableTemplateSupport || !(tsHost?.getCompilationSettings().jsx === ts.JsxEmit.Preserve)); | ||
const sfcScriptForTemplateLs = (0, useSfcScriptGen_1.useSfcScriptGen)('template', fileName, content, scriptLang, (0, reactivity_1.computed)(() => sfc.script), (0, reactivity_1.computed)(() => sfc.scriptSetup), (0, reactivity_1.computed)(() => scriptRanges.value), (0, reactivity_1.computed)(() => scriptSetupRanges.value), sfcTemplateScript.templateCodeGens, (0, reactivity_1.computed)(() => sfcStyles.files.value), compilerOptions.experimentalCompatMode === 2, getCssVBindRanges); | ||
@@ -347,3 +347,3 @@ const sfcScriptForScriptLs = (0, useSfcScriptGen_1.useSfcScriptGen)('script', fileName, content, scriptLang, (0, reactivity_1.computed)(() => sfc.script), (0, reactivity_1.computed)(() => sfc.scriptSetup), (0, reactivity_1.computed)(() => scriptRanges.value), (0, reactivity_1.computed)(() => scriptSetupRanges.value), sfcTemplateScript.templateCodeGens, (0, reactivity_1.computed)(() => sfcStyles.files.value), compilerOptions.experimentalCompatMode === 2, getCssVBindRanges); | ||
!!tsLs.getProgram()?.getSourceFile(file.fileName); | ||
let components = hasFile ? tsLs.getCompletionsAtPosition(file.fileName, file.content.indexOf(string_1.SearchTexts.Components), options)?.entries ?? [] : []; | ||
let components = hasFile ? tsLs.getCompletionsAtPosition(file.fileName, file.content.indexOf(string_1.SearchTexts.Components), options)?.entries.filter(entry => entry.kind !== ts.ScriptElementKind.warning) ?? [] : []; | ||
components = components.filter(entry => { | ||
@@ -350,0 +350,0 @@ return entry.name.indexOf('$') === -1 && !entry.name.startsWith('_'); |
{ | ||
"name": "@volar/vue-typescript", | ||
"version": "0.34.4", | ||
"version": "0.34.5", | ||
"main": "out/index.js", | ||
@@ -16,18 +16,16 @@ "license": "MIT", | ||
"devDependencies": { | ||
"@volar/pug-language-service": "0.34.5", | ||
"typescript": "latest" | ||
}, | ||
"dependencies": { | ||
"@volar/code-gen": "0.34.4", | ||
"@volar/source-map": "0.34.4", | ||
"@volar/vue-code-gen": "0.34.4", | ||
"@volar/code-gen": "0.34.5", | ||
"@volar/source-map": "0.34.5", | ||
"@volar/vue-code-gen": "0.34.5", | ||
"@vue/compiler-sfc": "^3.2.31", | ||
"@vue/reactivity": "^3.2.31" | ||
}, | ||
"optionalDependencies": { | ||
"@volar/pug-language-service": "0.34.4" | ||
}, | ||
"browser": { | ||
"./out/plugins/pug.js": "./out/plugins/empty.js" | ||
}, | ||
"gitHead": "ba5106415fb5106b2cd9108186e8278517b592d6" | ||
"gitHead": "84a104b9744fb08960ff3bd8bf86a01436be2960" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
119261
5
2610
2
+ Added@volar/code-gen@0.34.5(transitive)
+ Added@volar/source-map@0.34.5(transitive)
+ Added@volar/vue-code-gen@0.34.5(transitive)
- Removed@volar/code-gen@0.34.4(transitive)
- Removed@volar/pug-language-service@0.34.4(transitive)
- Removed@volar/shared@0.34.4(transitive)
- Removed@volar/source-map@0.34.4(transitive)
- Removed@volar/transforms@0.34.4(transitive)
- Removed@volar/vue-code-gen@0.34.4(transitive)
- Removedacorn@7.4.1(transitive)
- Removedcall-bind@1.0.7(transitive)
- Removedcharacter-parser@2.2.0(transitive)
- Removeddefine-data-property@1.1.4(transitive)
- Removedes-define-property@1.0.0(transitive)
- Removedes-errors@1.3.0(transitive)
- Removedfunction-bind@1.1.2(transitive)
- Removedget-intrinsic@1.2.4(transitive)
- Removedgopd@1.0.1(transitive)
- Removedhas-property-descriptors@1.0.2(transitive)
- Removedhas-proto@1.0.3(transitive)
- Removedhas-symbols@1.0.3(transitive)
- Removedhas-tostringtag@1.0.2(transitive)
- Removedhasown@2.0.2(transitive)
- Removedis-expression@4.0.0(transitive)
- Removedis-regex@1.1.4(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedpug-error@2.1.0(transitive)
- Removedpug-lexer@5.0.1(transitive)
- Removedpug-parser@6.0.0(transitive)
- Removedset-function-length@1.2.2(transitive)
- Removedtoken-stream@1.0.0(transitive)
- Removedupath@2.0.1(transitive)
- Removedvscode-jsonrpc@8.2.0(transitive)
- Removedvscode-languageserver-protocol@3.17.5(transitive)
- Removedvscode-languageserver-textdocument@1.0.12(transitive)
- Removedvscode-languageserver-types@3.17.5(transitive)
- Removedvscode-uri@3.0.8(transitive)
Updated@volar/code-gen@0.34.5
Updated@volar/source-map@0.34.5
Updated@volar/vue-code-gen@0.34.5