gtfs-to-html 2.4.4 → 2.5.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 +14 -0
- package/app/index.js +5 -3
- package/lib/geojson-utils.js +19 -26
- package/lib/gtfs-to-html.js +8 -15
- package/lib/log-utils.js +2 -2
- package/lib/utils.js +296 -330
- package/package.json +11 -10
- package/www/docs/configuration.md +1 -1
- package/www/package.json +2 -2
- package/www/yarn.lock +693 -667
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gtfs-to-html",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Build human readable transit timetables as HTML, PDF or CSV from GTFS",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"Thomas Craig <thomas@trilliumtransit.com>",
|
|
24
24
|
"Holly Kvalheim",
|
|
25
25
|
"Pawajoro",
|
|
26
|
-
"Andrea Mignone"
|
|
26
|
+
"Andrea Mignone",
|
|
27
|
+
"Evo Stamatov"
|
|
27
28
|
],
|
|
28
29
|
"type": "module",
|
|
29
30
|
"main": "index.js",
|
|
@@ -40,30 +41,30 @@
|
|
|
40
41
|
"archiver": "^5.3.1",
|
|
41
42
|
"cli-table": "^0.3.11",
|
|
42
43
|
"copy-dir": "^1.3.0",
|
|
43
|
-
"csv-stringify": "^6.
|
|
44
|
+
"csv-stringify": "^6.3.0",
|
|
44
45
|
"express": "^4.18.2",
|
|
45
|
-
"gtfs": "^
|
|
46
|
+
"gtfs": "^4.1.0",
|
|
46
47
|
"js-beautify": "^1.14.7",
|
|
47
48
|
"lodash-es": "^4.17.21",
|
|
48
49
|
"moment": "^2.29.4",
|
|
49
50
|
"morgan": "^1.10.0",
|
|
50
51
|
"pretty-error": "^4.0.0",
|
|
51
52
|
"pug": "^3.0.2",
|
|
52
|
-
"puppeteer": "^19.
|
|
53
|
+
"puppeteer": "^19.7.3",
|
|
53
54
|
"sanitize-filename": "^1.6.3",
|
|
54
55
|
"sqlstring": "^2.3.3",
|
|
55
56
|
"timer-machine": "^1.1.0",
|
|
56
57
|
"toposort": "^2.0.2",
|
|
57
58
|
"untildify": "^4.0.0",
|
|
58
|
-
"yargs": "^17.
|
|
59
|
+
"yargs": "^17.7.1",
|
|
59
60
|
"yoctocolors": "^1.0.0"
|
|
60
61
|
},
|
|
61
62
|
"devDependencies": {
|
|
62
|
-
"eslint": "^8.
|
|
63
|
-
"eslint-config-prettier": "^8.
|
|
63
|
+
"eslint": "^8.35.0",
|
|
64
|
+
"eslint-config-prettier": "^8.7.0",
|
|
64
65
|
"eslint-config-xo": "^0.43.1",
|
|
65
|
-
"husky": "^8.0.
|
|
66
|
-
"prettier": "^2.8.
|
|
66
|
+
"husky": "^8.0.3",
|
|
67
|
+
"prettier": "^2.8.4",
|
|
67
68
|
"pretty-quick": "^3.1.3"
|
|
68
69
|
},
|
|
69
70
|
"engines": {
|
|
@@ -408,7 +408,7 @@ gtfsToHtml(config);
|
|
|
408
408
|
|
|
409
409
|
### showArrivalOnDifference
|
|
410
410
|
|
|
411
|
-
{Float} Whether or not to show an arrival column/row in the timetable. It means, that if on at least one stop difference (stay on that stop) is **equal or greater** than specified here, the arrival time will be shown. Use `0` to show on each stop or `null` to
|
|
411
|
+
{Float} Whether or not to show an arrival column/row in the timetable. It means, that if on at least one stop difference (stay on that stop) is **equal or greater** than specified here, the arrival time will be shown. Use `0` to show on each stop or `null` to skip showing an additional column for arrival.
|
|
412
412
|
|
|
413
413
|
```
|
|
414
414
|
"showArrivalOnDifference": 0.2
|
package/www/package.json
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
"deploy": "docusaurus deploy"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@docusaurus/core": "^2.
|
|
13
|
-
"@docusaurus/preset-classic": "^2.
|
|
12
|
+
"@docusaurus/core": "^2.3.1",
|
|
13
|
+
"@docusaurus/preset-classic": "^2.3.1",
|
|
14
14
|
"clsx": "^1.2.1",
|
|
15
15
|
"react": "^18.2.0",
|
|
16
16
|
"react-dom": "^18.2.0"
|