@sap/cds-dk 7.0.2 → 7.0.3

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 (64) hide show
  1. package/bin/add.js +2 -2
  2. package/bin/bind.js +0 -1
  3. package/bin/cds.js +6 -4
  4. package/bin/deploy/to-hana.js +1 -1
  5. package/bin/init.js +2 -2
  6. package/lib/bind/cfKeyProvider.js +1 -0
  7. package/lib/bind/index.js +3 -0
  8. package/lib/bind/userCdsrcJsonStorageProvider.js +2 -10
  9. package/lib/build/constants.js +16 -14
  10. package/lib/build/provider/mtx/resourcesTarBuilder.js +2 -6
  11. package/lib/build/provider/mtx-sidecar/index.js +13 -8
  12. package/lib/client/base_command.js +3 -6
  13. package/lib/compile/asyncapi/components/messages/index.js +41 -18
  14. package/lib/compile/asyncapi/index.js +23 -2
  15. package/lib/import/odata/metadataconverter/MetadataConverter.js +1 -0
  16. package/lib/init/constants.js +1 -1
  17. package/lib/init/index.js +58 -66
  18. package/lib/init/template/approuter/index.js +3 -4
  19. package/lib/init/template/auditlog/index.js +3 -4
  20. package/lib/init/template/cf-manifest/files/manifest.yml.hbs +15 -23
  21. package/lib/init/template/cf-manifest/files/services-manifest.yml.hbs +22 -17
  22. package/lib/init/template/cf-manifest/index.js +2 -2
  23. package/lib/init/template/connectivity/index.js +2 -3
  24. package/lib/init/template/data/index.js +5 -5
  25. package/lib/init/template/destination/index.js +3 -5
  26. package/lib/init/template/enterprise-messaging/index.js +4 -5
  27. package/lib/init/template/enterprise-messaging-shared/index.js +3 -4
  28. package/lib/init/template/extensibility/index.js +2 -3
  29. package/lib/init/template/file-based-messaging/index.js +2 -2
  30. package/lib/init/template/hana/files/mta.yaml.hbs +1 -1
  31. package/lib/init/template/hana/index.js +39 -63
  32. package/lib/init/template/helm/index.js +15 -14
  33. package/lib/init/template/html5-repo/index.js +3 -7
  34. package/lib/init/template/java/index.js +3 -3
  35. package/lib/init/template/kibana/index.js +3 -4
  36. package/lib/init/template/lint/index.js +8 -7
  37. package/lib/init/template/mta/index.js +3 -2
  38. package/lib/init/template/multitenancy/files/package.sidecar.json.hbs +1 -1
  39. package/lib/init/template/multitenancy/index.js +16 -37
  40. package/lib/init/template/nodejs/index.js +2 -3
  41. package/lib/init/template/pipeline/index.js +2 -2
  42. package/lib/init/template/redis-messaging/index.js +3 -4
  43. package/lib/init/template/sample/files/app/admin-books/webapp/manifest.json +1 -1
  44. package/lib/init/template/sample/files/app/browse/webapp/manifest.json +1 -1
  45. package/lib/init/template/sample/files/srv/admin-service.cds +1 -1
  46. package/lib/init/template/sample/files/srv/cat-service.cds +1 -1
  47. package/lib/init/template/sample/index.js +6 -5
  48. package/lib/init/template/sqlite/index.js +1 -1
  49. package/lib/init/template/templateBase.js +9 -19
  50. package/lib/init/template/tiny-sample/index.js +5 -5
  51. package/lib/init/template/toggles/index.js +1 -2
  52. package/lib/init/template/typer/files/xsconfig.json +0 -1
  53. package/lib/init/template/typer/index.js +1 -1
  54. package/lib/init/template/xsuaa/index.js +3 -4
  55. package/lib/init/util/indent.js +57 -0
  56. package/lib/init/util/merge.js +71 -15
  57. package/lib/init/util/mvn.js +23 -9
  58. package/lib/init/util/projectReader.js +52 -168
  59. package/lib/init/util/template.js +12 -11
  60. package/lib/init/util/xml.js +6 -6
  61. package/lib/util/pruneAxiosErrors.js +22 -0
  62. package/lib/watch/open.js +6 -3
  63. package/npm-shrinkwrap.json +11 -17
  64. package/package.json +1 -2
@@ -1,16 +1,15 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sap/cds-dk",
9
- "version": "7.0.2",
9
+ "version": "7.0.3",
10
10
  "license": "SEE LICENSE IN LICENSE",
11
11
  "dependencies": {
12
12
  "@sap/cds": "^7",
13
- "@sap/cds-compiler": "^4",
14
13
  "@sap/cds-foss": "^4.0.2",
15
14
  "@sap/cds-mtxs": "^1.9.0",
16
15
  "@sap/eslint-plugin-cds": "^2.6.0",
@@ -121,7 +120,7 @@
121
120
  "license": "BSD-3-Clause"
122
121
  },
