@amazon-devices/react-native-worklets 1.0.0 → 1.0.2
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.
- package/Common/cpp/worklets/Registries/EventHandlerRegistry.h +5 -3
- package/Common/cpp/worklets/RunLoop/AsyncQueueImpl.cpp +5 -6
- package/Common/cpp/worklets/RunLoop/EventLoop.cpp +6 -6
- package/Common/cpp/worklets/SharedItems/Serializable.h +9 -8
- package/Common/cpp/worklets/Tools/JSISerializer.h +4 -4
- package/Common/cpp/worklets/Tools/JSScheduler.h +5 -3
- package/Common/cpp/worklets/Tools/SingleInstanceChecker.h +3 -2
- package/Common/cpp/worklets/Tools/UIScheduler.h +4 -4
- package/Common/cpp/worklets/Tools/VersionUtils.h +1 -4
- package/Common/cpp/worklets/Tools/WorkletsSystraceSection.h +0 -25
- package/SystemModules/amzn__react-native-worklets-1.private.modules.txt +57 -33
- package/kepler-compatibility.json +3 -1
- package/lib/module/index.js +0 -25
- package/oss-attribution/attribution.txt +2262 -0
- package/oss-attribution/licenseInfos.json +585 -0
- package/package.json +1 -153
- package/src/index.ts +0 -52
- package/SystemBundles/cc12deac6e91c435b76698c8445aed85612f2f88e733218d14f88a35d06fb0f4.bundle +0 -10512
- package/SystemBundles/cc12deac6e91c435b76698c8445aed85612f2f88e733218d14f88a35d06fb0f4.map +0 -3771
- package/bundleMode/index.js +0 -59
- package/lib/module/PlatformChecker/PlatformChecker.js +0 -8
- package/lib/module/PlatformChecker/index.js +0 -18
- package/lib/module/WorkletsError.js +0 -29
- package/lib/module/WorkletsModule/JSWorklets.js +0 -111
- package/lib/module/WorkletsModule/NativeWorklets.js +0 -126
- package/lib/module/WorkletsModule/index.js +0 -4
- package/lib/module/WorkletsModule/workletsModuleInstance.js +0 -7
- package/lib/module/WorkletsModule/workletsModuleInstance.web.js +0 -5
- package/lib/module/WorkletsModule/workletsModuleProxy.js +0 -4
- package/lib/module/bundleUnpacker.js +0 -47
- package/lib/module/callGuard.js +0 -30
- package/lib/module/deprecated.js +0 -20
- package/lib/module/errors.js +0 -69
- package/lib/module/featureFlags/index.js +0 -48
- package/lib/module/initializers.js +0 -221
- package/lib/module/isSynchronizable.js +0 -6
- package/lib/module/logger.js +0 -15
- package/lib/module/privateGlobals.d.js +0 -7
- package/lib/module/publicGlobals.js +0 -6
- package/lib/module/runLoop/common/setImmediatePolyfill.js +0 -15
- package/lib/module/runLoop/common/setIntervalPolyfill.js +0 -26
- package/lib/module/runLoop/uiRuntime/mockedRequestAnimationFrame.js +0 -10
- package/lib/module/runLoop/uiRuntime/requestAnimationFrame.js +0 -52
- package/lib/module/runLoop/uiRuntime/setTimeoutPolyfill.js +0 -32
- package/lib/module/runLoop/workletRuntime/index.js +0 -19
- package/lib/module/runLoop/workletRuntime/queueMicrotask.js +0 -11
- package/lib/module/runLoop/workletRuntime/requestAnimationFramePolyfill.js +0 -48
- package/lib/module/runLoop/workletRuntime/setTimeout.js +0 -28
- package/lib/module/runLoop/workletRuntime/taskQueue.js +0 -37
- package/lib/module/runtimeKind.js +0 -39
- package/lib/module/runtimes.js +0 -100
- package/lib/module/serializable.js +0 -568
- package/lib/module/serializableMappingCache.js +0 -37
- package/lib/module/specs/NativeWorkletsModule.js +0 -5
- package/lib/module/specs/NativeWorkletsModule.kepler.js +0 -7
- package/lib/module/specs/index.js +0 -10
- package/lib/module/synchronizable.js +0 -9
- package/lib/module/synchronizableUnpacker.js +0 -42
- package/lib/module/threads.js +0 -347
- package/lib/module/utils/checkCppVersion.js +0 -30
- package/lib/module/utils/jsVersion.js +0 -9
- package/lib/module/valueUnpacker.js +0 -60
- package/lib/module/workletFunction.js +0 -37
- package/lib/module/workletRuntimeEntry.js +0 -32
- package/lib/module/workletTypes.js +0 -12
- package/scripts/validate-react-native-version.js +0 -43
- package/src/PlatformChecker/PlatformChecker.ts +0 -7
- package/src/PlatformChecker/index.ts +0 -30
- package/src/WorkletsError.ts +0 -36
- package/src/WorkletsModule/JSWorklets.ts +0 -200
- package/src/WorkletsModule/NativeWorklets.ts +0 -256
- package/src/WorkletsModule/index.ts +0 -7
- package/src/WorkletsModule/workletsModuleInstance.ts +0 -9
- package/src/WorkletsModule/workletsModuleInstance.web.ts +0 -5
- package/src/WorkletsModule/workletsModuleProxy.ts +0 -126
- package/src/bundleUnpacker.ts +0 -75
- package/src/callGuard.ts +0 -33
- package/src/deprecated.ts +0 -32
- package/src/errors.ts +0 -80
- package/src/featureFlags/index.ts +0 -72
- package/src/initializers.ts +0 -262
- package/src/isSynchronizable.ts +0 -13
- package/src/logger.ts +0 -16
- package/src/publicGlobals.ts +0 -39
- package/src/runLoop/common/setImmediatePolyfill.ts +0 -20
- package/src/runLoop/common/setIntervalPolyfill.ts +0 -38
- package/src/runLoop/uiRuntime/mockedRequestAnimationFrame.ts +0 -11
- package/src/runLoop/uiRuntime/requestAnimationFrame.ts +0 -66
- package/src/runLoop/uiRuntime/setTimeoutPolyfill.ts +0 -40
- package/src/runLoop/workletRuntime/index.ts +0 -18
- package/src/runLoop/workletRuntime/queueMicrotask.ts +0 -13
- package/src/runLoop/workletRuntime/requestAnimationFramePolyfill.ts +0 -61
- package/src/runLoop/workletRuntime/setTimeout.ts +0 -37
- package/src/runLoop/workletRuntime/taskQueue.ts +0 -44
- package/src/runtimeKind.ts +0 -37
- package/src/runtimes.ts +0 -193
- package/src/serializable.ts +0 -801
- package/src/serializableMappingCache.ts +0 -42
- package/src/specs/NativeWorkletsModule.kepler.ts +0 -11
- package/src/specs/NativeWorkletsModule.ts +0 -9
- package/src/specs/index.ts +0 -13
- package/src/synchronizable.ts +0 -32
- package/src/synchronizableUnpacker.ts +0 -67
- package/src/threads.ts +0 -452
- package/src/utils/checkCppVersion.ts +0 -34
- package/src/utils/jsVersion.ts +0 -7
- package/src/valueUnpacker.ts +0 -90
- package/src/workletFunction.ts +0 -42
- package/src/workletRuntimeEntry.ts +0 -35
- package/src/workletTypes.ts +0 -81
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
|
|
3
|
-
#include <keplerui-083/keplerscript-export.h>
|
|
4
|
-
|
|
5
3
|
#include <worklets/WorkletRuntime/WorkletRuntime.h>
|
|
6
4
|
|
|
7
5
|
#include <jsi/jsi.h>
|
|
@@ -13,13 +11,17 @@
|
|
|
13
11
|
#include <unordered_map>
|
|
14
12
|
#include <utility>
|
|
15
13
|
|
|
14
|
+
// amznmod_react - export symbols for reanimated
|
|
15
|
+
#include "react-native-worklets-4_export.h"
|
|
16
|
+
|
|
16
17
|
using namespace facebook;
|
|
17
18
|
|
|
18
19
|
namespace worklets {
|
|
19
20
|
|
|
20
21
|
class WorkletEventHandler;
|
|
21
22
|
|
|
22
|
-
|
|
23
|
+
// amznmod_react - export symbols for reanimated
|
|
24
|
+
class REACT_NATIVE_WORKLETS_4_EXPORT EventHandlerRegistry {
|
|
23
25
|
std::map<
|
|
24
26
|
std::pair<int, std::string>,
|
|
25
27
|
std::unordered_map<uint64_t, std::shared_ptr<WorkletEventHandler>>>
|
|
@@ -8,10 +8,9 @@ namespace worklets {
|
|
|
8
8
|
AsyncQueueImpl::AsyncQueueImpl(std::string name)
|
|
9
9
|
: state_(std::make_shared<AsyncQueueState>()) {
|
|
10
10
|
auto thread = std::thread([name, state = state_] {
|
|
11
|
-
|
|
12
|
-
#if __APPLE__ || defined(VOLTA_DARWIN)
|
|
11
|
+
#if __APPLE__
|
|
13
12
|
pthread_setname_np(name.c_str());
|
|
14
|
-
#endif // __APPLE__
|
|
13
|
+
#endif // __APPLE__
|
|
15
14
|
while (state->running) {
|
|
16
15
|
std::unique_lock<std::mutex> lock(state->mutex);
|
|
17
16
|
state->cv.wait(
|
|
@@ -28,10 +27,10 @@ AsyncQueueImpl::AsyncQueueImpl(std::string name)
|
|
|
28
27
|
job();
|
|
29
28
|
}
|
|
30
29
|
});
|
|
31
|
-
// amzn_mod - exclude
|
|
32
|
-
#if defined(ANDROID) && not defined(
|
|
30
|
+
// amzn_mod - exclude __APPLE__
|
|
31
|
+
#if defined(ANDROID) && not defined(__APPLE__)
|
|
33
32
|
pthread_setname_np(thread.native_handle(), name.c_str());
|
|
34
|
-
#endif // ANDROID && !
|
|
33
|
+
#endif // ANDROID && !__APPLE__
|
|
35
34
|
thread.detach();
|
|
36
35
|
}
|
|
37
36
|
|
|
@@ -28,10 +28,10 @@ void EventLoop::run() {
|
|
|
28
28
|
const auto threadName = name_ + "(timeout)";
|
|
29
29
|
auto thread = std::thread(
|
|
30
30
|
[threadName, state = timeoutsQueueState_, weakThis = weak_from_this()] {
|
|
31
|
-
// amzn_mod - include check for
|
|
32
|
-
#if __APPLE__
|
|
31
|
+
// amzn_mod - include check for Vega aarch64
|
|
32
|
+
#if __APPLE__
|
|
33
33
|
pthread_setname_np(threadName.c_str());
|
|
34
|
-
#endif // __APPLE__
|
|
34
|
+
#endif // __APPLE__
|
|
35
35
|
while (state->running) {
|
|
36
36
|
std::unique_lock<std::mutex> lock(state->mutex);
|
|
37
37
|
|
|
@@ -73,10 +73,10 @@ void EventLoop::run() {
|
|
|
73
73
|
}
|
|
74
74
|
}
|
|
75
75
|
});
|
|
76
|
-
// amzn_mod - exclude
|
|
77
|
-
#if defined(ANDROID) && not defined(
|
|
76
|
+
// amzn_mod - exclude __APPLE__
|
|
77
|
+
#if defined(ANDROID) && not defined(__APPLE__)
|
|
78
78
|
pthread_setname_np(thread.native_handle(), threadName.c_str());
|
|
79
|
-
#endif // ANDROID && !
|
|
79
|
+
#endif // ANDROID && !__APPLE__
|
|
80
80
|
thread.detach();
|
|
81
81
|
}
|
|
82
82
|
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
|
|
3
|
-
// amznmod_react - export symbols for reanimated
|
|
4
|
-
#include <keplerui-083/keplerscript-export.h>
|
|
5
|
-
|
|
6
3
|
#include <worklets/Registries/WorkletRuntimeRegistry.h>
|
|
7
4
|
|
|
8
5
|
#include <jsi/jsi.h>
|
|
@@ -12,6 +9,9 @@
|
|
|
12
9
|
#include <utility>
|
|
13
10
|
#include <vector>
|
|
14
11
|
|
|
12
|
+
// amznmod_react - export symbols for reanimated
|
|
13
|
+
#include "react-native-worklets-4_export.h"
|
|
14
|
+
|
|
15
15
|
using namespace facebook;
|
|
16
16
|
|
|
17
17
|
namespace worklets {
|
|
@@ -20,7 +20,7 @@ jsi::Function getValueUnpacker(jsi::Runtime &rt);
|
|
|
20
20
|
|
|
21
21
|
#ifndef NDEBUG
|
|
22
22
|
// amznmod_react - export symbols for reanimated
|
|
23
|
-
jsi::Function
|
|
23
|
+
jsi::Function REACT_NATIVE_WORKLETS_4_EXPORT getCallGuard(jsi::Runtime &rt);
|
|
24
24
|
#endif // NDEBUG
|
|
25
25
|
|
|
26
26
|
// If possible, please use `WorkletRuntime::runGuarded` instead.
|
|
@@ -67,7 +67,7 @@ inline void cleanupIfRuntimeExists(
|
|
|
67
67
|
}
|
|
68
68
|
|
|
69
69
|
// amznmod_react - export symbols for reanimated
|
|
70
|
-
class
|
|
70
|
+
class REACT_NATIVE_WORKLETS_4_EXPORT Serializable {
|
|
71
71
|
public:
|
|
72
72
|
virtual jsi::Value toJSValue(jsi::Runtime &rt) = 0;
|
|
73
73
|
|
|
@@ -213,7 +213,7 @@ jsi::Value makeSerializableWorklet(
|
|
|
213
213
|
const bool &shouldRetainRemote);
|
|
214
214
|
|
|
215
215
|
// amznmod_react - export symbols for reanimated
|
|
216
|
-
std::shared_ptr<Serializable>
|
|
216
|
+
std::shared_ptr<Serializable> REACT_NATIVE_WORKLETS_4_EXPORT extractSerializableOrThrow(
|
|
217
217
|
jsi::Runtime &rt,
|
|
218
218
|
const jsi::Value &maybeSerializableValue,
|
|
219
219
|
const std::string &errorMessage =
|
|
@@ -244,7 +244,7 @@ class SerializableArray : public Serializable {
|
|
|
244
244
|
};
|
|
245
245
|
|
|
246
246
|
// amznmod_react - export symbols for reanimated
|
|
247
|
-
class
|
|
247
|
+
class REACT_NATIVE_WORKLETS_4_EXPORT SerializableObject : public Serializable {
|
|
248
248
|
public:
|
|
249
249
|
SerializableObject(jsi::Runtime &rt, const jsi::Object &object);
|
|
250
250
|
|
|
@@ -328,7 +328,8 @@ class SerializableArrayBuffer : public Serializable {
|
|
|
328
328
|
const std::vector<uint8_t> data_;
|
|
329
329
|
};
|
|
330
330
|
|
|
331
|
-
|
|
331
|
+
// amznmod_react - export symbols for reanimated
|
|
332
|
+
class REACT_NATIVE_WORKLETS_4_EXPORT SerializableWorklet : public SerializableObject {
|
|
332
333
|
public:
|
|
333
334
|
SerializableWorklet(jsi::Runtime &rt, const jsi::Object &worklet)
|
|
334
335
|
: SerializableObject(rt, worklet) {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
|
|
3
|
-
// amznmod_react - export symbols for reanimated
|
|
4
|
-
#include <keplerui-083/keplerscript-export.h>
|
|
5
|
-
|
|
6
3
|
#include <jsi/jsi.h>
|
|
7
4
|
#include <string>
|
|
8
5
|
#include <vector>
|
|
9
6
|
|
|
7
|
+
// amznmod_react - export symbols for reanimated
|
|
8
|
+
#include "react-native-worklets-4_export.h"
|
|
9
|
+
|
|
10
10
|
using namespace facebook;
|
|
11
11
|
|
|
12
12
|
namespace worklets {
|
|
@@ -46,6 +46,6 @@ class JSISerializer {
|
|
|
46
46
|
};
|
|
47
47
|
|
|
48
48
|
// amznmod_react - export symbols for reanimated
|
|
49
|
-
std::string
|
|
49
|
+
std::string REACT_NATIVE_WORKLETS_4_EXPORT stringifyJSIValue(jsi::Runtime &rt, const jsi::Value &value);
|
|
50
50
|
|
|
51
51
|
} // namespace worklets
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
|
|
3
|
-
#include <keplerui-083/keplerscript-export.h>
|
|
4
|
-
|
|
5
3
|
#include <ReactCommon/CallInvoker.h>
|
|
6
4
|
#include <jsi/jsi.h>
|
|
7
5
|
|
|
8
6
|
#include <memory>
|
|
9
7
|
|
|
8
|
+
// amznmod_react - export symbols for reanimated
|
|
9
|
+
#include "react-native-worklets-4_export.h"
|
|
10
|
+
|
|
10
11
|
using namespace facebook;
|
|
11
12
|
using namespace react;
|
|
12
13
|
|
|
13
14
|
namespace worklets {
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
// amznmod_react - export symbols for reanimated
|
|
17
|
+
class REACT_NATIVE_WORKLETS_4_EXPORT JSScheduler {
|
|
16
18
|
using Job = std::function<void(jsi::Runtime &rt)>;
|
|
17
19
|
|
|
18
20
|
public:
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
|
|
18
18
|
// amzn_mod - use KPLog for logging on Kepler
|
|
19
19
|
#ifdef KEPLER
|
|
20
|
-
#include <
|
|
20
|
+
#include <Kepler/turbomodule/TMLog.h>
|
|
21
|
+
#include <fmt/format.h>
|
|
21
22
|
#endif // KEPLER
|
|
22
23
|
|
|
23
24
|
namespace worklets {
|
|
@@ -40,7 +41,7 @@ class SingleInstanceChecker {
|
|
|
40
41
|
__android_log_print(ANDROID_LOG_WARN, "Worklets", "%s", message.c_str());
|
|
41
42
|
// amzn_mod - add logging on Kepler
|
|
42
43
|
#elif defined(KEPLER)
|
|
43
|
-
|
|
44
|
+
TMWARN(fmt::format("[Worklets] {}", message));
|
|
44
45
|
#else
|
|
45
46
|
std::cerr << "[Worklets] " << message << std::endl;
|
|
46
47
|
#endif
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
|
|
3
|
-
// amznmod_react - export symbols for reanimated
|
|
4
|
-
#include <keplerui-083/keplerscript-export.h>
|
|
5
|
-
|
|
6
3
|
#include <worklets/Tools/ThreadSafeQueue.h>
|
|
7
4
|
|
|
8
5
|
#include <ReactCommon/CallInvoker.h>
|
|
9
6
|
|
|
10
7
|
#include <atomic>
|
|
11
8
|
|
|
9
|
+
// amznmod_react - export symbols for reanimated
|
|
10
|
+
#include "react-native-worklets-4_export.h"
|
|
11
|
+
|
|
12
12
|
namespace worklets {
|
|
13
13
|
|
|
14
14
|
// amznmod_react - export symbols for reanimated
|
|
15
|
-
class
|
|
15
|
+
class REACT_NATIVE_WORKLETS_4_EXPORT UIScheduler {
|
|
16
16
|
public:
|
|
17
17
|
virtual void scheduleOnUI(std::function<void()> job);
|
|
18
18
|
virtual void triggerUI();
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
#pragma once
|
|
2
2
|
|
|
3
|
-
// amznmod_react - export symbols for reanimated
|
|
4
|
-
#include <keplerui-083/keplerscript-export.h>
|
|
5
|
-
|
|
6
3
|
#include <worklets/Tools/JSLogger.h>
|
|
7
4
|
|
|
8
5
|
#include <jsi/jsi.h>
|
|
@@ -17,7 +14,7 @@ namespace worklets {
|
|
|
17
14
|
bool matchVersion(const std::string &version1, const std::string &version2);
|
|
18
15
|
|
|
19
16
|
// amznmod_react - export symbols for reanimated
|
|
20
|
-
void
|
|
17
|
+
void __attribute__((visibility("default"))) checkJSVersion(
|
|
21
18
|
jsi::Runtime &runtime,
|
|
22
19
|
jsi::Value &jsVersionValue,
|
|
23
20
|
const std::shared_ptr<worklets::JSLogger> &jsLogger,
|
|
@@ -13,11 +13,6 @@
|
|
|
13
13
|
#include <sstream>
|
|
14
14
|
#endif // OS_LOG_TARGET_HAS_10_15_FEATURES
|
|
15
15
|
|
|
16
|
-
// amznmod_react - add support for tracing on Vega
|
|
17
|
-
#elif defined(KEPLER)
|
|
18
|
-
|
|
19
|
-
#include <Volta/trace/Tracing.h>
|
|
20
|
-
|
|
21
16
|
#elif defined(ANDROID)
|
|
22
17
|
|
|
23
18
|
#include <android/trace.h>
|
|
@@ -125,26 +120,6 @@ struct WorkletsSystraceSection {
|
|
|
125
120
|
std::string_view name_;
|
|
126
121
|
};
|
|
127
122
|
|
|
128
|
-
// amznmod_react - add support for tracing on Vega
|
|
129
|
-
#elif defined(KEPLER) and defined(WORKLETS_PROFILING) && not defined(VOLTA_DARWIN)
|
|
130
|
-
|
|
131
|
-
struct WorkletsSystraceSection {
|
|
132
|
-
public:
|
|
133
|
-
template <typename... ConvertsToStringPiece>
|
|
134
|
-
explicit WorkletsSystraceSection(
|
|
135
|
-
const char *name,
|
|
136
|
-
ConvertsToStringPiece &&...args) {
|
|
137
|
-
name_ = name;
|
|
138
|
-
VOLTA_TRACE_BEGIN_STR(name_.data());
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
~WorkletsSystraceSection() {
|
|
142
|
-
VOLTA_TRACE_END_STR(name_.data());
|
|
143
|
-
}
|
|
144
|
-
private:
|
|
145
|
-
std::string_view name_;
|
|
146
|
-
};
|
|
147
|
-
|
|
148
123
|
#else
|
|
149
124
|
|
|
150
125
|
struct WorkletsSystraceSection {
|
|
@@ -1,47 +1,68 @@
|
|
|
1
|
-
node_modules/@babel/runtime_7.
|
|
2
|
-
node_modules/@babel/runtime_7.
|
|
3
|
-
node_modules/@babel/runtime_7.
|
|
4
|
-
node_modules/@babel/runtime_7.
|
|
5
|
-
node_modules/@babel/runtime_7.
|
|
6
|
-
node_modules/@babel/runtime_7.
|
|
7
|
-
node_modules/@babel/runtime_7.
|
|
8
|
-
node_modules/@babel/runtime_7.
|
|
9
|
-
node_modules/@babel/runtime_7.
|
|
10
|
-
node_modules/@babel/runtime_7.
|
|
11
|
-
node_modules/@babel/runtime_7.
|
|
12
|
-
node_modules/@babel/runtime_7.
|
|
13
|
-
node_modules/@babel/runtime_7.
|
|
14
|
-
node_modules/@babel/runtime_7.
|
|
15
|
-
node_modules/@babel/runtime_7.
|
|
1
|
+
node_modules/@babel/runtime_7.29.2/helpers/interopRequireDefault.js:d3b57c8ff490ba8c7c47
|
|
2
|
+
node_modules/@babel/runtime_7.29.2/helpers/classCallCheck.js:2bfb5e99807ec81b822f
|
|
3
|
+
node_modules/@babel/runtime_7.29.2/helpers/createClass.js:cc42269051bc9ff17a63
|
|
4
|
+
node_modules/@babel/runtime_7.29.2/helpers/toPropertyKey.js:7519d1b9ea0de500d604
|
|
5
|
+
node_modules/@babel/runtime_7.29.2/helpers/toPrimitive.js:6c47e04d255cdfb1533c
|
|
6
|
+
node_modules/@babel/runtime_7.29.2/helpers/typeof.js:7b6247ce00695d888c36
|
|
7
|
+
node_modules/@babel/runtime_7.29.2/helpers/possibleConstructorReturn.js:80a4a0ee188e065108c9
|
|
8
|
+
node_modules/@babel/runtime_7.29.2/helpers/assertThisInitialized.js:7a9699b26019ae7270f5
|
|
9
|
+
node_modules/@babel/runtime_7.29.2/helpers/getPrototypeOf.js:9c829ff5032996ffdc8e
|
|
10
|
+
node_modules/@babel/runtime_7.29.2/helpers/get.js:659b028086c2c6f074a3
|
|
11
|
+
node_modules/@babel/runtime_7.29.2/helpers/superPropBase.js:263943b885b53437e9e0
|
|
12
|
+
node_modules/@babel/runtime_7.29.2/helpers/inherits.js:3ebfecb28bc5857801a2
|
|
13
|
+
node_modules/@babel/runtime_7.29.2/helpers/setPrototypeOf.js:ea37d1dec222e5845b2b
|
|
14
|
+
node_modules/@babel/runtime_7.29.2/helpers/classPrivateFieldLooseBase.js:8e4a72d63eec1bceb909
|
|
15
|
+
node_modules/@babel/runtime_7.29.2/helpers/classPrivateFieldLooseKey.js:3998b40f87a7681fa397
|
|
16
16
|
node_modules/invariant_2.2.4/browser.js:fd099686726b2dfb6f66
|
|
17
|
-
node_modules/@babel/runtime_7.
|
|
18
|
-
node_modules/@babel/runtime_7.
|
|
19
|
-
node_modules/@babel/runtime_7.
|
|
20
|
-
node_modules/@babel/runtime_7.
|
|
21
|
-
node_modules/@babel/runtime_7.
|
|
22
|
-
node_modules/@babel/runtime_7.
|
|
17
|
+
node_modules/@babel/runtime_7.29.2/helpers/slicedToArray.js:8972a767e9133b0e3a28
|
|
18
|
+
node_modules/@babel/runtime_7.29.2/helpers/arrayWithHoles.js:ee99881fa9643e7bd96f
|
|
19
|
+
node_modules/@babel/runtime_7.29.2/helpers/iterableToArrayLimit.js:1847ec9d510321afd855
|
|
20
|
+
node_modules/@babel/runtime_7.29.2/helpers/unsupportedIterableToArray.js:0c30490eff100ca51d7c
|
|
21
|
+
node_modules/@babel/runtime_7.29.2/helpers/arrayLikeToArray.js:93f664c5afc3b3c0ffb9
|
|
22
|
+
node_modules/@babel/runtime_7.29.2/helpers/nonIterableRest.js:9ef80b625777ecb8d705
|
|
23
23
|
node_modules/@react-native/normalize-colors_0.83.0/index.js:e8e087936fed8afe0814
|
|
24
|
-
node_modules/@babel/runtime_7.
|
|
25
|
-
node_modules/@babel/runtime_7.
|
|
24
|
+
node_modules/@babel/runtime_7.29.2/helpers/objectWithoutProperties.js:54be67f13f7547a51521
|
|
25
|
+
node_modules/@babel/runtime_7.29.2/helpers/objectWithoutPropertiesLoose.js:ae112a2672a8a53f82e5
|
|
26
26
|
node_modules/nullthrows_1.1.1/nullthrows.js:afd4874b36ccd4e13961
|
|
27
27
|
node_modules/@react-native/assets-registry_0.83.0/registry.js:5ff9e23a9ba5a1a1e0ac
|
|
28
28
|
node_modules/@react-native/assets-registry_0.83.0/path-support.js:fb4eb45d6b2fc494317c
|
|
29
|
-
node_modules/@babel/runtime_7.
|
|
30
|
-
node_modules/@babel/runtime_7.
|
|
31
|
-
node_modules/@babel/runtime_7.
|
|
32
|
-
node_modules/@babel/runtime_7.
|
|
29
|
+
node_modules/@babel/runtime_7.29.2/helpers/wrapNativeSuper.js:b510ad86a9e18c7a79b6
|
|
30
|
+
node_modules/@babel/runtime_7.29.2/helpers/isNativeFunction.js:74c2adc9de6e582a35f1
|
|
31
|
+
node_modules/@babel/runtime_7.29.2/helpers/construct.js:d66ad0c399283f558869
|
|
32
|
+
node_modules/@babel/runtime_7.29.2/helpers/isNativeReflectConstruct.js:22840e4117f5dbcb3b06
|
|
33
|
+
node_modules/stacktrace-parser_0.1.11/dist/stack-trace-parser.cjs.js:aa725aa4c0b37e1add33
|
|
34
|
+
node_modules/@babel/runtime_7.29.2/helpers/asyncToGenerator.js:37d2d0df8e62891cc30d
|
|
35
|
+
node_modules/whatwg-fetch_3.6.20/dist/fetch.umd.js:ca4b0363146267ef3e77
|
|
36
|
+
node_modules/ansi-regex_5.0.1/index.js:16b31f7556a8e7c40c9a
|
|
37
|
+
node_modules/pretty-format_29.7.0/build/index.js:bd3ba9e5d3cf1a475d07
|
|
38
|
+
node_modules/ansi-styles_5.2.0/index.js:77100f9843e6dd0146d2
|
|
39
|
+
node_modules/pretty-format_29.7.0/build/plugins/AsymmetricMatcher.js:66b7dbf3fed641cc6cd2
|
|
40
|
+
node_modules/pretty-format_29.7.0/build/collections.js:f66d62924f2f1881f2ab
|
|
41
|
+
node_modules/pretty-format_29.7.0/build/plugins/DOMCollection.js:1736ff8df0a5f23b18b0
|
|
42
|
+
node_modules/pretty-format_29.7.0/build/plugins/DOMElement.js:73a2ff17ac89f176cd1d
|
|
43
|
+
node_modules/pretty-format_29.7.0/build/plugins/lib/markup.js:e88f377b70bf8df28934
|
|
44
|
+
node_modules/pretty-format_29.7.0/build/plugins/lib/escapeHTML.js:01b9438d532563107e66
|
|
45
|
+
node_modules/pretty-format_29.7.0/build/plugins/Immutable.js:8ee2df8a52466ced524b
|
|
46
|
+
node_modules/pretty-format_29.7.0/build/plugins/ReactElement.js:5f3b7fe95785d41bf2ab
|
|
47
|
+
node_modules/react-is_18.3.1/index.js:b1726b9c85b93477a73c
|
|
48
|
+
node_modules/react-is_18.3.1/cjs/react-is.production.min.js:9906658c8006164b55a4
|
|
49
|
+
node_modules/react-is_18.3.1/cjs/react-is.development.js:dfe483c66d895accc7ed
|
|
50
|
+
node_modules/pretty-format_29.7.0/build/plugins/ReactTestComponent.js:7c694f593b368fcecdab
|
|
33
51
|
node_modules/promise_8.3.0/setimmediate/es6-extensions.js:a7846fdeffeb1ebf6241
|
|
34
52
|
node_modules/promise_8.3.0/setimmediate/core.js:890f60fa94d3f6854a19
|
|
35
53
|
node_modules/promise_8.3.0/setimmediate/finally.js:15bc4ccb25fc2d0c4428
|
|
36
|
-
node_modules/
|
|
54
|
+
node_modules/promise_8.3.0/setimmediate/rejection-tracking.js:66d5591a0285019dd111
|
|
55
|
+
node_modules/react-devtools-core_6.1.5/dist/backend.js:c03d0698e1684c274ea3
|
|
37
56
|
node_modules/regenerator-runtime_0.13.11/runtime.js:af823d9710c534173a4d
|
|
38
57
|
node_modules/base64-js_1.5.1/index.js:71af70f51435e3e1b37b
|
|
39
|
-
node_modules/whatwg-fetch_3.6.20/dist/fetch.umd.js:ca4b0363146267ef3e77
|
|
40
58
|
node_modules/abort-controller_3.0.0/dist/abort-controller.js:ea8fcbd647aab1cfcdaa
|
|
41
59
|
node_modules/event-target-shim_5.0.1/dist/event-target-shim.js:2bd3f165b1ed6b916de7
|
|
42
|
-
node_modules/
|
|
43
|
-
node_modules/
|
|
44
|
-
node_modules
|
|
60
|
+
node_modules/metro-runtime_0.83.5/src/modules/HMRClient.js:f0b3d3c19e4f07fc90ed
|
|
61
|
+
node_modules/metro-runtime_0.83.5/src/modules/vendor/eventemitter3.js:b13d70307208af3ba7ca
|
|
62
|
+
node_modules/react-refresh_0.14.2/runtime.js:844fb155bf5dccb999b7
|
|
63
|
+
node_modules/react-refresh_0.14.2/cjs/react-refresh-runtime.production.min.js:9cc93f25dc664b030caf
|
|
64
|
+
node_modules/react-refresh_0.14.2/cjs/react-refresh-runtime.development.js:9d9ef10df6e9f85d4969
|
|
65
|
+
node_modules/@babel/runtime_7.29.2/helpers/readOnlyError.js:b769be1a7481ccdab905
|
|
45
66
|
node_modules/@react-native/virtualized-lists_0.83.0/index.js:a7726730afdc356adbe4
|
|
46
67
|
node_modules/@react-native/virtualized-lists_0.83.0/Lists/VirtualizeUtils.js:d0ff6d3d1f2c9580ab13
|
|
47
68
|
node_modules/@react-native/virtualized-lists_0.83.0/Lists/VirtualizedList.js:8d139349672eea405ffb
|
|
@@ -58,4 +79,7 @@ node_modules/@react-native/virtualized-lists_0.83.0/Lists/VirtualizedListProps.j
|
|
|
58
79
|
node_modules/@react-native/virtualized-lists_0.83.0/Lists/CellRenderMask.js:95aa36c0870d6d5cfdb1
|
|
59
80
|
node_modules/@react-native/virtualized-lists_0.83.0/Lists/VirtualizedSectionList.js:cb8631f113fda0d4a92c
|
|
60
81
|
node_modules/memoize-one_5.2.1/dist/memoize-one.cjs.js:d381691ed29bec5a2050
|
|
61
|
-
node_modules
|
|
82
|
+
node_modules/anser_1.4.10/lib/index.js:2cb4cbe48915b682c776
|
|
83
|
+
node_modules/scheduler_0.27.0/index.native.js:ec9ec59f48073ee6e9f5
|
|
84
|
+
node_modules/scheduler_0.27.0/cjs/scheduler.native.production.js:d8f1930d0c79328207a3
|
|
85
|
+
node_modules/scheduler_0.27.0/cjs/scheduler.native.development.js:e4b48049efbcff2ef026
|
package/lib/module/index.js
CHANGED
|
@@ -1,26 +1 @@
|
|
|
1
|
-
'use strict';
|
|
2
1
|
|
|
3
|
-
import './publicGlobals';
|
|
4
|
-
import { init } from './initializers';
|
|
5
|
-
import { bundleModeInit } from './workletRuntimeEntry';
|
|
6
|
-
init();
|
|
7
|
-
export { isShareableRef, makeShareable, makeShareableCloneOnUIRecursive, makeShareableCloneRecursive, shareableMappingCache } from './deprecated';
|
|
8
|
-
export { getStaticFeatureFlag, setDynamicFeatureFlag } from './featureFlags';
|
|
9
|
-
export { isSynchronizable } from './isSynchronizable';
|
|
10
|
-
export { getRuntimeKind, RuntimeKind } from './runtimeKind';
|
|
11
|
-
export { createWorkletRuntime, runOnRuntime } from './runtimes';
|
|
12
|
-
export { createSerializable, isSerializableRef } from './serializable';
|
|
13
|
-
export { serializableMappingCache } from './serializableMappingCache';
|
|
14
|
-
export { createSynchronizable } from './synchronizable';
|
|
15
|
-
export { callMicrotasks, executeOnUIRuntimeSync, runOnJS, runOnUI, runOnUIAsync, runOnUISync, scheduleOnRN, scheduleOnUI,
|
|
16
|
-
// eslint-disable-next-line camelcase
|
|
17
|
-
unstable_eventLoopTask } from './threads';
|
|
18
|
-
export { isWorkletFunction } from './workletFunction';
|
|
19
|
-
export { WorkletsModule } from './WorkletsModule';
|
|
20
|
-
// @ts-expect-error We must trick the bundler to include
|
|
21
|
-
// the `workletRuntimeEntry` file the way it cannot optimize it out.
|
|
22
|
-
if (globalThis._ALWAYS_FALSE) {
|
|
23
|
-
// Bundle mode.
|
|
24
|
-
bundleModeInit();
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=index.js.map
|