gtfs-to-html 2.5.3 → 2.5.4

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/.husky/pre-commit CHANGED
@@ -1,4 +1,4 @@
1
1
  #!/bin/sh
2
2
  . "$(dirname "$0")/_/husky.sh"
3
3
 
4
- npx pretty-quick --staged && npm run lint
4
+ npx lint-staged
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.5.4] - 2023-07-07
9
+
10
+ ### Changed
11
+
12
+ - Use lint-staged instead of pretty-quick
13
+
14
+ ### Updated
15
+
16
+ - Dependency updates
17
+
8
18
  ## [2.5.3] - 2023-06-06
9
19
 
10
20
  ### Updated
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtfs-to-html",
3
- "version": "2.5.3",
3
+ "version": "2.5.4",
4
4
  "private": false,
5
5
  "description": "Build human readable transit timetables as HTML, PDF or CSV from GTFS",
6
6
  "keywords": [
@@ -32,8 +32,7 @@
32
32
  "gtfs-to-html": "bin/gtfs-to-html.js"
33
33
  },
34
34
  "scripts": {
35
- "start": "node ./app",
36
- "lint": "eslint app/**/*.js lib/**/*.js public/**/*.js --fix"
35
+ "start": "node ./app"
37
36
  },
38
37
  "dependencies": {
39
38
  "@turf/helpers": "^6.5.0",
@@ -43,29 +42,26 @@
43
42
  "copy-dir": "^1.3.0",
44
43
  "csv-stringify": "^6.4.0",
45
44
  "express": "^4.18.2",
46
- "gtfs": "^4.3.1",
45
+ "gtfs": "^4.4.1",
47
46
  "js-beautify": "^1.14.8",
48
47
  "lodash-es": "^4.17.21",
49
48
  "moment": "^2.29.4",
50
49
  "morgan": "^1.10.0",
51
50
  "pretty-error": "^4.0.0",
52
51
  "pug": "^3.0.2",
53
- "puppeteer": "^20.5.0",
52
+ "puppeteer": "^20.8.0",
54
53
  "sanitize-filename": "^1.6.3",
55
54
  "sqlstring": "^2.3.3",
56
55
  "timer-machine": "^1.1.0",
57
56
  "toposort": "^2.0.2",
58
- "untildify": "^4.0.0",
57
+ "untildify": "^5.0.0",
59
58
  "yargs": "^17.7.2",
60
59
  "yoctocolors": "^1.0.0"
61
60
  },
62
61
  "devDependencies": {
63
- "eslint": "^8.42.0",
64
- "eslint-config-prettier": "^8.8.0",
65
- "eslint-config-xo": "^0.43.1",
66
62
  "husky": "^8.0.3",
67
- "prettier": "^2.8.8",
68
- "pretty-quick": "^3.1.3"
63
+ "lint-staged": "^13.2.3",
64
+ "prettier": "^3.0.0"
69
65
  },
70
66
  "engines": {
71
67
  "node": ">= 14.0.0"
@@ -82,5 +78,9 @@
82
78
  },
83
79
  "prettier": {
84
80
  "singleQuote": true
81
+ },
82
+ "lint-staged": {
83
+ "*.js": "prettier --write",
84
+ "*.json": "prettier --write"
85
85
  }
86
86
  }
package/www/package.json CHANGED
@@ -9,8 +9,8 @@
9
9
  "deploy": "docusaurus deploy"
10
10
  },
11
11
  "dependencies": {
12
- "@docusaurus/core": "^2.4.0",
13
- "@docusaurus/preset-classic": "^2.4.0",
12
+ "@docusaurus/core": "^2.4.1",
13
+ "@docusaurus/preset-classic": "^2.4.1",
14
14
  "clsx": "^1.2.1",
15
15
  "react": "^18.2.0",
16
16
  "react-dom": "^18.2.0"