expensify-common 2.0.168 → 2.0.170

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.
@@ -390,7 +390,7 @@ class ExpensiMark {
390
390
  */
391
391
  {
392
392
  name: 'shortMentions',
393
- regex: new RegExp(`${Constants.CONST.REG_EXP.PRE_MENTION_TEXT_PART}(@(?=((?=[\\w]+[\\w'#%+-]*(?:\\.[\\w'#%+-]+)*)[\\w\\.'#%+-]{1,64}(?= |_|\\b))(?!([:\\/\\\\]))(?<end>.*))(?!here)\\S{3,254}(?=\\k<end>$))(?!((?:(?!<a).)+)?<\\/a>|[^<]*(<\\/pre>|<\\/code>|<\\/mention-user>|<\\/mention-here>))`, 'gim'),
393
+ regex: new RegExp(`${Constants.CONST.REG_EXP.PRE_MENTION_TEXT_PART}(@(?=((?=[\\w]+[\\w'#%+-]*(?:\\.[\\w'#%+-]+)*)[\\w\\.'#%+-]{1,64}(?= |_|\\b))(?!([:\\/\\\\]))(?<end>.*))(?!here)\\S{1,254}(?=\\k<end>$))(?!((?:(?!<a).)+)?<\\/a>|[^<]*(<\\/pre>|<\\/code>|<\\/mention-user>|<\\/mention-here>))`, 'gim'),
394
394
  replacement: (_extras, match, g1, g2) => {
395
395
  if (!str_1.default.isValidMention(match)) {
396
396
  return match;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expensify-common",
3
- "version": "2.0.168",
3
+ "version": "2.0.170",
4
4
  "author": "Expensify, Inc.",
5
5
  "description": "Expensify libraries and components shared across different repos",
6
6
  "homepage": "https://expensify.com",
@@ -34,7 +34,7 @@
34
34
  "html-entities": "^2.5.2",
35
35
  "jquery": "3.6.0",
36
36
  "localforage": "^1.10.0",
37
- "lodash": "4.17.21",
37
+ "lodash": "4.17.23",
38
38
  "prop-types": "15.8.1",
39
39
  "punycode": "^2.3.1",
40
40
  "react": "16.12.0",
@@ -58,7 +58,7 @@
58
58
  "babel-jest": "^29.0.0",
59
59
  "babelify": "10.0.0",
60
60
  "eslint": "^8.57.1",
61
- "eslint-config-expensify": "^2.0.59",
61
+ "eslint-config-expensify": "^2.0.35",
62
62
  "eslint-config-prettier": "^8.10.0",
63
63
  "eslint-plugin-jest": "^28.8.2",
64
64
  "eslint-plugin-prettier": "^5.2.1",