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 Versions

1
23

2.1.1

Diff

Changelog

Source

2.1.1 (2024-03-05)

Bug Fixes

  • test-utils: allow unknown initialization options and expose locale option #142
  • typescript: virtual file update condition should be based generated snapshot rather than source script version
  • monaco: correct package name resolve on ATA #149
  • language-service: provideCodeActions's range param is not accurately mapped
  • language-service: provideInlayHints's range param is not accurately mapped

Refactors

  • Webpack compatibility #144
  • language-service: add provide generic to ServicePlugin type #143
johnsoncodehk
published 2.1.0 •

Changelog

Source

2.1.0 (2024-02-26)

Features

  • language-service: more reliable embedded code formatting #138
    • Embedded code indentation is no longer handled by @volar/language-service, but instead calculated and passed as initialIndentLevel, which is then reliably handled by ServicePlugin for additional indentation in specific languages.
    • The provideDocumentFormattingEdits and provideOnTypeFormattingEdits APIs now accept the EmbeddedCodeFormattingOptions parameter, which includes initialIndentLevel.
    • Formatting ranges are now correctly mapped to embedded code formatting ranges.
    • Removed the no longer needed ServicePlugin.provideFormattingIndentSensitiveLines API.
    • No longer relies on the conventional volar.format.initialIndent editor setting.
    • Added ServicePlugin.resolveEmbeddedCodeFormattingOptions API, allowing downstream tools to modify the initialIndentLevel passed to ServicePlugin based on custom settings (replacing volar.format.initialIndent).

Refactors

  • test-utils: server tester support ClientCapabilities param for initialize() API
  • test-utils: server tester expose sendDocumentRangeFormattingRequestRequest() and shutdown() API
  • language-core: make embeddedCodes optional in VirtualCode #137
  • language-server: SemanticTokens requests are no longer delayed by 200ms
  • language-server: APIs updates #140
    • createSimpleProjectProvider has been renamed to createSimpleProjectProviderFactory and needs to be invoked with no arguments.
    • createTypeScriptProjectProvider has been renamed to createTypeScriptProjectProviderFactory and needs to be invoked with a TS module as an argument.
    • Deprecate typescript#tsdk, typescript#tsdkUrl, ignoreTriggerCharacters initialization options.
    • Deprecate fullCompletionList initialization option. #139
    • Remove experimental provideDiagnosticMarkupContent API.

Bug Fixes

  • language-server: language features not working for untitled documents #135
  • language-server: pushDiagnostics should not be notified when closing a file if server push diagnostics are not enabled
  • language-service provideSelectionRanges API multiple result merging method is inconsistent with VSCode
  • language-service provideDocumentSemanticTokens API's range param is not mapped to virtual code
  • language-service provideDocumentFormattingEdits API's range param is not accurately mapped to virtual code #136
  • language-service fix caching of semantic diagnostics #141
  • test-utils: invalidate cache when calling openInMemoryDocument()
  • monaco: insertText and range properties of completion item not converted correctly
  • typescript: ts plugin incorrectly resolve module name
johnsoncodehk
published 2.0.4 •

Changelog

Source

2.0.4 (2024-02-13)

Features

  • ci: integrate with https://github.com/volarjs/ecosystem-ci

Bug Fixes

  • language-service: transform markdown links in completion items #133
  • typescript: typescript plugin module resolve behavior inconsistent with language server
  • typescript: typescript plugin breaks semantic highlighting for .ts files (https://github.com/withastro/language-tools/issues/788)
johnsoncodehk
published 2.0.3 •

Changelog

Source

2.0.3 (2024-02-10)

Features

  • labs: recognize Glint and other file extensions via reading installed extensions language configuration
  • labs: improve mapping decorations display

Bug Fixes

  • labs: extension keeps sending requests when output panel is opened
  • language-service: transform markdown links for hover content (https://github.com/mdx-js/mdx-analyzer/issues/394)
  • typescript: unable to resolve import path based on package export (https://github.com/withastro/language-tools/issues/778)
johnsoncodehk
published 2.0.2 •

Changelog

Source

2.0.2 (2024-02-08)

Bug Fixes

  • labs: extension not working with framework version 2.0.0
  • typescript: remove runtime dependency on @volar/language-service
  • typescript: additional completion not working in ts plugin
  • typescript: remove warning when allowNonTsExtensions is not set
johnsoncodehk
published 2.0.1-patch.1 •

johnsoncodehk
published 2.0.1 •

Changelog

Source

2.0.1 (2024-02-05)

Features

  • typescript: expose FileRegistry in proxyCreateProgram() #128
  • typescript: re-support extra virtual scripts for LSP and Kit #132

Bug Fixes

  • vscode: update currentLabsVersion to 2
  • typescript: remove mistakenly published scripts lib/quickstart/create(Async)TSServerPlugin, please use lib/quickstart/create(Async)LanguageServicePlugin instead of
johnsoncodehk
published 2.0.0 •

Changelog

Source

2.0.0 (2024-01-21)

Please refer to #85 for details.

johnsoncodehk
published 2.0.0-alpha.14 •

johnsoncodehk
published 2.0.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