libv8-node 22.5.1.0 → 24.1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/libv8/node/version.rb +7 -4
- data/libexec/build-libv8 +14 -1
- data/libexec/build-monolith +3 -3
- data/libexec/extract-node +4 -14
- data/libexec/inject-libv8 +3 -1
- data/libexec/platform +19 -19
- data/patch/v8-add-missing-typename.patch +66 -0
- data/patch/v8-disable-madv-dontfork.patch +16 -0
- data/patch/v8-disable-pkey.patch +17 -0
- data/patch/v8-std-is-trivially-destructible.patch +22 -0
- data/sums/v22.13.1.sum +1 -0
- data/sums/v22.6.0.sum +1 -0
- data/sums/v22.7.0.sum +1 -0
- data/sums/v22.9.0.sum +1 -0
- data/sums/v23.6.1.sum +1 -0
- data/sums/v23.8.0.sum +1 -0
- data/sums/v24.1.0.sum +1 -0
- metadata +14 -7
- data/patch/gyp-libv8_monolith.patch +0 -44
- data/patch/py2-genv8constants.patch +0 -10
- data/patch/py2-icutrim.patch +0 -14
- data/patch/py3-genv8constants.patch +0 -20
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a2b8e967d1a38a0d8436f0f0d6019d04a37a1ff32089e4f7240dccaa4757124c
|
|
4
|
+
data.tar.gz: f9a4f5dac6062d022367f5a66c251d09484e8d6924e3d6b7b50dd60c5ac5e109
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9d62e6a23daf53112c214e2440ff189baeee278b903d1031067bcb2791fa207b7d529075f0fa07a922965d365aeb0b5f64467f94cadc91ea99e0728eccc93eed
|
|
7
|
+
data.tar.gz: 840e1fbf57f570b491efab1696d7ecf3ffbf70d28f9364b3f69d559ad6bf59db4be7703d93fe56abb61ed20e2699d97086e0a7b8cca45ff5e2d5d958842ad181
|
data/lib/libv8/node/version.rb
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
module Libv8
|
|
4
|
+
end
|
|
2
5
|
|
|
3
6
|
module Libv8::Node
|
|
4
|
-
VERSION = '
|
|
5
|
-
NODE_VERSION = '
|
|
6
|
-
LIBV8_VERSION = '
|
|
7
|
+
VERSION = '24.1.0.0'
|
|
8
|
+
NODE_VERSION = '24.1.0'
|
|
9
|
+
LIBV8_VERSION = '13.6.233.10' # from src/node-.../deps/v8/include/v8-version.h
|
|
7
10
|
end
|
data/libexec/build-libv8
CHANGED
|
@@ -14,9 +14,12 @@ NJOBS="${NJOBS:-1}"
|
|
|
14
14
|
echo "parallel job count: ${NJOBS}"
|
|
15
15
|
|
|
16
16
|
BUILDTYPE="${BUILDTYPE:-Release}"
|
|
17
|
+
GITHUB_ACTIONS="${GITHUB_ACTIONS:-}"
|
|
17
18
|
|
|
18
19
|
cd "${src}/node-v${version}"
|
|
19
20
|
|
|
21
|
+
# Maglev is disabled because of a suspected x64 snapshot regression in
|
|
22
|
+
# DoComputeOutputFrames
|
|
20
23
|
configure_flags='--openssl-no-asm --without-npm --shared --with-intl=full-icu'
|
|
21
24
|
eval "$("${libexec}/platform")"
|
|
22
25
|
|
|
@@ -40,5 +43,15 @@ if [ "$host_platform" != "$target_platform" ] && [ "${target_platform%%-*}" = "a
|
|
|
40
43
|
find . -iname "*.host.mk" -exec sed -i '/-msign-return-address/d' {} ';'
|
|
41
44
|
fi
|
|
42
45
|
|
|
46
|
+
if [ "${BUILDTYPE}" = "Release" ] && [ "${GITHUB_ACTIONS}" != "" ]; then
|
|
47
|
+
case "${target_platform}" in
|
|
48
|
+
arm64*-darwin*)
|
|
49
|
+
# dwarf debug info for v8 is so massive the macos
|
|
50
|
+
# builder runs out of disk space when it's enabled
|
|
51
|
+
find out -name '*.mk' -exec sed -i '' -e 's/gdwarf-2/g0/g' {} ';'
|
|
52
|
+
;;
|
|
53
|
+
esac
|
|
54
|
+
fi
|
|
55
|
+
|
|
43
56
|
export PATH="${PWD}/out/tools/bin:${PATH}"
|
|
44
|
-
make -j"${NJOBS}" -C out BUILDTYPE="${BUILDTYPE}" V=
|
|
57
|
+
make -j"${NJOBS}" -C out BUILDTYPE="${BUILDTYPE}" V=
|
data/libexec/build-monolith
CHANGED
|
@@ -21,13 +21,13 @@ platform=$(uname)
|
|
|
21
21
|
rm -f "${LIBV8_MONOLITH}"
|
|
22
22
|
case "${platform}" in
|
|
23
23
|
"SunOS")
|
|
24
|
-
/usr/xpg4/bin/find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | xargs ar cq "${LIBV8_MONOLITH}"
|
|
24
|
+
/usr/xpg4/bin/find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" -or -path './abseil/deps/v8/third_party/abseil-cpp/absl/**/*.o' -or -path './highway/deps/v8/third_party/highway/**/*.o' -or -path './simdutf/deps/v8/third_party/simdutf/*.o' | sort | uniq | xargs ar cq "${LIBV8_MONOLITH}"
|
|
25
25
|
;;
|
|
26
26
|
"Darwin")
|
|
27
|
-
/usr/bin/find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" | sort | uniq | xargs /usr/bin/ar -cq "${LIBV8_MONOLITH}"
|
|
27
|
+
/usr/bin/find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" -or -path './abseil/deps/v8/third_party/abseil-cpp/absl/**/*.o' -or -path './highway/deps/v8/third_party/highway/**/*.o' -or -path './simdutf/deps/v8/third_party/simdutf/*.o' | sort | uniq | xargs /usr/bin/ar -cq "${LIBV8_MONOLITH}"
|
|
28
28
|
;;
|
|
29
29
|
"Linux")
|
|
30
|
-
find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -and '(' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" ')' | sort | uniq | xargs ar -cqSP "${LIBV8_MONOLITH}"
|
|
30
|
+
find . '(' '!' -path './icutools/deps/icu-small/source/stubdata/stubdata.o' ')' -and '(' -path "./torque_*/**/*.o" -or -path "./v8*/**/*.o" -or -path "./icu*/**/*.o" -or -path './abseil/deps/v8/third_party/abseil-cpp/absl/**/*.o' -or -path './highway/deps/v8/third_party/highway/**/*.o' -or -path './simdutf/deps/v8/third_party/simdutf/*.o' ')' | sort | uniq | xargs ar -cqSP "${LIBV8_MONOLITH}"
|
|
31
31
|
ar -sP "${LIBV8_MONOLITH}"
|
|
32
32
|
;;
|
|
33
33
|
*)
|
data/libexec/extract-node
CHANGED
|
@@ -29,17 +29,7 @@ extract "${src}" "${src}/node-v${version}.tar.gz"
|
|
|
29
29
|
|
|
30
30
|
cd "${src}/node-v${version}"
|
|
31
31
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
# TODO: the following still fails on py3 so the above one forcing py2 is needed
|
|
37
|
-
# patch -p1 < ../../py3-genv8constants.patch
|
|
38
|
-
#
|
|
39
|
-
# This is the error:
|
|
40
|
-
#
|
|
41
|
-
# Traceback (most recent call last):
|
|
42
|
-
# File "tools/genv8constants.py", line 99, in <module>
|
|
43
|
-
# curr_val += int('0x%s' % octetstr, 16) << (curr_octet * 8)
|
|
44
|
-
# ValueError: invalid literal for int() with base 16: "0xb'04 '"
|
|
45
|
-
# node_dtrace_ustack.target.mk:13: recipe for target '/usbkey/user_home/vagrant/ruby-libv8-node/src/node-14.14.0/out/Release/obj/gen/v8constants.h' failed
|
|
32
|
+
patch -p1 < "${top}"/patch/v8-add-missing-typename.patch
|
|
33
|
+
patch -p1 < "${top}"/patch/v8-std-is-trivially-destructible.patch
|
|
34
|
+
patch -p1 < "${top}"/patch/v8-disable-madv-dontfork.patch
|
|
35
|
+
patch -p1 < "${top}"/patch/v8-disable-pkey.patch
|
data/libexec/inject-libv8
CHANGED
|
@@ -56,7 +56,9 @@ for lib in libv8_monolith.a; do
|
|
|
56
56
|
"$AR" "$AREXTRACTFLAGS" "$BASEDIR/out/${BUILDTYPE}/$lib"
|
|
57
57
|
|
|
58
58
|
# strip all objects
|
|
59
|
-
"$
|
|
59
|
+
if [ "$BUILDTYPE" = "Release" ]; then
|
|
60
|
+
"$FIND" -type f -exec "$STRIP" -Sx {} +
|
|
61
|
+
fi
|
|
60
62
|
|
|
61
63
|
# rebuild the archive
|
|
62
64
|
"$FIND" -type f -exec "$AR" "$ARCOLLECTFLAGS" "../$lib" {} +
|
data/libexec/platform
CHANGED
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
set -e
|
|
4
4
|
set -u
|
|
5
5
|
|
|
6
|
-
if command -v
|
|
7
|
-
CC="${CC:-clang}"
|
|
8
|
-
CXX="${CXX:-clang++}"
|
|
9
|
-
elif command -v gcc >/dev/null 2>&1; then
|
|
6
|
+
if command -v gcc >/dev/null 2>&1; then
|
|
10
7
|
CC="${CC:-gcc}"
|
|
11
8
|
CXX="${CXX:-g++}"
|
|
9
|
+
elif command -v clang >/dev/null 2>&1; then
|
|
10
|
+
CC="${CC:-clang}"
|
|
11
|
+
CXX="${CXX:-clang++}"
|
|
12
12
|
elif command -v cc >/dev/null 2>&1; then
|
|
13
13
|
CC="${CC:-cc}"
|
|
14
14
|
CXX="${CXX:-c++}"
|
|
@@ -98,10 +98,10 @@ if [ "${host_platform}" != "${target_platform}" ]; then
|
|
|
98
98
|
configure_flags='--dest-cpu=arm --cross-compiling --dest-os=linux --with-arm-float-abi=hard --with-arm-fpu=neon'
|
|
99
99
|
;;
|
|
100
100
|
x86_64-*linux*)
|
|
101
|
-
CC='x86_64
|
|
102
|
-
CXX='x86_64
|
|
103
|
-
CC_host='
|
|
104
|
-
CXX_host='
|
|
101
|
+
CC='clang -arch x86_64'
|
|
102
|
+
CXX='clang++ -arch x86_64'
|
|
103
|
+
CC_host='clang'
|
|
104
|
+
CXX_host='clang++'
|
|
105
105
|
STRIP='x86_64-linux-gnu-strip'
|
|
106
106
|
configure_flags='--dest-cpu=x86_64 --cross-compiling --dest-os=linux'
|
|
107
107
|
;;
|
|
@@ -142,17 +142,17 @@ fi
|
|
|
142
142
|
# ;;
|
|
143
143
|
# esac
|
|
144
144
|
|
|
145
|
-
if command -v ccache >/dev/null 2>&1; then
|
|
146
|
-
if [ -n "${CC:-}" ] && [ "${CC}" = "${CC#ccache}" ]; then
|
|
147
|
-
CC="ccache ${CC}"
|
|
148
|
-
CXX="ccache ${CXX}"
|
|
149
|
-
fi
|
|
150
|
-
|
|
151
|
-
if [ -n "${CC_host:-}" ] && [ "${CC_host}" = "${CC_host#ccache}" ]; then
|
|
152
|
-
CC_host="ccache ${CC_host}"
|
|
153
|
-
CXX_host="ccache ${CXX_host}"
|
|
154
|
-
fi
|
|
155
|
-
fi
|
|
145
|
+
#if command -v ccache >/dev/null 2>&1; then
|
|
146
|
+
# if [ -n "${CC:-}" ] && [ "${CC}" = "${CC#ccache}" ]; then
|
|
147
|
+
# CC="ccache ${CC}"
|
|
148
|
+
# CXX="ccache ${CXX}"
|
|
149
|
+
# fi
|
|
150
|
+
#
|
|
151
|
+
# if [ -n "${CC_host:-}" ] && [ "${CC_host}" = "${CC_host#ccache}" ]; then
|
|
152
|
+
# CC_host="ccache ${CC_host}"
|
|
153
|
+
# CXX_host="ccache ${CXX_host}"
|
|
154
|
+
# fi
|
|
155
|
+
#fi
|
|
156
156
|
|
|
157
157
|
cat <<EOF
|
|
158
158
|
export CC='${CC}'
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
diff --git a/deps/v8/src/objects/ordered-hash-table.h b/deps/v8/src/objects/ordered-hash-table.h
|
|
2
|
+
index 0e1605d566..8145bb1b8a 100644
|
|
3
|
+
--- a/deps/v8/src/objects/ordered-hash-table.h
|
|
4
|
+
+++ b/deps/v8/src/objects/ordered-hash-table.h
|
|
5
|
+
@@ -70,7 +70,7 @@ class OrderedHashTable : public FixedArray {
|
|
6
|
+
// to add at least one new element.
|
|
7
|
+
template <template <typename> typename HandleType>
|
|
8
|
+
requires(std::is_convertible_v<HandleType<Derived>, DirectHandle<Derived>>)
|
|
9
|
+
- static HandleType<Derived>::MaybeType EnsureCapacityForAdding(
|
|
10
|
+
+ static typename HandleType<Derived>::MaybeType EnsureCapacityForAdding(
|
|
11
|
+
Isolate* isolate, HandleType<Derived> table);
|
|
12
|
+
|
|
13
|
+
// Returns an OrderedHashTable (possibly |table|) that's shrunken
|
|
14
|
+
@@ -218,11 +218,11 @@ class OrderedHashTable : public FixedArray {
|
|
15
|
+
|
|
16
|
+
template <template <typename> typename HandleType>
|
|
17
|
+
requires(std::is_convertible_v<HandleType<Derived>, DirectHandle<Derived>>)
|
|
18
|
+
- static HandleType<Derived>::MaybeType Rehash(Isolate* isolate,
|
|
19
|
+
+ static typename HandleType<Derived>::MaybeType Rehash(Isolate* isolate,
|
|
20
|
+
HandleType<Derived> table);
|
|
21
|
+
template <template <typename> typename HandleType>
|
|
22
|
+
requires(std::is_convertible_v<HandleType<Derived>, DirectHandle<Derived>>)
|
|
23
|
+
- static HandleType<Derived>::MaybeType Rehash(Isolate* isolate,
|
|
24
|
+
+ static typename HandleType<Derived>::MaybeType Rehash(Isolate* isolate,
|
|
25
|
+
HandleType<Derived> table,
|
|
26
|
+
int new_capacity);
|
|
27
|
+
|
|
28
|
+
@@ -287,7 +287,7 @@ class V8_EXPORT_PRIVATE OrderedHashSet
|
|
29
|
+
template <template <typename> typename HandleType>
|
|
30
|
+
requires(std::is_convertible_v<HandleType<OrderedHashSet>,
|
|
31
|
+
DirectHandle<OrderedHashSet>>)
|
|
32
|
+
- static HandleType<OrderedHashSet>::MaybeType Add(
|
|
33
|
+
+ static typename HandleType<OrderedHashSet>::MaybeType Add(
|
|
34
|
+
Isolate* isolate, HandleType<OrderedHashSet> table,
|
|
35
|
+
DirectHandle<Object> value);
|
|
36
|
+
static Handle<FixedArray> ConvertToKeysArray(Isolate* isolate,
|
|
37
|
+
@@ -296,12 +296,12 @@ class V8_EXPORT_PRIVATE OrderedHashSet
|
|
38
|
+
template <template <typename> typename HandleType>
|
|
39
|
+
requires(std::is_convertible_v<HandleType<OrderedHashSet>,
|
|
40
|
+
DirectHandle<OrderedHashSet>>)
|
|
41
|
+
- static HandleType<OrderedHashSet>::MaybeType Rehash(
|
|
42
|
+
+ static typename HandleType<OrderedHashSet>::MaybeType Rehash(
|
|
43
|
+
Isolate* isolate, HandleType<OrderedHashSet> table);
|
|
44
|
+
template <template <typename> typename HandleType>
|
|
45
|
+
requires(std::is_convertible_v<HandleType<OrderedHashSet>,
|
|
46
|
+
DirectHandle<OrderedHashSet>>)
|
|
47
|
+
- static HandleType<OrderedHashSet>::MaybeType Rehash(
|
|
48
|
+
+ static typename HandleType<OrderedHashSet>::MaybeType Rehash(
|
|
49
|
+
Isolate* isolate, HandleType<OrderedHashSet> table, int new_capacity);
|
|
50
|
+
|
|
51
|
+
template <typename IsolateT>
|
|
52
|
+
@@ -343,12 +343,12 @@ class V8_EXPORT_PRIVATE OrderedHashMap
|
|
53
|
+
template <template <typename> typename HandleType>
|
|
54
|
+
requires(std::is_convertible_v<HandleType<OrderedHashMap>,
|
|
55
|
+
DirectHandle<OrderedHashMap>>)
|
|
56
|
+
- static HandleType<OrderedHashMap>::MaybeType Rehash(
|
|
57
|
+
+ static typename HandleType<OrderedHashMap>::MaybeType Rehash(
|
|
58
|
+
Isolate* isolate, HandleType<OrderedHashMap> table);
|
|
59
|
+
template <template <typename> typename HandleType>
|
|
60
|
+
requires(std::is_convertible_v<HandleType<OrderedHashMap>,
|
|
61
|
+
DirectHandle<OrderedHashMap>>)
|
|
62
|
+
- static HandleType<OrderedHashMap>::MaybeType Rehash(
|
|
63
|
+
+ static typename HandleType<OrderedHashMap>::MaybeType Rehash(
|
|
64
|
+
Isolate* isolate, HandleType<OrderedHashMap> table, int new_capacity);
|
|
65
|
+
|
|
66
|
+
void SetEntry(InternalIndex entry, Tagged<Object> key, Tagged<Object> value);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
diff --git a/tools/v8_gypfiles/features.gypi b/tools/v8_gypfiles/features.gypi
|
|
2
|
+
index 6e21dac6d7..bcf022fb28 100644
|
|
3
|
+
--- a/tools/v8_gypfiles/features.gypi
|
|
4
|
+
+++ b/tools/v8_gypfiles/features.gypi
|
|
5
|
+
@@ -73,7 +73,10 @@
|
|
6
|
+
}, {
|
|
7
|
+
'v8_enable_etw_stack_walking': 0,
|
|
8
|
+
}],
|
|
9
|
+
- ['OS=="linux"', {
|
|
10
|
+
+ # Disable madvise(MADV_DONTFORK), it's a great optimization for programs
|
|
11
|
+
+ # that fork & exec but not for programs that fork and keep running.
|
|
12
|
+
+ # It makes mini_racer's test/test_forking.rb test segfault.
|
|
13
|
+
+ ['False and OS=="linux"', {
|
|
14
|
+
# Sets -dV8_ENABLE_PRIVATE_MAPPING_FORK_OPTIMIZATION.
|
|
15
|
+
#
|
|
16
|
+
# This flag speeds up the performance of fork/execve on Linux systems for
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
diff --git a/deps/v8/src/base/build_config.h b/deps/v8/src/base/build_config.h
|
|
2
|
+
index 9ed4c8f102..dfca698506 100644
|
|
3
|
+
--- a/deps/v8/src/base/build_config.h
|
|
4
|
+
+++ b/deps/v8/src/base/build_config.h
|
|
5
|
+
@@ -35,11 +35,8 @@
|
|
6
|
+
#define V8_HAS_PTHREAD_JIT_WRITE_PROTECT 0
|
|
7
|
+
#endif
|
|
8
|
+
|
|
9
|
+
-#if defined(V8_OS_LINUX) && defined(V8_HOST_ARCH_X64)
|
|
10
|
+
-#define V8_HAS_PKU_JIT_WRITE_PROTECT 1
|
|
11
|
+
-#else
|
|
12
|
+
+// disabled, see https://issues.chromium.org/issues/360909072
|
|
13
|
+
#define V8_HAS_PKU_JIT_WRITE_PROTECT 0
|
|
14
|
+
-#endif
|
|
15
|
+
|
|
16
|
+
#if defined(V8_TARGET_ARCH_IA32) || defined(V8_TARGET_ARCH_X64)
|
|
17
|
+
#define V8_TARGET_ARCH_STORES_RETURN_ADDRESS_ON_STACK true
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
diff --git a/deps/v8/src/base/macros.h b/deps/v8/src/base/macros.h
|
|
2
|
+
index d404b6120a..053ac0e5ba 100644
|
|
3
|
+
--- a/deps/v8/src/base/macros.h
|
|
4
|
+
+++ b/deps/v8/src/base/macros.h
|
|
5
|
+
@@ -173,7 +173,7 @@ namespace base {
|
|
6
|
+
// base::is_trivially_copyable will differ for these cases.
|
|
7
|
+
template <typename T>
|
|
8
|
+
struct is_trivially_copyable {
|
|
9
|
+
-#if V8_CC_MSVC || (__GNUC__ == 12 && __GNUC_MINOR__ <= 2)
|
|
10
|
+
+#if V8_CC_MSVC || (__GNUC__ == 12 && __GNUC_MINOR__ <= 2) || defined(__clang__)
|
|
11
|
+
// Unfortunately, MSVC 2015 is broken in that std::is_trivially_copyable can
|
|
12
|
+
// be false even though it should be true according to the standard.
|
|
13
|
+
// (status at 2018-02-26, observed on the msvc waterfall bot).
|
|
14
|
+
@@ -186,6 +186,8 @@ struct is_trivially_copyable {
|
|
15
|
+
// distributions, so the same polyfill is also used.
|
|
16
|
+
// See
|
|
17
|
+
// https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=aeba3e009b0abfccaf01797556445dbf891cc8dc
|
|
18
|
+
+ //
|
|
19
|
+
+ // The same is observed with at least clang 14 and 15.
|
|
20
|
+
static constexpr bool value =
|
|
21
|
+
// Copy constructor is trivial or deleted.
|
|
22
|
+
(std::is_trivially_copy_constructible<T>::value ||
|
data/sums/v22.13.1.sum
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e7d5b1e84e7f3c3cebda81e2b138469eef41ba4ecf16a87fd15fc3f7afa3f701
|
data/sums/v22.6.0.sum
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
af4a8747651385515163db5da0d2e217da15cf7c832672b234128ed5118f086d
|
data/sums/v22.7.0.sum
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7a7c99282d59866d971b2da12c99596cb15782b9c3efe2e2146390c14f4d490e
|
data/sums/v22.9.0.sum
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
296854aa1dca140b0462c2415637d0419e42af91114538a7e6fdf623971a6833
|
data/sums/v23.6.1.sum
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
35c0f7957085083071fcf01c7eaea953fba98f17afc4d7c189e3ef56925b453c
|
data/sums/v23.8.0.sum
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
23b5e0b0b6752a21c7af4e2361655a54ad499d3ae06b6f9af1dd311365b8496a
|
data/sums/v24.1.0.sum
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b565cba1dd8f2eb3db7c95e0c3a87ecc5e77f079611ea6a3688531511383ec72
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: libv8-node
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 24.1.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- ''
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2025-06-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -63,10 +63,10 @@ files:
|
|
|
63
63
|
- libexec/inject-libv8
|
|
64
64
|
- libexec/metadata
|
|
65
65
|
- libexec/platform
|
|
66
|
-
- patch/
|
|
67
|
-
- patch/
|
|
68
|
-
- patch/
|
|
69
|
-
- patch/
|
|
66
|
+
- patch/v8-add-missing-typename.patch
|
|
67
|
+
- patch/v8-disable-madv-dontfork.patch
|
|
68
|
+
- patch/v8-disable-pkey.patch
|
|
69
|
+
- patch/v8-std-is-trivially-destructible.patch
|
|
70
70
|
- sums/v16.10.0.sum
|
|
71
71
|
- sums/v16.11.1.sum
|
|
72
72
|
- sums/v16.3.0.sum
|
|
@@ -84,7 +84,14 @@ files:
|
|
|
84
84
|
- sums/v20.12.1.sum
|
|
85
85
|
- sums/v20.2.0.sum
|
|
86
86
|
- sums/v21.7.2.sum
|
|
87
|
+
- sums/v22.13.1.sum
|
|
87
88
|
- sums/v22.5.1.sum
|
|
89
|
+
- sums/v22.6.0.sum
|
|
90
|
+
- sums/v22.7.0.sum
|
|
91
|
+
- sums/v22.9.0.sum
|
|
92
|
+
- sums/v23.6.1.sum
|
|
93
|
+
- sums/v23.8.0.sum
|
|
94
|
+
- sums/v24.1.0.sum
|
|
88
95
|
homepage: https://github.com/rubyjs/libv8-node
|
|
89
96
|
licenses:
|
|
90
97
|
- MIT
|
|
@@ -105,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
105
112
|
- !ruby/object:Gem::Version
|
|
106
113
|
version: '0'
|
|
107
114
|
requirements: []
|
|
108
|
-
rubygems_version: 3.
|
|
115
|
+
rubygems_version: 3.3.26
|
|
109
116
|
signing_key:
|
|
110
117
|
specification_version: 4
|
|
111
118
|
summary: Node.JS's V8 JavaScript engine
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
--- a/node.gyp 2020-11-04 15:55:48.000000000 +0100
|
|
2
|
-
+++ b/node.gyp 2020-11-04 15:55:51.000000000 +0100
|
|
3
|
-
@@ -1467,6 +1467,16 @@
|
|
4
|
-
}],
|
|
5
|
-
],
|
|
6
|
-
}, # node_mksnapshot
|
|
7
|
-
+ {
|
|
8
|
-
+ 'target_name': 'libv8_monolith',
|
|
9
|
-
+ 'type': 'none',
|
|
10
|
-
+ 'includes': [
|
|
11
|
-
+ 'node.gypi'
|
|
12
|
-
+ ],
|
|
13
|
-
+ #'dependencies': [
|
|
14
|
-
+ # 'tools/v8_gypfiles/v8.gyp:v8_monolith',
|
|
15
|
-
+ #],
|
|
16
|
-
+ },
|
|
17
|
-
], # end targets
|
|
18
|
-
|
|
19
|
-
'conditions': [
|
|
20
|
-
--- a/tools/v8_gypfiles/v8.gyp 2020-11-04 16:34:06.000000000 +0100
|
|
21
|
-
+++ b/tools/v8_gypfiles/v8.gyp 2020-11-04 16:34:10.000000000 +0100
|
|
22
|
-
@@ -1726,5 +1726,21 @@
|
|
23
|
-
'<(V8_ROOT)/third_party/zlib/google/compression_utils_portable.h',
|
|
24
|
-
],
|
|
25
|
-
}, # v8_zlib
|
|
26
|
-
+ {
|
|
27
|
-
+ 'target_name': 'v8_monolith',
|
|
28
|
-
+ 'type': 'static_library',
|
|
29
|
-
+ 'sources': [
|
|
30
|
-
+ '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8.*?sources = ")',
|
|
31
|
-
+ '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_libbase.*?sources = ")',
|
|
32
|
-
+ '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_libplatform.*?sources = ")',
|
|
33
|
-
+ '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_libsampler.*?sources = ")',
|
|
34
|
-
+ ],
|
|
35
|
-
+ 'dependencies': [
|
|
36
|
-
+ 'v8',
|
|
37
|
-
+ 'v8_libbase',
|
|
38
|
-
+ 'v8_libplatform',
|
|
39
|
-
+ 'v8_libsampler',
|
|
40
|
-
+ ],
|
|
41
|
-
+ }
|
|
42
|
-
],
|
|
43
|
-
}
|
|
44
|
-
|
data/patch/py2-icutrim.patch
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
--- a/tools/icu/icutrim.py 2020-11-03 16:54:23.000000000 +0100
|
|
2
|
-
+++ b/tools/icu/icutrim.py 2020-11-03 16:54:27.000000000 +0100
|
|
3
|
-
@@ -316,7 +316,10 @@
|
|
4
|
-
erritems = fi.readlines()
|
|
5
|
-
fi.close()
|
|
6
|
-
#Item zone/zh_Hant_TW.res depends on missing item zone/zh_Hant.res
|
|
7
|
-
- pat = re.compile(bytes(r"^Item ([^ ]+) depends on missing item ([^ ]+).*", 'utf-8'))
|
|
8
|
-
+ if str == bytes:
|
|
9
|
-
+ pat = re.compile(bytes(r"^Item ([^ ]+) depends on missing item ([^ ]+).*"))
|
|
10
|
-
+ else:
|
|
11
|
-
+ pat = re.compile(bytes(r"^Item ([^ ]+) depends on missing item ([^ ]+).*", 'utf-8'))
|
|
12
|
-
for i in range(len(erritems)):
|
|
13
|
-
line = erritems[i].strip()
|
|
14
|
-
m = pat.match(line)
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
--- a/tools/genv8constants.py 2020-11-04 09:49:14.000000000 +0100
|
|
2
|
-
+++ b/tools/genv8constants.py 2020-11-04 09:49:25.000000000 +0100
|
|
3
|
-
@@ -33,9 +33,14 @@
|
|
4
|
-
|
|
5
|
-
sys.exit()
|
|
6
|
-
|
|
7
|
-
-pattern = re.compile(bytes('([0-9a-fA-F]{8}|[0-9a-fA-F]{16}) <(.*)>:'))
|
|
8
|
-
-v8dbg = re.compile(bytes('^v8dbg.*$'))
|
|
9
|
-
-numpattern = re.compile(bytes('^[0-9a-fA-F]{2} $'))
|
|
10
|
-
+if str == bytes:
|
|
11
|
-
+ pattern = re.compile(bytes('([0-9a-fA-F]{8}|[0-9a-fA-F]{16}) <(.*)>:'))
|
|
12
|
-
+ v8dbg = re.compile(bytes('^v8dbg.*$'))
|
|
13
|
-
+ numpattern = re.compile(bytes('^[0-9a-fA-F]{2} $'))
|
|
14
|
-
+else:
|
|
15
|
-
+ pattern = re.compile(bytes('([0-9a-fA-F]{8}|[0-9a-fA-F]{16}) <(.*)>:', 'utf-8'))
|
|
16
|
-
+ v8dbg = re.compile(bytes('^v8dbg.*$', 'utf-8'))
|
|
17
|
-
+ numpattern = re.compile(bytes('^[0-9a-fA-F]{2} $', 'utf-8'))
|
|
18
|
-
octets = 4
|
|
19
|
-
|
|
20
|
-
outfile.write("""
|