From eac2d633ca0fe27974047869417c39fb98416575 Mon Sep 17 00:00:00 2001 From: cfngc4594 Date: Sun, 2 Mar 2025 11:41:19 +0800 Subject: [PATCH] fix(deps): restrict shiki and @shikijs/monaco versions to <=2.5.0 due to API deprecation --- bun.lock | 4 ++-- package.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bun.lock b/bun.lock index dc3056e..0a0b093 100644 --- a/bun.lock +++ b/bun.lock @@ -40,7 +40,7 @@ }, "devDependencies": { "@eslint/eslintrc": "^3", - "@shikijs/monaco": "2.5.0", + "@shikijs/monaco": "<=2.5.0", "@types/dockerode": "^3.3.35", "@types/node": "^20", "@types/react": "^19", @@ -52,7 +52,7 @@ "rehype-autolink-headings": "^7.1.0", "rehype-pretty-code": "^0.14.0", "rehype-slug": "^6.0.0", - "shiki": "2.5.0", + "shiki": "<=2.5.0", "tailwindcss": "^3.4.1", "typescript": "^5", }, diff --git a/package.json b/package.json index f635a00..68fc016 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ }, "devDependencies": { "@eslint/eslintrc": "^3", - "@shikijs/monaco": "2.5.0", + "@shikijs/monaco": "<=2.5.0", "@types/dockerode": "^3.3.35", "@types/node": "^20", "@types/react": "^19", @@ -57,7 +57,7 @@ "rehype-autolink-headings": "^7.1.0", "rehype-pretty-code": "^0.14.0", "rehype-slug": "^6.0.0", - "shiki": "2.5.0", + "shiki": "<=2.5.0", "tailwindcss": "^3.4.1", "typescript": "^5" }