gtfs 4.15.9 → 4.15.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.
Files changed (2) hide show
  1. package/README.md +13 -15
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -167,8 +167,6 @@ Copy `config-sample.json` to `config.json` and then add your projects configurat
167
167
 
168
168
  For GTFS files that contain more than one agency, you only need to list each GTFS file once in the `agencies` array, not once per agency that it contains.
169
169
 
170
- To find an agency's GTFS file, visit [transitfeeds.com](http://transitfeeds.com).
171
-
172
170
  #### agencies options
173
171
 
174
172
  | option | type | description |
@@ -188,7 +186,7 @@ To find an agency's GTFS file, visit [transitfeeds.com](http://transitfeeds.com)
188
186
  {
189
187
  "agencies": [
190
188
  {
191
- "url": "https://opendata.somewhere.com/gtfs.zip"
189
+ "url": "https://www.bart.gov/dev/schedules/google_transit.zip"
192
190
  }
193
191
  ]
194
192
  }
@@ -200,7 +198,7 @@ To find an agency's GTFS file, visit [transitfeeds.com](http://transitfeeds.com)
200
198
  {
201
199
  "agencies": [
202
200
  {
203
- "url": "https://opendata.somewhere.com/gtfs.zip",
201
+ "url": "https://www.bart.gov/dev/schedules/google_transit.zip",
204
202
  "headers": {
205
203
  "Content-Type": "application/json",
206
204
  "Authorization": "bearer 1234567890"
@@ -253,21 +251,21 @@ To find an agency's GTFS file, visit [transitfeeds.com](http://transitfeeds.com)
253
251
  {
254
252
  "agencies": [
255
253
  {
256
- "url": "https://opendata.somewhere.com/gtfs.zip",
254
+ "url": "https://www.bart.gov/dev/schedules/google_transit.zip",
257
255
  "realtimeAlerts": {
258
- "url": "https://opendata.somewhere.com/gtfs-rt/alerts",
256
+ "url": "https://api.bart.gov/gtfsrt/alerts.aspx",
259
257
  "headers": {
260
258
  "Authorization": "bearer 123456789"
261
259
  }
262
260
  },
263
261
  "realtimeTripUpdates": {
264
- "url": "https://opendata.somewhere.com/gtfs-rt/tripupdates",
262
+ "url": "https://api.bart.gov/gtfsrt/tripupdate.aspx",
265
263
  "headers": {
266
264
  "Authorization": "bearer 123456789"
267
265
  }
268
266
  },
269
267
  "realtimeVehiclePositions": {
270
- "url": "https://opendata.somewhere.com/gtfs-rt/vehiclepositions",
268
+ "url": "https://api.bart.gov/gtfsrt/vehiclepositions.aspx",
271
269
  "headers": {
272
270
  "Authorization": "bearer 123456789"
273
271
  }
@@ -400,15 +398,15 @@ importGtfs({
400
398
  {
401
399
  "agencies": [
402
400
  {
403
- "url": "https://agency.com/gtfs.zip",
401
+ "url": "https://www.bart.gov/dev/schedules/google_transit.zip",
404
402
  "realtimeAlerts": {
405
- "url": "https://opendata.somewhere.com/gtfs-rt/alerts"
403
+ "url": "https://api.bart.gov/gtfsrt/alerts.aspx"
406
404
  },
407
405
  "realtimeTripUpdates": {
408
- "url": "https://opendata.somewhere.com/gtfs-rt/tripupdates"
406
+ "url": "https://api.bart.gov/gtfsrt/tripupdate.aspx"
409
407
  },
410
408
  "realtimeVehiclePositions": {
411
- "url": "https://opendata.somewhere.com/gtfs-rt/vehiclepositions"
409
+ "url": "https://api.bart.gov/gtfsrt/vehiclepositions.aspx"
412
410
  }
413
411
  }
414
412
  ],
@@ -477,7 +475,7 @@ import { importGtfs } from 'gtfs';
477
475
  const config = {
478
476
  agencies: [
479
477
  {
480
- url: 'https://opendata.somewhere.com/gtfs.zip',
478
+ url: 'https://www.bart.gov/dev/schedules/google_transit.zip',
481
479
  exclude: ['shapes'],
482
480
  },
483
481
  ],
@@ -527,7 +525,7 @@ const config = {
527
525
  sqlitePath: '/dev/sqlite/gtfs',
528
526
  agencies: [
529
527
  {
530
- url: 'https://opendata.somewhere.com/gtfs.zip',
528
+ url: 'https://www.bart.gov/dev/schedules/google_transit.zip',
531
529
  exclude: ['shapes'],
532
530
  },
533
531
  ],
@@ -607,7 +605,7 @@ const config = {
607
605
  sqlitePath: '/dev/sqlite/gtfs',
608
606
  agencies: [
609
607
  {
610
- url: 'https://opendata.somewhere.com/gtfs.zip',
608
+ url: 'https://www.bart.gov/dev/schedules/google_transit.zip',
611
609
  exclude: ['shapes'],
612
610
  },
613
611
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtfs",
3
- "version": "4.15.9",
3
+ "version": "4.15.10",
4
4
  "description": "Import GTFS transit data into SQLite and query routes, stops, times, fares and more",
5
5
  "keywords": [
6
6
  "transit",
@@ -123,7 +123,7 @@
123
123
  "@types/pluralize": "^0.0.33",
124
124
  "@types/timer-machine": "^1.1.3",
125
125
  "@types/yargs": "^17.0.33",
126
- "husky": "^9.1.6",
126
+ "husky": "^9.1.7",
127
127
  "jest": "^29.7.0",
128
128
  "lint-staged": "^15.2.10",
129
129
  "prettier": "^3.3.3",