gtfs 4.18.1 → 4.18.3
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.
- package/README.md +5 -1
- package/dist/index.d.ts +11 -5
- package/package.json +16 -17
package/README.md
CHANGED
|
@@ -91,7 +91,7 @@ try {
|
|
|
91
91
|
<td><a href="https://github.com/blinktaginc/gtfs-to-geojson">GTFS-to-geojson</a> creates geoJSON files for transit routes for use in mapping. It uses `node-gtfs` for downloading, importing and querying GTFS data. It provides a good example of how to use this library.</td>
|
|
92
92
|
</tr>
|
|
93
93
|
<tr>
|
|
94
|
-
<td><img src="https://github.com/BlinkTagInc/gtfs-to-chart/raw/
|
|
94
|
+
<td><img src="https://github.com/BlinkTagInc/gtfs-to-chart/raw/main/docs/images/gtfs-to-chart-logo.svg" alt="GTFS-to-Chart" width="200"></td>
|
|
95
95
|
<td><a href="https://github.com/blinktaginc/gtfs-to-chart">GTFS-to-chart</a> generates a stringline chart in D3 for all trips for a specific route using data from an agency's GTFS. It uses `node-gtfs` for downloading, importing and querying GTFS data.</td>
|
|
96
96
|
</tr>
|
|
97
97
|
<tr>
|
|
@@ -106,6 +106,10 @@ try {
|
|
|
106
106
|
<td><img src="https://raw.githubusercontent.com/BlinkTagInc/transit-departures-widget/main/docs/images/transit-departures-widget-logo.svg" alt="Transit Departures Widget" width="200"></td>
|
|
107
107
|
<td><a href="https://github.com/BlinkTagInc/transit-departures-widget">Transit Departures Widget</a> creates a realtime transit departures widget from GTFS and GTFS-Realtime data.</td>
|
|
108
108
|
</tr>
|
|
109
|
+
<tr>
|
|
110
|
+
<td><img src="https://github.com/BlinkTagInc/gtfs-to-blocks/blob/main/docs/images/gtfs-to-blocks-logo.svg" alt="GTFS-to-Blocks" width="200"></td>
|
|
111
|
+
<td><a href="https://github.com/BlinkTagInc/gtfs-to-blocks">GTFS-to-Blocks</a> reads transit data from GTFS and exports all trip segments sorted by block_id and their departure times in CSV format.</td>
|
|
112
|
+
</tr>
|
|
109
113
|
</table>
|
|
110
114
|
|
|
111
115
|
## Command-Line Usage
|
package/dist/index.d.ts
CHANGED
|
@@ -549,11 +549,17 @@ interface RunPiece {
|
|
|
549
549
|
end_trip_position: number | null;
|
|
550
550
|
}
|
|
551
551
|
interface ServiceAlert {
|
|
552
|
-
|
|
552
|
+
id: string;
|
|
553
|
+
cause: string | null;
|
|
554
|
+
effect: string | null;
|
|
555
|
+
url: string | null;
|
|
553
556
|
start_time: string;
|
|
554
557
|
end_time: string;
|
|
555
|
-
|
|
556
|
-
|
|
558
|
+
header_text: string;
|
|
559
|
+
description_text: string;
|
|
560
|
+
tts_header_text: string | null;
|
|
561
|
+
tts_description_text: string | null;
|
|
562
|
+
severity_level: string | null;
|
|
557
563
|
created_timestamp: UnixTimestamp;
|
|
558
564
|
expiration_timestamp: UnixTimestamp;
|
|
559
565
|
}
|
|
@@ -573,7 +579,7 @@ interface StopTimeUpdate {
|
|
|
573
579
|
expiration_timestamp: UnixTimestamp;
|
|
574
580
|
}
|
|
575
581
|
interface TripUpdate {
|
|
576
|
-
|
|
582
|
+
id: string;
|
|
577
583
|
vehicle_id: string | null;
|
|
578
584
|
trip_id: string | null;
|
|
579
585
|
trip_start_time: string | null;
|
|
@@ -586,7 +592,7 @@ interface TripUpdate {
|
|
|
586
592
|
expiration_timestamp: UnixTimestamp;
|
|
587
593
|
}
|
|
588
594
|
interface VehiclePosition {
|
|
589
|
-
|
|
595
|
+
id: string;
|
|
590
596
|
bearing: number | null;
|
|
591
597
|
latitude: number | null;
|
|
592
598
|
longitude: number | null;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gtfs",
|
|
3
|
-
"version": "4.18.
|
|
3
|
+
"version": "4.18.3",
|
|
4
4
|
"description": "Import GTFS transit data into SQLite and query routes, stops, times, fares and more",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"transit",
|
|
@@ -100,12 +100,12 @@
|
|
|
100
100
|
}
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@turf/helpers": "7.2
|
|
104
|
-
"better-sqlite3": "12.
|
|
103
|
+
"@turf/helpers": "7.3.2",
|
|
104
|
+
"better-sqlite3": "12.6.2",
|
|
105
105
|
"csv-parse": "6.1.0",
|
|
106
106
|
"csv-stringify": "6.6.0",
|
|
107
107
|
"gtfs-realtime-bindings": "1.1.1",
|
|
108
|
-
"lodash-es": "4.17.
|
|
108
|
+
"lodash-es": "4.17.23",
|
|
109
109
|
"long": "5.3.2",
|
|
110
110
|
"node-stream-zip": "1.15.0",
|
|
111
111
|
"pretty-error": "4.0.0",
|
|
@@ -113,30 +113,29 @@
|
|
|
113
113
|
"sanitize-filename": "1.6.3",
|
|
114
114
|
"sqlstring-sqlite": "0.1.1",
|
|
115
115
|
"strip-bom-stream": "5.0.0",
|
|
116
|
-
"tempy": "3.1.
|
|
116
|
+
"tempy": "3.1.1",
|
|
117
117
|
"yargs": "18.0.0",
|
|
118
118
|
"yoctocolors": "2.1.2"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
|
-
"@eslint/
|
|
122
|
-
"@eslint/
|
|
123
|
-
"@eslint/js": "9.37.0",
|
|
121
|
+
"@eslint/eslintrc": "3.3.3",
|
|
122
|
+
"@eslint/js": "9.39.2",
|
|
124
123
|
"@types/better-sqlite3": "7.6.13",
|
|
125
124
|
"@types/geojson": "7946.0.16",
|
|
126
125
|
"@types/lodash-es": "4.17.12",
|
|
127
|
-
"@types/node": "
|
|
128
|
-
"@types/yargs": "17.0.
|
|
129
|
-
"eslint": "9.
|
|
130
|
-
"globals": "
|
|
126
|
+
"@types/node": "25",
|
|
127
|
+
"@types/yargs": "17.0.35",
|
|
128
|
+
"eslint": "9.39.2",
|
|
129
|
+
"globals": "17.0.0",
|
|
131
130
|
"husky": "9.1.7",
|
|
132
|
-
"lint-staged": "16.2.
|
|
133
|
-
"prettier": "3.
|
|
134
|
-
"tsup": "8.5.
|
|
131
|
+
"lint-staged": "16.2.7",
|
|
132
|
+
"prettier": "3.8.1",
|
|
133
|
+
"tsup": "8.5.1",
|
|
135
134
|
"typescript": "5.9.3",
|
|
136
|
-
"typescript-eslint": "8.
|
|
135
|
+
"typescript-eslint": "8.53.1"
|
|
137
136
|
},
|
|
138
137
|
"engines": {
|
|
139
|
-
"node": ">=
|
|
138
|
+
"node": ">= 22"
|
|
140
139
|
},
|
|
141
140
|
"release-it": {
|
|
142
141
|
"github": {
|