Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@volar/language-core

Package Overview
Dependencies
Maintainers
1
Versions
254
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volar/language-core - npm Package Compare versions

Comparing version
2.4.20
to
2.4.21
+3
-1
lib/editor.js

@@ -77,3 +77,5 @@ "use strict";

function isHighlightEnabled(info) {
return !!info.navigation;
return typeof info.navigation === 'object'
? info.navigation.shouldHighlight?.() ?? true
: !!info.navigation;
}

@@ -80,0 +82,0 @@ function isSymbolsEnabled(info) {

@@ -95,2 +95,3 @@ import type { Mapping } from '@volar/source-map';

navigation?: boolean | {
shouldHighlight?(): boolean;
shouldRename?(): boolean;

@@ -97,0 +98,0 @@ resolveRenameNewName?(newName: string): string;

{
"name": "@volar/language-core",
"version": "2.4.20",
"version": "2.4.21",
"license": "MIT",

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

"dependencies": {
"@volar/source-map": "2.4.20"
"@volar/source-map": "2.4.21"
},
"gitHead": "a95effedf7b74d3fa8f5d5e168b6d597e3aaca62"
"gitHead": "ddb336ac5074cf17afe7929d5bb2258f451e67ff"
}