Skip to content

Commit 8a4c19c

Browse files
fix(deps): update all non-major dependencies (#23648)
1 parent 182f5b2 commit 8a4c19c

38 files changed

Lines changed: 751 additions & 1136 deletions

File tree

‎.github/workflows/semgrep.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
permissions:
1515
security-events: write # Required for upload-sarif to upload SARIF files.
1616
container:
17-
image: semgrep/semgrep:1.178.0@sha256:32e459968daabe7ab86968184a29109b9564aa00392401156f9788452b42786b
17+
image: semgrep/semgrep:1.179.0@sha256:93963d9295a366f59e4850127b1550400ee7b388f04fe144e4a1f6325d96e01b
1818
steps:
1919
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
2020
with:

‎docs/config/shared-options.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,8 @@ export default defineConfig({
298298
globalModulePaths?: RegExp[]
299299
exportGlobals?: boolean
300300
generateScopedName?:
301-
string | ((name: string, filename: string, css: string) => string)
301+
| string
302+
| ((name: string, filename: string, css: string) => string)
302303
hashPrefix?: string
303304
/**
304305
* default: undefined

‎docs/guide/api-environment-runtimes.md‎

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -222,12 +222,12 @@ await moduleRunner.import('/src/entry-point.js')
222222
## `ModuleRunnerOptions`
223223

224224
```ts twoslash
225+
import type { Debug } from '@type-challenges/utils'
225226
import type {
226227
InterceptorOptions as InterceptorOptionsRaw,
227228
ModuleRunnerHmr as ModuleRunnerHmrRaw,
228229
EvaluatedModules,
229230
} from 'vite/module-runner'
230-
import type { Debug } from '@type-challenges/utils'
231231

232232
type InterceptorOptions = Debug<InterceptorOptionsRaw>
233233
type ModuleRunnerHmr = Debug<ModuleRunnerHmrRaw>
@@ -249,7 +249,10 @@ interface ModuleRunnerOptions {
249249
* source maps are resolved for files that were not processed by Vite.
250250
*/
251251
sourcemapInterceptor?:
252-
false | 'node' | 'prepareStackTrace' | InterceptorOptions
252+
| false
253+
| 'node'
254+
| 'prepareStackTrace'
255+
| InterceptorOptions
253256
/**
254257
* Disable HMR or configure HMR options.
255258
*
@@ -269,8 +272,8 @@ interface ModuleRunnerOptions {
269272
**Type Signature:**
270273

271274
```ts twoslash
272-
import type { ModuleRunnerContext as ModuleRunnerContextRaw } from 'vite/module-runner'
273275
import type { Debug } from '@type-challenges/utils'
276+
import type { ModuleRunnerContext as ModuleRunnerContextRaw } from 'vite/module-runner'
274277

275278
type ModuleRunnerContext = Debug<ModuleRunnerContextRaw>
276279

@@ -326,8 +329,8 @@ You need to couple it with the `HotChannel` instance on the server like in this
326329
::: code-group
327330

328331
```js [worker.js]
329-
import { parentPort } from 'node:worker_threads'
330332
import { fileURLToPath } from 'node:url'
333+
import { parentPort } from 'node:worker_threads'
331334
import {
332335
ESModulesEvaluator,
333336
ModuleRunner,

‎docs/guide/api-hmr.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ The manual HMR API is primarily intended for framework and tooling authors. As a
99
Vite exposes its manual HMR API via the special `import.meta.hot` object:
1010

1111
```ts twoslash
12-
import type { ModuleNamespace } from 'vite/types/hot.d.ts'
1312
import type {
1413
CustomEventName,
1514
InferCustomEventPayload,
1615
} from 'vite/types/customEvent.d.ts'
16+
import type { ModuleNamespace } from 'vite/types/hot.d.ts'
1717

1818
// ---cut---
1919
interface ImportMeta {

‎docs/guide/api-plugin.md‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ See also [Virtual Modules Convention](https://rolldown.rs/apis/plugin-api#virtua
4343
Users will add plugins to the project `devDependencies` and configure them using the `plugins` array option.
4444

4545
```js [vite.config.js]
46-
import vitePlugin from 'vite-plugin-feature'
4746
import rollupPlugin from 'rollup-plugin-feature'
47+
import vitePlugin from 'vite-plugin-feature'
4848

4949
export default defineConfig({
5050
plugins: [vitePlugin(), rollupPlugin()],
@@ -56,9 +56,9 @@ Falsy plugins will be ignored, which can be used to easily activate or deactivat
5656
`plugins` also accepts presets including several plugins as a single element. This is useful for complex features (like framework integration) that are implemented using several plugins. The array will be flattened internally.
5757

5858
```js
59+
import frameworkDevtools from 'vite-plugin-framework-devtools'
5960
// framework-plugin
6061
import frameworkRefresh from 'vite-plugin-framework-refresh'
61-
import frameworkDevtools from 'vite-plugin-framework-devtools'
6262

6363
export default function framework(config) {
6464
return [frameworkRefresh(config), frameworkDevTools(config)]
@@ -434,7 +434,9 @@ Vite plugins can also provide hooks that serve Vite-specific purposes. These hoo
434434
originalUrl?: string
435435
},
436436
) =>
437-
IndexHtmlTransformResult | void | Promise<IndexHtmlTransformResult | void>
437+
| IndexHtmlTransformResult
438+
| void
439+
| Promise<IndexHtmlTransformResult | void>
438440

439441
type IndexHtmlTransformResult =
440442
| string

‎docs/guide/assets.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ Assets can be explicitly imported with inlining or no inlining using the `?inlin
6262
```js twoslash
6363
import 'vite/client'
6464
// ---cut---
65+
// prettier-ignore
6566
import imgUrl1 from './img.svg?no-inline'
6667
import imgUrl2 from './img.png?inline'
6768
```

‎docs/guide/build.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,8 @@ export default defineConfig({
202202
The entry file would contain exports that can be imported by users of your package:
203203
204204
```js [lib/main.js]
205-
import Foo from './Foo.vue'
206205
import Bar from './Bar.vue'
206+
import Foo from './Foo.vue'
207207
export { Foo, Bar }
208208
```
209209
@@ -334,8 +334,8 @@ experimental: {
334334
If the hashed assets and public files aren't deployed together, options for each group can be defined independently using asset `type` included in the second `context` param given to the function.
335335
336336
```ts twoslash
337-
import type { UserConfig } from 'vite'
338337
import path from 'node:path'
338+
import type { UserConfig } from 'vite'
339339
// prettier-ignore
340340
const config: UserConfig = {
341341
// ---cut-before---

‎docs/guide/migration.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ $ deno add -D npm:@rolldown/plugin-babel npm:@babel/plugin-proposal-decorators
129129
:::
130130

131131
```ts [vite.config.ts]
132-
import { defineConfig } from 'vite'
133132
import babel from '@rolldown/plugin-babel'
133+
import { defineConfig } from 'vite'
134134

135135
function decoratorPreset(options: Record<string, unknown>) {
136136
return {
@@ -178,8 +178,8 @@ $ deno add -D npm:@rollup/plugin-swc npm:@swc/core
178178
:::
179179

180180
```js
181-
import { defineConfig, withFilter } from 'vite'
182181
import swc from '@rollup/plugin-swc'
182+
import { defineConfig, withFilter } from 'vite'
183183

184184
export default defineConfig({
185185
// ...

‎docs/guide/static-deploy.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ $ npm install --save-dev @cloudflare/vite-plugin
181181
```
182182

183183
```js [vite.config.js]
184-
import { defineConfig } from 'vite'
185184
import { cloudflare } from '@cloudflare/vite-plugin'
185+
import { defineConfig } from 'vite'
186186
187187
export default defineConfig({
188188
plugins: [cloudflare()],

‎docs/package.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
},
1010
"devDependencies": {
1111
"@iconify/vue": "^5.0.3",
12-
"@shikijs/vitepress-twoslash": "^4.4.3",
12+
"@shikijs/vitepress-twoslash": "^4.5.0",
1313
"@types/express": "^5.0.6",
1414
"@voidzero-dev/vitepress-theme": "^5.0.7",
1515
"feed": "^6.0.0",
@@ -18,6 +18,6 @@
1818
"vitepress-plugin-group-icons": "^1.7.6",
1919
"vitepress-plugin-llms": "^1.14.0",
2020
"vue": "^3.5.43",
21-
"vue-tsc": "^3.3.11"
21+
"vue-tsc": "^3.3.12"
2222
}
2323
}

0 commit comments

Comments
 (0)