@sap/cds-dk 7.6.0 → 7.7.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/bin/cds.js +1 -1
  2. package/bin/import.js +2 -2
  3. package/bin/version.js +21 -20
  4. package/bin/watch.js +6 -0
  5. package/lib/build/buildTaskEngine.js +6 -4
  6. package/lib/build/buildTaskProviderFactory.js +5 -0
  7. package/lib/build/provider/edmxBuildPlugin.js +1 -1
  8. package/lib/build/provider/internalBuildTaskProvider.js +12 -10
  9. package/lib/build/provider/mtx/index.js +2 -2
  10. package/lib/build/provider/mtx/resourcesTarBuilder.js +1 -1
  11. package/lib/build/provider/mtx-extension/extensionCompilation.js +50 -0
  12. package/lib/build/provider/mtx-extension/index.js +50 -48
  13. package/lib/build/provider/mtx-sidecar/index.js +3 -3
  14. package/lib/build/util.js +9 -4
  15. package/lib/deploy/to-hana/hana.js +46 -76
  16. package/lib/deploy/to-hana/hdiDeployUtil.js +15 -18
  17. package/lib/deploy/to-hana/mtaUtil.js +1 -1
  18. package/lib/env/schema.js +1 -0
  19. package/lib/env/schemas/cds-rc.js +54 -1
  20. package/lib/import/asyncapi/parserContext.js +6 -0
  21. package/lib/import/common.js +18 -23
  22. package/lib/import/odata/metadataconverter/MetadataConverter.js +12 -8
  23. package/lib/import/odata/v4parser.js +67 -12
  24. package/lib/init/add.js +2 -0
  25. package/lib/init/constants.js +2 -4
  26. package/lib/init/merge.js +31 -13
  27. package/lib/init/projectReader.js +9 -1
  28. package/lib/init/registries/mta.js +19 -1
  29. package/lib/init/template/approuter/files/mta.yaml.hbs +1 -1
  30. package/lib/init/template/approuter/index.js +5 -5
  31. package/lib/init/template/connectivity/index.js +3 -4
  32. package/lib/init/template/html5-repo/files/app-package.json.hbs +16 -0
  33. package/lib/init/template/html5-repo/files/mta.yaml.hbs +83 -0
  34. package/lib/init/template/html5-repo/files/package.json.hbs +17 -0
  35. package/lib/init/template/html5-repo/files/ui5.yaml.hbs +33 -0
  36. package/lib/init/template/html5-repo/files/xs-app.json.hbs +19 -0
  37. package/lib/init/template/html5-repo/index.js +56 -12
  38. package/lib/init/template/mta/files/mta.yaml.hbs +1 -0
  39. package/lib/init/template/mta/index.js +5 -0
  40. package/lib/init/template/nodejs/files/.vscode/extensions.json +1 -2
  41. package/lib/init/template/nodejs/files/README.md +1 -1
  42. package/lib/init/template/sample/files/app/index.html +8 -6
  43. package/lib/init/template/sample/index.js +12 -2
  44. package/lib/lint/Linter.js +2 -2
  45. package/lib/lint/checks.js +0 -51
  46. package/lib/mtx/auth_manager.js +46 -55
  47. package/lib/mtx/settings_manager.js +14 -19
  48. package/lib/mtx/util/dependencies.js +1 -1
  49. package/lib/mtx/util/logging.js +10 -8
  50. package/lib/util/axios.js +5 -0
  51. package/lib/util/cf.js +1 -0
  52. package/npm-shrinkwrap.json +96 -42
  53. package/package.json +1 -10
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "7.6.0",
3
+ "version": "7.7.0",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sap/cds-dk",
9
- "version": "7.6.0",
9
+ "version": "7.7.0",
10
10
  "license": "SEE LICENSE IN LICENSE",
11
11
  "dependencies": {
12
12
  "@sap/cds": "^7",
@@ -107,7 +107,7 @@
107
107
  "license": "MIT"
108
108
  },
109
109
  "node_modules/@eslint/js": {
110
- "version": "8.56.0",
110
+ "version": "8.57.0",
111
111
  "license": "MIT",
112
112
  "engines": {
113
113
  "node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -215,7 +215,7 @@
215
215
  }
216
216
  },
217
217
  "node_modules/@sap/cds": {
218
- "version": "7.6.1",
218
+ "version": "7.7.0",
219
219
  "license": "SEE LICENSE IN LICENSE",
220
220
  "dependencies": {
221
221
  "@cap-js/cds-types": "<1",
@@ -232,7 +232,7 @@
232
232
  }
233
233
  },
