You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

hermes-engine

Package Overview
Dependencies
Maintainers
5
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hermes-engine - npm Package Compare versions

Comparing version
0.9.0
to
0.10.0
+1
-41
android/include/hermes/Public/RuntimeConfig.h

@@ -17,11 +17,2 @@ /*

#ifdef HERMESVM_SERIALIZE
#include <vector>
namespace llvh {
class MemoryBuffer;
class raw_ostream;
} // namespace llvh
#endif
namespace hermes {

@@ -37,10 +28,6 @@ namespace vm {

class PinnedHermesValue;
#ifdef HERMESVM_SERIALIZE
class Serializer;
class Deserializer;
#endif
// Parameters for Runtime initialisation. Check documentation in README.md
// constexpr indicates that the default value is constexpr.
#define RUNTIME_FIELDS_BASE(F) \
#define RUNTIME_FIELDS(F) \
/* Parameters to be passed on to the GC. */ \

@@ -136,29 +123,2 @@ F(HERMES_NON_CONSTEXPR, vm::GCConfig, GCConfig) \

#ifdef HERMESVM_SERIALIZE
using ExternalPointersVectorFunction = std::vector<void *>();
#define RUNTIME_FIELDS_SD(F) \
/* Should serialize after initialization */ \
F(HERMES_NON_CONSTEXPR, \
std::shared_ptr<llvh::raw_ostream>, \
SerializeAfterInitFile, \
nullptr) \
/* Should deserialize instead of initialization */ \
F(HERMES_NON_CONSTEXPR, \
std::shared_ptr<llvh::MemoryBuffer>, \
DeserializeFile, \
nullptr) \
/* A function to get pointer values not visible to Runtime. e.g. \
* function pointers defined in ConsoleHost*/ \
F(constexpr, \
ExternalPointersVectorFunction *, \
ExternalPointersVectorCallBack, \
nullptr)
#define RUNTIME_FIELDS(F) \
RUNTIME_FIELDS_BASE(F) \
RUNTIME_FIELDS_SD(F)
#else // ifndef HERMESVM_SERIALIZE
#define RUNTIME_FIELDS(F) RUNTIME_FIELDS_BASE(F)
#endif // HERMESVM_SERIALIZE
_HERMES_CTORCONFIG_STRUCT(RuntimeConfig, RUNTIME_FIELDS, {});

@@ -165,0 +125,0 @@

+1
-1
{
"name": "hermes-engine",
"version": "0.9.0",
"version": "0.10.0",
"private": false,

@@ -5,0 +5,0 @@ "description": "A JavaScript engine optimized for running React Native on Android",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet