Skip to content

Commit c3278c7

Browse files
authored
build: bump deps (#674)
1 parent 2517609 commit c3278c7

13 files changed

Lines changed: 1078 additions & 1132 deletions

File tree

.github/workflows/e2e.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ jobs:
117117
matrix:
118118
node:
119119
- 22
120-
- 24
121120
# - 26
122121
bundler:
123122
- vite

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
"@vuepress/theme-default": "workspace:*",
4949
"@vueuse/core": "catalog:",
5050
"echarts-wordcloud": "^2.1.0",
51-
"katex": "^0.16.46",
51+
"katex": "^0.16.47",
5252
"sass-embedded": "catalog:",
5353
"sass-loader": "catalog:",
5454
"vue": "catalog:",

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,31 +29,31 @@
2929
"@tsdown/css": "^0.22.0",
3030
"@types/node": "^22.19.19",
3131
"@types/webpack-env": "^1.18.8",
32-
"@vitest/coverage-istanbul": "^4.1.6",
32+
"@vitest/coverage-istanbul": "^4.1.7",
3333
"cross-env": "^10.1.0",
3434
"husky": "^9.1.7",
3535
"lightningcss": "^1.32.0",
3636
"nano-staged": "^1.0.2",
3737
"npm-check-updates": "^22.2.0",
3838
"oxc-config-hope": "^0.3.5",
39-
"oxfmt": "^0.49.0",
40-
"oxlint": "^1.64.0",
41-
"oxlint-tsgolint": "^0.22.1",
39+
"oxfmt": "^0.51.0",
40+
"oxlint": "^1.66.0",
41+
"oxlint-tsgolint": "^0.23.0",
4242
"picocolors": "^1.1.1",
4343
"postcss-html": "^1.8.1",
4444
"publint": "^0.3.21",
4545
"rimraf": "^6.1.3",
4646
"sass-embedded": "catalog:",
4747
"serve": "^14.2.6",
48-
"stylelint": "^17.11.1",
48+
"stylelint": "^17.12.0",
4949
"stylelint-config-hope": "^11.0.0",
5050
"stylelint-config-html": "^1.1.0",
5151
"tsconfig-vuepress": "^7.0.0",
5252
"tsdown": "^0.22.0",
5353
"typescript": "^6.0.3",
5454
"unrun": "^0.3.0",
5555
"vite": "^8.0.13",
56-
"vitest": "^4.1.6",
56+
"vitest": "^4.1.7",
5757
"vuepress": "catalog:"
5858
},
5959
"nano-staged": {

plugins/markdown/plugin-shiki/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@
4646
"clean": "rimraf ./dist"
4747
},
4848
"dependencies": {
49-
"@shikijs/transformers": "^4.0.2",
49+
"@shikijs/transformers": "^4.1.0",
5050
"@vuepress/helper": "workspace:*",
5151
"@vuepress/highlighter-helper": "workspace:*",
5252
"nanoid": "^5.1.11",
53-
"shiki": "^4.0.2",
53+
"shiki": "^4.1.0",
5454
"synckit": "^0.11.12"
5555
},
5656
"devDependencies": {

plugins/search/plugin-meilisearch/src/cli/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ export const getChangedFilesByDiff = (cwd = process.cwd()): string[] => {
109109
*
110110
* @param status Output from `git status --porcelain`
111111
* @returns Array of changed file paths
112-
* @throws Error if there are unstaged or untracked files
112+
* @throws {Error} Error if there are unstaged or untracked files
113113
*/
114114
export const parseGitStatus = (status: string): string[] => {
115115
const changedFiles: string[] = []

plugins/search/plugin-slimsearch/src/client/components/SearchResult.ts

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ import { SearchLoading } from './SearchLoading.js'
1919

2020
import '../styles/search-result.scss'
2121

22+
const wordToVNodes = (display: Word[]): (VNode | string)[] =>
23+
display.map((word) => (isString(word) ? word : h(word[0], word[1])))
24+
2225
export default defineComponent({
2326
name: 'SearchResult',
2427

@@ -139,9 +142,6 @@ export default defineComponent({
139142
else activePreviousResult()
140143
}
141144

142-
const getVNodes = (display: Word[]): (VNode | string)[] =>
143-
display.map((word) => (isString(word) ? word : h(word[0], word[1])))
144-
145145
const getDisplay = (matchedItem: MatchedItem): (VNode | string)[] => {
146146
if (matchedItem.type === 'customField') {
147147
const formatterConfig =
@@ -152,11 +152,13 @@ export default defineComponent({
152152
: formatterConfig.split('$content')
153153

154154
return matchedItem.display.map((display) =>
155-
h('div', getVNodes([prefix, ...display, suffix])),
155+
h('div', wordToVNodes([prefix, ...display, suffix])),
156156
)
157157
}
158158

159-
return matchedItem.display.map((display) => h('div', getVNodes(display)))
159+
return matchedItem.display.map((display) =>
160+
h('div', wordToVNodes(display)),
161+
)
160162
}
161163

162164
const resetSearchResult = (): void => {
@@ -269,7 +271,7 @@ export default defineComponent({
269271
h(
270272
'div',
271273
item.display.flatMap((display) =>
272-
getVNodes(display),
274+
wordToVNodes(display),
273275
),
274276
),
275277
]),

plugins/tools/plugin-cache/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
},
4141
"dependencies": {
4242
"ci-info": "^4.4.0",
43-
"lru-cache": "^11.3.6"
43+
"lru-cache": "^11.5.0"
4444
},
4545
"peerDependencies": {
4646
"vuepress": "catalog:"

plugins/tools/plugin-replace-assets/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"unplugin": "^3.0.0"
5151
},
5252
"devDependencies": {
53-
"webpack": "^5.106.2"
53+
"webpack": "^5.107.0"
5454
},
5555
"peerDependencies": {
5656
"vuepress": "catalog:"

pnpm-lock.yaml

Lines changed: 1051 additions & 1108 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pnpm-workspace.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ catalog:
1212
chokidar: ^5.0.0
1313
sass: ^1.99.0
1414
sass-embedded: ^1.99.0
15-
sass-loader: ^16.0.8
15+
sass-loader: ^17.0.0
1616
vue: ^3.5.34
1717
vuepress: 2.0.0-rc.30
1818

0 commit comments

Comments
 (0)