234
234
  "node_modules/@sap/cds-compiler": {
235
- "version": "4.6.0",
235
+ "version": "4.7.4",
236
236
  "license": "SEE LICENSE IN LICENSE",
237
237
  "dependencies": {
238
238
  "antlr4": "4.9.3"
@@ -247,10 +247,10 @@
247
247
  }
248
248
  },
249
249
  "node_modules/@sap/cds-fiori": {
250
- "version": "1.2.2",
250
+ "version": "1.2.3",
251
251
  "license": "SEE LICENSE IN LICENSE",
252
252
  "peerDependencies": {
253
- "@sap/cds": ">=7",
253
+ "@sap/cds": ">=7.1",
254
254
  "express": ">=4"
255
255
  }
256
256
  },
@@ -268,7 +268,7 @@
268
268
  }
269
269
  },
270
270
  "node_modules/@sap/cds-mtxs": {
271
- "version": "1.15.0",
271
+ "version": "1.16.0",
272
272
  "license": "SEE LICENSE IN LICENSE",
273
273
  "dependencies": {
274
274
  "@sap/hdi-deploy": "^4",
@@ -738,12 +738,17 @@
738
738
  "optional": true
739
739
  },
740
740
  "node_modules/call-bind": {
741
- "version": "1.0.5",
741
+ "version": "1.0.7",
742
742
  "license": "MIT",
743
743
  "dependencies": {
744
+ "es-define-property": "^1.0.0",
745
+ "es-errors": "^1.3.0",
744
746
  "function-bind": "^1.1.2",
745
- "get-intrinsic": "^1.2.1",
746
- "set-function-length": "^1.1.1"
747
+ "get-intrinsic": "^1.2.4",
748
+ "set-function-length": "^1.2.1"
749
+ },
750
+ "engines": {
751
+ "node": ">= 0.4"
747
752
  },
748
753
  "funding": {
749
754
  "url": "https://github.com/sponsors/ljharb"
@@ -912,15 +917,18 @@
912
917
  "license": "MIT"
913
918
  },
914
919
  "node_modules/define-data-property": {
915
- "version": "1.1.1",
920
+ "version": "1.1.4",
916
921
  "license": "MIT",
917
922
  "dependencies": {
918
- "get-intrinsic": "^1.2.1",
919
- "gopd": "^1.0.1",
920
- "has-property-descriptors": "^1.0.0"
923
+ "es-define-property": "^1.0.0",
924
+ "es-errors": "^1.3.0",
925
+ "gopd": "^1.0.1"
921
926
  },
922
927
  "engines": {
923
928
  "node": ">= 0.4"
929
+ },
930
+ "funding": {
931
+ "url": "https://github.com/sponsors/ljharb"
924
932
  }
925
933
  },
926
934
  "node_modules/delayed-stream": {
@@ -1031,6 +1039,23 @@
1031
1039
  "license": "MIT",
1032
1040
  "optional": true
1033
1041
  },
1042
+ "node_modules/es-define-property": {
1043
+ "version": "1.0.0",
1044
+ "license": "MIT",
1045
+ "dependencies": {
1046
+ "get-intrinsic": "^1.2.4"
1047
+ },
1048
+ "engines": {
1049
+ "node": ">= 0.4"
1050
+ }
1051
+ },
1052
+ "node_modules/es-errors": {
1053
+ "version": "1.3.0",
1054
+ "license": "MIT",
1055
+ "engines": {
1056
+ "node": ">= 0.4"
1057
+ }
1058
+ },
1034
1059
  "node_modules/escape-html": {
1035
1060
  "version": "1.0.3",
1036
1061
  "license": "MIT"
@@ -1046,14 +1071,14 @@
1046
1071
  }
1047
1072
  },
1048
1073
  "node_modules/eslint": {
1049
- "version": "8.56.0",
1074
+ "version": "8.57.0",
1050
1075
  "license": "MIT",
1051
1076
  "dependencies": {
1052
1077
  "@eslint-community/eslint-utils": "^4.2.0",
1053
1078
  "@eslint-community/regexpp": "^4.6.1",
1054
1079
  "@eslint/eslintrc": "^2.1.4",
1055
- "@eslint/js": "8.56.0",
1056
- "@humanwhocodes/config-array": "^0.11.13",
1080
+ "@eslint/js": "8.57.0",
1081
+ "@humanwhocodes/config-array": "^0.11.14",
1057
1082
  "@humanwhocodes/module-importer": "^1.0.1",
1058
1083
  "@nodelib/fs.walk": "^1.2.8",
1059
1084
  "@ungap/structured-clone": "^1.2.0",
@@ -1272,7 +1297,7 @@
1272
1297
  "license": "MIT"
1273
1298
  },
1274
1299
  "node_modules/fastq": {
1275
- "version": "1.17.0",
1300
+ "version": "1.17.1",
1276
1301
  "license": "ISC",
1277
1302
  "dependencies": {
1278
1303
  "reusify": "^1.0.4"
@@ -1353,7 +1378,7 @@
1353
1378
  }
1354
1379
  },
1355
1380
  "node_modules/flatted": {
1356
- "version": "3.2.9",
1381
+ "version": "3.3.1",
1357
1382
  "license": "ISC"
1358
1383
  },
1359
1384
  "node_modules/follow-redirects": {
@@ -1453,14 +1478,18 @@
1453
1478
  }
1454
1479
  },
1455
1480
  "node_modules/get-intrinsic": {
1456
- "version": "1.2.2",
1481
+ "version": "1.2.4",
1457
1482
  "license": "MIT",
1458
1483
  "dependencies": {
1484
+ "es-errors": "^1.3.0",
1459
1485
  "function-bind": "^1.1.2",
1460
1486
  "has-proto": "^1.0.1",
1461
1487
  "has-symbols": "^1.0.3",
1462
1488
  "hasown": "^2.0.0"
1463
1489
  },
1490
+ "engines": {
1491
+ "node": ">= 0.4"
1492
+ },
1464
1493
  "funding": {
1465
1494
  "url": "https://github.com/sponsors/ljharb"
1466
1495
  }
@@ -1557,17 +1586,17 @@
1557
1586
  }
1558
1587
  },
