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 1.0.13 to 1.0.14

2

out/getProgram.js

@@ -81,3 +81,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

continue;
for (const end of core.mapper.fromEmbeddedLocation(diagnostic.file.fileName, diagnostic.start + diagnostic.length)) {
for (const end of core.mapper.fromEmbeddedLocation(diagnostic.file.fileName, diagnostic.start + diagnostic.length, true)) {
if (end.mapping && !end.mapping.data.diagnostic)

@@ -84,0 +84,0 @@ continue;

import type * as ts from 'typescript/lib/tsserverlibrary';
import * as embedded from '@volar/language-core';
export declare function createLanguageService(host: embedded.LanguageServiceHost, mods: embedded.LanguageModule[]): ts.LanguageService;
export declare function createLanguageService(host: embedded.LanguageServiceHost, mods: embedded.LanguageModule[]): {
__internal__: {
languageService: ts.LanguageService;
context: embedded.EmbeddedLanguageContext;
};
} & ts.LanguageService;

@@ -32,2 +32,6 @@ Object.defineProperty(exports, "__esModule", { value: true });

getProgram: () => (0, getProgram_1.getProgram)(ts, core, ls),
__internal__: {
context: core,
languageService: ls,
},
}, {

@@ -46,3 +50,3 @@ get: (target, property) => {

if (file) {
embedded.forEachEmbeddeds(file[0].embeddeds, embedded => {
embedded.forEachEmbeddeds(file[0], embedded => {
if (embedded.kind && embedded.capabilities.codeAction) {

@@ -49,0 +53,0 @@ edits = edits.concat(ls.organizeImports(Object.assign(Object.assign({}, args), { fileName: embedded.fileName }), formatOptions, preferences));

{
"name": "@volar/typescript",
"version": "1.0.13",
"version": "1.0.14",
"main": "out/index.js",

@@ -16,5 +16,5 @@ "license": "MIT",

"dependencies": {
"@volar/language-core": "1.0.13"
"@volar/language-core": "1.0.14"
},
"gitHead": "cba2eba187b2d82e1d45dd86b3edeab0ca7caad6"
"gitHead": "ce4d48b37db784400e15fe08282edc836e24d4cd"
}
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