123
122
  "node_modules/@mapbox/node-pre-gyp": {
124
- "version": "1.0.10",
123
+ "version": "1.0.11",
125
124
  "license": "BSD-3-Clause",
126
125
  "optional": true,
127
126
  "dependencies": {
@@ -190,7 +189,7 @@
190
189
  }
191
190
  },
192
191
  "node_modules/@sap/cds": {
193
- "version": "7.0.2",
192
+ "version": "7.0.3",
194
193
  "license": "SEE LICENSE IN LICENSE",
195
194
  "dependencies": {
196
195
  "@sap/cds-compiler": ">=3.9",
@@ -243,7 +242,7 @@
243
242
  }
244
243
  },
245
244
  "node_modules/@sap/cds-mtxs": {
246
- "version": "1.9.0",
245
+ "version": "1.9.2",
247
246
  "license": "SEE LICENSE IN LICENSE",
248
247
  "dependencies": {
249
248
  "@sap/hdi-deploy": "^4",
@@ -252,9 +251,6 @@
252
251
  "bin": {
253
252
  "cds-mtx": "bin/cds-mtx.js",
254
253
  "cds-mtx-migrate": "bin/cds-mtx-migrate.js"
255
- },
256
- "peerDependencies": {
257
- "@sap/cds": ">=6"
258
254
  }
259
255
  },
260
256
  "node_modules/@sap/eslint-plugin-cds": {
@@ -1019,7 +1015,7 @@
1019
1015
  }
1020
1016
  },
1021
1017
  "node_modules/detect-libc": {
1022
- "version": "2.0.1",
1018
+ "version": "2.0.2",
1023
1019
  "license": "Apache-2.0",
1024
1020
  "optional": true,
1025
1021
  "engines": {
@@ -1099,7 +1095,7 @@
1099
1095
  }
1100
1096
  },
1101
1097
  "node_modules/eslint": {
1102
- "version": "8.44.0",
1098
+ "version": "8.45.0",
1103
1099
  "license": "MIT",
1104
1100
  "dependencies": {
1105
1101
  "@eslint-community/eslint-utils": "^4.2.0",
@@ -1127,7 +1123,6 @@
1127
1123
  "globals": "^13.19.0",
1128
1124
  "graphemer": "^1.4.0",
1129
1125
  "ignore": "^5.2.0",
1130
- "import-fresh": "^3.0.0",
1131
1126
  "imurmurhash": "^0.1.4",
1132
1127
  "is-glob": "^4.0.0",
1133
1128
  "is-path-inside": "^3.0.3",
@@ -1139,7 +1134,6 @@
1139
1134
  "natural-compare": "^1.4.0",
1140
1135
  "optionator": "^0.9.3",
1141
1136
  "strip-ansi": "^6.0.1",
1142
- "strip-json-comments": "^3.1.0",
1143
1137
  "text-table": "^0.2.0"
1144
1138
  },
1145
1139
  "bin": {
@@ -1153,7 +1147,7 @@
1153
1147
  }
1154
1148
  },
1155
1149
  "node_modules/eslint-scope": {
1156
- "version": "7.2.0",
1150
+ "version": "7.2.1",
1157
1151
  "license": "BSD-2-Clause",
1158
1152
  "dependencies": {
1159
1153
  "esrecurse": "^4.3.0",
@@ -1177,7 +1171,7 @@
1177
1171
  }
1178
1172
  },
1179
1173
  "node_modules/espree": {
1180
- "version": "9.6.0",
1174
+ "version": "9.6.1",
1181
1175
  "license": "BSD-2-Clause",
1182
1176
  "dependencies": {
1183
1177
  "acorn": "^8.9.0",
@@ -1818,7 +1812,7 @@
1818
1812
  }
1819
1813
  },
1820
1814
  "node_modules/make-dir/node_modules/semver": {
1821
- "version": "6.3.0",
1815
+ "version": "6.3.1",
1822
1816
  "license": "ISC",
1823
1817
  "optional": true,
1824
1818
  "bin": {
@@ -2533,7 +2527,7 @@
2533
2527
  "license": "ISC"
2534
2528
  },
2535
2529
  "node_modules/semver": {
2536
- "version": "7.5.3",
2530
+ "version": "7.5.4",
2537
2531
  "license": "ISC",
2538
2532
  "dependencies": {
2539
2533
  "lru-cache": "^6.0.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "7.0.2",
3
+ "version": "7.0.3",
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": [
@@ -17,7 +17,6 @@
17
17
  "main": "lib/index.js",
18
18
  "dependencies": {
19
19
  "@sap/cds": "^7",
20
- "@sap/cds-compiler": "^4",
21
20
  "@sap/cds-foss": "^4.0.2",
22
21
  "@sap/cds-mtxs": "^1.9.0",
23
22
  "@sap/eslint-plugin-cds": "^2.6.0",