Skip to content

Commit 1717f7b

Browse files
committed
update react-native-live-markdown to 0.1.207
1 parent 4a9bd7c commit 1717f7b

File tree

5 files changed

+11
-39
lines changed

5 files changed

+11
-39
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,14 +1 @@
1-
import {MarkdownTextInput} from '@expensify/react-native-live-markdown';
2-
import type {parseExpensiMark} from '@expensify/react-native-live-markdown';
3-
4-
global.jsi_setMarkdownRuntime = jest.fn();
5-
global.jsi_registerMarkdownWorklet = jest.fn();
6-
global.jsi_unregisterMarkdownWorklet = jest.fn();
7-
8-
const parseExpensiMarkMock: typeof parseExpensiMark = () => {
9-
'worklet';
10-
11-
return [];
12-
};
13-
14-
export {MarkdownTextInput, parseExpensiMarkMock as parseExpensiMark};
1+
export * from '@expensify/react-native-live-markdown/mock';

__mocks__/react-native.ts

-15
Original file line numberDiff line numberDiff line change
@@ -42,21 +42,6 @@ jest.doMock('react-native', () => {
4242

4343
const reactNativeMock = Object.setPrototypeOf(
4444
{
45-
TurboModuleRegistry: {
46-
...ReactNative.TurboModuleRegistry,
47-
get(name: string) {
48-
if (name === 'LiveMarkdownModule') {
49-
return {install: () => true} as ReactNative.TurboModule;
50-
}
51-
return ReactNative.TurboModuleRegistry.get(name);
52-
},
53-
getEnforcing(name: string) {
54-
if (name === 'LiveMarkdownModule') {
55-
return {install: () => true} as ReactNative.TurboModule;
56-
}
57-
return ReactNative.TurboModuleRegistry.getEnforcing(name);
58-
},
59-
},
6045
NativeModules: {
6146
...ReactNative.NativeModules,
6247
BootSplash: {

ios/Podfile.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -2391,7 +2391,7 @@ PODS:
23912391
- RNGoogleSignin (10.0.1):
23922392
- GoogleSignIn (~> 7.0)
23932393
- React-Core
2394-
- RNLiveMarkdown (0.1.205):
2394+
- RNLiveMarkdown (0.1.207):
23952395
- DoubleConversion
23962396
- glog
23972397
- hermes-engine
@@ -2411,10 +2411,10 @@ PODS:
24112411
- ReactCodegen
24122412
- ReactCommon/turbomodule/bridging
24132413
- ReactCommon/turbomodule/core
2414-
- RNLiveMarkdown/newarch (= 0.1.205)
2414+
- RNLiveMarkdown/newarch (= 0.1.207)
24152415
- RNReanimated/worklets
24162416
- Yoga
2417-
- RNLiveMarkdown/newarch (0.1.205):
2417+
- RNLiveMarkdown/newarch (0.1.207):
24182418
- DoubleConversion
24192419
- glog
24202420
- hermes-engine
@@ -3273,7 +3273,7 @@ SPEC CHECKSUMS:
32733273
RNFS: 4ac0f0ea233904cb798630b3c077808c06931688
32743274
RNGestureHandler: 8781e2529230a1bc3ea8d75e5c3cd071b6c6aed7
32753275
RNGoogleSignin: ccaa4a81582cf713eea562c5dd9dc1961a715fd0
3276-
RNLiveMarkdown: bf0f16b1e8c3320d600a5931d270e19afef9fa92
3276+
RNLiveMarkdown: 8f9d9b32a25969ddb5f59eb92136b73823bbd141
32773277
RNLocalize: d4b8af4e442d4bcca54e68fc687a2129b4d71a81
32783278
rnmapbox-maps: 460d6ff97ae49c7d5708c3212c6521697c36a0c4
32793279
RNPermissions: 0b1429b55af59d1d08b75a8be2459f65a8ac3f28

package-lock.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
},
6969
"dependencies": {
7070
"@dotlottie/react-player": "^1.6.3",
71-
"@expensify/react-native-live-markdown": "0.1.205",
71+
"@expensify/react-native-live-markdown": "0.1.207",
7272
"@expo/metro-runtime": "~3.2.3",
7373
"@firebase/app": "^0.10.10",
7474
"@firebase/performance": "^0.6.8",

0 commit comments

Comments
 (0)