@jsenv/test 3.7.4 → 3.7.5

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.
@@ -235,10 +235,9 @@ function stripAnsi(string) {
235
235
  return string.replace(regex, '');
236
236
  }
237
237
 
238
- const r = String.raw;
239
- const seq = r`(?:\p{Emoji}\uFE0F\u20E3?|\p{Emoji_Modifier_Base}\p{Emoji_Modifier}?|\p{Emoji_Presentation})`;
240
- const sTags = r`\u{E0061}-\u{E007A}`;
241
- const emojiRegex = () => new RegExp(r`[\u{1F1E6}-\u{1F1FF}]{2}|\u{1F3F4}[${sTags}]{2}[\u{E0030}-\u{E0039}${sTags}]{1,3}\u{E007F}|${seq}(?:\u200D${seq})*`, 'gu');
238
+ const r = String.raw,
239
+ e = r`\p{Emoji}(?:\p{EMod}|[\u{E0020}-\u{E007E}]+\u{E007F}|\uFE0F?\u20E3?)`;
240
+ const emojiRegex = () => new RegExp(r`\p{RI}{2}|(?![#*\d](?!\uFE0F?\u20E3))${e}(?:\u200D${e})*`, 'gu');
242
241
 
243
242
  // Generated code.
244
243
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jsenv/test",
3
- "version": "3.7.4",
3
+ "version": "3.7.5",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -45,8 +45,8 @@
45
45
  },
46
46
  "dependencies": {
47
47
  "@c88/v8-coverage": "0.1.1",
48
- "@jsenv/ast": "6.7.2",
49
- "@jsenv/plugin-supervisor": "1.7.0",
48
+ "@jsenv/ast": "6.7.3",
49
+ "@jsenv/plugin-supervisor": "1.7.1",
50
50
  "@jsenv/sourcemap": "1.3.8",
51
51
  "he": "1.2.0",
52
52
  "istanbul-lib-coverage": "3.2.2",