@regulaforensics/ui-components 8.5.717-rc → 8.5.720-rc

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.
@@ -3422,7 +3422,7 @@ function requireIsLength$1() {
3422
3422
  (0, _assertString.default)(str);
3423
3423
  var min2, max;
3424
3424
  _typeof(options) === "object" ? (min2 = options.min || 0, max = options.max) : (min2 = arguments[1] || 0, max = arguments[2]);
3425
- var presentationSequences = str.match(/(\uFE0F|\uFE0E)/g) || [], surrogatePairs = str.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g) || [], len = str.length - presentationSequences.length - surrogatePairs.length, isInsideRange = len >= min2 && (typeof max > "u" || len <= max);
3425
+ var presentationSequences = str.match(/[^\uFE0F\uFE0E][\uFE0F\uFE0E]/g) || [], surrogatePairs = str.match(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g) || [], len = str.length - presentationSequences.length - surrogatePairs.length, isInsideRange = len >= min2 && (typeof max > "u" || len <= max);
3426
3426
  return isInsideRange && Array.isArray(options?.discreteLengths) ? options.discreteLengths.some(function(discreteLen) {
3427
3427
  return discreteLen === len;
3428
3428
  }) : isInsideRange;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/ui-components",
3
- "version": "8.5.717-rc",
3
+ "version": "8.5.720-rc",
4
4
  "description": "Regula UI components",
5
5
  "author": "Regula Forensics, Inc.",
6
6
  "license": "MIT",