The open source coding agent.
TypeScript
chore: update marked-shiki, remove patch (#1653)
Aiden Cline7b6d5b14293c
diff --git a/.opencode/plugin/example.ts b/.opencode/plugin/example.tsindex 998108f0a26..05910054a18 100644--- a/.opencode/plugin/example.ts+++ b/.opencode/plugin/example.ts@@ -1,4 +1,4 @@-import { Plugin } from "./index"+import { Plugin } from "../../packages/plugin/src/index"export const ExamplePlugin: Plugin = async ({ app, client, $ }) => {return {diff --git a/bun.lock b/bun.lockindex 3fa740e1672..39c91701928 100644--- a/bun.lock+++ b/bun.lock@@ -120,7 +120,7 @@"lang-map": "0.4.0","luxon": "3.6.1","marked": "15.0.12",- "marked-shiki": "1.2.0",+ "marked-shiki": "1.2.1","rehype-autolink-headings": "7.1.0","remeda": "2.26.0","sharp": "0.32.5",@@ -139,9 +139,6 @@"sharp","esbuild",],- "patchedDependencies": {- "[email protected]": "patches/[email protected]",- },"catalog": {"@tsconfig/node22": "22.0.2","@types/node": "22.13.9",@@ -1174,7 +1171,7 @@"marked": ["[email protected]", "", { "bin": { "marked": "bin/marked.js" } }, "sha512-8dD6FusOQSrpv9Z1rdNMdlSgQOIP880DHqnohobOmYLElGEqAL/JvxvuxZO16r4HtjTlfPRDC1hbvxC9dPN2nA=="],- "marked-shiki": ["[email protected]", "", { "peerDependencies": { "marked": ">=7.0.0", "shiki": ">=1.0.0" } }, "sha512-N924hp8veE6Mc91g5/kCNVoTU7TkeJfB2G2XEWb+k1fVA0Bck2T0rVt93d39BlOYH6ohP4Q9BFlPk+UkblhXbg=="],+ "marked-shiki": ["[email protected]", "", { "peerDependencies": { "marked": ">=7.0.0", "shiki": ">=1.0.0" } }, "sha512-yHxYQhPY5oYaIRnROn98foKhuClark7M373/VpLxiy5TrDu9Jd/LsMwo8w+U91Up4oDb9IXFrP0N1MFRz8W/DQ=="],"math-intrinsics": ["[email protected]", "", {}, "sha512-/IXtbwEk5HTPyEwyKX6hGkYXxM9nbj64B+ilVJnC/R6B0pH5G4V3b0pVbL7DBj4tkhBAppbQUlf6F6Xl9LHu1g=="],diff --git a/package.json b/package.jsonindex 89fc3456ff0..7054e287162 100644--- a/package.json+++ b/package.json@@ -43,7 +43,5 @@"protobufjs","sharp"],- "patchedDependencies": {- "[email protected]": "patches/[email protected]"- }+ "patchedDependencies": {}}diff --git a/packages/web/package.json b/packages/web/package.jsonindex c5331dc59f0..433c0290847 100644--- a/packages/web/package.json+++ b/packages/web/package.json@@ -25,7 +25,7 @@"lang-map": "0.4.0","luxon": "3.6.1","marked": "15.0.12",- "marked-shiki": "1.2.0",+ "marked-shiki": "1.2.1","rehype-autolink-headings": "7.1.0","remeda": "2.26.0","sharp": "0.32.5",diff --git a/patches/[email protected] b/patches/[email protected]deleted file mode 100644index 36ac2befe99..00000000000--- a/patches/[email protected]+++ /dev/null@@ -1,16 +0,0 @@-diff --git a/node_modules/marked-shiki/.bun-tag-5eae3435af8a0229 b/.bun-tag-5eae3435af8a0229-new file mode 100644-index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391-diff --git a/dist/index.js b/dist/index.js-index 535885e8569626d08f205e76c4944e4ebd0decab..92b5695c1b05fc7db5d26128c8f948d43c91f88a 100644---- a/dist/index.js-+++ b/dist/index.js-@@ -4,7 +4,7 @@ function o(s = {}) {- async: !0,- async walkTokens(t) {- if (t.type !== "code" || typeof e != "function") return;-- const [a = "text", ...i] = t.lang.split(" "), { text: c } = t, r = await e(c, a, i), l = n ? n.replace("%l", String(a).toUpperCase()).replace("%s", r).replace("%t", c) : r;-+ const [a = "text", ...i] = t.lang?.split(" "), { text: c } = t, r = await e(c, a, i), l = n ? n.replace("%l", String(a).toUpperCase()).replace("%s", r).replace("%t", c) : r;- Object.assign(t, {- type: "html",- block: !0,