From af0eff889dbb556ac994f14c9874e810647e0f23 Mon Sep 17 00:00:00 2001 From: Mohammed Bilal Date: Sun, 4 Sep 2022 06:14:29 +0530 Subject: [PATCH] Use packaged version of node-yaml --- debian/control | 1 + debian/patches/nodejs/0040-use-packaged-modules.patch | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index f11790a0c6..c972cbcfc5 100644 --- a/debian/control +++ b/debian/control @@ -510,6 +510,7 @@ Depends: ${shlibs:Depends}, ${misc:Depends}, node-webpack-stats-plugin, node-worker-loader (>= 2.0~), node-xterm, + node-yaml, # using yarn install for remaining node modules as it is in contrib # node-babel-core, # node-babel-eslint, diff --git a/debian/patches/nodejs/0040-use-packaged-modules.patch b/debian/patches/nodejs/0040-use-packaged-modules.patch index a2856afb43..87e02d7151 100644 --- a/debian/patches/nodejs/0040-use-packaged-modules.patch +++ b/debian/patches/nodejs/0040-use-packaged-modules.patch @@ -192,7 +192,7 @@ Use debian packaged node modules when available "prismjs": "^1.21.0", "prosemirror-markdown": "1.9.1", "prosemirror-model": "^1.18.1", -@@ -170,27 +170,26 @@ +@@ -170,32 +170,31 @@ "style-loader": "^2.0.0", "swagger-ui-dist": "4.12.0", "three": "^0.84.0", @@ -225,3 +225,9 @@ Use debian packaged node modules when available "webpack-cli": "^4.10.0", "webpack-stats-plugin": "^0.3.1", "worker-loader": "^2.0.0", + "xterm": "3.14.5", +- "yaml": "^2.0.0-10" ++ "yaml": "link:/usr/share/nodejs/yaml" + }, + "devDependencies": { + },