gtfs 4.4.0 → 4.4.2

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.
@@ -8,7 +8,7 @@ jobs:
8
8
 
9
9
  strategy:
10
10
  matrix:
11
- node-version: [16.x, 18.x, 20.x]
11
+ node-version: [18.x, 20.x]
12
12
 
13
13
  steps:
14
14
  - uses: actions/checkout@v3
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 test
4
+ npx lint-staged && npm test
package/CHANGELOG.md CHANGED
@@ -5,6 +5,23 @@ 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
+ ## [4.4.2] - 2023-07-08
9
+
10
+ ### Changed
11
+
12
+ - Added index to stoptimes table for stop_id field
13
+ - Updated node.js versions for tests
14
+
15
+ ## [4.4.1] - 2023-07-07
16
+
17
+ ### Changed
18
+
19
+ - Use lint-staged instead of pretty-quick
20
+
21
+ ### Updated
22
+
23
+ - Dependency updates
24
+
8
25
  ## [4.4.0] - 2023-06-16
9
26
 
10
27
  ### Changed
@@ -31,6 +31,7 @@ const model = {
31
31
  type: 'varchar(255)',
32
32
  required: true,
33
33
  prefix: true,
34
+ index: true,
34
35
  },
35
36
  {
36
37
  name: 'stop_sequence',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtfs",
3
- "version": "4.4.0",
3
+ "version": "4.4.2",
4
4
  "description": "Import GTFS transit data into SQLite and query routes, stops, times, fares and more",
5
5
  "keywords": [
6
6
  "transit",
@@ -57,7 +57,8 @@
57
57
  "Matt Moran",
58
58
  "Daniel Sörlöv",
59
59
  "Ali Zarghami <alizarghami@gmail.com>",
60
- "David Abell"
60
+ "David Abell",
61
+ "Matthias Feist <matze@matf.de>"
61
62
  ],
62
63
  "type": "module",
63
64
  "main": "index.js",
@@ -98,17 +99,17 @@
98
99
  "devDependencies": {
99
100
  "@types/better-sqlite3": "^7.6.4",
100
101
  "dtslint": "^4.2.1",
101
- "eslint": "^8.42.0",
102
+ "eslint": "^8.44.0",
102
103
  "eslint-config-prettier": "^8.8.0",
103
104
  "eslint-config-xo": "^0.43.1",
104
105
  "husky": "^8.0.3",
106
+ "lint-staged": "^13.2.3",
105
107
  "mocha": "^10.2.0",
106
- "prettier": "^2.8.8",
107
- "pretty-quick": "^3.1.3",
108
+ "prettier": "^3.0.0",
108
109
  "should": "^13.2.3"
109
110
  },
110
111
  "engines": {
111
- "node": ">= 14.17.0"
112
+ "node": ">= 18.0.0"
112
113
  },
113
114
  "release-it": {
114
115
  "github": {
@@ -122,5 +123,9 @@
122
123
  },
123
124
  "prettier": {
124
125
  "singleQuote": true
126
+ },
127
+ "lint-staged": {
128
+ "*.js": "prettier --write",
129
+ "*.json": "prettier --write"
125
130
  }
126
131
  }