@expensify/react-native-live-markdown 0.1.148 → 0.1.150

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.
@@ -18,20 +18,17 @@ find_package(fbjni REQUIRED CONFIG)
18
18
  find_package(ReactAndroid REQUIRED CONFIG)
19
19
  find_package(hermes-engine REQUIRED CONFIG)
20
20
 
21
+ target_link_libraries(
22
+ ${CMAKE_PROJECT_NAME}
23
+ fbjni::fbjni
24
+ hermes-engine::libhermes
25
+ ReactAndroid::jsi
26
+ )
27
+
21
28
  if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
22
- target_link_libraries(${CMAKE_PROJECT_NAME}
23
- fbjni::fbjni
24
- ReactAndroid::jsi
25
- ReactAndroid::reactnative
26
- hermes-engine::libhermes
27
- )
29
+ target_link_libraries(${CMAKE_PROJECT_NAME} ReactAndroid::reactnative)
28
30
  elseif (ReactAndroid_VERSION_MINOR GREATER_EQUAL 75)
29
- target_link_libraries(${CMAKE_PROJECT_NAME}
30
- fbjni::fbjni
31
- ReactAndroid::jsi
32
- ReactAndroid::reactnativejni
33
- hermes-engine::libhermes
34
- )
31
+ target_link_libraries(${CMAKE_PROJECT_NAME} ReactAndroid::reactnativejni)
35
32
  else ()
36
33
  message(FATAL_ERROR "react-native-live-markdown requires react-native 0.75 or newer.")
37
34
  endif ()
@@ -164,8 +164,6 @@ public class MarkdownUtils {
164
164
  depth);
165
165
  setSpan(ssb, span, start, end);
166
166
  break;
167
- default:
168
- throw new IllegalStateException("Unsupported type: " + type);
169
167
  }
170
168
  }
171
169
 
@@ -34,51 +34,43 @@ target_include_directories(
34
34
  ${LIB_CPP_DIR}
35
35
  )
36
36
 
37
+ find_package(fbjni REQUIRED CONFIG)
37
38
  find_package(ReactAndroid REQUIRED CONFIG)
38
39
 
40
+ target_link_libraries(
41
+ ${LIB_TARGET_NAME}
42
+ fbjni::fbjni
43
+ ReactAndroid::jsi
44
+ )
45
+
39
46
  if (ReactAndroid_VERSION_MINOR GREATER_EQUAL 76)
40
47
  target_link_libraries(
41
48
  ${LIB_TARGET_NAME}
42
49
  ReactAndroid::reactnative
43
- ReactAndroid::jsi
44
- fbjni::fbjni
45
50
  )
46
51
  elseif (ReactAndroid_VERSION_MINOR GREATER_EQUAL 75)
47
52
  target_link_libraries(
48
53
  ${LIB_TARGET_NAME}
49
- ReactAndroid::rrc_text
50
- ReactAndroid::rrc_textinput
51
- ReactAndroid::react_render_textlayoutmanager
54
+ ReactAndroid::fabricjni
55
+ ReactAndroid::folly_runtime
56
+ ReactAndroid::glog
57
+ ReactAndroid::react_debug
58
+ ReactAndroid::react_nativemodule_core
59
+ ReactAndroid::react_performance_timeline
60
+ ReactAndroid::react_render_consistency
61
+ ReactAndroid::react_render_core
62
+ ReactAndroid::react_render_debug
63
+ ReactAndroid::react_render_graphics
52
64
  ReactAndroid::react_render_imagemanager
65
+ ReactAndroid::react_render_mapbuffer
66
+ ReactAndroid::react_render_observers_events
67
+ ReactAndroid::react_render_textlayoutmanager
53
68
  ReactAndroid::reactnativejni
54
- ReactAndroid::mapbufferjni
55
- fabricjni
56
- fbjni
57
- folly_runtime
58
- glog
59
- jsi
60
- react_codegen_rncore
61
- react_debug
62
- react_nativemodule_core
63
- react_render_core
64
- react_render_debug
65
- react_render_graphics
66
- react_render_mapbuffer
67
- ReactAndroid::react_render_uimanager
68
- ReactAndroid::react_render_scheduler
69
- react_utils
70
- runtimeexecutor
71
- rrc_view
72
- turbomodulejsijni
73
- yoga
74
- android
75
- log
76
- mapbufferjni
77
- reactnativejni
78
- react_render_consistency
79
- react_performance_timeline
80
- react_render_observers_events
81
- react_featureflags
69
+ ReactAndroid::rrc_text
70
+ ReactAndroid::rrc_textinput
71
+ ReactAndroid::rrc_view
72
+ ReactAndroid::runtimeexecutor
73
+ ReactAndroid::yoga
82
74
  )
83
75
  else ()
84
76
  message(FATAL_ERROR "react-native-live-markdown requires react-native 0.75 or newer.")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expensify/react-native-live-markdown",
3
- "version": "0.1.148",
3
+ "version": "0.1.150",
4
4
  "description": "Drop-in replacement for React Native's TextInput component with Markdown formatting.",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",