Skip to content
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

False positive errors at end-of-file #3942

Closed
johnsoncodehk opened this issue Mar 3, 2024 · 55 comments · Fixed by #4119
Closed

False positive errors at end-of-file #3942

johnsoncodehk opened this issue Mar 3, 2024 · 55 comments · Fixed by #4119

Comments

@johnsoncodehk
Copy link
Member

johnsoncodehk commented Mar 3, 2024

TS plugin cannot be used with Vue files if the project does not contain tsconfig/jsconfig, or the Vue files are not included by tsconfig/jsconfig.

Steps to reproduce

  1. Clone https://github.com/johnsoncodehk/volar-starter
    Since it is just for demonstration purposes, node_modules will not be installed.
  2. Delete the tsconfig.json file in repo
  3. Open the repo in VSCode, and open src/components/HelloWorld.vue
  4. You should see TS errors reported due to missing dependencies, as shown below:
    image
  5. Close HelloWorld.vue, open src/main.ts, then re-open HelloWorld.vue
  6. Errors in the image above is now displayed in the wrong location (end of file)
    image

Exploration

@vue/typescript-plugin calls decorateLanguageService and decorateLanguageServiceHost at following code to modify the original languageService and languageServiceHost:

decorateLanguageService(files, info.languageService);
decorateLanguageServiceHost(files, info.languageServiceHost, ts);

This works well for ConfiguredProject. But for InferredProject, if you open the TS file before opening the Vue file, the modification of decorateLanguageService is no longer valid, just like the original languageService is no longer used. Therefore the mapping behavior of decorateLanguageService is no longer valid.

Temporary Solutions

  1. Create a jsconfig.json file in project root with empty json object content {}
  2. Downgrade to 1.8.27 for now

Update: If you have the "Svelte for VS Code" extension installed, disabling it may avoid this problem.

@wuhaohuang

This comment was marked as off-topic.

johnsoncodehk added a commit that referenced this issue Mar 3, 2024
@eknkc

This comment was marked as off-topic.

@eknkc

This comment was marked as off-topic.

@niclas-j

This comment was marked as off-topic.

@Bobakanoosh
Copy link

This happens to me in a monorepo containing some nuxt projects as well.

@hi-reeve
Copy link

hi-reeve commented Mar 4, 2024

using nuxt, now the autocomplete and suggestions does not work at all

@9mm
Copy link

9mm commented Mar 4, 2024

I dont know if this is related but i used to use volar + neovim (lspconfig) a lot in single files, just writing quick scripts in TS and that no longer works. I do see it works when tsconfig is in the root however.

Not sure if there is a way to make this optional, im assuming its the same as original issue here

@ElYaiko
Copy link

ElYaiko commented Mar 4, 2024

The only solution that worked for me for now is downgrading to 1.8.27

@johnsoncodehk johnsoncodehk changed the title 2.0 does not work in projects lacking tsconfig/jsconfig Projects missing jsconfig/tsconfig show false positive errors in end-of-file Mar 5, 2024
@johnsoncodehk johnsoncodehk changed the title Projects missing jsconfig/tsconfig show false positive errors in end-of-file Shows false positive errors in end-of-file if missing jsconfig/tsconfig Mar 5, 2024
@dfidalg0
Copy link

dfidalg0 commented Mar 5, 2024

Having a similar problem with Nuxt auto-imports. Here, SDropdown is an auto-imported component

image

Relevant information

Extension version: v2.0.5
Svelte extension is disabled
tsconfig.json is Nuxt's default

@dfidalg0
Copy link

dfidalg0 commented Mar 5, 2024

Having a similar problem with Nuxt auto-imports. Here, SDropdown is an auto-imported component

image

Relevant information

Extension version: v2.0.5 Svelte extension is disabled tsconfig.json is Nuxt's default

When I change it to SDropdown, the error is mostly gone, but I still get this (incorrect) error

image

@johnsoncodehk
Copy link
Member Author

johnsoncodehk commented Mar 5, 2024

After investigation from microsoft/TypeScript#57630, this does appear to be an issue with the Svelte extension. Please make sure you have disabled the Svelte extension in Vue workspace. If you don't have Svelte extension installed and this problem still occurs, please open a new issue and provide a reproduction.

@johnsoncodehk johnsoncodehk changed the title Shows false positive errors in end-of-file if missing jsconfig/tsconfig False positive errors at end-of-file if Svelte extension installed and missing jsconfig/tsconfig Mar 5, 2024
@namhong2001
Copy link

Yeap. It seems the extension crashes with some others. Thanks @johnsoncodehk I also disabled not using extensions and errors gone.

@johnsoncodehk
Copy link
Member Author

@namhong2001 Can you share which extension caused the conflict for you?

