libv8-node 21.7.2.0 → 22.7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libv8/node/version.rb +7 -4
- data/libexec/extract-node +3 -0
- data/patch/v8-disable-madv-dontfork.patch +16 -0
- data/patch/v8-disable-pkey.patch +17 -0
- data/patch/v8-no-assert-trivially-copyable.patch +14 -0
- data/sums/v22.5.1.sum +1 -0
- data/sums/v22.6.0.sum +1 -0
- data/sums/v22.7.0.sum +1 -0
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1bd06d4fd65ef28f72f2b2f7330f81272290fbc60dd0a27824a00b9f2f79df06
|
4
|
+
data.tar.gz: ab2b24ef93cff90fc5389d201c85fe01d7b336df1d4171879fe5e8f1e76ad9d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6e752131a64f761f6a7ea8a41435ca4e12c524165bc9c1bac37cd1398db15561530d242b1640583d70bf7698867ba016f68b2135c288ef5474a0c9e5421799ab
|
7
|
+
data.tar.gz: 388e789e892aafad037c16e6bc1181f591541032b4329835aef61a5bb521bb22800cd11d9760a3a38538186ce6f47701075588973f11fba936c2e6ae702bbbdf
|
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 = '22.7.0.1'
|
8
|
+
NODE_VERSION = '22.7.0'
|
9
|
+
LIBV8_VERSION = '12.4.254.21' # from src/node-.../deps/v8/include/v8-version.h
|
7
10
|
end
|
data/libexec/extract-node
CHANGED
@@ -32,6 +32,9 @@ cd "${src}/node-v${version}"
|
|
32
32
|
#patch -p1 < "${top}"/patch/gyp-libv8_monolith.patch
|
33
33
|
#patch -p1 < "${top}"/patch/py2-icutrim.patch
|
34
34
|
#patch -p1 < "${top}"/patch/py2-genv8constants.patch
|
35
|
+
patch -p1 < "${top}"/patch/v8-no-assert-trivially-copyable.patch
|
36
|
+
patch -p1 < "${top}"/patch/v8-disable-madv-dontfork.patch
|
37
|
+
patch -p1 < "${top}"/patch/v8-disable-pkey.patch
|
35
38
|
|
36
39
|
# TODO: the following still fails on py3 so the above one forcing py2 is needed
|
37
40
|
# patch -p1 < ../../py3-genv8constants.patch
|
@@ -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,14 @@
|
|
1
|
+
diff --git a/deps/v8/src/base/small-vector.h b/deps/v8/src/base/small-vector.h
|
2
|
+
index edaab3a7a6..533a536178 100644
|
3
|
+
--- a/deps/v8/src/base/small-vector.h
|
4
|
+
+++ b/deps/v8/src/base/small-vector.h
|
5
|
+
@@ -20,9 +20,6 @@ namespace base {
|
6
|
+
// dynamic storage when it overflows.
|
7
|
+
template <typename T, size_t kSize, typename Allocator = std::allocator<T>>
|
8
|
+
class SmallVector {
|
9
|
+
- // Currently only support trivially copyable and trivially destructible data
|
10
|
+
- // types, as it uses memcpy to copy elements and never calls destructors.
|
11
|
+
- ASSERT_TRIVIALLY_COPYABLE(T);
|
12
|
+
static_assert(std::is_trivially_destructible<T>::value);
|
13
|
+
|
14
|
+
public:
|
data/sums/v22.5.1.sum
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
4a1b383f6036def4bb183f18e71a10b58784db269f9953618418bbaf47692972
|
data/sums/v22.6.0.sum
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
af4a8747651385515163db5da0d2e217da15cf7c832672b234128ed5118f086d
|
data/sums/v22.7.0.sum
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
7a7c99282d59866d971b2da12c99596cb15782b9c3efe2e2146390c14f4d490e
|
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: 22.7.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04
|
11
|
+
date: 2024-09-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -67,6 +67,9 @@ files:
|
|
67
67
|
- patch/py2-genv8constants.patch
|
68
68
|
- patch/py2-icutrim.patch
|
69
69
|
- patch/py3-genv8constants.patch
|
70
|
+
- patch/v8-disable-madv-dontfork.patch
|
71
|
+
- patch/v8-disable-pkey.patch
|
72
|
+
- patch/v8-no-assert-trivially-copyable.patch
|
70
73
|
- sums/v16.10.0.sum
|
71
74
|
- sums/v16.11.1.sum
|
72
75
|
- sums/v16.3.0.sum
|
@@ -84,6 +87,9 @@ files:
|
|
84
87
|
- sums/v20.12.1.sum
|
85
88
|
- sums/v20.2.0.sum
|
86
89
|
- sums/v21.7.2.sum
|
90
|
+
- sums/v22.5.1.sum
|
91
|
+
- sums/v22.6.0.sum
|
92
|
+
- sums/v22.7.0.sum
|
87
93
|
homepage: https://github.com/rubyjs/libv8-node
|
88
94
|
licenses:
|
89
95
|
- MIT
|
@@ -104,7 +110,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
104
110
|
- !ruby/object:Gem::Version
|
105
111
|
version: '0'
|
106
112
|
requirements: []
|
107
|
-
rubygems_version: 3.
|
113
|
+
rubygems_version: 3.3.26
|
108
114
|
signing_key:
|
109
115
|
specification_version: 4
|
110
116
|
summary: Node.JS's V8 JavaScript engine
|