From 70b3ddc3c6f3ef0eda5f96bbfc22b14bb23b0c60 Mon Sep 17 00:00:00 2001 From: Pirate Praveen Date: Thu, 27 Oct 2022 17:05:18 +0530 Subject: [PATCH] Restorre using yaml from system for older nodejs compat --- debian/patches/nodejs/0060-use-system-yaml.patch | 13 +++++++++++++ debian/patches/series | 1 + 2 files changed, 14 insertions(+) create mode 100644 debian/patches/nodejs/0060-use-system-yaml.patch diff --git a/debian/patches/nodejs/0060-use-system-yaml.patch b/debian/patches/nodejs/0060-use-system-yaml.patch new file mode 100644 index 0000000000..05e1543c8f --- /dev/null +++ b/debian/patches/nodejs/0060-use-system-yaml.patch @@ -0,0 +1,13 @@ +yaml from npm registry needs a newer nodejs than what is in bullseye + +--- a/package.json ++++ b/package.json +@@ -197,7 +197,7 @@ + "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": { + }, diff --git a/debian/patches/series b/debian/patches/series index 3c263f2f32..6b33d56088 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -16,6 +16,7 @@ nodejs/0020-remove-dev-dependencies.patch nodejs/0030-use-yarnpkg.patch nodejs/0040-use-packaged-modules.patch nodejs/0050-add-babel-plugins.patch +nodejs/0060-use-system-yaml.patch tweaks/0010-source-init-functions.patch tweaks/0020-fix-mail-room-path.patch tweaks/0030-fix-gitlab-yml-path.patch