Socket
Socket
Sign inDemoInstall

@vue/language-core

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vue/language-core - npm Package Compare versions

Comparing version 1.8.7 to 1.8.8

5

out/plugins/vue-tsx.d.ts
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;

4

out/plugins/vue-tsx.js

@@ -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"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc