@cocreate/crud-server 1.28.9 → 1.28.11
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 +14 -0
- package/package.json +3 -3
- package/src/index.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.28.11](https://github.com/CoCreate-app/CoCreate-crud-server/compare/v1.28.10...v1.28.11) (2023-10-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* bump dependencies ([17ba6dc](https://github.com/CoCreate-app/CoCreate-crud-server/commit/17ba6dc3b18dc908cafc1b9a52898a6cf40b67d8))
|
|
7
|
+
|
|
8
|
+
## [1.28.10](https://github.com/CoCreate-app/CoCreate-crud-server/compare/v1.28.9...v1.28.10) (2023-10-20)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* update startwith for crud types ([26282fb](https://github.com/CoCreate-app/CoCreate-crud-server/commit/26282fb296f1dd51da2d93edc39d0c53c36988f1))
|
|
14
|
+
|
|
1
15
|
## [1.28.9](https://github.com/CoCreate-app/CoCreate-crud-server/compare/v1.28.8...v1.28.9) (2023-10-19)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cocreate/crud-server",
|
|
3
|
-
"version": "1.28.
|
|
3
|
+
"version": "1.28.11",
|
|
4
4
|
"description": "CoCreate-crud-server",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cocreate-crud",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
},
|
|
41
41
|
"homepage": "https://cocreate.app/docs/CoCreate-crud-server",
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@cocreate/config": "^1.6.
|
|
44
|
-
"@cocreate/utils": "^1.
|
|
43
|
+
"@cocreate/config": "^1.6.5",
|
|
44
|
+
"@cocreate/utils": "^1.26.1",
|
|
45
45
|
"csvtojson": "^2.0.10",
|
|
46
46
|
"json-2-csv": "^3.10.3"
|
|
47
47
|
}
|
package/src/index.js
CHANGED
|
@@ -112,7 +112,7 @@ class CoCreateCrudServer {
|
|
|
112
112
|
data['timeStamp'] = new Date()
|
|
113
113
|
|
|
114
114
|
// TODO: manage error handling if if no method defined
|
|
115
|
-
if (data.method.startsWith('update') && data.upsert != false)
|
|
115
|
+
if (data.method.startsWith('update.') && data.upsert != false)
|
|
116
116
|
data.upsert = true
|
|
117
117
|
|
|
118
118
|
if (data.array) {
|