libv8-node 24.1.0.0-x86_64-darwin → 24.12.0.1-x86_64-darwin
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-darwin/libv8/obj/libv8_monolith.a +0 -0
- metadata +51 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0b023a7e8909b716573c6a140b8fc45c1b72c7cb39e2a7db4b42b5a11e25ee64
|
|
4
|
+
data.tar.gz: c7f15422e236413e627759e89cd7f11a1165f9ff9de3d1af5de73f4d78e55cfa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5c4c122a0bbad150863e8f83d315fcb3d4a919dec401435c82979353b3dd3cba2501117d6502d41485357793a46a7c1dd3b8e616e78d4ca8cf8cee5e6fa94d52
|
|
7
|
+
data.tar.gz: 6cf449cb232c6b1b5daf1d575f3a8165af2690bea88f447397232b54e760ea97e7c32465320e529e5af04a7d92ba4217b7e059b9b5efcc0380f9c047d0e9b4ed
|
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,14 +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-darwin
|
|
6
6
|
authors:
|
|
7
7
|
- ''
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
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'
|
|
12
54
|
- !ruby/object:Gem::Dependency
|
|
13
55
|
name: rake
|
|
14
56
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -27,16 +69,16 @@ dependencies:
|
|
|
27
69
|
name: rubocop
|
|
28
70
|
requirement: !ruby/object:Gem::Requirement
|
|
29
71
|
requirements:
|
|
30
|
-
- - "
|
|
72
|
+
- - ">="
|
|
31
73
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 1.
|
|
74
|
+
version: 1.8.0
|
|
33
75
|
type: :development
|
|
34
76
|
prerelease: false
|
|
35
77
|
version_requirements: !ruby/object:Gem::Requirement
|
|
36
78
|
requirements:
|
|
37
|
-
- - "
|
|
79
|
+
- - ">="
|
|
38
80
|
- !ruby/object:Gem::Version
|
|
39
|
-
version: 1.
|
|
81
|
+
version: 1.8.0
|
|
40
82
|
description: Node.JS's V8 JavaScript engine for multiplatform goodness
|
|
41
83
|
email:
|
|
42
84
|
- ''
|
|
@@ -164,7 +206,8 @@ files:
|
|
|
164
206
|
homepage: https://github.com/rubyjs/libv8-node
|
|
165
207
|
licenses:
|
|
166
208
|
- MIT
|
|
167
|
-
metadata:
|
|
209
|
+
metadata:
|
|
210
|
+
rubygems_mfa_required: 'true'
|
|
168
211
|
rdoc_options: []
|
|
169
212
|
require_paths:
|
|
170
213
|
- lib
|
|
@@ -180,7 +223,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
180
223
|
- !ruby/object:Gem::Version
|
|
181
224
|
version: '0'
|
|
182
225
|
requirements: []
|
|
183
|
-
rubygems_version:
|
|
226
|
+
rubygems_version: 4.0.1
|
|
184
227
|
specification_version: 4
|
|
185
228
|
summary: Node.JS's V8 JavaScript engine
|
|
186
229
|
test_files: []
|