@vue/language-core
Advanced tools
Comparing version 1.8.7 to 1.8.8
import { Sfc, VueLanguagePlugin } from '../types'; | ||
import * as muggle from 'muggle-string'; | ||
import * as ts from 'typescript/lib/tsserverlibrary'; | ||
export declare const tsCodegen: WeakMap<Sfc, { | ||
@@ -9,5 +8,5 @@ scriptRanges: import("@vue/reactivity").ComputedRef<{ | ||
args: import("../types").TextRange; | ||
argsNode: ts.ObjectLiteralExpression | undefined; | ||
argsNode: import("typescript/lib/tsserverlibrary").ObjectLiteralExpression | undefined; | ||
componentsOption: import("../types").TextRange | undefined; | ||
componentsOptionNode: ts.ObjectLiteralExpression | undefined; | ||
componentsOptionNode: import("typescript/lib/tsserverlibrary").ObjectLiteralExpression | undefined; | ||
nameOption: import("../types").TextRange | undefined; | ||
@@ -14,0 +13,0 @@ }) | undefined; |
@@ -11,3 +11,2 @@ "use strict"; | ||
const muggle = require("muggle-string"); | ||
const ts = require("typescript/lib/tsserverlibrary"); | ||
const templateFormatReg = /^\.template_format\.ts$/; | ||
@@ -103,3 +102,4 @@ const templateStyleCssReg = /^\.template_style\.css$/; | ||
exports.default = plugin; | ||
function createTsx(fileName, _sfc, { vueCompilerOptions, compilerOptions, codegenStack }) { | ||
function createTsx(fileName, _sfc, { vueCompilerOptions, compilerOptions, codegenStack, modules }) { | ||
const ts = modules.typescript; | ||
const lang = (0, reactivity_1.computed)(() => { | ||
@@ -106,0 +106,0 @@ return !_sfc.script && !_sfc.scriptSetup ? 'ts' |
{ | ||
"name": "@vue/language-core", | ||
"version": "1.8.7", | ||
"version": "1.8.8", | ||
"main": "out/index.js", | ||
@@ -37,3 +37,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "2b888901897fc9155bc12eb30ddae41afed5d942" | ||
"gitHead": "62a08c35722319bcca90ea3ebd3236fbd986a6a6" | ||
} |
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
250781
5453