react-native 0.72.8 → 0.72.9
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/Libraries/Core/ReactNativeVersion.js +1 -1
- package/React/Base/RCTVersion.m +1 -1
- package/ReactAndroid/build.gradle +1 -1
- package/ReactAndroid/gradle.properties +1 -1
- package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
- package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
- package/ReactCommon/react/debug/flags.h +2 -0
- package/ReactCommon/react/renderer/core/PropsParserContext.h +5 -0
- package/package.json +1 -1
- package/scripts/cocoapods/__tests__/jsengine-test.rb +0 -2
- package/scripts/cocoapods/helpers.rb +1 -1
- package/scripts/cocoapods/jsengine.rb +1 -5
- package/sdks/hermesc/osx-bin/hermesc +0 -0
- package/sdks/hermesc/win64-bin/hermesc.exe +0 -0
- package/template/package.json +1 -1
- package/third-party-podspecs/boost.podspec +1 -1
package/React/Base/RCTVersion.m
CHANGED
|
@@ -243,7 +243,7 @@ task createNativeDepsDirectories {
|
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
task downloadBoost(dependsOn: createNativeDepsDirectories, type: Download) {
|
|
246
|
-
src("https://
|
|
246
|
+
src("https://archives.boost.io/release/${BOOST_VERSION.replace("_", ".")}/source/boost_${BOOST_VERSION}.tar.gz")
|
|
247
247
|
onlyIfModified(true)
|
|
248
248
|
overwrite(false)
|
|
249
249
|
retries(5)
|
|
@@ -17,6 +17,11 @@ namespace react {
|
|
|
17
17
|
// It should be used as infrequently as possible - most props can and should
|
|
18
18
|
// be parsed without any context.
|
|
19
19
|
struct PropsParserContext {
|
|
20
|
+
PropsParserContext(
|
|
21
|
+
SurfaceId const surfaceId,
|
|
22
|
+
ContextContainer const &contextContainer)
|
|
23
|
+
: surfaceId(surfaceId), contextContainer(contextContainer) {}
|
|
24
|
+
|
|
20
25
|
// Non-copyable
|
|
21
26
|
PropsParserContext(const PropsParserContext &) = delete;
|
|
22
27
|
PropsParserContext &operator=(const PropsParserContext &) = delete;
|
package/package.json
CHANGED
|
@@ -107,7 +107,6 @@ class JSEngineTests < Test::Unit::TestCase
|
|
|
107
107
|
assert_equal($podInvocation["libevent"][:version], "~> 2.1.12")
|
|
108
108
|
hermes_engine_pod_invocation = $podInvocation["hermes-engine"]
|
|
109
109
|
assert_equal(hermes_engine_pod_invocation[:podspec], "../../sdks/hermes-engine/hermes-engine.podspec")
|
|
110
|
-
assert_equal(hermes_engine_pod_invocation[:tag], "")
|
|
111
110
|
end
|
|
112
111
|
|
|
113
112
|
def test_setupHermes_installsPods_installsFabricSubspecWhenFabricEnabled
|
|
@@ -122,7 +121,6 @@ class JSEngineTests < Test::Unit::TestCase
|
|
|
122
121
|
assert_equal($podInvocation["React-jsi"][:path], "../../ReactCommon/jsi")
|
|
123
122
|
hermes_engine_pod_invocation = $podInvocation["hermes-engine"]
|
|
124
123
|
assert_equal(hermes_engine_pod_invocation[:podspec], "../../sdks/hermes-engine/hermes-engine.podspec")
|
|
125
|
-
assert_equal(hermes_engine_pod_invocation[:tag], "")
|
|
126
124
|
assert_equal($podInvocation["React-hermes"][:path], "../../ReactCommon/hermes")
|
|
127
125
|
assert_equal($podInvocation["libevent"][:version], "~> 2.1.12")
|
|
128
126
|
end
|
|
@@ -30,12 +30,8 @@ def setup_hermes!(react_native_path: "../node_modules/react-native", fabric_enab
|
|
|
30
30
|
abort unless prep_status == 0
|
|
31
31
|
|
|
32
32
|
pod 'React-jsi', :path => "#{react_native_path}/ReactCommon/jsi"
|
|
33
|
-
# This `:tag => hermestag` below is only to tell CocoaPods to update hermes-engine when React Native version changes.
|
|
34
|
-
# We have custom logic to compute the source for hermes-engine. See sdks/hermes-engine/*
|
|
35
|
-
hermestag_file = File.join(react_native_dir, "sdks", ".hermesversion")
|
|
36
|
-
hermestag = File.exist?(hermestag_file) ? File.read(hermestag_file).strip : ''
|
|
37
33
|
|
|
38
|
-
pod 'hermes-engine', :podspec => "#{react_native_path}/sdks/hermes-engine/hermes-engine.podspec"
|
|
34
|
+
pod 'hermes-engine', :podspec => "#{react_native_path}/sdks/hermes-engine/hermes-engine.podspec"
|
|
39
35
|
pod 'React-hermes', :path => "#{react_native_path}/ReactCommon/hermes"
|
|
40
36
|
pod 'libevent', '~> 2.1.12'
|
|
41
37
|
end
|
|
Binary file
|
|
Binary file
|
package/template/package.json
CHANGED
|
@@ -10,7 +10,7 @@ Pod::Spec.new do |spec|
|
|
|
10
10
|
spec.homepage = 'http://www.boost.org'
|
|
11
11
|
spec.summary = 'Boost provides free peer-reviewed portable C++ source libraries.'
|
|
12
12
|
spec.authors = 'Rene Rivera'
|
|
13
|
-
spec.source = { :http => 'https://
|
|
13
|
+
spec.source = { :http => 'https://archives.boost.io/release/1.76.0/source/boost_1_76_0.tar.bz2',
|
|
14
14
|
:sha256 => 'f0397ba6e982c4450f27bf32a2a83292aba035b827a5623a14636ea583318c41' }
|
|
15
15
|
|
|
16
16
|
# Pinning to the same version as React.podspec.
|