gtfs-to-html 2.10.9 → 2.10.11

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
@@ -407,9 +407,126 @@ function getAgencyGeoJSON(config2) {
407
407
  }
408
408
 
409
409
  // package.json
410
- var version = "2.10.9";
410
+ var package_default = {
411
+ name: "gtfs-to-html",
412
+ version: "2.10.11",
413
+ private: false,
414
+ description: "Build human readable transit timetables as HTML, PDF or CSV from GTFS",
415
+ keywords: [
416
+ "transit",
417
+ "gtfs",
418
+ "gtfs-realtime",
419
+ "transportation",
420
+ "timetables"
421
+ ],
422
+ homepage: "https://gtfstohtml.com",
423
+ bugs: {
424
+ url: "https://github.com/blinktaginc/gtfs-to-html/issues"
425
+ },
426
+ repository: "git://github.com/blinktaginc/gtfs-to-html",
427
+ license: "MIT",
428
+ author: "Brendan Nee <brendan@blinktag.com>",
429
+ contributors: [
430
+ "Evan Siroky <evan.siroky@yahoo.com>",
431
+ "Nathan Selikoff",
432
+ "Aaron Antrim <aaron@trilliumtransit.com>",
433
+ "Thomas Craig <thomas@trilliumtransit.com>",
434
+ "Holly Kvalheim",
435
+ "Pawajoro",
436
+ "Andrea Mignone",
437
+ "Evo Stamatov"
438
+ ],
439
+ type: "module",
440
+ main: "./dist/index.js",
441
+ types: "./dist/index.d.ts",
442
+ files: [
443
+ "dist",
444
+ "docker",
445
+ "examples",
446
+ "views/default",
447
+ "config-sample.json"
448
+ ],
449
+ bin: {
450
+ "gtfs-to-html": "dist/bin/gtfs-to-html.js"
451
+ },
452
+ scripts: {
453
+ build: "tsup",
454
+ start: "node ./dist/app",
455
+ prepare: "husky"
456
+ },
457
+ dependencies: {
458
+ "@turf/helpers": "^7.2.0",
459
+ "@turf/simplify": "^7.2.0",
460
+ anchorme: "^3.0.8",
461
+ archiver: "^7.0.1",
462
+ "cli-table": "^0.3.11",
463
+ "csv-stringify": "^6.5.2",
464
+ express: "^5.1.0",
465
+ gtfs: "^4.17.2",
466
+ "gtfs-realtime-pbf-js-module": "^1.0.0",
467
+ "js-beautify": "^1.15.4",
468
+ "lodash-es": "^4.17.21",
469
+ marked: "^15.0.8",
470
+ moment: "^2.30.1",
471
+ pbf: "^4.0.1",
472
+ "pretty-error": "^4.0.0",
473
+ pug: "^3.0.3",
474
+ puppeteer: "^24.6.1",
475
+ "sanitize-filename": "^1.6.3",
476
+ "sanitize-html": "^2.16.0",
477
+ sqlstring: "^2.3.3",
478
+ "timer-machine": "^1.1.0",
479
+ toposort: "^2.0.2",
480
+ untildify: "^5.0.0",
481
+ yargs: "^17.7.2",
482
+ yoctocolors: "^2.1.1"
483
+ },
484
+ devDependencies: {
485
+ "@types/archiver": "^6.0.3",
486
+ "@types/express": "^5.0.1",
487
+ "@types/insane": "^1.0.0",
488
+ "@types/js-beautify": "^1.14.3",
489
+ "@types/lodash-es": "^4.17.12",
490
+ "@types/morgan": "^1.9.9",
491
+ "@types/node": "^22.14.1",
492
+ "@types/pug": "^2.0.10",
493
+ "@types/sanitize-html": "^2.15.0",
494
+ "@types/timer-machine": "^1.1.3",
495
+ "@types/yargs": "^17.0.33",
496
+ husky: "^9.1.7",
497
+ "lint-staged": "^15.5.1",
498
+ prettier: "^3.5.3",
499
+ tsup: "^8.4.0",
500
+ typescript: "^5.8.3"
501
+ },
502
+ engines: {
503
+ node: ">= 20.11.0"
504
+ },
505
+ "release-it": {
506
+ github: {
507
+ release: true
508
+ },
509
+ plugins: {
510
+ "@release-it/keep-a-changelog": {
511
+ filename: "CHANGELOG.md"
512
+ }
513
+ },
514
+ hooks: {
515
+ "after:bump": "npm run build"
516
+ }
517
+ },
518
+ prettier: {
519
+ singleQuote: true
520
+ },
521
+ "lint-staged": {
522
+ "*.js": "prettier --write",
523
+ "*.ts": "prettier --write",
524
+ "*.json": "prettier --write"
525
+ }
526
+ };
411
527
 
412
528
  // src/lib/utils.ts
529
+ var { version } = package_default;
413
530
  var isTimepoint = (stoptime) => {
414
531
  if (isNullOrEmpty(stoptime.timepoint)) {
415
532
  return !isNullOrEmpty(stoptime.arrival_time) && !isNullOrEmpty(stoptime.departure_time);