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

@volar/source-map

Package Overview
Dependencies
Maintainers
1
Versions
397
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volar/source-map - npm Package Versions

13
40

2.4.1

Diff

Changelog

Source

2.4.1 (2024-08-29)

Features

  • language-server: support files that do not exist in FS but are open in the editor for TS project (#235)

Bug Fixes

  • typescript: ensure unopened files are synced to project (vuejs/language-tools#4711) (vuejs/language-tools#4632) - Thanks to @davidmatter!
  • language-server: avoid project initialized twice
  • language-service: don't set item data if item has been resolved
  • language-service: don't set item data if LanguageServicePlugin does not provide resolve hook (#233)
  • test-utils: correct openUntitledDocument params order
  • typescript: runTsc does not recognize service script with preventLeadingOffset enabled
  • language-server: replace setTimeout with setImmediate (#234) - Thanks to @nieyuyao!

Refactors

  • language-server: add onDidChange API for LanguageServer.workspaceFolders
  • language-core: add error, source params for verification.shouldReport hook
johnsoncodehk
published 2.4.0-alpha.20 •

johnsoncodehk
published 2.4.0 •

Changelog

Source

2.4.0 (2024-08-18)

Features

Bug Fixes

  • language-service: multi-level DocumentSymbol results from different virtual code are not merged accurately
  • typescript: use Proxy instead of modifying LanguageService instance (#216)
  • typescript: implement directoryExists for language service host
  • typescript: improve accuracy of runTsc extensions parameter behavior (#222)
  • typescript: synchronize script snapshots in a side-effect-free manner (#226)
  • typescript: add missing workspace symbols support for TS plugin (vuejs/language-tools#4595)
  • typescript: add missing code actions support for TS plugin (vuejs/language-tools#4586)
  • monaco: can't recognize the package with type definitions in @types/xxx (#81)
  • language-server: simplify asFileName result if possible (volarjs/vscode-typescript-web#4497)
  • language-server: avoid loading diagnosticMessages for en language
  • language-server: use Program.getSourceFile instead of askedFiles to more accurately determine indirect reference files
  • language-server: respect client linkSupport property for declaration, definition, typeDefinition, implementation requests
  • jsdelivr: avoid sending read file request if pkgFilePath is empty
  • jsdelivr: avoid sending flat request for xxx.ts, xxx.d.ts module names
  • jsdelivr: avoid sending flat request for @types/xxx if package xxx do not exist
  • source-map: don't throw when fromOffsets is not sorted
  • labs: associated script mappings are not visible

Refactors

  • language-server: update watchFiles API to return Disposable
  • language-server: only register event handlers when the language server does support a certain language feature
  • language-server: add setup hook for createTypeScriptProject function
  • langauge-server: improve LSP diagnostic integration (#230)
  • language-server: split code based on logical concerns (#231)
  • typescript: add setup hook for runTsc function
  • typescript: add extraExtensionsToRemove option for runTsc function for glint emit support
  • typescript: createAsyncLanguageServicePlugin's scriptKind param allows pass a getter
  • monaco: add setup hook for createSimpleWorkerLanguageService, createTypeScriptWorkerService functions
  • monaco: replace activateAutomaticTypeAcquisition with createNpmFileSystem from the new @volar/jsdelivr package (#218) (#219)
  • monaco: rename servicePlugins option to languageServicePlugins
  • monaco: update to monaco-languageserver-types 0.4 (#225) - Thanks @remcohaszing
  • language-core: no longer coupled to the TypeScript context, TypeScript properties are defined via interface merging in @volar/typescript (#215)
  • language-service: move project context from Language to language service option (#217)
  • test-utils: update startLanguageServer function to accept multiple workspace folders (#229)
johnsoncodehk
published 2.4.0-alpha.19 •

johnsoncodehk
published 2.4.0-alpha.18 •

johnsoncodehk
published 2.4.0-alpha.17 •

johnsoncodehk
published 2.4.0-alpha.16 •

johnsoncodehk
published 2.4.0-alpha.15 •

johnsoncodehk
published 2.4.0-alpha.14 •

johnsoncodehk
published 2.4.0-alpha.13 •

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