Skip to content

[Snyk] Upgrade typescript-language-server from 0.5.1 to 0.9.4 #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snyk-bot
Copy link

Snyk has created this PR to upgrade typescript-language-server from 0.5.1 to 0.9.4.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 17 versions ahead of your current version.
  • The recommended version was released 23 days ago, on 2022-01-19.
Release notes
Package name: typescript-language-server
  • 0.9.4 - 2022-01-19
    • fix: call configure before completion resolve (#377)
  • 0.9.3 - 2022-01-16
    • fix: wait for tsserver configuration requests to finish (#372)
  • 0.9.2 - 2022-01-14
    • fix: use correct name for the addMissingImports code action (#371)
  • 0.9.1 - 2022-01-07
    • fix: don't use the postinstall script
  • 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)

  • 0.8.1 - 2021-11-25

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

  • 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)

  • 0.7.1 - 2021-11-10

    0.7.1

  • 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] microsoft/TypeScript#43051
      [2] apexskier/nova-typescript#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)

  • 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)
  • 0.6.4 - 2021-10-12
  • 0.6.3 - 2021-09-27
  • 0.6.2 - 2021-08-27
  • 0.6.1 - 2021-08-16
  • 0.6.0 - 2021-08-12
  • 0.5.4 - 2021-07-01
  • 0.5.2 - 2021-07-01
  • 0.5.1 - 2021-01-16
from typescript-language-server GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant