react-native-macos 0.78.3 → 0.78.5

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.
Files changed (80) hide show
  1. package/Libraries/Blob/RCTBlobManager.h +0 -0
  2. package/Libraries/Blob/RCTBlobManager.mm +0 -0
  3. package/Libraries/Components/TextInput/TextInputState.js +5 -1
  4. package/Libraries/Components/Touchable/TouchableWithoutFeedback.js +0 -0
  5. package/Libraries/Core/ReactNativeVersion.js +1 -1
  6. package/Libraries/Inspector/NetworkOverlay.js +1 -1
  7. package/Libraries/Lists/FillRateHelper.js +3 -3
  8. package/Libraries/Lists/FlatList.d.ts +1 -1
  9. package/Libraries/Lists/FlatList.js +2 -2
  10. package/Libraries/Lists/SectionList.d.ts +1 -1
  11. package/Libraries/Lists/SectionList.js +2 -2
  12. package/Libraries/Lists/SectionListModern.js +2 -2
  13. package/Libraries/Lists/ViewabilityHelper.js +3 -3
  14. package/Libraries/Lists/VirtualizeUtils.js +2 -2
  15. package/Libraries/Lists/VirtualizedList.js +3 -3
  16. package/Libraries/Lists/VirtualizedListContext.js +2 -2
  17. package/Libraries/Lists/VirtualizedSectionList.js +3 -3
  18. package/Libraries/Modal/Modal.js +1 -1
  19. package/Libraries/StyleSheet/normalizeColor.js +0 -0
  20. package/Libraries/Text/Text.d.ts +1 -0
  21. package/Libraries/Text/TextInput/Singleline/RCTUITextField.mm +1 -1
  22. package/Libraries/Utilities/ReactNativeTestTools.js +1 -1
  23. package/React/Base/RCTJavaScriptLoader.h +0 -0
  24. package/React/Base/RCTJavaScriptLoader.mm +0 -0
  25. package/React/Base/RCTVersion.m +1 -1
  26. package/React/CoreModules/RCTDevLoadingView.mm +1 -1
  27. package/React/CoreModules/RCTLogBoxView.mm +4 -1
  28. package/React/DevSupport/RCTPausedInDebuggerOverlayController.mm +82 -14
  29. package/React/Views/RCTViewKeyboardEvent.m +24 -0
  30. package/ReactAndroid/gradle.properties +1 -1
  31. package/ReactAndroid/src/main/java/com/facebook/react/modules/systeminfo/ReactNativeVersion.java +1 -1
  32. package/ReactCommon/cxxreact/ReactNativeVersion.h +1 -1
  33. package/local-cli/cli.js +0 -0
  34. package/package.json +5 -4
  35. package/scripts/compose-source-maps.js +0 -0
  36. package/scripts/featureflags/README.md +156 -0
  37. package/scripts/featureflags/index.js +39 -0
  38. package/scripts/ios-configure-glog.sh +0 -0
  39. package/scripts/node-binary.sh +0 -0
  40. package/scripts/packager.sh +0 -0
  41. package/scripts/react-native-xcode.sh +0 -0
  42. package/scripts/react_native_pods_utils/script_phases.sh +0 -0
  43. package/scripts/xcode/ccache-clang++.sh +0 -0
  44. package/scripts/xcode/ccache-clang.sh +0 -0
  45. package/scripts/xcode/with-environment.sh +0 -0
  46. package/types/index.d.ts +1 -1
  47. package/scripts/cocoapods/autolinking.rb +0 -206
  48. package/scripts/cocoapods/autolinking_utils.rb +0 -25
  49. package/scripts/cocoapods/codegen.rb +0 -59
  50. package/scripts/cocoapods/codegen_script_phase_extractor.rb +0 -13
  51. package/scripts/cocoapods/codegen_utils.rb +0 -389
  52. package/scripts/cocoapods/fabric.rb +0 -18
  53. package/scripts/cocoapods/helpers.rb +0 -150
  54. package/scripts/cocoapods/jsengine.rb +0 -33
  55. package/scripts/cocoapods/local_podspec_patch.rb +0 -51
  56. package/scripts/cocoapods/new_architecture.rb +0 -194
  57. package/scripts/cocoapods/privacy_manifest_utils.rb +0 -194
  58. package/scripts/cocoapods/runtime.rb +0 -18
  59. package/scripts/cocoapods/spm.rb +0 -94
  60. package/scripts/cocoapods/utils.rb +0 -724
  61. package/scripts/codegen/codegen-utils.js +0 -51
  62. package/scripts/codegen/generate-artifacts-executor.js +0 -982
  63. package/scripts/codegen/generate-specs-cli-executor.js +0 -128
  64. package/scripts/codegen/templates/RCTAppDependencyProviderH.template +0 -25
  65. package/scripts/codegen/templates/RCTAppDependencyProviderMM.template +0 -55
  66. package/scripts/codegen/templates/RCTModulesConformingToProtocolsProviderH.template +0 -18
  67. package/scripts/codegen/templates/RCTModulesConformingToProtocolsProviderMM.template +0 -33
  68. package/scripts/codegen/templates/RCTThirdPartyComponentsProviderH.template +0 -16
  69. package/scripts/codegen/templates/RCTThirdPartyComponentsProviderMM.template +0 -23
  70. package/scripts/codegen/templates/ReactAppDependencyProvider.podspec.template +0 -34
  71. package/sdks/hermes-engine/hermes-engine.podspec +0 -169
  72. package/sdks/hermes-engine/hermes-utils.rb +0 -289
  73. package/sdks/hermes-engine/utils/build-apple-framework.sh +0 -225
  74. package/sdks/hermes-engine/utils/build-hermes-xcode.sh +0 -100
  75. package/sdks/hermes-engine/utils/build-hermesc-xcode.sh +0 -18
  76. package/sdks/hermes-engine/utils/build-ios-framework.sh +0 -90
  77. package/sdks/hermes-engine/utils/build-mac-framework.sh +0 -22
  78. package/sdks/hermes-engine/utils/copy-hermes-xcode.sh +0 -7
  79. package/sdks/hermes-engine/utils/create-dummy-hermes-xcframework.sh +0 -32
  80. package/sdks/hermes-engine/utils/replace_hermes_version.js +0 -106
@@ -1,51 +0,0 @@
1
- /**
2
- * Copyright (c) Meta Platforms, Inc. and affiliates.
3
- *
4
- * This source code is licensed under the MIT license found in the
5
- * LICENSE file in the root directory of this source tree.
6
- *
7
- * @format
8
- */
9
-
10
- 'use strict';
11
-
12
- /**
13
- * Wrapper required to abstract away from the actual codegen.
14
- * This is needed because, when running tests in Sandcastle, not everything is setup as usually.
15
- * For example, the `@react-native/codegen` lib is not present.
16
- *
17
- * Thanks to this wrapper, we are able to mock the getter for the codegen in a way that allow us to return
18
- * a custom object which mimics the Codegen interface.
19
- *
20
- * @return an object that can generate the code for the New Architecture.
21
- */
22
- function getCodegen() {
23
- let RNCodegen;
24
- try {
25
- RNCodegen = require('../../packages/react-native-codegen/lib/generators/RNCodegen.js');
26
- } catch (e) {
27
- RNCodegen = require('@react-native/codegen/lib/generators/RNCodegen.js');
28
- }
29
- if (!RNCodegen) {
30
- throw 'RNCodegen not found.';
31
- }
32
- return RNCodegen;
33
- }
34
-
35
- function getCombineJSToSchema() {
36
- let combineJSToSchema;
37
- try {
38
- combineJSToSchema = require('../../packages/react-native-codegen/lib/cli/combine/combine-js-to-schema.js');
39
- } catch (e) {
40
- combineJSToSchema = require('@react-native/codegen/lib/cli/combine/combine-js-to-schema.js');
41
- }
42
- if (!combineJSToSchema) {
43
- throw 'combine-js-to-schema not found.';
44
- }
45
- return combineJSToSchema;
46
- }
47
-
48
- module.exports = {
49
- getCodegen: getCodegen,
50
- getCombineJSToSchema: getCombineJSToSchema,
51
- };