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.3.0-alpha.0 to 2.3.0-alpha.1

4

lib/protocol/createProject.d.ts

@@ -1,2 +0,2 @@

import { Language, TypeScriptExtraServiceScript } from '@volar/language-core';
import { Language, SourceScript, TypeScriptExtraServiceScript } from '@volar/language-core';
import type * as ts from 'typescript';

@@ -8,3 +8,3 @@ import type { createSys } from './createSys';

languageServiceHost: ts.LanguageServiceHost;
getExtraServiceScript: (fileName: string) => TypeScriptExtraServiceScript | undefined;
getExtraServiceScript: (fileName: string) => [SourceScript<T>, TypeScriptExtraServiceScript] | undefined;
};

@@ -83,3 +83,3 @@ "use strict";

if (extraScriptRegistry.has(fileName)) {
return extraScriptRegistry.get(fileName).scriptKind;
return extraScriptRegistry.get(fileName)[1].scriptKind;
}

@@ -174,3 +174,3 @@ const sourceScript = language.scripts.get(asScrpitId(fileName));

tsFileNamesSet.add(extraServiceScript.fileName);
extraScriptRegistry.set(extraServiceScript.fileName, extraServiceScript);
extraScriptRegistry.set(extraServiceScript.fileName, [sourceScript, extraServiceScript]);
}

@@ -202,3 +202,3 @@ for (const code of (0, language_core_1.forEachEmbeddedCode)(sourceScript.generated.root)) {

if (extraScriptRegistry.has(fileName)) {
return extraScriptRegistry.get(fileName).code.snapshot;
return extraScriptRegistry.get(fileName)[1].code.snapshot;
}

@@ -223,3 +223,3 @@ const sourceScript = language.scripts.get(asScrpitId(fileName));

if (extraScriptRegistry.has(fileName)) {
const snapshot = extraScriptRegistry.get(fileName).code.snapshot;
const snapshot = extraScriptRegistry.get(fileName)[1].code.snapshot;
if (!version.map.has(snapshot)) {

@@ -226,0 +226,0 @@ version.map.set(snapshot, version.lastVersion++);

{
"name": "@volar/typescript",
"version": "2.3.0-alpha.0",
"version": "2.3.0-alpha.1",
"license": "MIT",

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

"dependencies": {
"@volar/language-core": "2.3.0-alpha.0",
"@volar/language-core": "2.3.0-alpha.1",
"path-browserify": "^1.0.1",

@@ -23,5 +23,5 @@ "vscode-uri": "^3.0.8"

"@types/path-browserify": "latest",
"@volar/language-service": "2.3.0-alpha.0"
"@volar/language-service": "2.3.0-alpha.1"
},
"gitHead": "f17c19f712651acde33cc2171a112e64db0b460e"
"gitHead": "173be13e1d51c62cfe5ddc9926933d30a7aa1d11"
}
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