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

@volar/typescript

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volar/typescript - npm Package Compare versions

Comparing version 2.2.0-alpha.11 to 2.2.0-alpha.12

1

lib/common.js

@@ -16,2 +16,3 @@ "use strict";

case 'tsx': return 'typescriptreact';
case 'json': return 'json';
}

@@ -18,0 +19,0 @@ },

3

lib/quickstart/runTsc.d.ts
import type * as ts from 'typescript';
import type { LanguagePlugin } from '@volar/language-core';
export declare let getLanguagePlugins: (ts: typeof import('typescript'), options: ts.CreateProgramOptions) => LanguagePlugin[];
export declare let getLanguageId: (fileName: string) => string;
export declare function runTsc(tscPath: string, extensions: string[], _getLanguagePlugins: typeof getLanguagePlugins, _getLanguageId: typeof getLanguageId): void;
export declare function runTsc(tscPath: string, extensions: string[], _getLanguagePlugins: typeof getLanguagePlugins): void;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.runTsc = exports.getLanguageId = exports.getLanguagePlugins = void 0;
exports.runTsc = exports.getLanguagePlugins = void 0;
const fs = require("fs");
let getLanguagePlugins = () => [];
exports.getLanguagePlugins = getLanguagePlugins;
let getLanguageId = () => 'ts';
exports.getLanguageId = getLanguageId;
function runTsc(tscPath, extensions, _getLanguagePlugins, _getLanguageId) {
function runTsc(tscPath, extensions, _getLanguagePlugins) {
exports.getLanguagePlugins = _getLanguagePlugins;
exports.getLanguageId = _getLanguageId;
const proxyApiPath = require.resolve('../node/proxyCreateProgram');

@@ -28,3 +25,2 @@ const readFileSync = fs.readFileSync;

`require(${JSON.stringify(__filename)}).getLanguagePlugins`,
`require(${JSON.stringify(__filename)}).getLanguageId`,
].join(', ')

@@ -31,0 +27,0 @@ + `);\n`

{
"name": "@volar/typescript",
"version": "2.2.0-alpha.11",
"version": "2.2.0-alpha.12",
"license": "MIT",

@@ -15,3 +15,3 @@ "files": [

"dependencies": {
"@volar/language-core": "2.2.0-alpha.11",
"@volar/language-core": "2.2.0-alpha.12",
"path-browserify": "^1.0.1"

@@ -22,5 +22,5 @@ },

"@types/path-browserify": "latest",
"@volar/language-service": "2.2.0-alpha.11"
"@volar/language-service": "2.2.0-alpha.12"
},
"gitHead": "b3e82d02777af164097a7f268e602bc7f94ea1cd"
"gitHead": "bf61f7a5a4a51669621e951f32ddf102f03a333d"
}
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