libv8-node 24.1.0.0-x86_64-linux-musl → 24.12.0.1-x86_64-linux-musl
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/ext/libv8-node/location.rb +3 -5
- data/ext/libv8-node/paths.rb +34 -1
- data/lib/libv8/node/version.rb +3 -3
- data/lib/libv8/node.rb +2 -0
- data/lib/libv8-node.rb +2 -0
- data/vendor/v8/include/v8-persistent-handle.h +7 -0
- data/vendor/v8/include/v8-primitive.h +2 -0
- data/vendor/v8/include/v8-version.h +1 -1
- data/vendor/v8/x86_64-linux-musl/libv8/obj/libv8_monolith.a +0 -0
- metadata +51 -11
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d3d984dcc8c574d0ea0464e9283da4008e37556140d34278162616960accb6f6
|
|
4
|
+
data.tar.gz: 9de195dac87796e6ff1162e3e990f783b682954295345d614cb9dadc0e411cdd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e89cf4b0b1d0a4e5c642aaa797024826b118c08d3bb836341c6c2b29fab82ab40dec3e1582648c343433eb86b64db3c7728e69ec9ef956000e0789d9af95cd49
|
|
7
|
+
data.tar.gz: 82462dce42be0bcbdda53b572fcdd194ed4d4eac32ef48e5d13e0b4003cc0f45c91b8d257e30f84c7ca003e33179ab40ab17518e577dcb589c555e49796df0e2
|
data/ext/libv8-node/location.rb
CHANGED
|
@@ -9,16 +9,14 @@ module Libv8; end
|
|
|
9
9
|
module Libv8::Node
|
|
10
10
|
class Location
|
|
11
11
|
def install!
|
|
12
|
-
File.
|
|
13
|
-
f.write(to_yaml)
|
|
14
|
-
end
|
|
12
|
+
File.write(Pathname(__FILE__).dirname.join('.location.yml'), to_yaml)
|
|
15
13
|
|
|
16
14
|
0
|
|
17
15
|
end
|
|
18
16
|
|
|
19
17
|
def self.load!
|
|
20
18
|
File.open(Pathname(__FILE__).dirname.join('.location.yml')) do |f|
|
|
21
|
-
YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(f) : YAML.load(f)
|
|
19
|
+
YAML.respond_to?(:unsafe_load) ? YAML.unsafe_load(f) : YAML.load(f)
|
|
22
20
|
end
|
|
23
21
|
end
|
|
24
22
|
|
|
@@ -58,7 +56,7 @@ module Libv8::Node
|
|
|
58
56
|
|
|
59
57
|
class ArchiveNotFound < StandardError
|
|
60
58
|
def initialize(filename)
|
|
61
|
-
super
|
|
59
|
+
super("libv8 did not install properly, expected binary v8 archive '#{filename}'to exist, but it was not found")
|
|
62
60
|
end
|
|
63
61
|
end
|
|
64
62
|
end
|
data/ext/libv8-node/paths.rb
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
1
3
|
require 'rbconfig'
|
|
2
4
|
require 'shellwords'
|
|
3
5
|
|
|
@@ -20,7 +22,38 @@ module Libv8::Node
|
|
|
20
22
|
end
|
|
21
23
|
|
|
22
24
|
def platform
|
|
23
|
-
|
|
25
|
+
@platform ||= determine_platform
|
|
26
|
+
end
|
|
27
|
+
|
|
28
|
+
def determine_platform
|
|
29
|
+
ideal = construct_ideal_platform_name
|
|
30
|
+
return ideal if platform_directory_exists?(ideal)
|
|
31
|
+
|
|
32
|
+
fallback_platform
|
|
33
|
+
end
|
|
34
|
+
|
|
35
|
+
def construct_ideal_platform_name
|
|
36
|
+
local = Gem::Platform.local
|
|
37
|
+
parts = [local.cpu, local.os, local.version]
|
|
38
|
+
parts[2] = 'musl' if musl_platform?
|
|
39
|
+
parts.compact.reject(&:empty?).join('-').gsub(/-darwin-?\d+/, '-darwin')
|
|
40
|
+
end
|
|
41
|
+
|
|
42
|
+
def musl_platform?
|
|
43
|
+
RUBY_PLATFORM =~ /musl/
|
|
44
|
+
end
|
|
45
|
+
|
|
46
|
+
def platform_directory_exists?(name)
|
|
47
|
+
File.directory?(File.join(vendored_source_path, name))
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
def fallback_platform
|
|
51
|
+
available = available_platform_directories
|
|
52
|
+
available.size == 1 ? available.first : construct_ideal_platform_name
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
def available_platform_directories
|
|
56
|
+
Dir.glob(File.join(vendored_source_path, '*')).select { |d| File.directory?(d) }.map { |d| File.basename(d) } - ['include']
|
|
24
57
|
end
|
|
25
58
|
|
|
26
59
|
def config
|
data/lib/libv8/node/version.rb
CHANGED
|
@@ -4,7 +4,7 @@ module Libv8
|
|
|
4
4
|
end
|
|
5
5
|
|
|
6
6
|
module Libv8::Node
|
|
7
|
-
VERSION = '24.
|
|
8
|
-
NODE_VERSION = '24.
|
|
9
|
-
LIBV8_VERSION = '13.6.233.
|
|
7
|
+
VERSION = '24.12.0.1'
|
|
8
|
+
NODE_VERSION = '24.12.0'
|
|
9
|
+
LIBV8_VERSION = '13.6.233.17' # from src/node-.../deps/v8/include/v8-version.h
|
|
10
10
|
end
|
data/lib/libv8/node.rb
CHANGED
data/lib/libv8-node.rb
CHANGED
|
@@ -488,9 +488,16 @@ V8_INLINE void PersistentBase<T>::SetWeak(
|
|
|
488
488
|
#if (__GNUC__ >= 8) && !defined(__clang__)
|
|
489
489
|
#pragma GCC diagnostic push
|
|
490
490
|
#pragma GCC diagnostic ignored "-Wcast-function-type"
|
|
491
|
+
#endif
|
|
492
|
+
#if __clang__
|
|
493
|
+
#pragma clang diagnostic push
|
|
494
|
+
#pragma clang diagnostic ignored "-Wcast-function-type"
|
|
491
495
|
#endif
|
|
492
496
|
api_internal::MakeWeak(this->slot(), parameter,
|
|
493
497
|
reinterpret_cast<Callback>(callback), type);
|
|
498
|
+
#if __clang__
|
|
499
|
+
#pragma clang diagnostic pop
|
|
500
|
+
#endif
|
|
494
501
|
#if (__GNUC__ >= 8) && !defined(__clang__)
|
|
495
502
|
#pragma GCC diagnostic pop
|
|
496
503
|
#endif
|
|
@@ -819,6 +819,8 @@ class V8_EXPORT Symbol : public Name {
|
|
|
819
819
|
static Local<Symbol> GetToPrimitive(Isolate* isolate);
|
|
820
820
|
static Local<Symbol> GetToStringTag(Isolate* isolate);
|
|
821
821
|
static Local<Symbol> GetUnscopables(Isolate* isolate);
|
|
822
|
+
static Local<Symbol> GetDispose(Isolate* isolate);
|
|
823
|
+
static Local<Symbol> GetAsyncDispose(Isolate* isolate);
|
|
822
824
|
|
|
823
825
|
V8_INLINE static Symbol* Cast(Data* data) {
|
|
824
826
|
#ifdef V8_ENABLE_CHECKS
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
#define V8_MAJOR_VERSION 13
|
|
12
12
|
#define V8_MINOR_VERSION 6
|
|
13
13
|
#define V8_BUILD_NUMBER 233
|
|
14
|
-
#define V8_PATCH_LEVEL
|
|
14
|
+
#define V8_PATCH_LEVEL 17
|
|
15
15
|
|
|
16
16
|
// Use 1 for candidates and 0 otherwise.
|
|
17
17
|
// (Boolean macro values are not supported by all preprocessors.)
|
|
Binary file
|
metadata
CHANGED
|
@@ -1,15 +1,56 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: libv8-node
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 24.
|
|
4
|
+
version: 24.12.0.1
|
|
5
5
|
platform: x86_64-linux-musl
|
|
6
6
|
authors:
|
|
7
7
|
- ''
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: bin
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: base64
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - ">="
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '0'
|
|
19
|
+
type: :development
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - ">="
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: logger
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '0'
|
|
33
|
+
type: :development
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - ">="
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '0'
|
|
40
|
+
- !ruby/object:Gem::Dependency
|
|
41
|
+
name: mutex_m
|
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
|
43
|
+
requirements:
|
|
44
|
+
- - ">="
|
|
45
|
+
- !ruby/object:Gem::Version
|
|
46
|
+
version: '0'
|
|
47
|
+
type: :development
|
|
48
|
+
prerelease: false
|
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
50
|
+
requirements:
|
|
51
|
+
- - ">="
|
|
52
|
+
- !ruby/object:Gem::Version
|
|
53
|
+
version: '0'
|
|
13
54
|
- !ruby/object:Gem::Dependency
|
|
14
55
|
name: rake
|
|
15
56
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -28,16 +69,16 @@ dependencies:
|
|
|
28
69
|
name: rubocop
|
|
29
70
|
requirement: !ruby/object:Gem::Requirement
|
|
30
71
|
requirements:
|
|
31
|
-
- - "
|
|
72
|
+
- - ">="
|
|
32
73
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: 1.
|
|
74
|
+
version: 1.8.0
|
|
34
75
|
type: :development
|
|
35
76
|
prerelease: false
|
|
36
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
78
|
requirements:
|
|
38
|
-
- - "
|
|
79
|
+
- - ">="
|
|
39
80
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: 1.
|
|
81
|
+
version: 1.8.0
|
|
41
82
|
description: Node.JS's V8 JavaScript engine for multiplatform goodness
|
|
42
83
|
email:
|
|
43
84
|
- ''
|
|
@@ -165,8 +206,8 @@ files:
|
|
|
165
206
|
homepage: https://github.com/rubyjs/libv8-node
|
|
166
207
|
licenses:
|
|
167
208
|
- MIT
|
|
168
|
-
metadata:
|
|
169
|
-
|
|
209
|
+
metadata:
|
|
210
|
+
rubygems_mfa_required: 'true'
|
|
170
211
|
rdoc_options: []
|
|
171
212
|
require_paths:
|
|
172
213
|
- lib
|
|
@@ -182,8 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
182
223
|
- !ruby/object:Gem::Version
|
|
183
224
|
version: '0'
|
|
184
225
|
requirements: []
|
|
185
|
-
rubygems_version:
|
|
186
|
-
signing_key:
|
|
226
|
+
rubygems_version: 4.0.3
|
|
187
227
|
specification_version: 4
|
|
188
228
|
summary: Node.JS's V8 JavaScript engine
|
|
189
229
|
test_files: []
|