gtfs-to-chart 2.1.0 → 2.1.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/CHANGELOG.md CHANGED
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.1.1] - 2026-01-21
9
+
10
+ ### Updated
11
+
12
+ - Dependency updates
13
+
14
+ ### Changed
15
+
16
+ - Update demo app logging
17
+
8
18
  ## [2.1.0] - 2025-06-06
9
19
 
10
20
  ### Added
package/app/index.js CHANGED
@@ -1,7 +1,6 @@
1
1
  import path from 'node:path';
2
2
  import { fileURLToPath } from 'node:url';
3
3
  import express from 'express';
4
- import logger from 'morgan';
5
4
  import slashes from 'connect-slashes';
6
5
 
7
6
  import routes from './routes.js';
@@ -13,8 +12,13 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
13
12
  app.set('views', path.join(__dirname, './views'));
14
13
  app.set('view engine', 'pug');
15
14
 
15
+ // Logging middleware
16
+ app.use((req, res, next) => {
17
+ console.log(`${req.method} ${req.url}`);
18
+ next();
19
+ });
20
+
16
21
  // Middleware
17
- app.use(logger('dev'));
18
22
  app.use(express.static(path.join(__dirname, '../public')));
19
23
  app.use(slashes());
20
24
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtfs-to-chart",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "private": false,
5
5
  "description": "Generate stringline charts of a transit routes from GTFS",
6
6
  "keywords": [
@@ -30,30 +30,29 @@
30
30
  },
31
31
  "dependencies": {
32
32
  "better-copy": "^1.0.4",
33
- "chalk": "^5.4.1",
33
+ "chalk": "^5.6.2",
34
34
  "connect-slashes": "^1.4.0",
35
- "express": "^5.1.0",
36
- "gtfs": "^4.17.4",
35
+ "express": "^5.2.1",
36
+ "gtfs": "^4.18.3",
37
37
  "js-beautify": "^1.15.4",
38
- "lodash-es": "^4.17.21",
38
+ "lodash-es": "^4.17.23",
39
39
  "moment": "^2.30.1",
40
- "morgan": "^1.10.0",
41
40
  "progress": "^2.0.3",
42
41
  "pug": "^3.0.3",
43
42
  "sanitize-filename": "^1.6.3",
44
43
  "simplify-geojson": "^1.0.5",
45
44
  "sqlstring": "^2.3.3",
46
45
  "timer-machine": "^1.1.0",
47
- "untildify": "^5.0.0",
46
+ "untildify": "^6.0.0",
48
47
  "yargs": "^18.0.0"
49
48
  },
50
49
  "devDependencies": {
51
50
  "husky": "^9.1.7",
52
- "lint-staged": "^16.1.0",
53
- "prettier": "^3.5.3"
51
+ "lint-staged": "^16.2.7",
52
+ "prettier": "^3.8.1"
54
53
  },
55
54
  "engines": {
56
- "node": ">= 20.11.0"
55
+ "node": ">= 22"
57
56
  },
58
57
  "release-it": {
59
58
  "github": {