Skip to content

Commit d6d0aa4

Browse files
Upgrade expensify-common to 2.0.189 (#759)
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent bcee74d commit d6d0aa4

5 files changed

Lines changed: 84 additions & 37 deletions

File tree

package-lock.json

Lines changed: 78 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"eslint-plugin-promise": "^6.1.1",
9393
"eslint-plugin-react-native": "^5.0.0",
9494
"eslint-plugin-tsdoc": "^0.2.17",
95-
"expensify-common": "2.0.148",
95+
"expensify-common": "2.0.189",
9696
"jest": "^29.6.3",
9797
"jest-environment-jsdom": "^29.7.0",
9898
"nodemon": "^3.1.3",
@@ -109,7 +109,7 @@
109109
"typescript": "^5.8.3"
110110
},
111111
"peerDependencies": {
112-
"expensify-common": ">=2.0.148",
112+
"expensify-common": ">=2.0.189",
113113
"react": "*",
114114
"react-native": "*",
115115
"react-native-worklets": ">=0.7.0"

src/__tests__/parseExpensiMark.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,10 @@ test('no formatting', () => {
3939

4040
describe('parsing error', () => {
4141
expect(`> [exa\nmple.com](https://example.com)`).toBeParsedAs([
42-
{type: 'blockquote', start: 0, length: 37},
42+
{type: 'blockquote', start: 0, length: 6},
4343
{type: 'syntax', start: 0, length: 1},
44-
{type: 'syntax', start: 2, length: 1},
45-
{type: 'syntax', start: 15, length: 2},
44+
{type: 'link', start: 7, length: 8},
4645
{type: 'link', start: 17, length: 19},
47-
{type: 'syntax', start: 36, length: 1},
4846
]);
4947
});
5048

src/parseExpensiMark.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import {Platform} from 'react-native';
44
import {ExpensiMark} from 'expensify-common';
5-
import {unescapeText} from 'expensify-common/dist/utils';
5+
import {unescapeText} from 'expensify-common/utils';
66
import {decode} from 'html-entities';
77
import type {WorkletFunction} from 'react-native-worklets';
88
import {groupRanges, sortRanges, excludeRangeTypesFromFormatting, getRangesToExcludeFormatting} from './rangeUtils';

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"jsx": "react",
1212
"lib": ["esnext", "dom"],
1313
"module": "esnext",
14-
"moduleResolution": "node",
14+
"moduleResolution": "bundler",
1515
"noFallthroughCasesInSwitch": true,
1616
"noImplicitReturns": true,
1717
"noImplicitUseStrict": false,

0 commit comments

Comments
 (0)