@balena/pinejs 20.0.9-build-no-trycatch-odata-to-abstract-sql-570c7a4c2c42bfa9f56709ff9df9277ca89c808d-1 → 20.0.9
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/.versionbot/CHANGELOG.yml +200 -7
- package/CHANGELOG.md +48 -2
- package/package.json +28 -28
@@ -1,15 +1,208 @@
|
|
1
1
|
- commits:
|
2
|
-
- subject: Update
|
3
|
-
hash:
|
2
|
+
- subject: Update dependencies
|
3
|
+
hash: 78d8cc5744e904762f52eb2fc893773da79296a2
|
4
4
|
body: |
|
5
|
-
Update @balena/
|
5
|
+
Update @balena/abstract-sql-compiler from 10.2.0 to 10.2.3
|
6
|
+
Update @balena/odata-parser from 4.1.0 to 4.2.1
|
7
|
+
Update @balena/odata-to-abstract-sql from 7.1.0 to 7.1.3
|
6
8
|
footer:
|
7
|
-
Depends-on: https://github.com/balena-io-modules/odata-to-abstract-sql/pull/169
|
8
|
-
depends-on: https://github.com/balena-io-modules/odata-to-abstract-sql/pull/169
|
9
9
|
Change-type: patch
|
10
10
|
change-type: patch
|
11
|
-
author:
|
11
|
+
author: Pagan Gazzard
|
12
12
|
nested:
|
13
|
+
- commits:
|
14
|
+
- subject: "Tests: convert test/abstract-sql/case-when-else.js to typescript"
|
15
|
+
hash: 0edb21cc4ee30ead2a6eeb290623f3a0adc7a0fe
|
16
|
+
body: ""
|
17
|
+
footer:
|
18
|
+
Change-type: patch
|
19
|
+
change-type: patch
|
20
|
+
author: Pagan Gazzard
|
21
|
+
nested: []
|
22
|
+
- subject: "Tests: convert test/abstract-sql/test.js to typescript"
|
23
|
+
hash: 43c24e87e4af08c8dd803a1cc4dfcb8bead301e9
|
24
|
+
body: ""
|
25
|
+
footer:
|
26
|
+
Change-type: patch
|
27
|
+
change-type: patch
|
28
|
+
author: Pagan Gazzard
|
29
|
+
nested: []
|
30
|
+
- subject: "Tests: simplify handling of variadic test helper functions"
|
31
|
+
hash: f07fa0857b22c99c019cb1d3ea04a9b6fa7449e7
|
32
|
+
body: ""
|
33
|
+
footer:
|
34
|
+
Change-type: patch
|
35
|
+
change-type: patch
|
36
|
+
author: Pagan Gazzard
|
37
|
+
nested: []
|
38
|
+
version: abstract-sql-compiler-10.2.3
|
39
|
+
title: ""
|
40
|
+
date: 2025-03-19T14:16:28.813Z
|
41
|
+
- commits:
|
42
|
+
- subject: Clarify the `['Bind', string, string]` form of `BindNode` is legacy
|
43
|
+
hash: aa72d3c77c2b6dae37d517ca149a27ea7e5a9bc1
|
44
|
+
body: ""
|
45
|
+
footer:
|
46
|
+
Change-type: patch
|
47
|
+
change-type: patch
|
48
|
+
author: Pagan Gazzard
|
49
|
+
nested: []
|
50
|
+
version: abstract-sql-compiler-10.2.2
|
51
|
+
title: ""
|
52
|
+
date: 2025-02-14T17:34:12.685Z
|
53
|
+
- commits:
|
54
|
+
- subject: Fix @balena/sbvr-types peer dependency version specifier
|
55
|
+
hash: 228e9411aa5c502db92e2c5227e1c88b3b3ef288
|
56
|
+
body: ""
|
57
|
+
footer:
|
58
|
+
Change-type: patch
|
59
|
+
change-type: patch
|
60
|
+
author: Pagan Gazzard
|
61
|
+
nested: []
|
62
|
+
version: abstract-sql-compiler-10.2.1
|
63
|
+
title: ""
|
64
|
+
date: 2025-01-29T12:57:29.155Z
|
65
|
+
- commits:
|
66
|
+
- subject: Add the missing MethodCall type
|
67
|
+
hash: 78efcd852c6ff653da7eb17c9d15cdfaf18f177e
|
68
|
+
body: ""
|
69
|
+
footer:
|
70
|
+
Change-type: patch
|
71
|
+
change-type: patch
|
72
|
+
author: Thodoris Greasidis
|
73
|
+
- subject: Add the missing properties in the PropertyPath typings
|
74
|
+
hash: dde814052753c19020bdf069050cb96c03229f24
|
75
|
+
body: ""
|
76
|
+
footer:
|
77
|
+
Change-type: patch
|
78
|
+
change-type: patch
|
79
|
+
See: https://github.com/balena-io-modules/odata-parser/pull/96
|
80
|
+
see: https://github.com/balena-io-modules/odata-parser/pull/96
|
81
|
+
author: Thodoris Greasidis
|
82
|
+
version: odata-parser-4.2.1
|
83
|
+
title: ""
|
84
|
+
date: 2025-03-18T11:16:09.003Z
|
85
|
+
- commits:
|
86
|
+
- subject: Support ordering by a Collection Navigation property using a Key
|
87
|
+
notation
|
88
|
+
hash: 460e4f3775068621b914c3c4a12cac34aba5e0e0
|
89
|
+
body: ""
|
90
|
+
footer:
|
91
|
+
Change-type: minor
|
92
|
+
change-type: minor
|
93
|
+
See: https://balena.fibery.io/Work/Project/Shape--Build-Add-support-for-sorting-on-user-selected-tag-columns-in-the-server-side-paginated-devic-912
|
94
|
+
see: https://balena.fibery.io/Work/Project/Shape--Build-Add-support-for-sorting-on-user-selected-tag-columns-in-the-server-side-paginated-devic-912
|
95
|
+
author: Thodoris Greasidis
|
96
|
+
version: odata-parser-4.2.0
|
97
|
+
title: ""
|
98
|
+
date: 2025-03-12T23:08:54.233Z
|
99
|
+
- commits:
|
100
|
+
- subject: Test that multiple $select & $orderby on the same resource result it
|
101
|
+
being JOINed just once
|
102
|
+
hash: cd87826ae0972d8f0ac6493cbb25d8a5301cca3e
|
103
|
+
body: ""
|
104
|
+
footer:
|
105
|
+
Change-type: patch
|
106
|
+
change-type: patch
|
107
|
+
author: Thodoris Greasidis
|
108
|
+
nested: []
|
109
|
+
- subject: Add tests capturing the current behavior when using incorrect property
|
110
|
+
paths
|
111
|
+
hash: dcd9258b0498ca5f504dc717288f222923d90d31
|
112
|
+
body: ""
|
113
|
+
footer:
|
114
|
+
Change-type: patch
|
115
|
+
change-type: patch
|
116
|
+
author: Thodoris Greasidis
|
117
|
+
nested: []
|
118
|
+
- subject: Add more $any & $all tests
|
119
|
+
hash: 4c59dcdaf87127b684f4850f7127bf4e6d1910d8
|
120
|
+
body: ""
|
121
|
+
footer:
|
122
|
+
Change-type: patch
|
123
|
+
change-type: patch
|
124
|
+
author: Thodoris Greasidis
|
125
|
+
nested: []
|
126
|
+
version: odata-to-abstract-sql-7.1.3
|
127
|
+
title: ""
|
128
|
+
date: 2025-03-21T15:59:08.312Z
|
129
|
+
- commits:
|
130
|
+
- subject: Add support for also shortening translation suffix names, eg `x$test`
|
131
|
+
-> `x$t`
|
132
|
+
hash: 3b16beeadf1f2fde59dab5be924623b015abae7f
|
133
|
+
body: ""
|
134
|
+
footer:
|
135
|
+
Change-type: patch
|
136
|
+
change-type: patch
|
137
|
+
author: Pagan Gazzard
|
138
|
+
nested: []
|
139
|
+
- subject: Treat $ as a word separator for alias shortening for better translation
|
140
|
+
support
|
141
|
+
hash: 9f96bf9bb28538b3c961a635560bf77e4e1f5bea
|
142
|
+
body: >
|
143
|
+
Since translations in pinejs use $ as their boundary this allows
|
144
|
+
for
|
145
|
+
|
146
|
+
shortening translated models much better
|
147
|
+
footer:
|
148
|
+
Change-type: patch
|
149
|
+
change-type: patch
|
150
|
+
author: Pagan Gazzard
|
151
|
+
nested: []
|
152
|
+
- subject: Also shorten the overall alias if it is possible and beneficial to do
|
153
|
+
so
|
154
|
+
hash: c0010bd4613ea489e37000d01b3b5132cf2cf87a
|
155
|
+
body: ""
|
156
|
+
footer:
|
157
|
+
Change-type: patch
|
158
|
+
change-type: patch
|
159
|
+
author: Pagan Gazzard
|
160
|
+
nested: []
|
161
|
+
- subject: Always look up short aliases using lower case, to avoid issues with
|
162
|
+
mixed cases
|
163
|
+
hash: d66df2195a347e86471bd356f9efa68a5c7fa301
|
164
|
+
body: >
|
165
|
+
This could happen if eg you have `Some Term` and `some other
|
166
|
+
term`
|
167
|
+
|
168
|
+
where the mixing of cases would mean one version would not be
|
169
|
+
correctly
|
170
|
+
|
171
|
+
shortened due to not matching the case-sensitive check
|
172
|
+
footer:
|
173
|
+
Change-type: patch
|
174
|
+
change-type: patch
|
175
|
+
author: Pagan Gazzard
|
176
|
+
nested: []
|
177
|
+
- subject: Generate short versions both short and long versions of the `-`
|
178
|
+
containing aliases
|
179
|
+
hash: 3dedcc1ac808b5dd88c21cd09f64dac8c37d820d
|
180
|
+
body: ""
|
181
|
+
footer:
|
182
|
+
Change-type: patch
|
183
|
+
change-type: patch
|
184
|
+
author: Pagan Gazzard
|
185
|
+
nested: []
|
186
|
+
- subject: Generate short versions both short and long versions of the ` `
|
187
|
+
containing aliases
|
188
|
+
hash: 48f7ca9b0a3bf3f486ed943cde2bb5aa3e7b1c2b
|
189
|
+
body: ""
|
190
|
+
footer:
|
191
|
+
Change-type: patch
|
192
|
+
change-type: patch
|
193
|
+
author: Pagan Gazzard
|
194
|
+
nested: []
|
195
|
+
- subject: Properly handle the case where there is no shorter alias available
|
196
|
+
hash: a6d160e826424ef261b71bb0f13668c22112bedf
|
197
|
+
body: ""
|
198
|
+
footer:
|
199
|
+
Change-type: patch
|
200
|
+
change-type: patch
|
201
|
+
author: Pagan Gazzard
|
202
|
+
nested: []
|
203
|
+
version: odata-to-abstract-sql-7.1.2
|
204
|
+
title: ""
|
205
|
+
date: 2025-03-20T17:49:23.847Z
|
13
206
|
- commits:
|
14
207
|
- subject: "tests: Remove unnecessary returns & add curly braces"
|
15
208
|
hash: 9ad21e94dc29b333542caa92a1b465d89579e2ef
|
@@ -24,7 +217,7 @@
|
|
24
217
|
date: 2025-03-18T13:55:56.178Z
|
25
218
|
version: 20.0.9
|
26
219
|
title: ""
|
27
|
-
date: 2025-03-
|
220
|
+
date: 2025-03-21T16:01:20.794Z
|
28
221
|
- commits:
|
29
222
|
- subject: "Tasks: add a 100ms retry delay after a failed poll"
|
30
223
|
hash: 908e687c9d9e315ef3a9a649ffcd3c3abf3336f4
|
package/CHANGELOG.md
CHANGED
@@ -5,12 +5,58 @@ automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
|
|
5
5
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
6
6
|
|
7
7
|
# v20.0.9
|
8
|
-
## (2025-03-
|
8
|
+
## (2025-03-21)
|
9
9
|
|
10
10
|
|
11
11
|
<details>
|
12
|
-
<summary> Update
|
12
|
+
<summary> Update dependencies [Pagan Gazzard] </summary>
|
13
13
|
|
14
|
+
> ## abstract-sql-compiler-10.2.3
|
15
|
+
> ### (2025-03-19)
|
16
|
+
>
|
17
|
+
> * Tests: convert test/abstract-sql/case-when-else.js to typescript [Pagan Gazzard]
|
18
|
+
> * Tests: convert test/abstract-sql/test.js to typescript [Pagan Gazzard]
|
19
|
+
> * Tests: simplify handling of variadic test helper functions [Pagan Gazzard]
|
20
|
+
>
|
21
|
+
> ## abstract-sql-compiler-10.2.2
|
22
|
+
> ### (2025-02-14)
|
23
|
+
>
|
24
|
+
> * Clarify the `['Bind', string, string]` form of `BindNode` is legacy [Pagan Gazzard]
|
25
|
+
>
|
26
|
+
> ## abstract-sql-compiler-10.2.1
|
27
|
+
> ### (2025-01-29)
|
28
|
+
>
|
29
|
+
> * Fix @balena/sbvr-types peer dependency version specifier [Pagan Gazzard]
|
30
|
+
>
|
31
|
+
> ## odata-parser-4.2.1
|
32
|
+
> ### (2025-03-18)
|
33
|
+
>
|
34
|
+
> * Add the missing MethodCall type [Thodoris Greasidis]
|
35
|
+
> * Add the missing properties in the PropertyPath typings [Thodoris Greasidis]
|
36
|
+
>
|
37
|
+
> ## odata-parser-4.2.0
|
38
|
+
> ### (2025-03-12)
|
39
|
+
>
|
40
|
+
> * Support ordering by a Collection Navigation property using a Key notation [Thodoris Greasidis]
|
41
|
+
>
|
42
|
+
> ## odata-to-abstract-sql-7.1.3
|
43
|
+
> ### (2025-03-21)
|
44
|
+
>
|
45
|
+
> * Test that multiple $select & $orderby on the same resource result it being JOINed just once [Thodoris Greasidis]
|
46
|
+
> * Add tests capturing the current behavior when using incorrect property paths [Thodoris Greasidis]
|
47
|
+
> * Add more $any & $all tests [Thodoris Greasidis]
|
48
|
+
>
|
49
|
+
> ## odata-to-abstract-sql-7.1.2
|
50
|
+
> ### (2025-03-20)
|
51
|
+
>
|
52
|
+
> * Add support for also shortening translation suffix names, eg `x$test` -> `x$t` [Pagan Gazzard]
|
53
|
+
> * Treat $ as a word separator for alias shortening for better translation support [Pagan Gazzard]
|
54
|
+
> * Also shorten the overall alias if it is possible and beneficial to do so [Pagan Gazzard]
|
55
|
+
> * Always look up short aliases using lower case, to avoid issues with mixed cases [Pagan Gazzard]
|
56
|
+
> * Generate short versions both short and long versions of the `-` containing aliases [Pagan Gazzard]
|
57
|
+
> * Generate short versions both short and long versions of the ` ` containing aliases [Pagan Gazzard]
|
58
|
+
> * Properly handle the case where there is no shorter alias available [Pagan Gazzard]
|
59
|
+
>
|
14
60
|
> ## odata-to-abstract-sql-7.1.1
|
15
61
|
> ### (2025-03-18)
|
16
62
|
>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@balena/pinejs",
|
3
|
-
"version": "20.0.9
|
3
|
+
"version": "20.0.9",
|
4
4
|
"main": "out/server-glue/module.js",
|
5
5
|
"type": "module",
|
6
6
|
"repository": "git@github.com:balena-io/pinejs.git",
|
@@ -26,35 +26,35 @@
|
|
26
26
|
"generate-types": "node ./bin/sbvr-compiler.js generate-types ./src/sbvr-api/user.sbvr ./src/sbvr-api/user.ts && node ./bin/sbvr-compiler.js generate-types ./src/migrator/migrations.sbvr ./src/migrator/migrations.ts && node ./bin/sbvr-compiler.js generate-types ./src/sbvr-api/dev.sbvr ./src/sbvr-api/dev.ts && node ./bin/sbvr-compiler.js generate-types ./src/tasks/tasks.sbvr ./src/tasks/tasks.ts && balena-lint -t tsconfig.dev.json --fix ./src/sbvr-api/user.ts ./src/migrator/migrations.ts ./src/sbvr-api/dev.ts"
|
27
27
|
},
|
28
28
|
"dependencies": {
|
29
|
-
"@balena/abstract-sql-compiler": "^10.2.
|
29
|
+
"@balena/abstract-sql-compiler": "^10.2.3",
|
30
30
|
"@balena/abstract-sql-to-typescript": "^5.1.0",
|
31
31
|
"@balena/env-parsing": "^1.2.0",
|
32
32
|
"@balena/lf-to-abstract-sql": "^5.0.3",
|
33
|
-
"@balena/odata-parser": "^4.1
|
34
|
-
"@balena/odata-to-abstract-sql": "7.1.
|
33
|
+
"@balena/odata-parser": "^4.2.1",
|
34
|
+
"@balena/odata-to-abstract-sql": "^7.1.3",
|
35
35
|
"@balena/sbvr-parser": "^1.4.6",
|
36
|
-
"@balena/sbvr-types": "^9.
|
36
|
+
"@balena/sbvr-types": "^9.2.0",
|
37
37
|
"@types/body-parser": "^1.19.5",
|
38
38
|
"@types/compression": "^1.7.5",
|
39
39
|
"@types/cookie-parser": "^1.4.8",
|
40
40
|
"@types/deep-freeze": "^0.1.5",
|
41
41
|
"@types/express": "^4.17.21",
|
42
42
|
"@types/express-session": "^1.18.1",
|
43
|
-
"@types/lodash": "^4.17.
|
43
|
+
"@types/lodash": "^4.17.16",
|
44
44
|
"@types/memoizee": "^0.4.11",
|
45
45
|
"@types/method-override": "^3.0.0",
|
46
46
|
"@types/multer": "^1.4.12",
|
47
47
|
"@types/mysql": "^2.15.26",
|
48
|
-
"@types/node": "^20.17.
|
48
|
+
"@types/node": "^20.17.25",
|
49
49
|
"@types/passport": "^1.0.17",
|
50
50
|
"@types/passport-local": "^1.0.38",
|
51
51
|
"@types/passport-strategy": "^0.2.38",
|
52
|
-
"@types/pg": "^8.11.
|
52
|
+
"@types/pg": "^8.11.11",
|
53
53
|
"@types/randomstring": "^1.3.0",
|
54
54
|
"@types/websql": "^0.0.30",
|
55
55
|
"ajv": "^8.17.1",
|
56
56
|
"busboy": "^1.6.0",
|
57
|
-
"commander": "^13.
|
57
|
+
"commander": "^13.1.0",
|
58
58
|
"cron-parser": "^4.9.0",
|
59
59
|
"deep-freeze": "^0.0.1",
|
60
60
|
"eventemitter3": "^5.0.1",
|
@@ -63,24 +63,24 @@
|
|
63
63
|
"lodash": "^4.17.21",
|
64
64
|
"memoizee": "^0.4.17",
|
65
65
|
"pinejs-client-core": "^8.1.2",
|
66
|
-
"randomstring": "^1.3.
|
66
|
+
"randomstring": "^1.3.1",
|
67
67
|
"typed-error": "^3.2.2"
|
68
68
|
},
|
69
69
|
"devDependencies": {
|
70
70
|
"@balena/lint": "^8.2.8",
|
71
71
|
"@balena/pinejs": "file:./",
|
72
|
-
"@balena/pinejs-webresource-s3": "^1.0.
|
73
|
-
"@faker-js/faker": "^9.
|
72
|
+
"@balena/pinejs-webresource-s3": "^1.0.3",
|
73
|
+
"@faker-js/faker": "^9.6.0",
|
74
74
|
"@types/busboy": "^1.5.4",
|
75
|
-
"@types/chai": "^5.0
|
76
|
-
"@types/grunt": "^0.4.
|
75
|
+
"@types/chai": "^5.2.0",
|
76
|
+
"@types/grunt": "^0.4.32",
|
77
77
|
"@types/mocha": "^10.0.10",
|
78
78
|
"@types/on-finished": "^2.3.4",
|
79
79
|
"@types/request": "^2.48.12",
|
80
80
|
"@types/supertest": "^6.0.2",
|
81
81
|
"@types/terser-webpack-plugin": "^5.2.0",
|
82
82
|
"@types/webpack": "^5.28.5",
|
83
|
-
"chai": "^5.
|
83
|
+
"chai": "^5.2.0",
|
84
84
|
"grunt": "^1.6.1",
|
85
85
|
"grunt-check-dependencies": "^1.0.0",
|
86
86
|
"grunt-cli": "^1.5.0",
|
@@ -93,36 +93,36 @@
|
|
93
93
|
"grunt-ts": "^6.0.0-beta.22",
|
94
94
|
"grunt-webpack": "^7.0.0",
|
95
95
|
"husky": "^9.1.7",
|
96
|
-
"lint-staged": "^15.
|
96
|
+
"lint-staged": "^15.5.0",
|
97
97
|
"load-grunt-tasks": "^5.1.0",
|
98
|
-
"mocha": "^11.0
|
98
|
+
"mocha": "^11.2.0",
|
99
99
|
"on-finished": "^2.4.1",
|
100
100
|
"pinejs-client-supertest": "^3.0.1",
|
101
101
|
"raw-loader": "^4.0.2",
|
102
102
|
"request": "^2.88.2",
|
103
103
|
"require-npm4-to-publish": "^1.0.0",
|
104
|
-
"supertest": "^7.
|
105
|
-
"terser-webpack-plugin": "^5.3.
|
106
|
-
"ts-loader": "^9.5.
|
104
|
+
"supertest": "^7.1.0",
|
105
|
+
"terser-webpack-plugin": "^5.3.14",
|
106
|
+
"ts-loader": "^9.5.2",
|
107
107
|
"ts-node": "^10.9.2",
|
108
|
-
"typescript": "^5.
|
109
|
-
"webpack": "^5.
|
108
|
+
"typescript": "^5.8.2",
|
109
|
+
"webpack": "^5.98.0",
|
110
110
|
"webpack-dev-server": "^5.2.0"
|
111
111
|
},
|
112
112
|
"optionalDependencies": {
|
113
|
-
"@aws-sdk/client-s3": "^3.
|
114
|
-
"@aws-sdk/lib-storage": "^3.
|
115
|
-
"@aws-sdk/s3-request-presigner": "^3.
|
113
|
+
"@aws-sdk/client-s3": "^3.772.0",
|
114
|
+
"@aws-sdk/lib-storage": "^3.772.0",
|
115
|
+
"@aws-sdk/s3-request-presigner": "^3.772.0",
|
116
116
|
"bcrypt": "^5.1.1",
|
117
117
|
"body-parser": "^1.20.3",
|
118
|
-
"compression": "^1.
|
118
|
+
"compression": "^1.8.0",
|
119
119
|
"cookie-parser": "^1.4.7",
|
120
120
|
"express": "^4.21.2",
|
121
121
|
"method-override": "^3.0.0",
|
122
122
|
"mysql": "^2.18.1",
|
123
123
|
"passport": "^0.7.0",
|
124
124
|
"passport-local": "^1.0.0",
|
125
|
-
"pg": "^8.
|
125
|
+
"pg": "^8.14.1",
|
126
126
|
"pg-connection-string": "^2.7.0",
|
127
127
|
"serve-static": "^1.16.2"
|
128
128
|
},
|
@@ -148,6 +148,6 @@
|
|
148
148
|
"recursive": true
|
149
149
|
},
|
150
150
|
"versionist": {
|
151
|
-
"publishedAt": "2025-03-
|
151
|
+
"publishedAt": "2025-03-21T16:01:22.716Z"
|
152
152
|
}
|
153
153
|
}
|