gtfs-to-html 2.12.0 → 2.12.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 CHANGED
@@ -428,7 +428,7 @@ function getAgencyGeoJSON(config2) {
428
428
  // package.json
429
429
  var package_default = {
430
430
  name: "gtfs-to-html",
431
- version: "2.12.0",
431
+ version: "2.12.1",
432
432
  private: false,
433
433
  description: "Build human readable transit timetables as HTML, PDF or CSV from GTFS",
434
434
  keywords: [
@@ -476,8 +476,8 @@ var package_default = {
476
476
  },
477
477
  dependencies: {
478
478
  "@maplibre/maplibre-gl-geocoder": "^1.9.1",
479
- "@turf/helpers": "^7.2.0",
480
- "@turf/simplify": "^7.2.0",
479
+ "@turf/helpers": "^7.3.0",
480
+ "@turf/simplify": "^7.3.0",
481
481
  anchorme: "^3.0.8",
482
482
  archiver: "^7.0.1",
483
483
  "cli-table": "^0.3.11",
@@ -488,13 +488,13 @@ var package_default = {
488
488
  "gtfs-realtime-pbf-js-module": "^1.0.0",
489
489
  "js-beautify": "^1.15.4",
490
490
  "lodash-es": "^4.17.21",
491
- "maplibre-gl": "^5.12.0",
491
+ "maplibre-gl": "^5.13.0",
492
492
  marked: "^17.0.0",
493
493
  moment: "^2.30.1",
494
494
  pbf: "^4.0.1",
495
495
  "pretty-error": "^4.0.0",
496
496
  pug: "^3.0.3",
497
- puppeteer: "^24.29.1",
497
+ puppeteer: "^24.30.0",
498
498
  "sanitize-filename": "^1.6.3",
499
499
  "sanitize-html": "^2.17.0",
500
500
  sqlstring: "^2.3.3",
@@ -515,11 +515,11 @@ var package_default = {
515
515
  "@types/sanitize-html": "^2.16.0",
516
516
  "@types/sqlstring": "^2.3.2",
517
517
  "@types/toposort": "^2.0.7",
518
- "@types/yargs": "^17.0.34",
518
+ "@types/yargs": "^17.0.35",
519
519
  husky: "^9.1.7",
520
- "lint-staged": "^16.2.6",
520
+ "lint-staged": "^16.2.7",
521
521
  prettier: "^3.6.2",
522
- tsup: "^8.5.0",
522
+ tsup: "^8.5.1",
523
523
  typescript: "^5.9.3"
524
524
  },
525
525
  engines: {
@@ -2130,10 +2130,10 @@ function formatTimetableLabel(timetable) {
2130
2130
  return timetableLabel;
2131
2131
  }
2132
2132
  var formatRouteName = (route) => {
2133
- if (route.route_long_name) {
2134
- return `Route ${route.route_long_name}`;
2133
+ if (route.route_long_name === null || route.route_long_name === "") {
2134
+ return `Route ${route.route_short_name}`;
2135
2135
  }
2136
- return route.route_short_name ?? "Unknown";
2136
+ return route.route_long_name ?? "Unknown";
2137
2137
  };
2138
2138
  var formatRouteNameForFilename = (route) => {
2139
2139
  if (route.route_short_name) {