gtfs-to-html 2.9.0 → 2.9.1
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/dist/app/index.js +2 -1
- package/dist/app/index.js.map +1 -1
- package/dist/bin/gtfs-to-html.js +16 -9
- package/dist/bin/gtfs-to-html.js.map +1 -1
- package/dist/index.js +16 -9
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
package/dist/app/index.js
CHANGED
|
@@ -365,7 +365,7 @@ function getAgencyGeoJSON(config2) {
|
|
|
365
365
|
}
|
|
366
366
|
|
|
367
367
|
// package.json
|
|
368
|
-
var version = "2.
|
|
368
|
+
var version = "2.9.0";
|
|
369
369
|
|
|
370
370
|
// src/lib/utils.ts
|
|
371
371
|
var isTimepoint = (stoptime) => {
|
|
@@ -1341,6 +1341,7 @@ function setDefaultConfig(initialConfig) {
|
|
|
1341
1341
|
const config2 = Object.assign(defaults, initialConfig);
|
|
1342
1342
|
if (config2.outputFormat === "pdf") {
|
|
1343
1343
|
config2.noHead = false;
|
|
1344
|
+
config2.menuType = "none";
|
|
1344
1345
|
}
|
|
1345
1346
|
config2.hasGtfsRealtime = config2.agencies.some(
|
|
1346
1347
|
(agency) => agency.realtimeTripUpdates?.url || agency.realtimeVehiclePositions?.url
|