From f20d89ee5161090959a2f6cfd3f2b765cea331a1 Mon Sep 17 00:00:00 2001 From: Gusted Date: Fri, 19 Jul 2024 18:47:53 +0200 Subject: [PATCH] Remove `elkjs` dependency from mermaid package The ELK integration was moved to it's own package in https://github.com/mermaid-js/mermaid/pull/5049 to avoid pulling in a copyleft dependency by default. However the `elkjs` dependency is still present in the mermaid package, this patch removes it. --- packages/mermaid/package.json | 1 - pnpm-lock.yaml | 3 --- 2 files changed, 4 deletions(-) diff --git a/packages/mermaid/package.json b/packages/mermaid/package.json index 982b9d0633..585a29ce3e 100644 --- a/packages/mermaid/package.json +++ b/packages/mermaid/package.json @@ -77,7 +77,6 @@ "dagre-d3-es": "7.0.10", "dayjs": "^1.11.10", "dompurify": "^3.0.11", - "elkjs": "^0.9.2", "katex": "^0.16.9", "khroma": "^2.1.0", "lodash-es": "^4.17.21", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e251543b60..86480266f4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -227,9 +227,6 @@ importers: dompurify: specifier: ^3.0.11 version: 3.1.6 - elkjs: - specifier: ^0.9.2 - version: 0.9.3 katex: specifier: ^0.16.9 version: 0.16.11