@taiga-ui/addon-doc 2.49.2 → 2.50.2

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.
@@ -702,6 +702,7 @@
702
702
  return inspectObject(data, depth);
703
703
  }
704
704
 
705
+ /* eslint-disable unicorn/no-unsafe-regex */
705
706
  function coerceValue(value) {
706
707
  var prepared = String(value).trim();
707
708
  if (isEmptyParamValue(prepared)) {
@@ -730,6 +731,7 @@
730
731
  return value === 'true' || value === 'false';
731
732
  }
732
733
  function isNumberParamValue(value) {
734
+ // TODO: investigate to disallow potentially catastrophic exponential-time regular expressions.
733
735
  return /^-?[\d.]+(?:e-?\d+)?$/.test(value);
734
736
  }
735
737
  function isPossibleArray(value) {