drapcode-utility 1.6.9 → 1.7.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.
@@ -115,7 +115,11 @@ var cleanXssValuesFromData = function (data, fields) {
115
115
  try {
116
116
  if (fields) {
117
117
  fields.forEach(function (field) {
118
- if ([drapcode_constant_1.FieldTypes.large_text.id, drapcode_constant_1.FieldTypes.markdown.id].includes(field.type))
118
+ if ([
119
+ drapcode_constant_1.FieldTypes.large_text.id,
120
+ drapcode_constant_1.FieldTypes.markdown.id,
121
+ drapcode_constant_1.FieldTypes.file.id,
122
+ ].includes(field.type))
119
123
  exceptionFields.push(field.fieldName);
120
124
  });
121
125
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "drapcode-utility",
3
- "version": "1.6.9",
3
+ "version": "1.7.0",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",