@sap/cds-dk 8.5.1 → 8.6.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 (49) hide show
  1. package/CHANGELOG.md +23 -3
  2. package/bin/cds.js +2 -3
  3. package/bin/deploy/index.js +9 -11
  4. package/bin/import.js +6 -2
  5. package/bin/repl.js +82 -56
  6. package/lib/bind/cfKeyProvider.js +4 -3
  7. package/lib/bind/index.js +1 -1
  8. package/lib/build/buildTaskEngine.js +1 -1
  9. package/lib/build/plugins/helm/files/subcharts/content-deployment/Chart.yaml +3 -1
  10. package/lib/build/plugins/helm/files/subcharts/content-deployment/templates/_helpers.tpl +3 -5
  11. package/lib/build/plugins/helm/files/subcharts/content-deployment/values.schema.json +1 -16
  12. package/lib/build/plugins/helm/files/subcharts/content-deployment/values.yaml +6 -7
  13. package/lib/build/plugins/helm/files/subcharts/web-application/Chart.yaml +3 -1
  14. package/lib/build/plugins/helm/files/subcharts/web-application/templates/_helpers.tpl +25 -5
  15. package/lib/build/plugins/helm/files/subcharts/web-application/templates/api-rule.yaml +13 -4
  16. package/lib/build/plugins/helm/files/subcharts/web-application/templates/service-binding.yaml +6 -1
  17. package/lib/build/plugins/helm/files/subcharts/web-application/values.schema.json +55 -48
  18. package/lib/build/plugins/helm/files/subcharts/web-application/values.yaml +19 -7
  19. package/lib/import/common.js +2 -2
  20. package/lib/init/constants.js +2 -0
  21. package/lib/init/index.js +10 -0
  22. package/lib/init/registries/mta.js +7 -1
  23. package/lib/init/template/ams/files/Chart.yaml.hbs +4 -0
  24. package/lib/init/template/ams/files/containerize.yaml.hbs +20 -0
  25. package/lib/init/template/ams/files/manifest.yml.hbs +24 -0
  26. package/lib/init/template/ams/files/mta.yaml.hbs +31 -0
  27. package/lib/init/template/ams/files/package.json.hbs +10 -0
  28. package/lib/init/template/ams/files/values.yaml.hbs +13 -0
  29. package/lib/init/template/ams/index.js +80 -0
  30. package/lib/init/template/approuter/files/mta.yaml.hbs +6 -4
  31. package/lib/init/template/approuter/files/package.json +1 -1
  32. package/lib/init/template/helm/files/values.schema.json +0 -2079
  33. package/lib/init/template/http/index.js +10 -8
  34. package/lib/init/template/ias/files/Chart.yaml.hbs +4 -0
  35. package/lib/init/template/ias/files/manifest.yml.hbs +8 -0
  36. package/lib/init/template/ias/files/mta.yaml.hbs +61 -0
  37. package/lib/init/template/ias/files/package.json.hbs +22 -0
  38. package/lib/init/template/ias/files/services-manifest.yml.hbs +6 -0
  39. package/lib/init/template/ias/files/values.yaml.hbs +52 -0
  40. package/lib/init/template/ias/index.js +71 -0
  41. package/lib/init/template/mta/files/mta.yaml.hbs +15 -1
  42. package/lib/init/template/multitenancy/files/mta.yaml.hbs +38 -5
  43. package/lib/init/template/multitenancy/files/package.sidecar.json.hbs +5 -2
  44. package/lib/init/template/multitenancy/index.js +40 -31
  45. package/lib/init/template/xsuaa/index.js +1 -1
  46. package/lib/util/cf.js +4 -4
  47. package/lib/util/command.js +1 -9
  48. package/npm-shrinkwrap.json +114 -90
  49. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "8.5.1",
3
+ "version": "8.6.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sap/cds-dk",
9
- "version": "8.5.1",
9
+ "version": "8.6.0",
10
10
  "license": "SEE LICENSE IN LICENSE",
11
11
  "dependencies": {
12
12
  "@cap-js/asyncapi": "^1.0.0",
@@ -43,7 +43,7 @@
43
43
  }
44
44
  },
45
45
  "node_modules/@cap-js/db-service": {
46
- "version": "1.16.0",
46
+ "version": "1.16.1",
47
47
  "license": "SEE LICENSE",
48
48
  "optional": true,
49
49
  "dependencies": {
@@ -54,7 +54,7 @@
54
54
  }
55
55
  },
