@rasifix/orienteering-utils 2.0.51 → 2.0.52

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.
@@ -14,6 +14,7 @@ var PicoeventsFormat = /** @class */ (function () {
14
14
  function PicoeventsFormat() {
15
15
  }
16
16
  PicoeventsFormat.prototype.parse = function (text) {
17
+ console.log("Parsing Picoevents format");
17
18
  // convert CSV to JSON
18
19
  var categories = {};
19
20
  var lines = text.split(/\r?\n/);
@@ -26,7 +27,7 @@ var PicoeventsFormat = /** @class */ (function () {
26
27
  startTime: eventHeader[4],
27
28
  categories: [],
28
29
  };
29
- console.log("Event Header:", eventHeader);
30
+ console.warn("Event Header:", eventHeader);
30
31
  var header = lines.splice(0, 1)[0].split(",");
31
32
  var sortKeyIdx = header.indexOf("[SORTKEY]");
32
33
  var statusIdx = header.indexOf("[IOFRESSTATTEXT]");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rasifix/orienteering-utils",
3
- "version": "2.0.51",
3
+ "version": "2.0.52",
4
4
  "description": "utility functions for orienteering result analyzis",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",