From ffd3def400aff7eab6528ea766bf032842310baf Mon Sep 17 00:00:00 2001 From: Hirokazu MORIKAWA Date: Tue, 8 Oct 2019 13:51:59 +0900 Subject: node: update to v12.15.0 Update to v12.15.0 Support Python3 : https://github.com/openwrt/packages/issues/8893 Preparing to deprecate nosnapshot builds. Signed-off-by: Hirokazu MORIKAWA --- lang/node/patches/003-path.patch | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'lang/node/patches/003-path.patch') diff --git a/lang/node/patches/003-path.patch b/lang/node/patches/003-path.patch index 113f60ee6..987c866f2 100644 --- a/lang/node/patches/003-path.patch +++ b/lang/node/patches/003-path.patch @@ -1,11 +1,11 @@ ---- a/lib/module.js -+++ b/lib/module.js -@@ -715,7 +715,8 @@ - } else { - prefixDir = path.resolve(process.execPath, '..', '..'); - } -- var paths = [path.resolve(prefixDir, 'lib', 'node')]; -+ var paths = [path.resolve(prefixDir, 'lib', 'node'), +--- a/lib/internal/modules/cjs/loader.js ++++ b/lib/internal/modules/cjs/loader.js +@@ -1095,7 +1095,8 @@ + path.resolve(process.execPath, '..') : + path.resolve(process.execPath, '..', '..'); + +- let paths = [path.resolve(prefixDir, 'lib', 'node')]; ++ let paths = [path.resolve(prefixDir, 'lib', 'node'), + path.resolve(prefixDir, 'lib', 'node_modules')]; if (homeDir) { -- cgit v1.2.3