56
56
  "node_modules/@cap-js/openapi": {
57
- "version": "1.1.0",
57
+ "version": "1.1.1",
58
58
  "license": "SEE LICENSE IN LICENSE",
59
59
  "dependencies": {
60
60
  "pluralize": "^8.0.0"
@@ -64,7 +64,7 @@
64
64
  }
65
65
  },
66
66
  "node_modules/@cap-js/sqlite": {
67
- "version": "1.7.7",
67
+ "version": "1.7.8",
68
68
  "license": "SEE LICENSE",
69
69
  "optional": true,
70
70
  "dependencies": {
@@ -152,7 +152,7 @@
152
152
  }
153
153
  },
154
154
  "node_modules/@eslint/js": {
155
- "version": "9.16.0",
155
+ "version": "9.17.0",
156
156
  "license": "MIT",
157
157
  "engines": {
158
158
  "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
@@ -227,7 +227,7 @@
227
227
  }
228
228
  },
229
229
  "node_modules/@sap/cds": {
230
- "version": "8.5.1",
230
+ "version": "8.6.0",
231
231
  "license": "SEE LICENSE IN LICENSE",
232
232
  "dependencies": {
233
233
  "@sap/cds-compiler": ">=5.1",
@@ -253,7 +253,7 @@
253
253
  }
254
254
  },
255
255
  "node_modules/@sap/cds-compiler": {
256
- "version": "5.5.2",
256
+ "version": "5.6.0",
257
257
  "license": "SEE LICENSE IN LICENSE",
258
258
  "dependencies": {
259
259
  "antlr4": "4.9.3"
@@ -501,7 +501,7 @@
501
501
  "optional": true
502
502
  },
503
503
  "node_modules/better-sqlite3": {
504
- "version": "11.6.0",
504
+ "version": "11.7.0",
505
505
  "hasInstallScript": true,
506
506
  "license": "MIT",
507
507
  "optional": true,
@@ -620,31 +620,29 @@
620
620
  "node": ">= 0.8"
621
621
  }
622
622
  },
623
- "node_modules/call-bind": {
624
- "version": "1.0.8",
623
+ "node_modules/call-bind-apply-helpers": {
624
+ "version": "1.0.1",
625
625
  "license": "MIT",
626
626
  "dependencies": {
627
- "call-bind-apply-helpers": "^1.0.0",
628
- "es-define-property": "^1.0.0",
629
- "get-intrinsic": "^1.2.4",
630
- "set-function-length": "^1.2.2"
627
+ "es-errors": "^1.3.0",
628
+ "function-bind": "^1.1.2"
631
629
  },
632
630
  "engines": {
633
631
  "node": ">= 0.4"
634
- },
635
- "funding": {
636
- "url": "https://github.com/sponsors/ljharb"
637
632
  }
638
633
  },
639
- "node_modules/call-bind-apply-helpers": {
640
- "version": "1.0.0",
634
+ "node_modules/call-bound": {
635
+ "version": "1.0.3",
641
636
  "license": "MIT",
642
637
  "dependencies": {
643
- "es-errors": "^1.3.0",
644
- "function-bind": "^1.1.2"
638
+ "call-bind-apply-helpers": "^1.0.1",
639
+ "get-intrinsic": "^1.2.6"
645
640
  },
646
641
  "engines": {
647
642
  "node": ">= 0.4"
643
+ },
644
+ "funding": {
645
+ "url": "https://github.com/sponsors/ljharb"
648
646
  }
649
647
  },
650
648
  "node_modules/callsites": {
@@ -793,21 +791,6 @@
793
791
  "version": "0.1.4",
794
792
  "license": "MIT"
795
793
  },
796
- "node_modules/define-data-property": {
797
- "version": "1.1.4",
798
- "license": "MIT",
799
- "dependencies": {
800
- "es-define-property": "^1.0.0",
801
- "es-errors": "^1.3.0",
802
- "gopd": "^1.0.1"
803
- },
804
- "engines": {
805
- "node": ">= 0.4"
806
- },
807
- "funding": {
808
- "url": "https://github.com/sponsors/ljharb"
809
- }
810
- },
811
794
  "node_modules/delayed-stream": {
812
795
  "version": "1.0.0",
813
796
  "license": "MIT",
@@ -848,6 +831,18 @@
848
831
  "url": "https://dotenvx.com"
849
832
  }
850
833
  },
834
+ "node_modules/dunder-proto": {
835
+ "version": "1.0.1",
836
+ "license": "MIT",
837
+ "dependencies": {
838
+ "call-bind-apply-helpers": "^1.0.1",
839
+ "es-errors": "^1.3.0",
840
+ "gopd": "^1.2.0"
841
+ },
842
+ "engines": {
843
+ "node": ">= 0.4"
844
+ }
845
+ },
851
846
  "node_modules/ee-first": {
852
847
  "version": "1.1.1",
853
848
  "license": "MIT"
@@ -868,11 +863,8 @@
868
863
  }
869
864
  },
