@esfaenza/extensions 11.2.30 → 11.2.32

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.
@@ -1043,7 +1043,11 @@
1043
1043
  ExportService.prototype.parseAndGetHeaders = function (obj) {
1044
1044
  var headers = [];
1045
1045
  // Miracle incoming
1046
- for (var prop in Object.getOwnPropertyNames(Object.getPrototypeOf(obj))) {
1046
+ var propsDictionary = Object.getOwnPropertyNames(Object.getPrototypeOf(obj));
1047
+ for (var propId in propsDictionary) {
1048
+ if (!propsDictionary.hasOwnProperty(propId))
1049
+ continue;
1050
+ var prop = propsDictionary[propId];
1047
1051
  var toCall = void 0;
1048
1052
  if (prop.endsWith(listCsvHdrPrefix))
1049
1053
  toCall = this.parseList.bind(this);