Skip to content

Commit be8552b

Browse files
authored
Bump minimum expensify-common version (#612)
1 parent a0ee51e commit be8552b

File tree

6 files changed

+28
-19
lines changed

6 files changed

+28
-19
lines changed

example/ios/Podfile.lock

+5-5
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,7 @@ PODS:
15091509
- React-logger (= 0.76.3)
15101510
- React-perflogger (= 0.76.3)
15111511
- React-utils (= 0.76.3)
1512-
- RNLiveMarkdown (0.1.218):
1512+
- RNLiveMarkdown (0.1.229):
15131513
- DoubleConversion
15141514
- glog
15151515
- hermes-engine
@@ -1529,10 +1529,10 @@ PODS:
15291529
- ReactCodegen
15301530
- ReactCommon/turbomodule/bridging
15311531
- ReactCommon/turbomodule/core
1532-
- RNLiveMarkdown/newarch (= 0.1.218)
1532+
- RNLiveMarkdown/newarch (= 0.1.229)
15331533
- RNReanimated/worklets
15341534
- Yoga
1535-
- RNLiveMarkdown/newarch (0.1.218):
1535+
- RNLiveMarkdown/newarch (0.1.229):
15361536
- DoubleConversion
15371537
- glog
15381538
- hermes-engine
@@ -1913,10 +1913,10 @@ SPEC CHECKSUMS:
19131913
React-utils: 2bcaf4f4dfe361344bce2fae428603d518488630
19141914
ReactCodegen: 3a85e3cb68c92f16b2ffcf192e30364d78f8ccb9
19151915
ReactCommon: 89c87b343deacc8610b099ac764848f0ce937e3e
1916-
RNLiveMarkdown: cc674559a93c1f503ed6aac341a66346f05ef153
1916+
RNLiveMarkdown: 11cf762d7ab0c9535f0a66e5b2dbd7faeda35a45
19171917
RNReanimated: 97d6090ccdf33859f28cc6d394fb4fd799e75d29
19181918
SocketRocket: d4aabe649be1e368d1318fdf28a022d714d65748
1919-
Yoga: f6dc1b6029519815d5516a1241821c6a9074af6d
1919+
Yoga: 3deb2471faa9916c8a82dda2a22d3fba2620ad37
19201920

19211921
PODFILE CHECKSUM: 9b81b0f7bfba9e6fb4fa10efe8319f7860794e08
19221922

example/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"start": "react-native start"
1010
},
1111
"dependencies": {
12-
"expensify-common": "2.0.108",
12+
"expensify-common": "2.0.115",
1313
"react": "18.3.1",
1414
"react-native": "0.76.3",
1515
"react-native-reanimated": "3.16.4"

package-lock.json

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

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"eslint-plugin-prettier": "^4.0.0",
8888
"eslint-plugin-promise": "^6.1.1",
8989
"eslint-plugin-tsdoc": "^0.2.17",
90-
"expensify-common": "2.0.108",
90+
"expensify-common": "2.0.115",
9191
"jest": "^29.6.3",
9292
"jest-environment-jsdom": "^29.7.0",
9393
"nodemon": "^3.1.3",
@@ -103,7 +103,7 @@
103103
"typescript": "~5.3.3"
104104
},
105105
"peerDependencies": {
106-
"expensify-common": ">=2.0.108",
106+
"expensify-common": ">=2.0.115",
107107
"react": "*",
108108
"react-native": "*",
109109
"react-native-reanimated": ">=3.16.4"

src/__tests__/parseExpensiMark.test.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,8 @@ describe('trailing whitespace', () => {
371371

372372
test('with whitespace between syntax', () => {
373373
expect('> > > Hello world').toBeParsedAs([
374-
{type: 'blockquote', start: 0, length: 17, depth: 3},
374+
{type: 'blockquote', start: 0, length: 17},
375375
{type: 'syntax', start: 0, length: 1},
376-
{type: 'syntax', start: 2, length: 1},
377-
{type: 'syntax', start: 4, length: 1},
378376
]);
379377
});
380378

src/__tests__/webParser.test.tsx

+8-2
Original file line numberDiff line numberDiff line change
@@ -205,9 +205,15 @@ test('separate blockquotes', () => {
205205
);
206206
});
207207

208-
test('nested blockquotes', () => {
208+
test('blockquote with whitespace between syntaxes', () => {
209209
expect('> > > > Lorem ipsum dolor sit amet').toBeParsedAsHTML(
210-
'<p data-type="line" data-id="0"><span data-type="blockquote" data-id="0,0"><span data-type="blockquote" data-id="0,0,0"><span data-type="blockquote" data-id="0,0,0,0"><span data-type="blockquote" data-id="0,0,0,0,0"><span data-type="syntax" data-id="0,0,0,0,0,0"><span data-type="text" data-id="0,0,0,0,0,0,0">&gt;</span></span><span data-type="text" data-id="0,0,0,0,0,1"> </span><span data-type="syntax" data-id="0,0,0,0,0,2"><span data-type="text" data-id="0,0,0,0,0,2,0">&gt;</span></span><span data-type="text" data-id="0,0,0,0,0,3"> </span><span data-type="syntax" data-id="0,0,0,0,0,4"><span data-type="text" data-id="0,0,0,0,0,4,0">&gt;</span></span><span data-type="text" data-id="0,0,0,0,0,5"> </span><span data-type="syntax" data-id="0,0,0,0,0,6"><span data-type="text" data-id="0,0,0,0,0,6,0">&gt;</span></span><span data-type="text" data-id="0,0,0,0,0,7"> Lorem ipsum dolor sit amet</span></span></span></span></span></p>',
210+
'<p data-type="line" data-id="0"><span data-type="blockquote" data-id="0,0"><span data-type="syntax" data-id="0,0,0"><span data-type="text" data-id="0,0,0,0">&gt;</span></span><span data-type="text" data-id="0,0,1"> &gt; &gt; &gt; Lorem ipsum dolor sit amet</span></span></p>',
211+
);
212+
});
213+
214+
test('nested blockquotes', () => {
215+
expect('>>>> Lorem ipsum dolor sit amet').toBeParsedAsHTML(
216+
'<p data-type="line" data-id="0"><span data-type="blockquote" data-id="0,0"><span data-type="blockquote" data-id="0,0,0"><span data-type="blockquote" data-id="0,0,0,0"><span data-type="syntax" data-id="0,0,0,0,0"><span data-type="text" data-id="0,0,0,0,0,0">&gt;</span></span><span data-type="syntax" data-id="0,0,0,0,1"><span data-type="text" data-id="0,0,0,0,1,0">&gt;</span></span><span data-type="syntax" data-id="0,0,0,0,2"><span data-type="text" data-id="0,0,0,0,2,0">&gt;</span></span><span data-type="text" data-id="0,0,0,0,3">&gt; Lorem ipsum dolor sit amet</span></span></span></span></p>',
211217
);
212218
});
213219

0 commit comments

Comments
 (0)