870
865
  "node_modules/es-define-property": {
871
- "version": "1.0.0",
866
+ "version": "1.0.1",
872
867
  "license": "MIT",
873
- "dependencies": {
874
- "get-intrinsic": "^1.2.4"
875
- },
876
868
  "engines": {
877
869
  "node": ">= 0.4"
878
870
  }
@@ -884,6 +876,16 @@
884
876
  "node": ">= 0.4"
885
877
  }
886
878
  },
879
+ "node_modules/es-object-atoms": {
880
+ "version": "1.0.0",
881
+ "license": "MIT",
882
+ "dependencies": {
883
+ "es-errors": "^1.3.0"
884
+ },
885
+ "engines": {
886
+ "node": ">= 0.4"
887
+ }
888
+ },
887
889
  "node_modules/escape-html": {
888
890
  "version": "1.0.3",
889
891
  "license": "MIT"
@@ -899,7 +901,7 @@
899
901
  }
900
902
  },
901
903
  "node_modules/eslint": {
902
- "version": "9.16.0",
904
+ "version": "9.17.0",
903
905
  "license": "MIT",
904
906
  "dependencies": {
905
907
  "@eslint-community/eslint-utils": "^4.2.0",
@@ -907,7 +909,7 @@
907
909
  "@eslint/config-array": "^0.19.0",
908
910
  "@eslint/core": "^0.9.0",
909
911
  "@eslint/eslintrc": "^3.2.0",
910
- "@eslint/js": "9.16.0",
912
+ "@eslint/js": "9.17.0",
911
913
  "@eslint/plugin-kit": "^0.2.3",
912
914
  "@humanfs/node": "^0.16.6",
913
915
  "@humanwhocodes/module-importer": "^1.0.1",
@@ -916,7 +918,7 @@
916
918
  "@types/json-schema": "^7.0.15",
917
919
  "ajv": "^6.12.4",
918
920
  "chalk": "^4.0.0",
919
- "cross-spawn": "^7.0.5",
921
+ "cross-spawn": "^7.0.6",
920
922
  "debug": "^4.3.2",
921
923
  "escape-string-regexp": "^4.0.0",
922
924
  "eslint-scope": "^8.2.0",
@@ -1262,14 +1264,19 @@
1262
1264
  }
1263
1265
  },
1264
1266
  "node_modules/get-intrinsic": {
1265
- "version": "1.2.4",
1267
+ "version": "1.2.6",
1266
1268
  "license": "MIT",
1267
1269
  "dependencies": {
1270
+ "call-bind-apply-helpers": "^1.0.1",
1271
+ "dunder-proto": "^1.0.0",
1272
+ "es-define-property": "^1.0.1",
1268
1273
  "es-errors": "^1.3.0",
1274
+ "es-object-atoms": "^1.0.0",
1269
1275
  "function-bind": "^1.1.2",
1270
- "has-proto": "^1.0.1",
1271
- "has-symbols": "^1.0.3",
1272
- "hasown": "^2.0.0"
1276
+ "gopd": "^1.2.0",
1277
+ "has-symbols": "^1.1.0",
1278
+ "hasown": "^2.0.2",
1279
+ "math-intrinsics": "^1.0.0"
1273
1280
  },
1274
1281
  "engines": {
1275
1282
  "node": ">= 0.4"
@@ -1339,29 +1346,6 @@
1339
1346
  "node": ">=8"
1340
1347
  }
1341
1348
  },
