@transportme/load-ptv-gtfs 1.3.9 → 1.3.10

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.
@@ -17,6 +17,8 @@ export default async function setRouteStops(database, directionsMap, onMilestone
17
17
  let stopsByService = {}
18
18
 
19
19
  let count = 0
20
+ let total = allRoutes.length
21
+
20
22
  await async.forEachLimit(allRoutes, 100, async routeGTFSID => {
21
23
  let routeData = await routes.findDocument({ routeGTFSID })
22
24
  let routeVariants = routeData.routePath.map(variant => ({ shapeID: variant.fullGTFSIDs[0], routeGTFSID }))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@transportme/load-ptv-gtfs",
3
- "version": "1.3.9",
3
+ "version": "1.3.10",
4
4
  "description": "",
5
5
  "main": "index.mjs",
6
6
  "scripts": {
@@ -9,8 +9,8 @@
9
9
  "author": "",
10
10
  "license": "ISC",
11
11
  "dependencies": {
12
- "@transportme/database": "^1.0.2",
13
- "@transportme/transportvic-utils": "^1.0.0",
12
+ "@transportme/database": "^1.0.27",
13
+ "@transportme/transportvic-utils": "^1.0.2",
14
14
  "@turf/boolean-point-in-polygon": "^7.1.0",
15
15
  "adm-zip": "^0.5.14",
16
16
  "async": "^3.2.6",
@@ -50,7 +50,7 @@ let shapeLoader = new ShapeLoader(shapeFile, database)
50
50
 
51
51
  await shapeLoader.loadShapes({ shapeIDMap })
52
52
 
53
- await setRouteStops(database, directionIDMap)
53
+ await setRouteStops(database, directionIDMap, () => {})
54
54
 
55
55
  describe('The GTFS Route stop merger', () => {
56
56
  describe('When processing Metro routes', () => {