@sap/cds-dk 8.0.2 → 8.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +49 -3
  2. package/bin/bind.js +3 -3
  3. package/bin/cds.js +8 -7
  4. package/bin/init.js +3 -6
  5. package/bin/version.js +5 -3
  6. package/bin/watch.js +12 -4
  7. package/lib/build/constants.js +1 -0
  8. package/lib/build/provider/hana/index.js +54 -37
  9. package/lib/build/provider/internalBuildTaskProvider.js +2 -2
  10. package/lib/build/provider/mtx-sidecar/index.js +10 -3
  11. package/lib/build/provider/nodejs/index.js +4 -3
  12. package/lib/compile/to-mermaid.js +27 -12
  13. package/lib/deploy/to-hana/hana.js +10 -8
  14. package/lib/deploy/to-hana/hdiDeployUtil.js +9 -1
  15. package/lib/init/constants.js +13 -3
  16. package/lib/init/index.js +6 -4
  17. package/lib/init/projectReader.js +3 -4
  18. package/lib/init/template/audit-logging/files/package.sidecar.json +7 -0
  19. package/lib/init/template/audit-logging/index.js +1 -1
  20. package/lib/init/template/cf-manifest/index.js +4 -0
  21. package/lib/init/template/cov2ap/files/dependencies.package.json +5 -0
  22. package/lib/init/template/cov2ap/index.js +31 -0
  23. package/lib/init/template/data/as-json.js +25 -11
  24. package/lib/init/template/destination/files/mta.yaml.hbs +6 -0
  25. package/lib/init/template/destination/files/package.sidecar.json +7 -0
  26. package/lib/init/template/destination/index.js +12 -2
  27. package/lib/init/template/event-queue/files/dependencies.package.json +5 -0
  28. package/lib/init/template/event-queue/index.js +35 -0
  29. package/lib/init/template/html5-repo/files/mta.yaml.hbs +6 -58
  30. package/lib/init/template/html5-repo/files/package.sidecar.json +7 -0
  31. package/lib/init/template/html5-repo/files/xs-app.json.hbs +1 -15
  32. package/lib/init/template/html5-repo/index.js +13 -10
  33. package/lib/init/template/http/index.js +37 -28
  34. package/lib/init/template/malware-scanner/index.js +1 -1
  35. package/lib/init/template/mta/files/package.json +1 -1
  36. package/lib/init/template/redis/files/mta.yaml.hbs +25 -0
  37. package/lib/init/template/redis/files/package.json.hbs +5 -0
  38. package/lib/init/template/redis/index.js +44 -0
  39. package/lib/init/template/redis-messaging/files/package.json.hbs +0 -3
  40. package/lib/init/template/redis-messaging/index.js +4 -18
  41. package/lib/init/template/sample/files/app/admin-books/webapp/manifest.json +0 -1
  42. package/lib/init/template/sample/files/app/browse/webapp/manifest.json +0 -1
  43. package/lib/init/template/sample/files/nodejs/admin-service.js +13 -8
  44. package/lib/init/template/sample/files/nodejs/cat-service.js +27 -15
  45. package/lib/init/template/typescript/files/package.json +3 -3
  46. package/lib/init/template/websocket/files/dependencies.package.json +5 -0
  47. package/lib/init/template/websocket/index.js +35 -0
  48. package/lib/init/template/workzone/index.js +1 -0
  49. package/lib/init/template/workzone-standard/files/mta.yaml.hbs +59 -0
  50. package/lib/init/template/workzone-standard/index.js +24 -8
  51. package/npm-shrinkwrap.json +22 -19
  52. package/package.json +1 -1
  53. package/lib/init/template/redis-messaging/files/mta.yaml.hbs +0 -14
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "8.0.2",
3
+ "version": "8.1.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sap/cds-dk",
9
- "version": "8.0.2",
9
+ "version": "8.1.0",
10
10
  "license": "SEE LICENSE IN LICENSE",
11
11
  "dependencies": {
12
12
  "@cap-js/asyncapi": "^1.0.0",
@@ -35,16 +35,19 @@
35
35
  }
36
36
  },
37
37
  "node_modules/@cap-js/asyncapi": {
38
- "version": "1.0.1",
38
+ "version": "1.0.2",
39
39
  "license": "SEE LICENSE IN LICENSE",
40
40
  "peerDependencies": {
41
- "@sap/cds": ">=7.3"
41
+ "@sap/cds": ">=7.6"
42
42
  }
43
43
  },
44
44
  "node_modules/@cap-js/db-service": {
45
- "version": "1.11.0",
45
+ "version": "1.12.0",
46
46
  "license": "SEE LICENSE",
47
47
  "optional": true,
48
+ "dependencies": {
49
+ "generic-pool": "^3.9.0"
50
+ },
48
51
  "peerDependencies": {
49
52
  "@sap/cds": ">=7.9"
50
53
  }
@@ -102,7 +105,7 @@
102
105
  }
103
106
  },
