expensify-common 2.0.37 → 2.0.39
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/dist/ExpensiMark.js +2 -2
- package/package.json +2 -2
package/dist/ExpensiMark.js
CHANGED
|
@@ -541,7 +541,7 @@ class ExpensiMark {
|
|
|
541
541
|
},
|
|
542
542
|
{
|
|
543
543
|
name: 'reportMentions',
|
|
544
|
-
regex: /<mention-report reportID="(\d+)"
|
|
544
|
+
regex: /<mention-report reportID="(\d+)"(?: *\/>|><\/mention-report>)/gi,
|
|
545
545
|
replacement: (extras, _match, g1, _offset, _string) => {
|
|
546
546
|
const reportToNameMap = extras.reportIDToName;
|
|
547
547
|
if (!reportToNameMap || !reportToNameMap[g1]) {
|
|
@@ -553,7 +553,7 @@ class ExpensiMark {
|
|
|
553
553
|
},
|
|
554
554
|
{
|
|
555
555
|
name: 'userMention',
|
|
556
|
-
regex: /(?:<mention-user accountID="(\d+)"
|
|
556
|
+
regex: /(?:<mention-user accountID="(\d+)"(?: *\/>|><\/mention-user>))|(?:<mention-user>(.*?)<\/mention-user>)/gi,
|
|
557
557
|
replacement: (extras, _match, g1, g2, _offset, _string) => {
|
|
558
558
|
var _a, _b;
|
|
559
559
|
if (g1) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "expensify-common",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.39",
|
|
4
4
|
"author": "Expensify, Inc.",
|
|
5
5
|
"description": "Expensify libraries and components shared across different repos",
|
|
6
6
|
"homepage": "https://expensify.com",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"jest": "^29.0.0",
|
|
68
68
|
"jest-environment-jsdom": "^29.7.0",
|
|
69
69
|
"jit-grunt": "^0.10.0",
|
|
70
|
-
"prettier": "^3.3.
|
|
70
|
+
"prettier": "^3.3.2",
|
|
71
71
|
"typescript": "^5.4.5"
|
|
72
72
|
},
|
|
73
73
|
"browserify": {
|