1342
- "node_modules/has-property-descriptors": {
1343
- "version": "1.0.2",
1344
- "license": "MIT",
1345
- "dependencies": {
1346
- "es-define-property": "^1.0.0"
1347
- },
1348
- "funding": {
1349
- "url": "https://github.com/sponsors/ljharb"
1350
- }
1351
- },
1352
- "node_modules/has-proto": {
1353
- "version": "1.1.0",
1354
- "license": "MIT",
1355
- "dependencies": {
1356
- "call-bind": "^1.0.7"
1357
- },
1358
- "engines": {
1359
- "node": ">= 0.4"
1360
- },
1361
- "funding": {
1362
- "url": "https://github.com/sponsors/ljharb"
1363
- }
1364
- },
1365
1349
  "node_modules/has-symbols": {
1366
1350
  "version": "1.1.0",
1367
1351
  "license": "MIT",
@@ -1568,6 +1552,13 @@
1568
1552
  "version": "4.6.2",
1569
1553
  "license": "MIT"
1570
1554
  },
1555
+ "node_modules/math-intrinsics": {
1556
+ "version": "1.0.0",
1557
+ "license": "MIT",
1558
+ "engines": {
1559
+ "node": ">= 0.4"
1560
+ }
1561
+ },
1571
1562
  "node_modules/media-typer": {
1572
1563
  "version": "0.3.0",
1573
1564
  "license": "MIT",
@@ -2067,21 +2058,6 @@
2067
2058
  "node": ">= 0.8.0"
2068
2059
  }
2069
2060
  },
2070
- "node_modules/set-function-length": {
2071
- "version": "1.2.2",
2072
- "license": "MIT",
2073
- "dependencies": {
2074
- "define-data-property": "^1.1.4",
2075
- "es-errors": "^1.3.0",
2076
- "function-bind": "^1.1.2",
2077
- "get-intrinsic": "^1.2.4",
2078
- "gopd": "^1.0.1",
2079
- "has-property-descriptors": "^1.0.2"
2080
- },
2081
- "engines": {
2082
- "node": ">= 0.4"
2083
- }
2084
- },
2085
2061
  "node_modules/setprototypeof": {
2086
2062
  "version": "1.2.0",
2087
2063
  "license": "ISC"
@@ -2104,13 +2080,61 @@
2104
2080
  }
2105
2081
  },
2106
2082
  "node_modules/side-channel": {
2107
- "version": "1.0.6",
2083
+ "version": "1.1.0",
2084
+ "license": "MIT",
2085
+ "dependencies": {
2086
+ "es-errors": "^1.3.0",
2087
+ "object-inspect": "^1.13.3",
2088
+ "side-channel-list": "^1.0.0",
2089
+ "side-channel-map": "^1.0.1",
2090
+ "side-channel-weakmap": "^1.0.2"
2091
+ },
2092
+ "engines": {
2093
+ "node": ">= 0.4"
2094
+ },
2095
+ "funding": {
2096
+ "url": "https://github.com/sponsors/ljharb"
2097
+ }
2098
+ },
2099
+ "node_modules/side-channel-list": {
2100
+ "version": "1.0.0",
2101
+ "license": "MIT",
2102
+ "dependencies": {
2103
+ "es-errors": "^1.3.0",
2104
+ "object-inspect": "^1.13.3"
2105
+ },
2106
+ "engines": {
2107
+ "node": ">= 0.4"
2108
+ },
2109
+ "funding": {
2110
+ "url": "https://github.com/sponsors/ljharb"
2111
+ }
2112
+ },
2113
+ "node_modules/side-channel-map": {
2114
+ "version": "1.0.1",
2115
+ "license": "MIT",
2116
+ "dependencies": {
2117
+ "call-bound": "^1.0.2",
2118
+ "es-errors": "^1.3.0",
2119
+ "get-intrinsic": "^1.2.5",
2120
+ "object-inspect": "^1.13.3"
2121
+ },
2122
+ "engines": {
2123
+ "node": ">= 0.4"
2124
+ },
2125
+ "funding": {
2126
+ "url": "https://github.com/sponsors/ljharb"
2127
+ }
2128
+ },
2129
+ "node_modules/side-channel-weakmap": {
2130
+ "version": "1.0.2",
2108
2131
  "license": "MIT",
2109
2132
  "dependencies": {
2110
- "call-bind": "^1.0.7",
2133
+ "call-bound": "^1.0.2",
2111
2134
  "es-errors": "^1.3.0",
2112
- "get-intrinsic": "^1.2.4",
2113
- "object-inspect": "^1.13.1"
2135
+ "get-intrinsic": "^1.2.5",
2136
+ "object-inspect": "^1.13.3",
2137
+ "side-channel-map": "^1.0.1"
2114
2138
  },
2115
2139
  "engines": {
2116
2140
  "node": ">= 0.4"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "8.5.1",
3
+ "version": "8.6.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": [