@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.mjs CHANGED
@@ -7731,7 +7731,7 @@ var getBelowMinimumDateCheck = ({ minimum }, messageFunctions) => (value) => {
7731
7731
  return null;
7732
7732
  };
7733
7733
  var getNotAdheringToPatternCheck = ({ pattern }, messageFunctions) => (value) => {
7734
- if (isString(pattern) && isString(value) && !new RegExp(pattern, "u").test(value)) {
7734
+ if (isString(pattern) && isString(value) && !new RegExp(pattern).test(value)) {
7735
7735
  return messageFunctions.pattern();
7736
7736
  }
7737
7737
  return null;
@@ -14632,7 +14632,7 @@ function isValidPattern(value, pattern) {
14632
14632
  if (value === void 0 || value === null) {
14633
14633
  return false;
14634
14634
  }
14635
- const regex = new RegExp(pattern, "u");
14635
+ const regex = new RegExp(pattern);
14636
14636
  return Boolean(regex.test(value));
14637
14637
  }
14638
14638
  function isValidMaximum(value, maximum) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wise/dynamic-flow-client",
3
- "version": "3.30.0",
3
+ "version": "3.30.1",
4
4
  "description": "Dynamic Flow web client",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./build/main.min.js",