1559
1588
  "node_modules/has-property-descriptors": {
1560
- "version": "1.0.1",
1589
+ "version": "1.0.2",
1561
1590
  "license": "MIT",
1562
1591
  "dependencies": {
1563
- "get-intrinsic": "^1.2.2"
1592
+ "es-define-property": "^1.0.0"
1564
1593
  },
1565
1594
  "funding": {
1566
1595
  "url": "https://github.com/sponsors/ljharb"
1567
1596
  }
1568
1597
  },
1569
1598
  "node_modules/has-proto": {
1570
- "version": "1.0.1",
1599
+ "version": "1.0.3",
1571
1600
  "license": "MIT",
1572
1601
  "engines": {
1573
1602
  "node": ">= 0.4"
@@ -1592,7 +1621,7 @@
1592
1621
  "optional": true
1593
1622
  },
1594
1623
  "node_modules/hasown": {
1595
- "version": "2.0.0",
1624
+ "version": "2.0.1",
1596
1625
  "license": "MIT",
1597
1626
  "dependencies": {
1598
1627
  "function-bind": "^1.1.2"
@@ -1735,7 +1764,7 @@
1735
1764
  "optional": true
1736
1765
  },
1737
1766
  "node_modules/ignore": {
1738
- "version": "5.3.0",
1767
+ "version": "5.3.1",
1739
1768
  "license": "MIT",
1740
1769
  "engines": {
1741
1770
  "node": ">= 4"
@@ -1792,10 +1821,17 @@
1792
1821
  "license": "ISC",
1793
1822
  "optional": true
1794
1823
  },
1795
- "node_modules/ip": {
1796
- "version": "2.0.0",
1824
+ "node_modules/ip-address": {
1825
+ "version": "9.0.5",
1797
1826
  "license": "MIT",
1798
- "optional": true
1827
+ "optional": true,
1828
+ "dependencies": {
1829
+ "jsbn": "1.1.0",
1830
+ "sprintf-js": "^1.1.3"
1831
+ },
1832
+ "engines": {
1833
+ "node": ">= 12"
1834
+ }
1799
1835
  },
1800
1836
  "node_modules/ipaddr.js": {
1801
1837
  "version": "1.9.1",
@@ -1862,6 +1898,11 @@
1862
1898
  "js-yaml": "bin/js-yaml.js"
1863
1899
  }
1864
1900
  },
1901
+ "node_modules/jsbn": {
1902
+ "version": "1.1.0",
1903
+ "license": "MIT",
1904
+ "optional": true
1905
+ },
1865
1906
  "node_modules/json-buffer": {
1866
1907
  "version": "3.0.1",
1867
1908
  "license": "MIT"
@@ -2180,7 +2221,7 @@
2180
2221
  "license": "MIT"
2181
2222
  },
2182
2223
  "node_modules/node-abi": {
2183
- "version": "3.54.0",
2224
+ "version": "3.56.0",
2184
2225
  "license": "MIT",
2185
2226
  "optional": true,
2186
2227
  "dependencies": {
@@ -2654,7 +2695,7 @@
2654
2695
  "license": "ISC"
2655
2696
  },
2656
2697
  "node_modules/semver": {
2657
- "version": "7.5.4",
2698
+ "version": "7.6.0",
2658
2699
  "license": "ISC",
2659
2700
  "dependencies": {
2660
2701
  "lru-cache": "^6.0.0"
@@ -2736,12 +2777,13 @@
2736
2777
  "optional": true
2737
2778
  },
2738
2779
  "node_modules/set-function-length": {
2739
- "version": "1.2.0",
2780
+ "version": "1.2.1",
2740
2781
  "license": "MIT",
2741
2782
  "dependencies": {
2742
- "define-data-property": "^1.1.1",
2783
+ "define-data-property": "^1.1.2",
2784
+ "es-errors": "^1.3.0",
2743
2785
  "function-bind": "^1.1.2",
2744
- "get-intrinsic": "^1.2.2",
2786
+ "get-intrinsic": "^1.2.3",
2745
2787
  "gopd": "^1.0.1",
2746
2788
  "has-property-descriptors": "^1.0.1"
2747
2789
  },
@@ -2771,12 +2813,16 @@
2771
2813
  }
2772
2814
  },
2773
2815
  "node_modules/side-channel": {
2774
- "version": "1.0.4",
2816
+ "version": "1.0.5",
2775
2817
  "license": "MIT",
2776
2818
  "dependencies": {
2777
- "call-bind": "^1.0.0",
2778
- "get-intrinsic": "^1.0.2",
2779
- "object-inspect": "^1.9.0"
2819
+ "call-bind": "^1.0.6",
2820
+ "es-errors": "^1.3.0",
2821
+ "get-intrinsic": "^1.2.4",
2822
+ "object-inspect": "^1.13.1"
2823
+ },
2824
+ "engines": {
2825
+ "node": ">= 0.4"
2780
2826
  },
2781
2827
  "funding": {
2782
2828
  "url": "https://github.com/sponsors/ljharb"
@@ -2840,15 +2886,15 @@
2840
2886
  }
2841
2887
  },
2842
2888
  "node_modules/socks": {
2843
- "version": "2.7.1",
2889
+ "version": "2.8.1",
2844
2890
  "license": "MIT",
2845
2891
  "optional": true,
2846
2892
  "dependencies": {
2847
- "ip": "^2.0.0",
2893
+ "ip-address": "^9.0.5",
2848
2894
  "smart-buffer": "^4.2.0"
2849
2895
  },
2850
2896
  "engines": {
2851
- "node": ">= 10.13.0",
2897
+ "node": ">= 10.0.0",
2852
2898
  "npm": ">= 3.0.0"
2853
2899
  }
2854
2900
  },
@@ -2893,6 +2939,11 @@
2893
2939
  "node": ">=0.10.0"
2894
2940
  }
2895
2941
  },
2942
+ "node_modules/sprintf-js": {
2943
+ "version": "1.1.3",
2944
+ "license": "BSD-3-Clause",
2945
+ "optional": true
2946
+ },
2896
2947
  "node_modules/sqlite3": {
2897
2948
  "version": "5.1.7",
2898
2949
  "hasInstallScript": true,
@@ -3246,8 +3297,11 @@
3246
3297
  }
3247
3298
  },
3248
3299
  "node_modules/yaml": {
3249
- "version": "2.3.4",
3300
+ "version": "2.4.0",
3250
3301
  "license": "ISC",
3302
+ "bin": {
3303
+ "yaml": "bin.mjs"
3304
+ },
3251
3305
  "engines": {
3252
3306
  "node": ">= 14"
3253
3307
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "7.6.0",
3
+ "version": "7.7.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": [
@@ -40,14 +40,5 @@
40
40
  "npm-shrinkwrap.json",
41
41
  "LICENSE"
42
42
  ],
43
- "overrides": {
44
- "sqlite3": {
45
- "@mapbox/node-pre-gyp": {
46
- "make-dir": {
47
- "semver": "^7"
48
- }
49
- }
50
- }
51
- },
52
43
  "_hasShrinkwrap": true
53
44
  }