diff --git a/debian/control b/debian/control index 6379886b70..478f871151 100644 --- a/debian/control +++ b/debian/control @@ -457,7 +457,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, node-js-yaml (>= 3.13.1~), node-jszip, node-jszip-utils (>= 0.0.2+dfsg-2~), - node-katex (>= 0.10.2+dfsg-8~), + node-katex (>= 0.13~), node-lodash (>= 4.17.21+dfsg+~cs8.31.189.20210220~), node-marked (>= 0.3~), node-mermaid (>= 8.9.2~), diff --git a/debian/patches/0740-use-packaged-modules.patch b/debian/patches/0740-use-packaged-modules.patch index 665b002b0e..6338e21bbf 100644 --- a/debian/patches/0740-use-packaged-modules.patch +++ b/debian/patches/0740-use-packaged-modules.patch @@ -152,12 +152,13 @@ Use debian packaged node modules when available - "js-yaml": "^3.13.1", - "jszip": "^3.1.3", - "jszip-utils": "^0.0.2", +- "katex": "^0.13.2", +- "lodash": "^4.17.20", + "js-cookie": "link:/usr/share/nodejs/js-cookie", + "js-yaml": "link:/usr/share/nodejs/js-yaml", + "jszip": "link:/usr/share/nodejs/jszip", + "jszip-utils": "link:/usr/share/nodejs/jszip", - "katex": "^0.13.2", -- "lodash": "^4.17.20", ++ "katex": "link:/usr/share/nodejs/katex", + "lodash": "link:/usr/share/nodejs/lodash", "marked": "^0.3.12", "mathjax": "3",