aboutsummaryrefslogtreecommitdiff
path: root/lang/node/patches/003-path.patch
diff options
context:
space:
mode:
authorHirokazu MORIKAWA <morikw2@gmail.com>2021-06-18 18:04:29 +0900
committerHirokazu MORIKAWA <morikw2@gmail.com>2021-06-18 18:04:29 +0900
commit14b43da6bdbac9af7d04e28186fdbce6d9188409 (patch)
treea0e190a7cf842849835374f7a8ddc3c784ee81e3 /lang/node/patches/003-path.patch
parentf7432ce19a8b96eaca9941b4e7ed7f6b4b46e15e (diff)
node: bump to 14.17.1
Notable Changes: deps: update ICU to 69.1 (Michaƫl Zasso) errors: align source-map stacks with spec (Benjamin Coe) Signed-off-by: Hirokazu MORIKAWA <morikw2@gmail.com>
Diffstat (limited to 'lang/node/patches/003-path.patch')
-rw-r--r--lang/node/patches/003-path.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/node/patches/003-path.patch b/lang/node/patches/003-path.patch
index 8675e3420..8110a4a46 100644
--- a/lang/node/patches/003-path.patch
+++ b/lang/node/patches/003-path.patch
@@ -1,6 +1,6 @@
--- a/lib/internal/modules/cjs/loader.js
+++ b/lib/internal/modules/cjs/loader.js
-@@ -1184,7 +1184,8 @@ Module._initPaths = function() {
+@@ -1202,7 +1202,8 @@ Module._initPaths = function() {
path.resolve(process.execPath, '..') :
path.resolve(process.execPath, '..', '..');
@@ -9,4 +9,4 @@
+ path.resolve(prefixDir, 'lib', 'node_modules')];
if (homeDir) {
- paths.unshift(path.resolve(homeDir, '.node_libraries'));
+ ArrayPrototypeUnshift(paths, path.resolve(homeDir, '.node_libraries'));