From: Hirokazu MORIKAWA Date: Tue, 14 May 2024 09:08:46 +0000 (+0900) Subject: node: bump to v20.13.1 X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=fe8b0e85afe0870378c91fc732015db4a9c9c388;p=feed%2Fpackages.git node: bump to v20.13.1 Update to v20.13.1 Signed-off-by: Hirokazu MORIKAWA --- diff --git a/lang/node/Makefile b/lang/node/Makefile index 2f091a62fa..1ff311bab8 100644 --- a/lang/node/Makefile +++ b/lang/node/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=node -PKG_VERSION:=v20.12.2 +PKG_VERSION:=v20.13.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://nodejs.org/dist/$(PKG_VERSION) -PKG_HASH:=bc57ee721a12cc8be55bb90b4a9a2f598aed5581d5199ec3bd171a4781bfecda +PKG_HASH:=a85ee53aa0a5c2f5ca94fa414cdbceb91eb7d18a77fc498358512c14cc6c6991 PKG_MAINTAINER:=Hirokazu MORIKAWA , Adrian Panella PKG_LICENSE:=MIT diff --git a/lang/node/patches/003-path.patch b/lang/node/patches/003-path.patch index 02b45b6d65..e36bcf10b2 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 -@@ -1529,7 +1529,8 @@ Module._initPaths = function() { +@@ -1518,7 +1518,8 @@ Module._initPaths = function() { path.resolve(process.execPath, '..') : path.resolve(process.execPath, '..', '..'); diff --git a/lang/node/patches/202-node_gyp.patch b/lang/node/patches/202-node_gyp.patch index 2105ffcfcc..a2e47ec883 100644 --- a/lang/node/patches/202-node_gyp.patch +++ b/lang/node/patches/202-node_gyp.patch @@ -1,6 +1,6 @@ --- a/node.gyp +++ b/node.gyp -@@ -1197,6 +1197,7 @@ +@@ -1214,6 +1214,7 @@ 'dependencies': [ 'deps/simdutf/simdutf.gyp:simdutf#host', ], diff --git a/lang/node/patches/999-localhost-no-addrconfig.patch b/lang/node/patches/999-localhost-no-addrconfig.patch index 3b24ce12f5..870890039b 100644 --- a/lang/node/patches/999-localhost-no-addrconfig.patch +++ b/lang/node/patches/999-localhost-no-addrconfig.patch @@ -13,7 +13,7 @@ Forwarded: https://github.com/nodejs/node/issues/33816 // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the -@@ -1337,13 +1338,6 @@ function lookupAndConnect(self, options) +@@ -1338,13 +1339,6 @@ function lookupAndConnect(self, options) hints: options.hints || 0, }; diff --git a/lang/node/patches/999-revert_enable_pointer_authentication_on_arm64.patch b/lang/node/patches/999-revert_enable_pointer_authentication_on_arm64.patch index bf8549c1d7..b4f855546d 100644 --- a/lang/node/patches/999-revert_enable_pointer_authentication_on_arm64.patch +++ b/lang/node/patches/999-revert_enable_pointer_authentication_on_arm64.patch @@ -1,10 +1,10 @@ ---- a/configure.py -+++ b/configure.py -@@ -1282,7 +1282,6 @@ def configure_node(o): - - # Enable branch protection for arm64 - if target_arch == 'arm64': -- o['cflags']+=['-msign-return-address=all'] - o['variables']['arm_fpu'] = options.arm_fpu or 'neon' - - if options.node_snapshot_main is not None: +--- a/node.gyp ++++ b/node.gyp +@@ -1215,6 +1215,7 @@ + 'deps/simdutf/simdutf.gyp:simdutf#host', + ], + 'libraries!':[ '-licui18n', '-licuuc', '-licudata', '-lcrypto', '-lssl', '-lz', '-lhttp_parser', '-luv', '-lnghttp2', '-lcares' ], ++ 'cflags!': ['-mbranch-protection=standard'], + 'include_dirs': [ + 'tools', + 'src',