@transportme/load-ptv-gtfs 1.4.16 → 1.4.17

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.
@@ -186,6 +186,7 @@ export default class TripLoader {
186
186
  */
187
187
  async loadTrip({ tripID, stops }, processTrip) {
188
188
  let rawTripData = this.#tripDetails[tripID]
189
+ if (!rawTripData) return // Trip appeared in stop_times.txt but not in trips.txt
189
190
  let tripData = await this.generateDBTripData(rawTripData, stops)
190
191
  if (!tripData) return
191
192
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transportme/load-ptv-gtfs",
3
- "version": "1.4.16",
3
+ "version": "1.4.17",
4
4
  "description": "",
5
5
  "main": "index.mjs",
6
6
  "scripts": {