@balena/lf-to-abstract-sql 5.0.0 → 5.0.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/.versionbot/CHANGELOG.yml +136 -2
- package/CHANGELOG.md +38 -0
- package/package.json +3 -3
- package/test/test.js +1 -1
|
@@ -1,3 +1,136 @@
|
|
|
1
|
+
- commits:
|
|
2
|
+
- subject: Update @balena/sbvr-types to 5.0.0
|
|
3
|
+
hash: 9acf28eac9790f47704d9103b5788fc4e1802e14
|
|
4
|
+
body: |
|
|
5
|
+
Update @balena/sbvr-types from 3.4.18 to 5.0.0
|
|
6
|
+
footer:
|
|
7
|
+
Change-type: patch
|
|
8
|
+
change-type: patch
|
|
9
|
+
author: Pagan Gazzard
|
|
10
|
+
nested:
|
|
11
|
+
- commits:
|
|
12
|
+
- subject: Switch from `export =` to `export default`
|
|
13
|
+
hash: 6cd01340e0fee46833942691fce5a9f6a42ac104
|
|
14
|
+
body: ""
|
|
15
|
+
footer:
|
|
16
|
+
Change-type: major
|
|
17
|
+
change-type: major
|
|
18
|
+
author: Pagan Gazzard
|
|
19
|
+
version: sbvr-types-5.0.0
|
|
20
|
+
title: ""
|
|
21
|
+
date: 2023-05-16T15:56:09.861Z
|
|
22
|
+
- commits:
|
|
23
|
+
- subject: Improve typings
|
|
24
|
+
hash: a5fd4a319cd0336afc5a765af9e1a1eec851f2c3
|
|
25
|
+
body: ""
|
|
26
|
+
footer:
|
|
27
|
+
Change-type: patch
|
|
28
|
+
change-type: patch
|
|
29
|
+
author: Pagan Gazzard
|
|
30
|
+
version: sbvr-types-4.0.2
|
|
31
|
+
title: ""
|
|
32
|
+
date: 2023-05-03T11:40:24.422Z
|
|
33
|
+
- commits:
|
|
34
|
+
- subject: "boolean: Avoid unnecessary array creation to reduce GCs"
|
|
35
|
+
hash: 5ba948cd5f42844974d43dc19f1c371e56376fc8
|
|
36
|
+
body: ""
|
|
37
|
+
footer:
|
|
38
|
+
Change-type: patch
|
|
39
|
+
change-type: patch
|
|
40
|
+
author: Thodoris Greasidis
|
|
41
|
+
version: sbvr-types-4.0.1
|
|
42
|
+
title: ""
|
|
43
|
+
date: 2023-05-02T13:39:37.722Z
|
|
44
|
+
- commits:
|
|
45
|
+
- subject: Add test cases for Objects in JSON validate
|
|
46
|
+
hash: be8fc31c3754186dd4c43ca8d4c056b0def7ffbd
|
|
47
|
+
body: >
|
|
48
|
+
As balena-lint rejects `new Boolean()`, `new Number()` and `new
|
|
49
|
+
String()` constructor usage, test cases double check that they
|
|
50
|
+
are not instantiated as object but primitive type.
|
|
51
|
+
footer:
|
|
52
|
+
Change-type: patch
|
|
53
|
+
change-type: patch
|
|
54
|
+
Signed-off-by: fisehara <harald@balena.io>
|
|
55
|
+
signed-off-by: fisehara <harald@balena.io>
|
|
56
|
+
author: fisehara
|
|
57
|
+
- subject: Drop `require-npm4-to-publish` devDependency
|
|
58
|
+
hash: 46a369117c9d1222089498a8794c32d14edef85b
|
|
59
|
+
body: >
|
|
60
|
+
As engine and npm is now required as part of package.json we can
|
|
61
|
+
drop this dependency
|
|
62
|
+
footer:
|
|
63
|
+
Change-type: patch
|
|
64
|
+
change-type: patch
|
|
65
|
+
Signed-off-by: fisehara <harald@balena.io>
|
|
66
|
+
signed-off-by: fisehara <harald@balena.io>
|
|
67
|
+
author: fisehara
|
|
68
|
+
- subject: Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021
|
|
69
|
+
hash: 54920d701a7aa4890c27801fc5cc6b9d74ece21c
|
|
70
|
+
body: ""
|
|
71
|
+
footer:
|
|
72
|
+
Change-type: major
|
|
73
|
+
change-type: major
|
|
74
|
+
author: Pagan Gazzard
|
|
75
|
+
- subject: Switch `JSON` to use `JSON` db type instead of `TEXT`
|
|
76
|
+
hash: 0d3561364ad018f59466c0dae9b3adb4390d9496
|
|
77
|
+
body: ""
|
|
78
|
+
footer:
|
|
79
|
+
Change-type: major
|
|
80
|
+
change-type: major
|
|
81
|
+
author: Pagan Gazzard
|
|
82
|
+
- subject: Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER`
|
|
83
|
+
hash: 5af2bd476a9032ab5d60c163a3940e0dd8e81cc6
|
|
84
|
+
body: ""
|
|
85
|
+
footer:
|
|
86
|
+
Change-type: major
|
|
87
|
+
change-type: major
|
|
88
|
+
author: Pagan Gazzard
|
|
89
|
+
- subject: Assert that JSON input typeof is object
|
|
90
|
+
hash: 1819ee97811e20da93c6e0f227db6a62ada8c00e
|
|
91
|
+
body: >
|
|
92
|
+
Ensure that the input passed in for JSON types is either an
|
|
93
|
+
object or
|
|
94
|
+
|
|
95
|
+
an array (typeof returns 'object' for arrays as well). This change is
|
|
96
|
+
|
|
97
|
+
mainly to prevent primitives from being stored as JSON.
|
|
98
|
+
footer:
|
|
99
|
+
Change-type: major
|
|
100
|
+
change-type: major
|
|
101
|
+
Signed-off-by: Josh Bowling <josh@monarci.com>
|
|
102
|
+
signed-off-by: Josh Bowling <josh@monarci.com>
|
|
103
|
+
author: Josh Bowling
|
|
104
|
+
version: sbvr-types-4.0.0
|
|
105
|
+
title: ""
|
|
106
|
+
date: 2023-04-26T15:00:16.169Z
|
|
107
|
+
- commits:
|
|
108
|
+
- subject: Add Big Serial type
|
|
109
|
+
hash: 49460ad51fcbc60f81e61329c573a1af5b207a46
|
|
110
|
+
body: ""
|
|
111
|
+
footer:
|
|
112
|
+
Change-type: minor
|
|
113
|
+
change-type: minor
|
|
114
|
+
author: Josh Bowling
|
|
115
|
+
version: sbvr-types-3.5.0
|
|
116
|
+
title: ""
|
|
117
|
+
date: 2023-03-21T11:16:27.398Z
|
|
118
|
+
- commits:
|
|
119
|
+
- subject: "Flowzone: Allow external contributions"
|
|
120
|
+
hash: 9f7bb028bbac327e6fe0711491d7c0f2c6464f98
|
|
121
|
+
body: ""
|
|
122
|
+
footer:
|
|
123
|
+
Change-type: patch
|
|
124
|
+
change-type: patch
|
|
125
|
+
Signed-off-by: Josh Bowling <josh@monarci.com>
|
|
126
|
+
signed-off-by: Josh Bowling <josh@monarci.com>
|
|
127
|
+
author: Josh Bowling
|
|
128
|
+
version: sbvr-types-3.4.19
|
|
129
|
+
title: ""
|
|
130
|
+
date: 2022-12-08T01:08:35.143Z
|
|
131
|
+
version: 5.0.1
|
|
132
|
+
title: ""
|
|
133
|
+
date: 2023-05-16T16:06:25.786Z
|
|
1
134
|
- commits:
|
|
2
135
|
- subject: Expand `lfInfo` to also include the root table name
|
|
3
136
|
hash: cd6429c29d11d986d13b2f3a1c7090310e3e4d03
|
|
@@ -12,7 +145,7 @@
|
|
|
12
145
|
nested: []
|
|
13
146
|
version: 5.0.0
|
|
14
147
|
title: ""
|
|
15
|
-
date: 2023-02-10T18:
|
|
148
|
+
date: 2023-02-10T18:42:29.921Z
|
|
16
149
|
- commits:
|
|
17
150
|
- subject: Empty commit to force a new version to be generated
|
|
18
151
|
hash: 41bc55fa9af394d8c2294c243839d472c1ed92c6
|
|
@@ -300,7 +433,8 @@
|
|
|
300
433
|
- subject: Add a `castType` property to type functions
|
|
301
434
|
hash: 409077eb9d6c0315779ddd877220280c251b4eb5
|
|
302
435
|
body: >
|
|
303
|
-
This allows specifying the correct type to cast to when
|
|
436
|
+
This allows specifying the correct type to cast to when
|
|
437
|
+
necessary
|
|
304
438
|
|
|
305
439
|
rather than relying on the fact the currently all type functions happen
|
|
306
440
|
|
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,44 @@ 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
|
+
## 5.0.1 - 2023-05-16
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
<details>
|
|
11
|
+
<summary> Update @balena/sbvr-types to 5.0.0 [Pagan Gazzard] </summary>
|
|
12
|
+
|
|
13
|
+
> ### sbvr-types-5.0.0 - 2023-05-16
|
|
14
|
+
>
|
|
15
|
+
> * Switch from `export =` to `export default` [Pagan Gazzard]
|
|
16
|
+
>
|
|
17
|
+
> ### sbvr-types-4.0.2 - 2023-05-03
|
|
18
|
+
>
|
|
19
|
+
> * Improve typings [Pagan Gazzard]
|
|
20
|
+
>
|
|
21
|
+
> ### sbvr-types-4.0.1 - 2023-05-02
|
|
22
|
+
>
|
|
23
|
+
> * boolean: Avoid unnecessary array creation to reduce GCs [Thodoris Greasidis]
|
|
24
|
+
>
|
|
25
|
+
> ### sbvr-types-4.0.0 - 2023-04-26
|
|
26
|
+
>
|
|
27
|
+
> * Add test cases for Objects in JSON validate [fisehara]
|
|
28
|
+
> * Drop `require-npm4-to-publish` devDependency [fisehara]
|
|
29
|
+
> * Set minimum supported nodejs version to 16.13.0 and tsconfig to es2021 [Pagan Gazzard]
|
|
30
|
+
> * Switch `JSON` to use `JSON` db type instead of `TEXT` [Pagan Gazzard]
|
|
31
|
+
> * Switch `Boolean` to use `BOOLEAN` db type instead of `INTEGER` [Pagan Gazzard]
|
|
32
|
+
> * Assert that JSON input typeof is object [Josh Bowling]
|
|
33
|
+
>
|
|
34
|
+
> ### sbvr-types-3.5.0 - 2023-03-21
|
|
35
|
+
>
|
|
36
|
+
> * Add Big Serial type [Josh Bowling]
|
|
37
|
+
>
|
|
38
|
+
> ### sbvr-types-3.4.19 - 2022-12-08
|
|
39
|
+
>
|
|
40
|
+
> * Flowzone: Allow external contributions [Josh Bowling]
|
|
41
|
+
>
|
|
42
|
+
|
|
43
|
+
</details>
|
|
44
|
+
|
|
7
45
|
## 5.0.0 - 2023-02-10
|
|
8
46
|
|
|
9
47
|
* Expand `lfInfo` to also include the root table name [Carol Schulze]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@balena/lf-to-abstract-sql",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"description": "LF to Abstract SQL translator.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@balena/lint": "^6.2.1",
|
|
25
|
-
"@balena/sbvr-types": "^
|
|
25
|
+
"@balena/sbvr-types": "^5.0.0",
|
|
26
26
|
"chai": "^4.3.7",
|
|
27
27
|
"mocha": "^10.1.0",
|
|
28
28
|
"require-npm4-to-publish": "^1.0.0"
|
|
@@ -35,6 +35,6 @@
|
|
|
35
35
|
"_": "test/**/*.js"
|
|
36
36
|
},
|
|
37
37
|
"versionist": {
|
|
38
|
-
"publishedAt": "2023-
|
|
38
|
+
"publishedAt": "2023-05-16T16:06:27.045Z"
|
|
39
39
|
}
|
|
40
40
|
}
|
package/test/test.js
CHANGED