@transportme/load-ptv-gtfs 1.4.4 → 1.4.5

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.
@@ -22,8 +22,8 @@ export class GTFSStopTime {
22
22
 
23
23
  this.stopID = stopID
24
24
  this.stopSequence = stopSequence
25
- this.pickup = parseInt(pickup)
26
- this.dropoff = parseInt(dropoff)
25
+ this.pickup = parseInt(pickup) || 0
26
+ this.dropoff = parseInt(dropoff) || 0
27
27
  this.distanceTravelled = distance
28
28
  }
29
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transportme/load-ptv-gtfs",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "",
5
5
  "main": "index.mjs",
6
6
  "scripts": {