@hestia-earth/schema-convert 7.5.1 → 7.5.2

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.
Files changed (2) hide show
  1. package/csv.js +1 -1
  2. package/package.json +1 -1
package/csv.js CHANGED
@@ -117,7 +117,7 @@ exports.toCsv = function (nodes, includeExising, useBrackets, selectedHeaders) {
117
117
  var _a = __read(header.split('.')), type = _a[0], rest = _a.slice(1);
118
118
  var ntype = node.type || node['@type'];
119
119
  var value = typeToColumnName(ntype) === type ? get(node, rest.join('.'), noValue) : noValue;
120
- return Array.isArray(value) ? value.join(';') : escapeField(value);
120
+ return Array.isArray(value) ? escapeField(value.join(';')) : escapeField(value);
121
121
  }).join(exports.csvColSep);
122
122
  }).join('\n')
123
123
  ].join('\n');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/schema-convert",
3
- "version": "7.5.1",
3
+ "version": "7.5.2",
4
4
  "description": "Hestia Schema Converters",
5
5
  "main": "index.js",
6
6
  "typings": "index.d.ts",