New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

typescript-language-server

Package Overview
Dependencies
Maintainers
3
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

typescript-language-server - npm Package Versions

1
14

0.9.2

Diff

Changelog

Source

[0.9.2] - 2022-01-14

  • fix: use correct name for the addMissingImports code action (#371)
donniewest
published 0.9.1 •

Changelog

Source

[0.9.1] - 2022-01-07

  • fix: don't use the postinstall script
donniewest
published 0.9.0 •

Changelog

Source

[0.9.0] - 2022-01-07

  • feat: implement additional code actions for handling auto-fixing (#318)

  • feat: report progress when loading the project (#326)

  • feat: add new preferences from typescript 4.5.3 (#304)

  • fix: correct matching of "only" kinds provided by the client (#334)

  • fix: pass format options for organizing import (#348)

  • fix: use snippet type for jsx attribute completions (#362)

donniewest
published 0.8.1 •

Changelog

Source

[0.8.1] - 2021-11-25

  • fix: lookup workspace typescript in dirs higher up the tree also (#314)
donniewest
published 0.8.0 •

Changelog

Source

[0.8.0] - 2021-11-21

  • feat: implement semantic tokens support (#290)

  • feat: add support for snippet completions for methods/functions (#303)

  • feat: ability to ignore diagnostics by code (#272) Adds new diagnostics.ignoredCodes workspace setting to ignore specific diagnostics.

  • feat: add npmLocation option to specify NPM location (#293)

  • fix: don't announce support for codeActionKinds (#289)

  • fix: mark import completions as snippets (#291)

  • fix: specify minimum node version to be v12 (#301)

  • fix: ensure that the tsserver subprocess uses forked node instance (#292) Potentially BREAKING. The lookup of tsserver was refactored to never use spawn logic but instead always fork the current node instance. See more info in the PR.

  • fix: exit the server if tsserver process crashes (#305)

  • fix: respect "includeDeclaration" for references request (#306)

donniewest
published 0.7.1 •

Changelog

Source

[0.7.1] - 2021-11-10

  • fix: add missing semver dependency (#288)
donniewest
published 0.7.0 •

Changelog

Source

[0.7.0] - 2021-11-09

Breaking

Changes to default options sent to tsserver could affect behavior (hopefully for the better). Read changes below for more details.

Changes

  • feat: include import specifier for import completions (#281) For completions that import from another package, the completions will include a "detail" field with the name of the module.

    Also aligned some other logic with the typescript language services used in VSCode:

    • annotate the completions with the local name of the import when completing a path in import foo from '...'
    • update completion "sortText" regardless if the completion "isRecommended"
  • feat: allow skip destructive actions on running OrganizeImports (#228) Add support for the new skipDestructiveCodeActions argument to TypeScript's organize imports feature - [1] to support [2].

    Support is added in two places:

    • Automatically inferring the proper value based on diagnostics for the file when returning code actions.
    • Supporting sending it when manually executing the organize imports action.

    Also added documentation to the readme about the supported commands that can be manually executed.

    [1] https://github.com/microsoft/TypeScript/issues/43051 [2] https://github.com/apexskier/nova-typescript/issues/273

  • feat: support running server on files without root workspace (#286) The tsserver seems to be good at inferring the project configuration when opening single files without a workspace so don't crash on missing rootPath.

  • feat: add disableAutomaticTypingAcquisition option to disable automatic type acquisition (#285)

  • feat: update default tsserver options (#284) Set the following additional options by default:

    allowRenameOfImportPath: true,
    displayPartsForJSDoc: true,
    generateReturnInDocTemplate: true,
    includeAutomaticOptionalChainCompletions: true,
    includeCompletionsForImportStatements: true,
    includeCompletionsWithSnippetText: true,
    

    This aligns more with the default options of the typescript language services in VSCode.

  • feat: announce support for "source.organizeImports.ts-ls" action (#283) Announcing support for that code action allows editors that support running code actions on save to automatically run the code action if the user has configured the editor with settings like

      "codeActionsOnSave": {
        "source.organizeImports": true,
        // or
        "source.organizeImports.ts-ls": true,
      },
    
  • chore: change default log level from "warn" to "info" (#287)

donniewest
published 0.6.5 •

Changelog

Source

[0.6.5] - 2021-11-03

  • fix: normalize client and tsserver paths (#275) This should ensure consistent behavior regradless of the platform. Previously some functionality could be malfunctioning on Windows depending on the LSP client used due to using non-normalized file paths.
  • Handle the APPLY_COMPLETION_CODE_ACTION command internally (#270) This means that the clients that have implemented a custom handling for the _typescript.applyCompletionCodeAction command can remove that code. Without removing the custom handling everything should work as before but some edge cases might work better when custom handling is removed.
  • fix: ignore empty code blocks in content returned from textDocument/hover (#276)
  • fix: remove unsupported --node-ipc and --socket options (#278)
donniewest
published 0.6.4 •

Changelog

Source

[0.6.4] - 2021-10-12

  • Fix broken logging (#267)
  • Add support for workspace/didChangeConfiguration and setting formatting options per language (#268)
  • Add option to set inlayHints preferences by language (#266)
donniewest
published 0.6.3 •

Changelog

Source

[0.6.3] - 2021-10-27

  • Implement experimental inlay hints (#259) (documentation)
  • Send diagnostics even to clients that don't signal support (#261) (reverts #229)
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