@golemio/pid 2.0.16-dev.412320538 → 2.1.0
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 +10 -8
- package/package.json +83 -83
package/CHANGELOG.md
CHANGED
|
@@ -4,21 +4,23 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
## [Unreleased]
|
|
6
6
|
|
|
7
|
+
## [2.1.0] - 2021-11-21
|
|
8
|
+
|
|
7
9
|
### Added
|
|
8
10
|
|
|
9
|
-
-
|
|
11
|
+
- Modularized migrations ([pid#53](https://gitlab.com/operator-ict/golemio/code/modules/pid/-/issues/53))
|
|
10
12
|
|
|
11
13
|
### Changed
|
|
12
14
|
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
-
|
|
18
|
-
-
|
|
15
|
+
- Optimization of timetables download table switching ([pid#65](https://gitlab.com/operator-ict/golemio/code/modules/pid/-/issues/65))
|
|
16
|
+
- Replace db retention with sequelize destroy
|
|
17
|
+
- Added trip_short_name to vehiclepositions ([pid#29](https://gitlab.com/operator-ict/golemio/code/modules/pid/-/issues/29))
|
|
18
|
+
- Filter DPP after_track ([pid#34](https://gitlab.com/operator-ict/golemio/code/modules/pid/-/issues/34))
|
|
19
|
+
- Modification of last_stop parameters ([pid#42](https://gitlab.com/operator-ict/golemio/code/modules/pid/-/issues/42))
|
|
20
|
+
- Added stop_id to GTFS-Realtime trip update ([pid#54](https://gitlab.com/operator-ict/golemio/code/modules/pid/-/issues/54))
|
|
19
21
|
|
|
20
22
|
## [2.0.12] - 2021-10-18
|
|
21
23
|
|
|
22
24
|
### Fixed
|
|
23
25
|
|
|
24
|
-
-
|
|
26
|
+
- Empty array of tripsIds in updateDelay
|
package/package.json
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
2
|
+
"name": "@golemio/pid",
|
|
3
|
+
"version": "2.1.0",
|
|
4
|
+
"description": "Golemio PID Module",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "rimraf ./dist && ttsc -p ./tsconfig.build.json",
|
|
9
|
+
"build-minimal": "run-s 'build --sourceMap false --declaration false'",
|
|
10
|
+
"build-watch": "run-s 'build --watch --preserveWatchOutput'",
|
|
11
|
+
"pretest": "golemio import-db-data --postgres",
|
|
12
|
+
"test": "cross-env NODE_ENV=test TS_NODE_COMPILER='ttypescript' mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r dotenv/config 'test/**/*.test.ts'",
|
|
13
|
+
"test-debug": "run-s 'test --inspect-brk=9230'",
|
|
14
|
+
"code-coverage": "nyc run-s 'test -r source-map-support/register'",
|
|
15
|
+
"generate-docs": "typedoc --out docs/typedoc src",
|
|
16
|
+
"migrate-db": "golemio migrate-db up --postgres",
|
|
17
|
+
"lint": "eslint '{src,test}/**/*.ts'"
|
|
18
|
+
},
|
|
19
|
+
"keywords": [
|
|
20
|
+
"golemio"
|
|
21
|
+
],
|
|
22
|
+
"author": "Operator ICT, a.s.",
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"repository": {
|
|
25
|
+
"type": "git",
|
|
26
|
+
"url": "https://gitlab.com/operator-ict/golemio/code/modules/pid"
|
|
27
|
+
},
|
|
28
|
+
"devDependencies": {
|
|
29
|
+
"@commitlint/cli": "^11.0.0",
|
|
30
|
+
"@commitlint/config-conventional": "^11.0.0",
|
|
31
|
+
"@golemio/cli": "1.2.0",
|
|
32
|
+
"@golemio/core": "1.1.7",
|
|
33
|
+
"@golemio/db-common": "1.0.0",
|
|
34
|
+
"@golemio/eslint-config": "^1.0.2",
|
|
35
|
+
"@types/chai": "4.2.3",
|
|
36
|
+
"@types/chai-as-promised": "7.1.2",
|
|
37
|
+
"@types/jsdom": "^16.2.11",
|
|
38
|
+
"@types/lodash": "^4.14.168",
|
|
39
|
+
"@types/mocha": "^8.2.0",
|
|
40
|
+
"@types/node": "^14.14.20",
|
|
41
|
+
"@types/pg-copy-streams": "^1.2.1",
|
|
42
|
+
"@types/sinon": "^9.0.10",
|
|
43
|
+
"@types/supertest": "^2.0.10",
|
|
44
|
+
"@zerollup/ts-transform-paths": "^1.7.18",
|
|
45
|
+
"body-parser": "^1.19.0",
|
|
46
|
+
"body-parser-xml": "^2.0.0",
|
|
47
|
+
"chai": "4.2.0",
|
|
48
|
+
"chai-as-promised": "7.1.1",
|
|
49
|
+
"cross-env": "^7.0.3",
|
|
50
|
+
"dotenv": "^8.2.0",
|
|
51
|
+
"eslint": "^7.17.0",
|
|
52
|
+
"husky": "^4.3.7",
|
|
53
|
+
"mocha": "^8.2.1",
|
|
54
|
+
"npm-run-all": "^4.1.5",
|
|
55
|
+
"nyc": "^15.1.0",
|
|
56
|
+
"prettier": "^2.2.1",
|
|
57
|
+
"pretty-quick": "^3.1.0",
|
|
58
|
+
"rimraf": "^3.0.2",
|
|
59
|
+
"sinon": "^9.2.3",
|
|
60
|
+
"source-map-support": "0.5.19",
|
|
61
|
+
"supertest": "^6.0.1",
|
|
62
|
+
"ts-node": "^9.1.1",
|
|
63
|
+
"ttypescript": "^1.5.12",
|
|
64
|
+
"typedoc": "^0.21.5",
|
|
65
|
+
"typescript": "^4.1.3"
|
|
66
|
+
},
|
|
67
|
+
"peerDependencies": {
|
|
68
|
+
"@golemio/core": "^1.1.1"
|
|
69
|
+
},
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"@turf/turf": "^6.5.0",
|
|
72
|
+
"JSONStream": "^1.3.5",
|
|
73
|
+
"cheap-ruler": "^2.5.1",
|
|
74
|
+
"csv-parser": "^3.0.0",
|
|
75
|
+
"csv-stringify": "^5.6.2",
|
|
76
|
+
"fastq": "^1.11.1",
|
|
77
|
+
"gtfs-realtime-bindings": "^0.0.6",
|
|
78
|
+
"jsdom": "^16.6.0",
|
|
79
|
+
"lodash": "^4.17.21",
|
|
80
|
+
"pg-copy-streams": "^5.1.1"
|
|
81
|
+
},
|
|
82
|
+
"resolutions": {
|
|
83
|
+
"mpath": "^0.8.4"
|
|
84
|
+
}
|
|
85
85
|
}
|