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.4 to 2.3.0-alpha.5

2

lib/node/utils.js

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

if (serviceScript) {
const map = language.maps.get(serviceScript.code, sourceScript.id);
const map = language.maps.get(serviceScript.code);
if (map) {

@@ -16,0 +16,0 @@ return [serviceScript, sourceScript, map];

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

import { Language, SourceScript, TypeScriptExtraServiceScript } from '@volar/language-core';
import { Language, 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) => [SourceScript<T>, TypeScriptExtraServiceScript] | undefined;
getExtraServiceScript: (fileName: string) => TypeScriptExtraServiceScript | undefined;
};

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

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

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

tsFileNamesSet.add(extraServiceScript.fileName);
extraScriptRegistry.set(extraServiceScript.fileName, [sourceScript, extraServiceScript]);
extraScriptRegistry.set(extraServiceScript.fileName, 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)[1].code.snapshot;
return extraScriptRegistry.get(fileName).code.snapshot;
}

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

if (extraScriptRegistry.has(fileName)) {
const snapshot = extraScriptRegistry.get(fileName)[1].code.snapshot;
const snapshot = extraScriptRegistry.get(fileName).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.4",
"version": "2.3.0-alpha.5",
"license": "MIT",

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

"dependencies": {
"@volar/language-core": "2.3.0-alpha.4",
"@volar/language-core": "2.3.0-alpha.5",
"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.4"
"@volar/language-service": "2.3.0-alpha.5"
},
"gitHead": "8ab3ce02b06a410e9321eea3e9f23d36f97fedda"
"gitHead": "c3f6867de39095913ceaa2256ad35a9ca1a90487"
}
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