chore(deps): declare shikiji-core as direct dependency
useMarkdown.hook.ts imports types from shikiji-core, but it was only present transitively via markdown-it-shikiji. pnpm's strict resolution blocks importing undeclared transitives, breaking type-check. Pinned to 0.10.2 to match the version markdown-it-shikiji@0.10.2 pulls in. The shikiji line is deprecated upstream in favor of shiki; a real migration is out of scope here.
This commit is contained in:
5
pnpm-lock.yaml
generated
5
pnpm-lock.yaml
generated
@@ -140,6 +140,9 @@ importers:
|
||||
sanitize-html:
|
||||
specifier: ^2.17.0
|
||||
version: 2.17.0
|
||||
shikiji-core:
|
||||
specifier: 0.10.2
|
||||
version: 0.10.2
|
||||
vue:
|
||||
specifier: ^3.5.18
|
||||
version: 3.5.18(typescript@5.9.3)
|
||||
@@ -5710,7 +5713,7 @@ packages:
|
||||
|
||||
shikiji-core@0.10.2:
|
||||
resolution: {integrity: sha512-9Of8HMlF96usXJHmCL3Gd0Fcf0EcyJUF9m8EoAKKd98mHXi0La2AZl1h6PegSFGtiYcBDK/fLuKbDa1l16r1fA==}
|
||||
deprecated: Shikiji is merged back to Shiki v1.0, please migrate over to get the latest updates
|
||||
deprecated: Deprecated, use @shikijs/core instead
|
||||
|
||||
shikiji-transformers@0.10.2:
|
||||
resolution: {integrity: sha512-7IVTwl1af205ywYEq5bOAYOTOFW4V1dVX1EablP0nWKErqZeD1o93VMytxmtJomqS+YwbB8doY8SE3MFMn0aPQ==}
|
||||
|
||||
Reference in New Issue
Block a user