104
107
  "node_modules/@eslint/config-array": {
105
- "version": "0.17.0",
108
+ "version": "0.17.1",
106
109
  "license": "Apache-2.0",
107
110
  "dependencies": {
108
111
  "@eslint/object-schema": "^2.1.4",
@@ -135,7 +138,7 @@
135
138
  }
136
139
  },
137
140
  "node_modules/@eslint/js": {
138
- "version": "9.6.0",
141
+ "version": "9.8.0",
139
142
  "license": "MIT",
140
143
  "engines": {
141
144
  "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -200,7 +203,7 @@
200
203
  }
201
204
  },
202
205
  "node_modules/@sap/cds": {
203
- "version": "8.0.3",
206
+ "version": "8.1.0",
204
207
  "license": "SEE LICENSE IN LICENSE",
205
208
  "dependencies": {
206
209
  "@sap/cds-compiler": ">=5",
@@ -226,7 +229,7 @@
226
229
  }
227
230
  },
228
231
  "node_modules/@sap/cds-compiler": {
229
- "version": "5.0.6",
232
+ "version": "5.1.0",
230
233
  "license": "SEE LICENSE IN LICENSE",
231
234
  "dependencies": {
232
235
  "antlr4": "4.9.3"
@@ -262,7 +265,7 @@
262
265
  }
263
266
  },
264
267
  "node_modules/@sap/cds-mtxs": {
265
- "version": "2.0.2",
268
+ "version": "2.0.3",
266
269
  "license": "SEE LICENSE IN LICENSE",
267
270
  "dependencies": {
268
271
  "@sap/hdi-deploy": ">=4",
@@ -866,14 +869,14 @@
866
869
  }
867
870
  },
868
871
  "node_modules/eslint": {
869
- "version": "9.6.0",
872
+ "version": "9.8.0",
870
873
  "license": "MIT",
871
874
  "dependencies": {
872
875
  "@eslint-community/eslint-utils": "^4.2.0",
873
- "@eslint-community/regexpp": "^4.6.1",
874
- "@eslint/config-array": "^0.17.0",
876
+ "@eslint-community/regexpp": "^4.11.0",
877
+ "@eslint/config-array": "^0.17.1",
875
878
  "@eslint/eslintrc": "^3.1.0",
876
- "@eslint/js": "9.6.0",
879
+ "@eslint/js": "9.8.0",
877
880
  "@humanwhocodes/module-importer": "^1.0.1",
878
881
  "@humanwhocodes/retry": "^0.3.0",
879
882
  "@nodelib/fs.walk": "^1.2.8",
@@ -882,7 +885,7 @@
882
885
  "cross-spawn": "^7.0.2",
883
886
  "debug": "^4.3.2",
884
887
  "escape-string-regexp": "^4.0.0",
885
- "eslint-scope": "^8.0.1",
888
+ "eslint-scope": "^8.0.2",
886
889
  "eslint-visitor-keys": "^4.0.0",
887
890
  "espree": "^10.1.0",
888
891
  "esquery": "^1.5.0",
@@ -915,7 +918,7 @@
915
918
  }
916
919
  },
917
920
  "node_modules/eslint-scope": {
918
- "version": "8.0.1",
921
+ "version": "8.0.2",
919
922
  "license": "BSD-2-Clause",
920
923
  "dependencies": {
921
924
  "esrecurse": "^4.3.0",
@@ -2015,7 +2018,7 @@
2015
2018
  "license": "ISC"
2016
2019
  },
2017
2020
  "node_modules/semver": {
2018
- "version": "7.6.2",
2021
+ "version": "7.6.3",
2019
2022
  "license": "ISC",
2020
2023
  "bin": {
2021
2024
  "semver": "bin/semver.js"
@@ -2301,7 +2304,7 @@
2301
2304
  }
2302
2305
  },
2303
2306
  "node_modules/uglify-js": {
2304
- "version": "3.18.0",
2307
+ "version": "3.19.0",
2305
2308
  "license": "BSD-2-Clause",
2306
2309
  "optional": true,
2307
2310
  "bin": {
@@ -2422,7 +2425,7 @@
2422
2425
  }
2423
2426
  },
2424
2427
  "node_modules/yaml": {
2425
- "version": "2.4.5",
2428
+ "version": "2.5.0",
2426
2429
  "license": "ISC",
2427
2430
  "bin": {
2428
2431
  "yaml": "bin.mjs"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "8.0.2",
3
+ "version": "8.1.0",
4
4
  "description": "Command line client and development toolkit for the SAP Cloud Application Programming Model",
5
5
  "homepage": "https://cap.cloud.sap/",
6
6
  "keywords": [
@@ -1,14 +0,0 @@
1
- ---
2
- modules:
3
- - name: {{appName}}-srv
4
- type: {{language}}
5
- path: {{& srvPath}}
6
- requires:
7
- - name: {{appName}}-redis
8
-
9
- resources:
10
- - name: {{appName}}-redis
11
- type: org.cloudfoundry.managed-service
12
- parameters:
13
- service: redis-cache
14
- service-plan: default