@wise/dynamic-flow-client 3.30.0 → 3.30.1

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/build/main.js CHANGED
@@ -7755,7 +7755,7 @@ var getBelowMinimumDateCheck = ({ minimum }, messageFunctions) => (value) => {
7755
7755
  return null;
7756
7756
  };
7757
7757
  var getNotAdheringToPatternCheck = ({ pattern }, messageFunctions) => (value) => {
7758
- if (isString(pattern) && isString(value) && !new RegExp(pattern, "u").test(value)) {
7758
+ if (isString(pattern) && isString(value) && !new RegExp(pattern).test(value)) {
7759
7759
  return messageFunctions.pattern();
7760
7760
  }
7761
7761
  return null;
@@ -14650,7 +14650,7 @@ function isValidPattern(value, pattern) {
14650
14650
  if (value === void 0 || value === null) {
14651
14651
  return false;
14652
14652
  }
14653
- const regex = new RegExp(pattern, "u");
14653
+ const regex = new RegExp(pattern);
14654
14654
  return Boolean(regex.test(value));
14655
14655
  }
14656
14656
  function isValidMaximum(value, maximum) {