lang node: revert to v16.17.0

This commit is contained in:
hayzam 2022-12-31 18:19:19 +05:30
parent 8645a4f032
commit a72e309942
2 changed files with 5 additions and 5 deletions

View file

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=node PKG_NAME:=node
PKG_VERSION:=v16.18.0 PKG_VERSION:=v16.17.1
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=https://nodejs.org/dist/$(PKG_VERSION) PKG_SOURCE_URL:=https://nodejs.org/dist/$(PKG_VERSION)
PKG_HASH:=fcfe6ad2340f229061d3e81a94df167fe3f77e01712dedc0144a0e7d58e2c69b PKG_HASH:=6721feb4152d56d2c6b358ce397abd5a7f1daf09ee2e25c5021b9b4d3f86a330
PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>, Adrian Panella <ianchi74@outlook.com> PKG_MAINTAINER:=Hirokazu MORIKAWA <morikw2@gmail.com>, Adrian Panella <ianchi74@outlook.com>
PKG_LICENSE:=MIT PKG_LICENSE:=MIT
@ -161,4 +161,4 @@ endef
$(eval $(call HostBuild)) $(eval $(call HostBuild))
$(eval $(call BuildPackage,node)) $(eval $(call BuildPackage,node))
$(eval $(call BuildPackage,node-npm)) $(eval $(call BuildPackage,node-npm))

View file

@ -1,6 +1,6 @@
--- a/lib/internal/modules/cjs/loader.js --- a/lib/internal/modules/cjs/loader.js
+++ b/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, '..') :
path.resolve(process.execPath, '..', '..'); path.resolve(process.execPath, '..', '..');
@ -9,4 +9,4 @@
+ path.resolve(prefixDir, 'lib', 'node_modules')]; + path.resolve(prefixDir, 'lib', 'node_modules')];
if (homeDir) { if (homeDir) {
ArrayPrototypeUnshift(paths, path.resolve(homeDir, '.node_libraries')); ArrayPrototypeUnshift(paths, path.resolve(homeDir, '.node_libraries'));