@truedat/dq 5.19.0 → 5.20.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dq",
3
- "version": "5.19.0",
3
+ "version": "5.20.0",
4
4
  "description": "Truedat Web Data Quality Module",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -92,8 +92,8 @@
92
92
  },
93
93
  "dependencies": {
94
94
  "@apollo/client": "^3.7.1",
95
- "@truedat/core": "5.19.0",
96
- "@truedat/df": "5.19.0",
95
+ "@truedat/core": "5.20.0",
96
+ "@truedat/df": "5.20.0",
97
97
  "decode-uri-component": "^0.2.2",
98
98
  "graphql": "^15.5.3",
99
99
  "moment": "^2.29.4",
@@ -118,5 +118,5 @@
118
118
  "react-dom": ">= 16.8.6 < 17",
119
119
  "semantic-ui-react": ">= 2.0.3 < 2.2"
120
120
  },
121
- "gitHead": "df3fcd6655456c3468259d79762800c3c417147d"
121
+ "gitHead": "3981bdf2fff50f0d8c79643c6f423dfdc7f5a57f"
122
122
  }
@@ -142,7 +142,7 @@ export const RuleImplementationRawForm = ({
142
142
 
143
143
  const getBannedWordsAndChars = (text) => {
144
144
  const re =
145
- /\b(DROP|DELETE|DEL|INSERT|UPDATE|CALL|EXEC|EXECUTE|ALTER|CREATE)\b|--/gi;
145
+ /(\b(DROP|DELETE|DEL|INSERT|UPDATE|CALL|EXEC|EXECUTE|ALTER|CREATE)\b|--)(?=(?:[^"]*"[^"]*")*[^"]*$)(?=(?:[^']*'[^']*')*[^']*$)/gi;
146
146
  return text ? text.match(re) : [];
147
147
  };
148
148
  const validInformation = () =>