libv8-node 20.2.0.0-x86_64-darwin → 20.12.1.0-x86_64-darwin
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 +2 -2
- data/vendor/v8/include/v8-cppgc.h +5 -0
- data/vendor/v8/include/v8-object.h +17 -0
- data/vendor/v8/include/v8-profiler.h +10 -0
- data/vendor/v8/include/v8-script.h +3 -4
- data/vendor/v8/x86_64-darwin/libv8/obj/libv8_monolith.a +0 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1234cc139bd0d657a834399f0130fe12d5588041b27130c7503fa5997cee31c8
|
4
|
+
data.tar.gz: 8eaa289e367eefe28924dad118dabf348129c0bc98466abb27187722a02671b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28cb1c107148542812e05c7915f3419b7184c7d5c8fe6c45ee1cbcd634fd22448e7db7757d1dca7425e7bbd7ea7e22f6f5e3f2b10956f24d7a2cc1637322dcdb
|
7
|
+
data.tar.gz: 7c1180e267aef5462f5b645a7c9e358ca893c8590a88d7a55d1e2fa5343ba35e4c3c3bf4f082facbea5f210d618e3974b147e8ffce8878ef7126c77b974081e3
|
data/lib/libv8/node/version.rb
CHANGED
@@ -177,6 +177,11 @@ class V8_EXPORT CppHeap {
|
|
177
177
|
void CollectGarbageInYoungGenerationForTesting(
|
178
178
|
cppgc::EmbedderStackState stack_state);
|
179
179
|
|
180
|
+
/**
|
181
|
+
* \returns the wrapper descriptor of this CppHeap.
|
182
|
+
*/
|
183
|
+
v8::WrapperDescriptor wrapper_descriptor() const;
|
184
|
+
|
180
185
|
private:
|
181
186
|
CppHeap() = default;
|
182
187
|
|
@@ -20,6 +20,8 @@ class Function;
|
|
20
20
|
class FunctionTemplate;
|
21
21
|
template <typename T>
|
22
22
|
class PropertyCallbackInfo;
|
23
|
+
class Module;
|
24
|
+
class UnboundScript;
|
23
25
|
|
24
26
|
/**
|
25
27
|
* A private symbol
|
@@ -480,6 +482,21 @@ class V8_EXPORT Object : public Value {
|
|
480
482
|
/** Sets the value in an internal field. */
|
481
483
|
void SetInternalField(int index, Local<Value> value);
|
482
484
|
|
485
|
+
/**
|
486
|
+
* Warning: These are Node.js-specific extentions used to avoid breaking
|
487
|
+
* changes in Node.js v20.x. They do not exist in V8 upstream and will
|
488
|
+
* not exist in Node.js v21.x. Node.js embedders and addon authors should
|
489
|
+
* not use them from v20.x.
|
490
|
+
*/
|
491
|
+
#ifndef NODE_WANT_INTERNALS
|
492
|
+
V8_DEPRECATED("This extention should only be used by Node.js core")
|
493
|
+
#endif
|
494
|
+
void SetInternalFieldForNodeCore(int index, Local<Module> value);
|
495
|
+
#ifndef NODE_WANT_INTERNALS
|
496
|
+
V8_DEPRECATED("This extention should only be used by Node.js core")
|
497
|
+
#endif
|
498
|
+
void SetInternalFieldForNodeCore(int index, Local<UnboundScript> value);
|
499
|
+
|
483
500
|
/**
|
484
501
|
* Gets a 2-byte-aligned native pointer from an internal field. This field
|
485
502
|
* must have been set by SetAlignedPointerInInternalField, everything else
|
@@ -912,12 +912,22 @@ class V8_EXPORT EmbedderGraph {
|
|
912
912
|
virtual ~EmbedderGraph() = default;
|
913
913
|
};
|
914
914
|
|
915
|
+
class QueryObjectPredicate {
|
916
|
+
public:
|
917
|
+
virtual ~QueryObjectPredicate() = default;
|
918
|
+
virtual bool Filter(v8::Local<v8::Object> object) = 0;
|
919
|
+
};
|
920
|
+
|
915
921
|
/**
|
916
922
|
* Interface for controlling heap profiling. Instance of the
|
917
923
|
* profiler can be retrieved using v8::Isolate::GetHeapProfiler.
|
918
924
|
*/
|
919
925
|
class V8_EXPORT HeapProfiler {
|
920
926
|
public:
|
927
|
+
void QueryObjects(v8::Local<v8::Context> context,
|
928
|
+
QueryObjectPredicate* predicate,
|
929
|
+
std::vector<v8::Global<v8::Object>>* objects);
|
930
|
+
|
921
931
|
enum SamplingFlags {
|
922
932
|
kSamplingNoFlags = 0,
|
923
933
|
kSamplingForceGC = 1 << 0,
|
@@ -142,10 +142,9 @@ class V8_EXPORT ModuleRequest : public Data {
|
|
142
142
|
*
|
143
143
|
* All assertions present in the module request will be supplied in this
|
144
144
|
* list, regardless of whether they are supported by the host. Per
|
145
|
-
* https://tc39.es/proposal-import-
|
146
|
-
* hosts are expected to
|
147
|
-
* opposed to, for example,
|
148
|
-
* present).
|
145
|
+
* https://tc39.es/proposal-import-attributes/#sec-hostgetsupportedimportattributes,
|
146
|
+
* hosts are expected to throw for assertions that they do not support (as
|
147
|
+
* opposed to, for example, ignoring them).
|
149
148
|
*/
|
150
149
|
Local<FixedArray> GetImportAssertions() const;
|
151
150
|
|
Binary file
|
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: 20.
|
4
|
+
version: 20.12.1.0
|
5
5
|
platform: x86_64-darwin
|
6
6
|
authors:
|
7
7
|
- ''
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -177,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '0'
|
179
179
|
requirements: []
|
180
|
-
rubygems_version: 3.
|
180
|
+
rubygems_version: 3.5.6
|
181
181
|
signing_key:
|
182
182
|
specification_version: 4
|
183
183
|
summary: Node.JS's V8 JavaScript engine
|