gtfs 4.3.0 → 4.3.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
+ ## [4.3.1] - 2023-06-06
9
+
10
+ ### Added
11
+
12
+ - Ignore system directories within zip file
13
+
14
+ ### Updated
15
+
16
+ - Dependency updates
17
+
8
18
  ## [4.3.0] - 2023-05-04
9
19
 
10
20
  ### Updated
package/lib/import.js CHANGED
@@ -264,7 +264,9 @@ const readFiles = async (task) => {
264
264
  // If no .txt files in this directory, check for subdirectories and copy them here
265
265
  if (textFiles.length === 0) {
266
266
  const files = await readdir(task.downloadDir);
267
+ // Ignore system directories within zip file
267
268
  const folders = files
269
+ .filter((filename) => !['__MACOSX'].includes(filename))
268
270
  .map((filename) => path.join(task.downloadDir, filename))
269
271
  .filter((source) => lstatSync(source).isDirectory());
270
272
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gtfs",
3
- "version": "4.3.0",
3
+ "version": "4.3.1",
4
4
  "description": "Import GTFS transit data into SQLite and query routes, stops, times, fares and more",
5
5
  "keywords": [
6
6
  "transit",
@@ -74,9 +74,9 @@
74
74
  },
75
75
  "dependencies": {
76
76
  "@turf/helpers": "^6.5.0",
77
- "better-sqlite3": "^8.3.0",
78
- "csv-parse": "^5.3.8",
79
- "csv-stringify": "^6.3.2",
77
+ "better-sqlite3": "^8.4.0",
78
+ "csv-parse": "^5.4.0",
79
+ "csv-stringify": "^6.4.0",
80
80
  "gtfs-realtime-bindings": "^1.1.1",
81
81
  "lodash-es": "^4.17.21",
82
82
  "long": "^5.2.3",
@@ -91,13 +91,13 @@
91
91
  "strip-bom-stream": "^5.0.0",
92
92
  "tmp-promise": "^3.0.3",
93
93
  "untildify": "^4.0.0",
94
- "yargs": "^17.7.1",
94
+ "yargs": "^17.7.2",
95
95
  "yoctocolors": "^1.0.0"
96
96
  },
97
97
  "devDependencies": {
98
98
  "@types/better-sqlite3": "^7.6.4",
99
99
  "dtslint": "^4.2.1",
100
- "eslint": "^8.39.0",
100
+ "eslint": "^8.42.0",
101
101
  "eslint-config-prettier": "^8.8.0",
102
102
  "eslint-config-xo": "^0.43.1",
103
103
  "husky": "^8.0.3",