renovate bot added a commit to slipmatio/toolbelt that referenced this issue Mar 11, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.11.24` ->
`20.11.25`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.11.25)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.6.2` ->
`13.7.0`](https://renovatebot.com/diffs/npm/happy-dom/13.6.2/13.7.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [typescript](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` ->
`5.4.2`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vite](https://vitejs.dev)
([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) |
[`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.1.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vue-tsc](https://togithub.com/vuejs/language-tools)
([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc))
| [`2.0.1` ->
`2.0.6`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.1/2.0.6) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>

###
[`v13.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...4c808b62f8dcfb5c85d4ac4e94b8e2ba58195e86)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...v13.7.0)

</details>

<details>
<summary>Microsoft/TypeScript (typescript)</summary>

###
[`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2):
TypeScript 5.4

[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)

For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/).

For the complete list of fixed issues, check out the

- [fixed issues query for Typescript 5.4.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+).

Downloads are available on:

- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

</details>

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5)

- fix: `__vite__mapDeps` code injection
([#&#8203;15732](https://togithub.com/vitejs/vite/issues/15732))
([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes
[#&#8203;15732](https://togithub.com/vitejs/vite/issues/15732)
- fix: analysing build chunk without dependencies
([#&#8203;15469](https://togithub.com/vitejs/vite/issues/15469))
([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes
[#&#8203;15469](https://togithub.com/vitejs/vite/issues/15469)
- fix: import with query with imports field
([#&#8203;16085](https://togithub.com/vitejs/vite/issues/16085))
([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes
[#&#8203;16085](https://togithub.com/vitejs/vite/issues/16085)
- fix: normalize literal-only entry pattern
([#&#8203;16010](https://togithub.com/vitejs/vite/issues/16010))
([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes
[#&#8203;16010](https://togithub.com/vitejs/vite/issues/16010)
- fix: optimizeDeps.entries with literal-only pattern(s)
([#&#8203;15853](https://togithub.com/vitejs/vite/issues/15853))
([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes
[#&#8203;15853](https://togithub.com/vitejs/vite/issues/15853)
- fix: output correct error for empty import specifier
([#&#8203;16055](https://togithub.com/vitejs/vite/issues/16055))
([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes
[#&#8203;16055](https://togithub.com/vitejs/vite/issues/16055)
- fix: upgrade esbuild to 0.20.x
([#&#8203;16062](https://togithub.com/vitejs/vite/issues/16062))
([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes
[#&#8203;16062](https://togithub.com/vitejs/vite/issues/16062)
- fix(runtime): runtime HMR affects only imported files
([#&#8203;15898](https://togithub.com/vitejs/vite/issues/15898))
([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes
[#&#8203;15898](https://togithub.com/vitejs/vite/issues/15898)
- fix(scanner): respect `experimentalDecorators: true`
([#&#8203;15206](https://togithub.com/vitejs/vite/issues/15206))
([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes
[#&#8203;15206](https://togithub.com/vitejs/vite/issues/15206)
- revert: "fix: upgrade esbuild to 0.20.x"
([#&#8203;16072](https://togithub.com/vitejs/vite/issues/16072))
([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes
[#&#8203;16072](https://togithub.com/vitejs/vite/issues/16072)
- refactor: share code with vite runtime
([#&#8203;15907](https://togithub.com/vitejs/vite/issues/15907))
([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes
[#&#8203;15907](https://togithub.com/vitejs/vite/issues/15907)
- refactor(runtime): use functions from `pathe`
([#&#8203;16061](https://togithub.com/vitejs/vite/issues/16061))
([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes
[#&#8203;16061](https://togithub.com/vitejs/vite/issues/16061)
- chore(deps): update all non-major dependencies
([#&#8203;16028](https://togithub.com/vitejs/vite/issues/16028))
([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes
[#&#8203;16028](https://togithub.com/vitejs/vite/issues/16028)

</details>

<details>
<summary>vuejs/language-tools (vue-tsc)</summary>

###
[`v2.0.6`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#206-202437)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.5...v2.0.6)

> \[!IMPORTANT]
> If the TypeScript language server crashes since 2.0, please try using
VSCode Insiders and install [JavaScript and TypeScript
Nightly](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next),
or temporarily downgrade to 1.8.27.\
> Issue:
[vuejs/language-tools#3962
>
> If false positive errors occurs, please try disabling unrelated
extensions in the Vue workspace.
>
Issue[vuejs/language-tools#3942

##### Fixes

- **language-core:** use local variables in v-bind shorthand
([#&#8203;4017](https://togithub.com/vuejs/language-tools/issues/4017))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **language-core:** sfc folding end position failed to mapping
([#&#8203;4038](https://togithub.com/vuejs/language-tools/issues/4038))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **language-service:** remove `extraLiners` option for formatting
([#&#8203;3943](https://togithub.com/vuejs/language-tools/issues/3943))
- **language-service:** bump `volar-service-typescript` for fix jsx
formatting
([#&#8203;3949](https://togithub.com/vuejs/language-tools/issues/3949))
- **language-service:** bump `@volar/typescript` 2.0.5 completion
performance regression
([#&#8203;4024](https://togithub.com/vuejs/language-tools/issues/4024))

##### Refactors

- **vscode:** rename `vue.inlayHints.vbindShorthand` setting to
`vue.inlayHints.vBindShorthand`
([#&#8203;3995](https://togithub.com/vuejs/language-tools/issues/3995))
- thanks [@&#8203;l4dybird](https://togithub.com/l4dybird)

###
[`v2.0.5`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#205-202435)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.4...v2.0.5)

> \[!IMPORTANT]
> If the TypeScript language server crashes in version 2.0, please try
using VSCode Insiders, or temporarily downgrade to 1.8.27.\
> Issue:
[vuejs/language-tools#3962
>
> If false positive errors occurs, try creating an empty jsconfig in the
workspace root directory.\
> Issue:
[vuejs/language-tools#3942

##### Features

- **language-core:** support `v-bind` shorthand
([#&#8203;3990](https://togithub.com/vuejs/language-tools/issues/3990))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **language-service:** support inlay hints for `v-bind` shorthand
([#&#8203;3990](https://togithub.com/vuejs/language-tools/issues/3990))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **vscode:** prompt to disable Svelte extension in Vue workspace to
avoid conflicts

##### Fixes

-   **typescript-plugin:** fault tolerance for named pipe server data
- **language-core:** avoid `globalTypesHolder` being specified from a
`node_modules` file
([#&#8203;3990](https://togithub.com/vuejs/language-tools/issues/3990))
-   **language-core:** fault tolerance for plugin creation
- **language-plugin-pug:** failed to load due to an invalid require path
([#&#8203;3930](https://togithub.com/vuejs/language-tools/issues/3930))
- **typescript-plugin:** custom extensions do not work
([#&#8203;3977](https://togithub.com/vuejs/language-tools/issues/3977))
- **language-service:** html custom data not working
([#&#8203;3975](https://togithub.com/vuejs/language-tools/issues/3975))

##### Refactors

- **typescript-plugin** add README
([#&#8203;3974](https://togithub.com/vuejs/language-tools/issues/3974))
- thanks [@&#8203;WhyNotHugo](https://togithub.com/WhyNotHugo)
- **component-meta** update deom
([#&#8203;3994](https://togithub.com/vuejs/language-tools/issues/3994))
- thanks [@&#8203;zzfn](https://togithub.com/zzfn)

###
[`v2.0.4`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#204-202434)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.3...v2.0.4)

##### Features

-   **vscode:** report requires TSDK version in doctor

##### Fixes

- **typescript-plugin:** JSON parsing error when server data length >
8192
([#&#8203;3961](https://togithub.com/vuejs/language-tools/issues/3961))

###
[`v2.0.3`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#203-202433)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.2...v2.0.3)

##### Features

- **vscode:** identify
[#&#8203;3942](https://togithub.com/vuejs/language-tools/issues/3942) in
doctor

##### Fixes

-   **vscode:** compatible with VSCode 1.87.0
- **vscode:** search "TypeScript and JavaScript Language Features" with
id
([#&#8203;3932](https://togithub.com/vuejs/language-tools/issues/3932))
- **typescript-plugin:** more reliable connection to named pipe server
([#&#8203;3941](https://togithub.com/vuejs/language-tools/issues/3941))

##### Refactors

- **language-service:** dependency injection typescript plugin
([#&#8203;3994](https://togithub.com/vuejs/language-tools/issues/3994))

###
[`v2.0.2`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#202-202432)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.1...v2.0.2)

##### Fixes

- **vscode:** fix random `Cannot access 'i' before initialization`
errors
- **typescript-plugin:** `vue-tsp-table.json` path is invalid in windows

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
Europe/Helsinki, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/slipmatio/toolbelt).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@emojiiii
Copy link

same error in 2.0.6:

Extension Author (truncated) Version
iconify ant 0.7.5
unocss ant 0.58.5
postcss css 1.0.9
dart-code Dar 3.84.0
flutter Dar 3.84.0
vscode-eslint dba 2.4.4
gitlens eam 14.9.0
prettier-vscode esb 10.1.0
copilot Git 1.172.0
copilot-chat Git 0.13.0
gc-excelviewer Gra 4.2.59
debugpy ms- 2024.2.0
python ms- 2024.2.1
vscode-pylance ms- 2024.2.3
sqlite-viewer qwt 0.3.13
autoimport ste 1.5.4
svga-perview svg 1.0.0
intellicode-api-usage-examples Vis 0.2.8
vscodeintellicode Vis 1.2.30
volar Vue 2.0.6
vscode-import-cost wix 3.3.0

renovate bot added a commit to slipmatio/ui that referenced this issue Mar 11, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.11.24` ->
`20.11.25`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.11.25)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.6.2` ->
`13.7.0`](https://renovatebot.com/diffs/npm/happy-dom/13.6.2/13.7.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [typescript](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` ->
`5.4.2`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vite](https://vitejs.dev)
([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) |
[`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.1.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vue-tsc](https://togithub.com/vuejs/language-tools)
([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc))
| [`2.0.1` ->
`2.0.6`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.1/2.0.6) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>

###
[`v13.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...4c808b62f8dcfb5c85d4ac4e94b8e2ba58195e86)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...v13.7.0)

</details>

<details>
<summary>Microsoft/TypeScript (typescript)</summary>

###
[`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2):
TypeScript 5.4

[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)

For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/).

For the complete list of fixed issues, check out the

- [fixed issues query for Typescript 5.4.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+).

Downloads are available on:

- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

</details>

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5)

- fix: `__vite__mapDeps` code injection
([#&#8203;15732](https://togithub.com/vitejs/vite/issues/15732))
([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes
[#&#8203;15732](https://togithub.com/vitejs/vite/issues/15732)
- fix: analysing build chunk without dependencies
([#&#8203;15469](https://togithub.com/vitejs/vite/issues/15469))
([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes
[#&#8203;15469](https://togithub.com/vitejs/vite/issues/15469)
- fix: import with query with imports field
([#&#8203;16085](https://togithub.com/vitejs/vite/issues/16085))
([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes
[#&#8203;16085](https://togithub.com/vitejs/vite/issues/16085)
- fix: normalize literal-only entry pattern
([#&#8203;16010](https://togithub.com/vitejs/vite/issues/16010))
([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes
[#&#8203;16010](https://togithub.com/vitejs/vite/issues/16010)
- fix: optimizeDeps.entries with literal-only pattern(s)
([#&#8203;15853](https://togithub.com/vitejs/vite/issues/15853))
([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes
[#&#8203;15853](https://togithub.com/vitejs/vite/issues/15853)
- fix: output correct error for empty import specifier
([#&#8203;16055](https://togithub.com/vitejs/vite/issues/16055))
([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes
[#&#8203;16055](https://togithub.com/vitejs/vite/issues/16055)
- fix: upgrade esbuild to 0.20.x
([#&#8203;16062](https://togithub.com/vitejs/vite/issues/16062))
([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes
[#&#8203;16062](https://togithub.com/vitejs/vite/issues/16062)
- fix(runtime): runtime HMR affects only imported files
([#&#8203;15898](https://togithub.com/vitejs/vite/issues/15898))
([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes
[#&#8203;15898](https://togithub.com/vitejs/vite/issues/15898)
- fix(scanner): respect `experimentalDecorators: true`
([#&#8203;15206](https://togithub.com/vitejs/vite/issues/15206))
([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes
[#&#8203;15206](https://togithub.com/vitejs/vite/issues/15206)
- revert: "fix: upgrade esbuild to 0.20.x"
([#&#8203;16072](https://togithub.com/vitejs/vite/issues/16072))
([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes
[#&#8203;16072](https://togithub.com/vitejs/vite/issues/16072)
- refactor: share code with vite runtime
([#&#8203;15907](https://togithub.com/vitejs/vite/issues/15907))
([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes
[#&#8203;15907](https://togithub.com/vitejs/vite/issues/15907)
- refactor(runtime): use functions from `pathe`
([#&#8203;16061](https://togithub.com/vitejs/vite/issues/16061))
([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes
[#&#8203;16061](https://togithub.com/vitejs/vite/issues/16061)
- chore(deps): update all non-major dependencies
([#&#8203;16028](https://togithub.com/vitejs/vite/issues/16028))
([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes
[#&#8203;16028](https://togithub.com/vitejs/vite/issues/16028)

</details>

<details>
<summary>vuejs/language-tools (vue-tsc)</summary>

###
[`v2.0.6`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#206-202437)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.5...v2.0.6)

> \[!IMPORTANT]
> If the TypeScript language server crashes since 2.0, please try using
VSCode Insiders and install [JavaScript and TypeScript
Nightly](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next),
or temporarily downgrade to 1.8.27.\
> Issue:
[vuejs/language-tools#3962
>
> If false positive errors occurs, please try disabling unrelated
extensions in the Vue workspace.
>
Issue[vuejs/language-tools#3942

##### Fixes

- **language-core:** use local variables in v-bind shorthand
([#&#8203;4017](https://togithub.com/vuejs/language-tools/issues/4017))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **language-core:** sfc folding end position failed to mapping
([#&#8203;4038](https://togithub.com/vuejs/language-tools/issues/4038))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **language-service:** remove `extraLiners` option for formatting
([#&#8203;3943](https://togithub.com/vuejs/language-tools/issues/3943))
- **language-service:** bump `volar-service-typescript` for fix jsx
formatting
([#&#8203;3949](https://togithub.com/vuejs/language-tools/issues/3949))
- **language-service:** bump `@volar/typescript` 2.0.5 completion
performance regression
([#&#8203;4024](https://togithub.com/vuejs/language-tools/issues/4024))

##### Refactors

- **vscode:** rename `vue.inlayHints.vbindShorthand` setting to
`vue.inlayHints.vBindShorthand`
([#&#8203;3995](https://togithub.com/vuejs/language-tools/issues/3995))
- thanks [@&#8203;l4dybird](https://togithub.com/l4dybird)

###
[`v2.0.5`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#205-202435)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.4...v2.0.5)

> \[!IMPORTANT]
> If the TypeScript language server crashes in version 2.0, please try
using VSCode Insiders, or temporarily downgrade to 1.8.27.\
> Issue:
[vuejs/language-tools#3962
>
> If false positive errors occurs, try creating an empty jsconfig in the
workspace root directory.\
> Issue:
[vuejs/language-tools#3942

##### Features

- **language-core:** support `v-bind` shorthand
([#&#8203;3990](https://togithub.com/vuejs/language-tools/issues/3990))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **language-service:** support inlay hints for `v-bind` shorthand
([#&#8203;3990](https://togithub.com/vuejs/language-tools/issues/3990))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **vscode:** prompt to disable Svelte extension in Vue workspace to
avoid conflicts

##### Fixes

-   **typescript-plugin:** fault tolerance for named pipe server data
- **language-core:** avoid `globalTypesHolder` being specified from a
`node_modules` file
([#&#8203;3990](https://togithub.com/vuejs/language-tools/issues/3990))
-   **language-core:** fault tolerance for plugin creation
- **language-plugin-pug:** failed to load due to an invalid require path
([#&#8203;3930](https://togithub.com/vuejs/language-tools/issues/3930))
- **typescript-plugin:** custom extensions do not work
([#&#8203;3977](https://togithub.com/vuejs/language-tools/issues/3977))
- **language-service:** html custom data not working
([#&#8203;3975](https://togithub.com/vuejs/language-tools/issues/3975))

##### Refactors

- **typescript-plugin** add README
([#&#8203;3974](https://togithub.com/vuejs/language-tools/issues/3974))
- thanks [@&#8203;WhyNotHugo](https://togithub.com/WhyNotHugo)
- **component-meta** update deom
([#&#8203;3994](https://togithub.com/vuejs/language-tools/issues/3994))
- thanks [@&#8203;zzfn](https://togithub.com/zzfn)

###
[`v2.0.4`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#204-202434)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.3...v2.0.4)

##### Features

-   **vscode:** report requires TSDK version in doctor

##### Fixes

- **typescript-plugin:** JSON parsing error when server data length >
8192
([#&#8203;3961](https://togithub.com/vuejs/language-tools/issues/3961))

###
[`v2.0.3`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#203-202433)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.2...v2.0.3)

##### Features

- **vscode:** identify
[#&#8203;3942](https://togithub.com/vuejs/language-tools/issues/3942) in
doctor

##### Fixes

-   **vscode:** compatible with VSCode 1.87.0
- **vscode:** search "TypeScript and JavaScript Language Features" with
id
([#&#8203;3932](https://togithub.com/vuejs/language-tools/issues/3932))
- **typescript-plugin:** more reliable connection to named pipe server
([#&#8203;3941](https://togithub.com/vuejs/language-tools/issues/3941))

##### Refactors

- **language-service:** dependency injection typescript plugin
([#&#8203;3994](https://togithub.com/vuejs/language-tools/issues/3994))

###
[`v2.0.2`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#202-202432)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.1...v2.0.2)

##### Fixes

- **vscode:** fix random `Cannot access 'i' before initialization`
errors
- **typescript-plugin:** `vue-tsp-table.json` path is invalid in windows

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
Europe/Helsinki, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/slipmatio/ui).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate bot added a commit to slipmatio/logger that referenced this issue Mar 11, 2024
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[@types/node](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/node)
([source](https://togithub.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node))
| [`20.11.24` ->
`20.11.25`](https://renovatebot.com/diffs/npm/@types%2fnode/20.11.24/20.11.25)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@types%2fnode/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@types%2fnode/20.11.24/20.11.25?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [happy-dom](https://togithub.com/capricorn86/happy-dom) | [`13.6.2` ->
`13.7.0`](https://renovatebot.com/diffs/npm/happy-dom/13.6.2/13.7.0) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/happy-dom/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/happy-dom/13.6.2/13.7.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [typescript](https://www.typescriptlang.org/)
([source](https://togithub.com/Microsoft/TypeScript)) | [`5.3.3` ->
`5.4.2`](https://renovatebot.com/diffs/npm/typescript/5.3.3/5.4.2) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/typescript/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/typescript/5.3.3/5.4.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vite](https://vitejs.dev)
([source](https://togithub.com/vitejs/vite/tree/HEAD/packages/vite)) |
[`5.1.4` -> `5.1.5`](https://renovatebot.com/diffs/npm/vite/5.1.4/5.1.5)
|
[![age](https://developer.mend.io/api/mc/badges/age/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vite/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vite/5.1.4/5.1.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [vue-tsc](https://togithub.com/vuejs/language-tools)
([source](https://togithub.com/vuejs/language-tools/tree/HEAD/packages/tsc))
| [`2.0.1` ->
`2.0.6`](https://renovatebot.com/diffs/npm/vue-tsc/2.0.1/2.0.6) |
[![age](https://developer.mend.io/api/mc/badges/age/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/vue-tsc/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/vue-tsc/2.0.1/2.0.6?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### Release Notes

<details>
<summary>capricorn86/happy-dom (happy-dom)</summary>

###
[`v13.7.0`](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...4c808b62f8dcfb5c85d4ac4e94b8e2ba58195e86)

[Compare
Source](https://togithub.com/capricorn86/happy-dom/compare/v13.6.2...v13.7.0)

</details>

<details>
<summary>Microsoft/TypeScript (typescript)</summary>

###
[`v5.4.2`](https://togithub.com/microsoft/TypeScript/releases/tag/v5.4.2):
TypeScript 5.4

[Compare
Source](https://togithub.com/Microsoft/TypeScript/compare/v5.3.3...v5.4.2)

For release notes, check out the [release
announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-4/).

For the complete list of fixed issues, check out the

- [fixed issues query for Typescript 5.4.0
(Beta)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.0%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.1
(RC)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.1%22+is%3Aclosed+).
- [fixed issues query for Typescript 5.4.2
(Stable)](https://togithub.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.4.2%22+is%3Aclosed+).

Downloads are available on:

- [NuGet
package](https://www.nuget.org/packages/Microsoft.TypeScript.MSBuild)

</details>

<details>
<summary>vitejs/vite (vite)</summary>

###
[`v5.1.5`](https://togithub.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small515-2024-03-04-small)

[Compare
Source](https://togithub.com/vitejs/vite/compare/v5.1.4...v5.1.5)

- fix: `__vite__mapDeps` code injection
([#&#8203;15732](https://togithub.com/vitejs/vite/issues/15732))
([aff54e1](https://togithub.com/vitejs/vite/commit/aff54e1)), closes
[#&#8203;15732](https://togithub.com/vitejs/vite/issues/15732)
- fix: analysing build chunk without dependencies
([#&#8203;15469](https://togithub.com/vitejs/vite/issues/15469))
([bd52283](https://togithub.com/vitejs/vite/commit/bd52283)), closes
[#&#8203;15469](https://togithub.com/vitejs/vite/issues/15469)
- fix: import with query with imports field
([#&#8203;16085](https://togithub.com/vitejs/vite/issues/16085))
([ab823ab](https://togithub.com/vitejs/vite/commit/ab823ab)), closes
[#&#8203;16085](https://togithub.com/vitejs/vite/issues/16085)
- fix: normalize literal-only entry pattern
([#&#8203;16010](https://togithub.com/vitejs/vite/issues/16010))
([1dccc37](https://togithub.com/vitejs/vite/commit/1dccc37)), closes
[#&#8203;16010](https://togithub.com/vitejs/vite/issues/16010)
- fix: optimizeDeps.entries with literal-only pattern(s)
([#&#8203;15853](https://togithub.com/vitejs/vite/issues/15853))
([49300b3](https://togithub.com/vitejs/vite/commit/49300b3)), closes
[#&#8203;15853](https://togithub.com/vitejs/vite/issues/15853)
- fix: output correct error for empty import specifier
([#&#8203;16055](https://togithub.com/vitejs/vite/issues/16055))
([a9112eb](https://togithub.com/vitejs/vite/commit/a9112eb)), closes
[#&#8203;16055](https://togithub.com/vitejs/vite/issues/16055)
- fix: upgrade esbuild to 0.20.x
([#&#8203;16062](https://togithub.com/vitejs/vite/issues/16062))
([899d9b1](https://togithub.com/vitejs/vite/commit/899d9b1)), closes
[#&#8203;16062](https://togithub.com/vitejs/vite/issues/16062)
- fix(runtime): runtime HMR affects only imported files
([#&#8203;15898](https://togithub.com/vitejs/vite/issues/15898))
([57463fc](https://togithub.com/vitejs/vite/commit/57463fc)), closes
[#&#8203;15898](https://togithub.com/vitejs/vite/issues/15898)
- fix(scanner): respect `experimentalDecorators: true`
([#&#8203;15206](https://togithub.com/vitejs/vite/issues/15206))
([4144781](https://togithub.com/vitejs/vite/commit/4144781)), closes
[#&#8203;15206](https://togithub.com/vitejs/vite/issues/15206)
- revert: "fix: upgrade esbuild to 0.20.x"
([#&#8203;16072](https://togithub.com/vitejs/vite/issues/16072))
([11cceea](https://togithub.com/vitejs/vite/commit/11cceea)), closes
[#&#8203;16072](https://togithub.com/vitejs/vite/issues/16072)
- refactor: share code with vite runtime
([#&#8203;15907](https://togithub.com/vitejs/vite/issues/15907))
([b20d542](https://togithub.com/vitejs/vite/commit/b20d542)), closes
[#&#8203;15907](https://togithub.com/vitejs/vite/issues/15907)
- refactor(runtime): use functions from `pathe`
([#&#8203;16061](https://togithub.com/vitejs/vite/issues/16061))
([aac2ef7](https://togithub.com/vitejs/vite/commit/aac2ef7)), closes
[#&#8203;16061](https://togithub.com/vitejs/vite/issues/16061)
- chore(deps): update all non-major dependencies
([#&#8203;16028](https://togithub.com/vitejs/vite/issues/16028))
([7cfe80d](https://togithub.com/vitejs/vite/commit/7cfe80d)), closes
[#&#8203;16028](https://togithub.com/vitejs/vite/issues/16028)

</details>

<details>
<summary>vuejs/language-tools (vue-tsc)</summary>

###
[`v2.0.6`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#206-202437)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.5...v2.0.6)

> \[!IMPORTANT]
> If the TypeScript language server crashes since 2.0, please try using
VSCode Insiders and install [JavaScript and TypeScript
Nightly](https://marketplace.visualstudio.com/items?itemName=ms-vscode.vscode-typescript-next),
or temporarily downgrade to 1.8.27.\
> Issue:
[vuejs/language-tools#3962
>
> If false positive errors occurs, please try disabling unrelated
extensions in the Vue workspace.
>
Issue[vuejs/language-tools#3942

##### Fixes

- **language-core:** use local variables in v-bind shorthand
([#&#8203;4017](https://togithub.com/vuejs/language-tools/issues/4017))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **language-core:** sfc folding end position failed to mapping
([#&#8203;4038](https://togithub.com/vuejs/language-tools/issues/4038))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **language-service:** remove `extraLiners` option for formatting
([#&#8203;3943](https://togithub.com/vuejs/language-tools/issues/3943))
- **language-service:** bump `volar-service-typescript` for fix jsx
formatting
([#&#8203;3949](https://togithub.com/vuejs/language-tools/issues/3949))
- **language-service:** bump `@volar/typescript` 2.0.5 completion
performance regression
([#&#8203;4024](https://togithub.com/vuejs/language-tools/issues/4024))

##### Refactors

- **vscode:** rename `vue.inlayHints.vbindShorthand` setting to
`vue.inlayHints.vBindShorthand`
([#&#8203;3995](https://togithub.com/vuejs/language-tools/issues/3995))
- thanks [@&#8203;l4dybird](https://togithub.com/l4dybird)

###
[`v2.0.5`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#205-202435)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.4...v2.0.5)

> \[!IMPORTANT]
> If the TypeScript language server crashes in version 2.0, please try
using VSCode Insiders, or temporarily downgrade to 1.8.27.\
> Issue:
[vuejs/language-tools#3962
>
> If false positive errors occurs, try creating an empty jsconfig in the
workspace root directory.\
> Issue:
[vuejs/language-tools#3942

##### Features

- **language-core:** support `v-bind` shorthand
([#&#8203;3990](https://togithub.com/vuejs/language-tools/issues/3990))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **language-service:** support inlay hints for `v-bind` shorthand
([#&#8203;3990](https://togithub.com/vuejs/language-tools/issues/3990))
- thanks [@&#8203;so1ve](https://togithub.com/so1ve)
- **vscode:** prompt to disable Svelte extension in Vue workspace to
avoid conflicts

##### Fixes

-   **typescript-plugin:** fault tolerance for named pipe server data
- **language-core:** avoid `globalTypesHolder` being specified from a
`node_modules` file
([#&#8203;3990](https://togithub.com/vuejs/language-tools/issues/3990))
-   **language-core:** fault tolerance for plugin creation
- **language-plugin-pug:** failed to load due to an invalid require path
([#&#8203;3930](https://togithub.com/vuejs/language-tools/issues/3930))
- **typescript-plugin:** custom extensions do not work
([#&#8203;3977](https://togithub.com/vuejs/language-tools/issues/3977))
- **language-service:** html custom data not working
([#&#8203;3975](https://togithub.com/vuejs/language-tools/issues/3975))

##### Refactors

- **typescript-plugin** add README
([#&#8203;3974](https://togithub.com/vuejs/language-tools/issues/3974))
- thanks [@&#8203;WhyNotHugo](https://togithub.com/WhyNotHugo)
- **component-meta** update deom
([#&#8203;3994](https://togithub.com/vuejs/language-tools/issues/3994))
- thanks [@&#8203;zzfn](https://togithub.com/zzfn)

###
[`v2.0.4`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#204-202434)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.3...v2.0.4)

##### Features

-   **vscode:** report requires TSDK version in doctor

##### Fixes

- **typescript-plugin:** JSON parsing error when server data length >
8192
([#&#8203;3961](https://togithub.com/vuejs/language-tools/issues/3961))

###
[`v2.0.3`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#203-202433)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.2...v2.0.3)

##### Features

- **vscode:** identify
[#&#8203;3942](https://togithub.com/vuejs/language-tools/issues/3942) in
doctor

##### Fixes

-   **vscode:** compatible with VSCode 1.87.0
- **vscode:** search "TypeScript and JavaScript Language Features" with
id
([#&#8203;3932](https://togithub.com/vuejs/language-tools/issues/3932))
- **typescript-plugin:** more reliable connection to named pipe server
([#&#8203;3941](https://togithub.com/vuejs/language-tools/issues/3941))

##### Refactors

- **language-service:** dependency injection typescript plugin
([#&#8203;3994](https://togithub.com/vuejs/language-tools/issues/3994))

###
[`v2.0.2`](https://togithub.com/vuejs/language-tools/blob/HEAD/CHANGELOG.md#202-202432)

[Compare
Source](https://togithub.com/vuejs/language-tools/compare/v2.0.1...v2.0.2)

##### Fixes

- **vscode:** fix random `Cannot access 'i' before initialization`
errors
- **typescript-plugin:** `vue-tsp-table.json` path is invalid in windows

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Monday" in timezone
Europe/Helsinki, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/slipmatio/logger).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIzMC4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@DanielLemosGebit
Copy link

@thany vscode-styled-components has been mentioned to cause conflicts, please try uninstall. Also make sure to uninstall vscode-typescript-vue-plugin when using 2.0.x.

I'm removed vscode-styled-components and worked, thanks!

@cooldevdotcodes
Copy link

cooldevdotcodes commented Mar 14, 2024

I have error message shows that the tsconfig is missing but it does exist. I found that disabling styled-jsx Language Server extension (https://marketplace.visualstudio.com/items?itemName=Divlo.vscode-styled-jsx-languageserver) and the error is gone.

@Ernildo
Copy link

Ernildo commented Mar 16, 2024

I don't know what the relationship is, but when the styled-componets extension was enabled, the Vue - Oficial plugin stopped working correctly from version 2.x onwards. Therefore, until the problem is fixed, there are two possible paths:

  1. Downgrade of "Vue - Oficial" to version 1.8.x
    or
  2. Disable the styled-components plugin

@xak2000
Copy link

xak2000 commented Mar 17, 2024

In my case only the option 1 has helped. I don't know what styled-components plugin is. Never installed it, so nothing to disable, but Vue extension v2.x has still stopped to work after several minutes after each restart of VS Code. Dowgrading to 1.x has helped.

@thany
Copy link

thany commented Mar 18, 2024

stopped to work after several minutes after each restart of VS Code

That feels like a different problem? The addon doesn't stop working (it spews out errors, but it otherwise fine, mostly), and certainly not after a few minutes (immediately for me, after initialising).

@XxGodmoonxX
Copy link

XxGodmoonxX commented Mar 19, 2024

Wouldn't it work if I increased the version of TypeScript I'm using?
https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md#206-202437

Vue - Official @2.0.6

Doesn't work well
[email protected]

it works fine
[email protected]

I would like you to check your current Typescript version.

@thany
Copy link

thany commented Mar 20, 2024

@johnsoncodehk You closed this issue, which is fine, but are we absolutely sure the problem wasn't in this addon? The problem only occurred with a combination of this addon, and the styled-components one. Just telling people not to install the latter one, is not a solution, even if the problem is in that addon.

By closing this issue, it feels like you're sure the problem (and solution) is in the styled-components addon. So one more time then: is some type of collaboration with them being done to get to an actual proper solution?

@adufr
Copy link

adufr commented Mar 20, 2024

@thany I think this issue has been closed because the change that caused it has been reverted -> so it's now fixed.

@so1ve
Copy link
Member

so1ve commented Mar 21, 2024

@thany "Closed via" means a PR or a commit had fixed this issue, and a new release is coming.

image

Just upgrade to 2.0.7.

@thany
Copy link

thany commented Mar 21, 2024

That PR just reverts back to the same thing the old addon version did, so the issue only appears solved. When going into hybrid mode (presumably, from the looks of the PR) it will still break in the exact same way.

This is why I keep asking to collaborate with the author of the addon that it is breaking on. Working together might actually solve the problem.

@so1ve
Copy link
Member

so1ve commented Mar 21, 2024

When going into hybrid mode

You should only enable hybrid mode when you have a tsconfig and have ts 5.3+ installed.

keep asking to collaborate with the author of the addon that it is breaking on

Other ts plugins are not related. This is a vscode and typescript's fault-tolerance problem, not ours.

@thany
Copy link

thany commented Mar 21, 2024

You should only enable hybrid mode when you have a tsconfig and have ts 5.3+ installed.

This can easily be autodetected, can't it?

@sharifzadesina
Copy link

I have this problem with Nuxt. there is a tsconfig. but for every newly created file, I get the same behaviour unless I restart vscode.

@johnsoncodehk
Copy link
Member Author

#4206 implements the detection of installed extensions to determine whether to enable Hybrid Mode automatically. If you find a compatible extension ID that is not added to the whitelist, please leave a comment in the PR.

@johnsoncodehk johnsoncodehk unpinned this issue Apr 4, 2024
@sharifzadesina
Copy link

@johnsoncodehk Why it is not able to find auto generated tsconfig Nuxt projects?! is there something wrong?

@yveeven
Copy link

yveeven commented Apr 9, 2024

CleanShot 2024-04-09 at 15 10 01@2x

I see the comments understand that the full TS server has been restored, so it would be best to be able to turn on Takeover mode to improve performance, but he still detects warnings every time I open the project, should I use some way to turn off the warnings or is there no need to disable the built-in server?

@so1ve
Copy link
Member

so1ve commented Apr 9, 2024

There is no need to disable the built-in server. If hybrid mode is enabled, both typescript and vue files' language services are provided by the built-in server. If disabled, vue's language service is provided by an external language server.

@yveeven
Copy link

yveeven commented Apr 9, 2024

There is no need to disable the built-in server. If hybrid mode is enabled, both typescript and vue files' language services are provided by the built-in server. If disabled, vue's language service is provided by an external language server.

thank you

@yveeven
Copy link

yveeven commented Apr 10, 2024

CleanShot 2024-04-10 at 11 02 19@2x
CleanShot 2024-04-10 at 11 02 31@2x

On mac vs code open multiple windows at the same time may occasionally saving stuck out, forgive can not be determined to float, the situation is like this

System:
OS: macOS 14.0
CPU: (8) arm64 Apple M1 Pro
Memory: 62.98 MB / 32.00 GB
Shell: 5.9 - /bin/zsh
IDEs
VSCode: 1.88.0 - /usr/local/bin/code

[email protected]
[email protected]

vscode [email protected]

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 a pull request may close this issue.