@balena/pinejs 20.0.8 → 20.0.9-build-update-deps-78d8cc5744e904762f52eb2fc893773da79296a2-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.
@@ -1,3 +1,223 @@
1
+ - commits:
2
+ - subject: Update dependencies
3
+ hash: 78d8cc5744e904762f52eb2fc893773da79296a2
4
+ body: |
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
8
+ footer:
9
+ Change-type: patch
10
+ change-type: patch
11
+ author: Pagan Gazzard
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
206
+ - commits:
207
+ - subject: "tests: Remove unnecessary returns & add curly braces"
208
+ hash: 9ad21e94dc29b333542caa92a1b465d89579e2ef
209
+ body: ""
210
+ footer:
211
+ Change-type: patch
212
+ change-type: patch
213
+ author: Thodoris Greasidis
214
+ nested: []
215
+ version: odata-to-abstract-sql-7.1.1
216
+ title: ""
217
+ date: 2025-03-18T13:55:56.178Z
218
+ version: 20.0.9
219
+ title: ""
220
+ date: 2025-03-21T16:01:20.794Z
1
221
  - commits:
2
222
  - subject: "Tasks: add a 100ms retry delay after a failed poll"
3
223
  hash: 908e687c9d9e315ef3a9a649ffcd3c3abf3336f4
@@ -9,7 +229,7 @@
9
229
  nested: []
10
230
  version: 20.0.8
11
231
  title: ""
12
- date: 2025-03-07T17:45:48.101Z
232
+ date: 2025-03-07T18:06:36.151Z
13
233
  - commits:
14
234
  - subject: Free up migration related memory after the models get executed
15
235
  hash: 6dde0e76a1bc1b70b1d212fb76b2222e72742fed
@@ -1680,6 +1900,7 @@
1680
1900
 
1681
1901
 
1682
1902
 
1903
+
1683
1904
  As balena-lint
1684
1905
  rejects `new
1685
1906
  Boolean()`, `new
@@ -1706,6 +1927,7 @@
1706
1927
 
1707
1928
 
1708
1929
 
1930
+
1709
1931
  As engine and npm is
1710
1932
  now required as part
1711
1933
  of package.json we
@@ -1747,6 +1969,7 @@
1747
1969
 
1748
1970
 
1749
1971
 
1972
+
1750
1973
  Ensure that the
1751
1974
  input passed in for
1752
1975
  JSON types is either
@@ -1851,6 +2074,7 @@
1851
2074
 
1852
2075
 
1853
2076
 
2077
+
1854
2078
  This also deprecates
1855
2079
  the legacy version
1856
2080
  footer:
@@ -1883,6 +2107,7 @@
1883
2107
 
1884
2108
 
1885
2109
 
2110
+
1886
2111
  It can in fact be a
1887
2112
  lot of different
1888
2113
  things and that is
@@ -1916,6 +2141,7 @@
1916
2141
 
1917
2142
 
1918
2143
 
2144
+
1919
2145
  We know what type
1920
2146
  they return and they
1921
2147
  should be explicitly
@@ -1954,6 +2180,7 @@
1954
2180
 
1955
2181
 
1956
2182
 
2183
+
1957
2184
  Update
1958
2185
  @balena/sbvr-types
1959
2186
  from 3.4.18 to 3.5.0
@@ -2103,6 +2330,7 @@
2103
2330
 
2104
2331
 
2105
2332
 
2333
+
2106
2334
  This also deprecates
2107
2335
  the legacy use of
2108
2336
  direct true/false
@@ -5223,6 +5451,7 @@
5223
5451
 
5224
5452
 
5225
5453
 
5454
+
5226
5455
 
5227
5456
 
5228
5457
  As balena-lint
@@ -5277,6 +5506,7 @@
5277
5506
 
5278
5507
 
5279
5508
 
5509
+
5280
5510
 
5281
5511
 
5282
5512
  As engine and npm is
@@ -5346,6 +5576,7 @@
5346
5576
 
5347
5577
 
5348
5578
 
5579
+
5349
5580
 
5350
5581
 
5351
5582
  Ensure that the
@@ -5478,6 +5709,7 @@
5478
5709
 
5479
5710
 
5480
5711
 
5712
+
5481
5713
 
5482
5714
 
5483
5715
  This also deprecates
@@ -5538,6 +5770,7 @@
5538
5770
 
5539
5771
 
5540
5772
 
5773
+
5541
5774
 
5542
5775
 
5543
5776
  It can in fact be a
@@ -5599,6 +5832,7 @@
5599
5832
 
5600
5833
 
5601
5834
 
5835
+
5602
5836
 
5603
5837
 
5604
5838
  We know what type
@@ -5665,6 +5899,7 @@
5665
5899
 
5666
5900
 
5667
5901
 
5902
+
5668
5903
 
5669
5904
 
5670
5905
  Update
@@ -5842,6 +6077,7 @@
5842
6077
 
5843
6078
 
5844
6079
 
6080
+
5845
6081
 
5846
6082
 
5847
6083
  This also deprecates
package/CHANGELOG.md CHANGED
@@ -4,6 +4,67 @@ All notable changes to this project will be documented in this file
4
4
  automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
5
5
  This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ # v20.0.9
8
+ ## (2025-03-21)
9
+
10
+
11
+ <details>
12
+ <summary> Update dependencies [Pagan Gazzard] </summary>
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
+ >
60
+ > ## odata-to-abstract-sql-7.1.1
61
+ > ### (2025-03-18)
62
+ >
63
+ > * tests: Remove unnecessary returns & add curly braces [Thodoris Greasidis]
64
+ >
65
+
66
+ </details>
67
+
7
68
  # v20.0.8
8
69
  ## (2025-03-07)
9
70
 
package/VERSION CHANGED
@@ -1 +1 @@
1
- 20.0.8
1
+ 20.0.9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@balena/pinejs",
3
- "version": "20.0.8",
3
+ "version": "20.0.9-build-update-deps-78d8cc5744e904762f52eb2fc893773da79296a2-1",
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.0",
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.0",
34
- "@balena/odata-to-abstract-sql": "^7.1.0",
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.1.0",
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.13",
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.11",
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.10",
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.0.0",
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.0",
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.2",
73
- "@faker-js/faker": "^9.3.0",
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.1",
76
- "@types/grunt": "^0.4.31",
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.1.2",
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.3.0",
96
+ "lint-staged": "^15.5.0",
97
97
  "load-grunt-tasks": "^5.1.0",
98
- "mocha": "^11.0.1",
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.0.0",
105
- "terser-webpack-plugin": "^5.3.11",
106
- "ts-loader": "^9.5.1",
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.7.2",
109
- "webpack": "^5.97.1",
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.717.0",
114
- "@aws-sdk/lib-storage": "^3.717.0",
115
- "@aws-sdk/s3-request-presigner": "^3.717.0",
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.7.5",
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.13.1",
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-07T17:45:49.089Z"
151
+ "publishedAt": "2025-03-21T16:01:22.716Z"
152
152
  }
153
153
  }