@shopify/react-native-skia 2.6.3 → 2.6.4
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.
|
@@ -24,12 +24,6 @@ void JsiHostObject::set(jsi::Runtime &rt, const jsi::PropNameID &name,
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
jsi::Value eval(jsi::Runtime &runtime, const std::string &js) {
|
|
28
|
-
return runtime.global()
|
|
29
|
-
.getPropertyAsFunction(runtime, "eval")
|
|
30
|
-
.call(runtime, js);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
27
|
jsi::Value JsiHostObject::get(jsi::Runtime &runtime,
|
|
34
28
|
const jsi::PropNameID &name) {
|
|
35
29
|
auto nameStr = name.utf8(runtime);
|
|
@@ -86,7 +80,11 @@ jsi::Value JsiHostObject::get(jsi::Runtime &runtime,
|
|
|
86
80
|
// Check for dispose symbol as last resort
|
|
87
81
|
static const auto disposeSymbol = jsi::PropNameID::forSymbol(
|
|
88
82
|
runtime,
|
|
89
|
-
|
|
83
|
+
runtime.global()
|
|
84
|
+
.getPropertyAsObject(runtime, "Symbol")
|
|
85
|
+
.getPropertyAsFunction(runtime, "for")
|
|
86
|
+
.call(runtime, "Symbol.dispose")
|
|
87
|
+
.getSymbol(runtime));
|
|
90
88
|
if (jsi::PropNameID::compare(runtime, disposeSymbol, name)) {
|
|
91
89
|
// Recursively call get with "dispose" string
|
|
92
90
|
auto disposeName = jsi::PropNameID::forAscii(runtime, "dispose");
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"setup-skia-web": "scripts/setup-canvaskit.js"
|
|
10
10
|
},
|
|
11
11
|
"title": "React Native Skia",
|
|
12
|
-
"version": "2.6.
|
|
12
|
+
"version": "2.6.4",
|
|
13
13
|
"description": "High-performance React Native Graphics using Skia",
|
|
14
14
|
"main": "lib/module/index.js",
|
|
15
15
|
"react-native": "src/index.ts",
|
|
@@ -116,8 +116,8 @@
|
|
|
116
116
|
"react": "19.0.0",
|
|
117
117
|
"react-native": "0.83.1",
|
|
118
118
|
"react-native-builder-bob": "0.18.2",
|
|
119
|
-
"react-native-reanimated": "
|
|
120
|
-
"react-native-worklets": "
|
|
119
|
+
"react-native-reanimated": "4.3.1",
|
|
120
|
+
"react-native-worklets": "0.8.3",
|
|
121
121
|
"rimraf": "3.0.2",
|
|
122
122
|
"semantic-release": "^24.1.0",
|
|
123
123
|
"semantic-release-yarn": "^3.0.2",
|
|
@@ -65,7 +65,7 @@ Pod::Spec.new do |s|
|
|
|
65
65
|
'GCC_PREPROCESSOR_DEFINITIONS' => preprocessor_defs,
|
|
66
66
|
'CLANG_CXX_LANGUAGE_STANDARD' => 'c++17',
|
|
67
67
|
'DEFINES_MODULE' => 'YES',
|
|
68
|
-
"HEADER_SEARCH_PATHS" => '"$(PODS_TARGET_SRCROOT)/cpp/"/** "$(PODS_TARGET_SRCROOT)/cpp" "$(PODS_TARGET_SRCROOT)/cpp/jsi2" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/api" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/api/descriptors" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/async" "$(PODS_TARGET_SRCROOT)/cpp/dawn/include"'
|
|
68
|
+
"HEADER_SEARCH_PATHS" => '"$(PODS_TARGET_SRCROOT)/cpp/"/** "$(PODS_TARGET_SRCROOT)/cpp" "$(PODS_TARGET_SRCROOT)/cpp/skia" "$(PODS_TARGET_SRCROOT)/cpp/jsi2" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/api" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/api/descriptors" "$(PODS_TARGET_SRCROOT)/cpp/rnwgpu/async" "$(PODS_TARGET_SRCROOT)/cpp/dawn/include"'
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
s.frameworks = ['MetalKit', 'AVFoundation', 'AVKit', 'CoreMedia']
|