@expensify/react-native-live-markdown 0.1.325 → 0.1.327

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/README.md CHANGED
@@ -193,27 +193,27 @@ Currently, `react-native-live-markdown` supports only [ExpensiMark](https://gith
193
193
 
194
194
  ### React Native compatibility
195
195
 
196
- | | 0.73 | 0.74 | 0.75 | 0.76 | 0.77 | 0.78 | 0.79 | 0.80 | 0.81 | 0.82 | 0.83 |
197
- |:-----------------:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|
198
- | 0.1.321+ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
199
- | 0.1.304 - 0.1.320 | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ |
200
- | 0.1.297 – 0.1.303 | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ |
201
- | 0.1.260 – 0.1.296 | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
202
- | 0.1.256 – 0.1.259 | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
203
- | 0.1.248 – 0.1.255 | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
204
- | 0.1.235 – 0.1.247 | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
205
- | 0.1.141 – 0.1.234 | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
206
- | 0.1.129 – 0.1.140 | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
207
- | 0.1.122 – 0.1.128 | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
208
- | 0.1.15 – 0.1.121 | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
196
+ | | 0.73 | 0.74 | 0.75 | 0.76 | 0.77 | 0.78 | 0.79 | 0.80 | 0.81 | 0.82 | 0.83 | 0.84 | 0.85 |
197
+ |:-----------------:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:----:|
198
+ | 0.1.321+ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
199
+ | 0.1.304 - 0.1.320 | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ |
200
+ | 0.1.297 – 0.1.303 | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
201
+ | 0.1.260 – 0.1.296 | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
202
+ | 0.1.256 – 0.1.259 | ❌ | ❌ | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
203
+ | 0.1.248 – 0.1.255 | ❌ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
204
+ | 0.1.235 – 0.1.247 | ❌ | ❌ | ✅ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
205
+ | 0.1.141 – 0.1.234 | ❌ | ❌ | ✅ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
206
+ | 0.1.129 – 0.1.140 | ❌ | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
207
+ | 0.1.122 – 0.1.128 | ❌ | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
208
+ | 0.1.15 – 0.1.121 | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ |
209
209
 
210
210
 
211
211
  ### `react-native-worklets` compatibility
212
212
 
213
- | | 0.6.x | 0.7.x |
214
- |:-----------------:|:-----:|:-----:|
215
- | 0.1.321+ | ❌ | ✅ |
216
- | 0.1.308 – 0.1.320 | ✅ | ❌ |
213
+ | | 0.6.x | 0.7.x | 0.8.x | 0.9.x |
214
+ |:-----------------:|:-----:|:-----:|:-----:|:-----:|
215
+ | 0.1.321+ | ❌ | ✅ | ✅ | ✅ |
216
+ | 0.1.308 – 0.1.320 | ✅ | ❌ | ❌ | ❌ |
217
217
 
218
218
 
219
219
  ## License
@@ -26,9 +26,9 @@ public:
26
26
  MarkdownTextInputDecoratorShadowNode(ShadowNode const &sourceShadowNode,
27
27
  ShadowNodeFragment const &fragment);
28
28
 
29
- void appendChild(const ShadowNode::Shared &child) override;
29
+ void appendChild(const std::shared_ptr<const ShadowNode> &child) override;
30
30
  void replaceChild(const ShadowNode &oldChild,
31
- const ShadowNode::Shared &newChild,
31
+ const std::shared_ptr<const ShadowNode> &newChild,
32
32
  size_t suggestedIndex = SIZE_MAX) override;
33
33
  void layout(LayoutContext layoutContext) override;
34
34
  Size
@@ -93,14 +93,14 @@ void MarkdownTextInputDecoratorShadowNode::overwriteMeasureCallbackConnector() {
93
93
  }
94
94
 
95
95
  void MarkdownTextInputDecoratorShadowNode::appendChild(
96
- const ShadowNode::Shared &child) {
96
+ const std::shared_ptr<const ShadowNode> &child) {
97
97
  YogaLayoutableShadowNode::appendChild(child);
98
98
 
99
99
  overwriteMeasureCallbackConnector();
100
100
  }
101
101
 
102
102
  void MarkdownTextInputDecoratorShadowNode::replaceChild(
103
- const ShadowNode &oldChild, const ShadowNode::Shared &newChild,
103
+ const ShadowNode &oldChild, const std::shared_ptr<const ShadowNode> &newChild,
104
104
  size_t suggestedIndex) {
105
105
  YogaLayoutableShadowNode::replaceChild(oldChild, newChild, suggestedIndex);
106
106
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expensify/react-native-live-markdown",
3
- "version": "0.1.325",
3
+ "version": "0.1.327",
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",
@@ -64,12 +64,13 @@
64
64
  "@commitlint/config-conventional": "^17.0.2",
65
65
  "@evilmartians/lefthook": "^1.5.0",
66
66
  "@lwc/eslint-plugin-lwc": "^1.7.2",
67
- "@react-native-community/cli": "20.0.0",
68
- "@react-native-community/cli-platform-android": "20.0.0",
69
- "@react-native-community/cli-platform-ios": "20.0.0",
70
- "@react-native/babel-preset": "0.83.1",
71
- "@react-native/eslint-config": "0.83.1",
72
- "@react-native/metro-config": "0.83.1",
67
+ "@react-native-community/cli": "20.1.0",
68
+ "@react-native-community/cli-platform-android": "20.1.0",
69
+ "@react-native-community/cli-platform-ios": "20.1.0",
70
+ "@react-native/babel-preset": "0.85.3",
71
+ "@react-native/eslint-config": "0.85.3",
72
+ "@react-native/eslint-plugin": "^0.85.3",
73
+ "@react-native/metro-config": "0.85.3",
73
74
  "@release-it/conventional-changelog": "^5.0.0",
74
75
  "@types/jest": "^29.5.14",
75
76
  "@types/react": "^19.2.0",
@@ -89,6 +90,7 @@
89
90
  "eslint-plugin-jsx-a11y": "^6.8.0",
90
91
  "eslint-plugin-prettier": "^4.0.0",
91
92
  "eslint-plugin-promise": "^6.1.1",
93
+ "eslint-plugin-react-native": "^5.0.0",
92
94
  "eslint-plugin-tsdoc": "^0.2.17",
93
95
  "expensify-common": "2.0.148",
94
96
  "jest": "^29.6.3",
@@ -96,15 +98,15 @@
96
98
  "nodemon": "^3.1.3",
97
99
  "patch-package": "^8.0.0",
98
100
  "prettier": "2.8.8",
99
- "react": "19.2.0",
100
- "react-dom": "19.2.0",
101
- "react-native": "0.83.1",
101
+ "react": "19.2.3",
102
+ "react-dom": "19.2.3",
103
+ "react-native": "0.85.3",
102
104
  "react-native-builder-bob": "^0.30.2",
103
105
  "react-native-web": "^0.20.0",
106
+ "react-native-worklets": "0.9.1",
104
107
  "release-it": "^15.0.0",
105
108
  "turbo": "^1.10.7",
106
- "typescript": "^5.8.3",
107
- "react-native-worklets": "0.7.2"
109
+ "typescript": "^5.8.3"
108
110
  },
109
111
  "peerDependencies": {
110
112
  "expensify-common": ">=2.0.148",
@@ -112,11 +114,6 @@
112
114
  "react-native": "*",
113
115
  "react-native-worklets": ">=0.7.0"
114
116
  },
115
- "overrides": {
116
- "@expo/webpack-config": {
117
- "expo": "^54.0.32"
118
- }
119
- },
120
117
  "workspaces": [
121
118
  "./example",
122
119
  "./WebExample"