diff --git a/lang/node/Makefile b/lang/node/Makefile index 9a737d59f..3adc95db5 100644 --- a/lang/node/Makefile +++ b/lang/node/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=node -PKG_VERSION:=v16.18.0 +PKG_VERSION:=v16.17.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=https://nodejs.org/dist/$(PKG_VERSION) -PKG_HASH:=fcfe6ad2340f229061d3e81a94df167fe3f77e01712dedc0144a0e7d58e2c69b +PKG_HASH:=6721feb4152d56d2c6b358ce397abd5a7f1daf09ee2e25c5021b9b4d3f86a330 PKG_MAINTAINER:=Hirokazu MORIKAWA , Adrian Panella PKG_LICENSE:=MIT @@ -161,4 +161,4 @@ endef $(eval $(call HostBuild)) $(eval $(call BuildPackage,node)) -$(eval $(call BuildPackage,node-npm)) \ No newline at end of file +$(eval $(call BuildPackage,node-npm)) diff --git a/lang/node/patches/003-path.patch b/lang/node/patches/003-path.patch index 3907f277e..9599cbfec 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 -@@ -1290,7 +1290,8 @@ Module._initPaths = function() { +@@ -1261,7 +1261,8 @@ Module._initPaths = function() { path.resolve(process.execPath, '..') : path.resolve(process.execPath, '..', '..'); @@ -9,4 +9,4 @@ + path.resolve(prefixDir, 'lib', 'node_modules')]; if (homeDir) { - ArrayPrototypeUnshift(paths, path.resolve(homeDir, '.node_libraries')); \ No newline at end of file + ArrayPrototypeUnshift(paths, path.resolve(homeDir, '.node_libraries'));