@sap/cds-dk 9.3.1 → 9.4.1

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 (77) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/bin/bind.js +1 -1
  3. package/bin/cds.js +3 -0
  4. package/bin/compile/index.js +53 -3
  5. package/bin/data-products/get-csn-via-dp-cli.js +41 -0
  6. package/bin/data-products/get-csn.js +76 -0
  7. package/bin/data-products/import.js +114 -0
  8. package/bin/data-products/index.js +30 -0
  9. package/bin/data-products/merge-csns.js +46 -0
  10. package/bin/data-products/prepare-csn.js +282 -0
  11. package/bin/data-products/prepare-files.js +69 -0
  12. package/bin/export.js +240 -0
  13. package/bin/help/export.md +37 -0
  14. package/bin/help/import.md +11 -0
  15. package/bin/help/minify.md +23 -0
  16. package/bin/import.js +13 -3
  17. package/bin/inspect.js +226 -0
  18. package/bin/minify.js +123 -0
  19. package/bin/up.js +3 -24
  20. package/bin/util/cli.js +132 -0
  21. package/bin/util/log.js +2 -0
  22. package/bin/version.js +2 -1
  23. package/bin/watch.js +21 -3
  24. package/lib/bind/shared.js +3 -1
  25. package/lib/build/buildTaskEngine.js +2 -1
  26. package/lib/build/plugins/helm/files/templates/NOTES.txt +1 -1
  27. package/lib/build/plugins/helm/index.js +1 -1
  28. package/lib/build/provider/internalBuildTaskProvider.js +3 -3
  29. package/lib/build/provider/nodejs/index.js +62 -3
  30. package/lib/deploy/index.js +1 -1
  31. package/lib/deploy/to-hana/hana.js +18 -16
  32. package/lib/import/odata/v2parser.js +6 -2
  33. package/lib/import/odata/v4parser.js +21 -2
  34. package/lib/import/odata.package.json +4 -4
  35. package/lib/init/constants.js +2 -1
  36. package/lib/init/index.js +2 -0
  37. package/lib/init/mvn.js +3 -2
  38. package/lib/init/projectReader.js +1 -0
  39. package/lib/init/registries/mta.js +6 -0
  40. package/lib/init/template/ams/files/manifest.yml.hbs +1 -1
  41. package/lib/init/template/ams/files/mta.yaml.hbs +1 -1
  42. package/lib/init/template/app-frontend/files/app-package.json.hbs +20 -0
  43. package/lib/init/template/app-frontend/files/index.html.hbs +34 -0
  44. package/lib/init/template/app-frontend/files/manifest.json +13 -0
  45. package/lib/init/template/app-frontend/files/mta.yaml.hbs +71 -0
  46. package/lib/init/template/app-frontend/files/package.json.hbs +17 -0
  47. package/lib/init/template/app-frontend/files/ui5-deploy.yaml.hbs +25 -0
  48. package/lib/init/template/app-frontend/files/ui5.yaml.hbs +6 -0
  49. package/lib/init/template/app-frontend/files/values.yaml.hbs +20 -0
  50. package/lib/init/template/app-frontend/files/xs-app.json.hbs +17 -0
  51. package/lib/init/template/app-frontend/index.js +98 -0
  52. package/lib/init/template/approuter/files/mta.yaml.hbs +0 -2
  53. package/lib/init/template/attachments/index.js +4 -10
  54. package/lib/init/template/audit-logging/files/package.json.hbs +5 -0
  55. package/lib/init/template/github-actions/index.js +0 -2
  56. package/lib/init/template/handler/index.js +1 -0
  57. package/lib/init/template/helm/index.js +5 -1
  58. package/lib/init/template/html5-repo/files/mta.yaml.hbs +9 -2
  59. package/lib/init/template/html5-repo/index.js +0 -3
  60. package/lib/init/template/ias/files/manifest.yml.hbs +1 -1
  61. package/lib/init/template/ias/files/mta.yaml.hbs +6 -5
  62. package/lib/init/template/ias/files/values.yaml.hbs +10 -1
  63. package/lib/init/template/multitenancy/files/mta.yaml.hbs +16 -3
  64. package/lib/init/template/multitenancy/files/package.json.hbs +5 -0
  65. package/lib/init/template/multitenancy/files/values.yaml.hbs +1 -6
  66. package/lib/init/template/portal/files/mta.yaml.hbs +12 -2
  67. package/lib/init/template/sample/files/db/schema.cds +5 -8
  68. package/lib/init/template/typer/files/xsconfig.json +2 -1
  69. package/lib/init/template/typescript/files/package.json +1 -1
  70. package/lib/init/template/typescript/files/tsconfig.json +4 -1
  71. package/lib/init/template/workzone-standard/files/mta.yaml.hbs +4 -0
  72. package/lib/init/template/workzone-standard/index.js +3 -2
  73. package/lib/init/template/xsuaa/files/package.json.hbs +3 -0
  74. package/lib/lint/eslintHelp.json +1 -1
  75. package/lib/util/term.js +2 -4
  76. package/npm-shrinkwrap.json +29 -29
  77. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "9.3.1",
3
+ "version": "9.4.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sap/cds-dk",
9
- "version": "9.3.1",
9
+ "version": "9.4.1",
10
10
  "license": "SEE LICENSE IN LICENSE",
11
11
  "dependencies": {
12
12
  "@cap-js/asyncapi": "^1.0.0",
@@ -42,8 +42,8 @@
42
42
  }
43
43
  },
44
44
  "node_modules/@cap-js/db-service": {
45
- "version": "2.4.0",
46
- "integrity": "sha512-tWZUkgAPgZQIVu3xownD9cA9joXPI84KDstx3ZezOxXJuRsapgM2QEs0TXwQK5XLG43FUAsGO7wVJPoZ29ZH2Q==",
45
+ "version": "2.5.1",
46
+ "integrity": "sha512-dpz9lvOepcXOgE8uTs9abCotLcCt1odpwlrUT4AW2pnSrMB0EVMRbHKVIlufmrm8Kh/Y5c2d6ODald8eahsEDw==",
47
47
  "devOptional": true,
48
48
  "license": "Apache-2.0",
49
49
  "dependencies": {
@@ -65,8 +65,8 @@
65
65
  }
66
66
  },
67
67
  "node_modules/@cap-js/sqlite": {
68
- "version": "2.0.2",
69
- "integrity": "sha512-oNg2f56sfELshyp0eSmYYwG1lt4Zmc135sLIzS8iykHdRVxxJpTrPj0jx0Y4Hc6sfC9u25LRXVu/ZKqjm9Yu+Q==",
68
+ "version": "2.0.3",
69
+ "integrity": "sha512-Zm2JLpPuddFkeqM47TX7V7IC6x3WOfn5lTRbaiVOMvRQoshCNXTkjv083ssfiwF/jF/46/PSVox+fTElozg6XA==",
70
70
  "license": "Apache-2.0",
71
71
  "optional": true,
72
72
  "dependencies": {
@@ -78,8 +78,8 @@
78
78
  }
79
79
  },
80
80
  "node_modules/@eslint/js": {
81
- "version": "9.35.0",
82
- "integrity": "sha512-30iXE9whjlILfWobBkNerJo+TXYsgVM5ERQwMcMKCHckHflCmf7wXDAHlARoWnh0s1U72WqlbeyE7iAcCzuCPw==",
81
+ "version": "9.37.0",
82
+ "integrity": "sha512-jaS+NJ+hximswBG6pjNX0uEJZkrT0zwpVi3BA3vX22aFGjJjmgSTSmPpZCRKmoBL5VY/M6p0xsSJx7rk7sy5gg==",
83
83
  "license": "MIT",
84
84
  "peer": true,
85
85
  "engines": {
@@ -90,8 +90,8 @@
90
90
  }
91
91
  },
92
92
  "node_modules/@sap/cds": {
93
- "version": "9.3.1",
94
- "integrity": "sha512-xA9EN29X8HKaz83Aod1e3Bs6LRvqcCVoaTvCtyOup5rMYDQumcoZ7UOKH6NIUTeO0zOtafUiMHucMG+dBnq5XQ==",
93
+ "version": "9.4.2",
94
+ "integrity": "sha512-+MtNRviAgyZnPkSkT9sZ52rKRrNcTSpjIL88HfPtS5VzWX17Niu9PRANba/dd8aF4lxSQEEqb85zqJkga6MwKA==",
95
95
  "license": "SEE LICENSE IN LICENSE",
96
96
  "dependencies": {
97
97
  "@sap/cds-compiler": "^6.1",
@@ -120,8 +120,8 @@
120
120
  }
121
121
  },
122
122
  "node_modules/@sap/cds-compiler": {
123
- "version": "6.3.0",
124
- "integrity": "sha512-4HhZuiKa8SztqtjfM9Iey7yb2U6xQGzUbjib3JXcSSP6AJ6Bz0gViliTwf8dASPTLRtv7HU82277m4uqxU2qjw==",
123
+ "version": "6.4.2",
124
+ "integrity": "sha512-kjhq8GxzCLIfsM4aln9saxkifPC26MYuAqT82QB7RGZDVFM5Pw09Dp6TcKCSp65hut0YgHkvHlVGWMZWWBJNdA==",
125
125
  "license": "SEE LICENSE IN LICENSE",
126
126
  "bin": {
127
127
  "cdsc": "bin/cdsc.js",
@@ -133,12 +133,12 @@
133
133
  }
134
134
  },
135
135
  "node_modules/@sap/cds-fiori": {
136
- "version": "2.0.1",
137
- "integrity": "sha512-KZVLWXndydgqdlao8OL1gtgd/XMgBdiKBmmgwGpBL1y4S21FOXglnWh6d3bnSZL/qwR3z50D+0PoGghjhayF0Q==",
136
+ "version": "2.1.0",
137
+ "integrity": "sha512-EoNtPT5aVurxwsqHQfW2FgnXA3Ysu9GvihR0jTQNUZ4pVlHHFkfFehH6G2DIHKyfTROWaahegJsMpiwpE8clkg==",
138
138
  "license": "SEE LICENSE IN LICENSE",
139
139
  "peerDependencies": {
140
140
  "@sap/cds": ">=8",
141
- "express": ">=4"
141
+ "express": "^4"
142
142
  }
143
143
  },
144
144
  "node_modules/@sap/cds-mtxs": {
@@ -180,8 +180,8 @@
180
180
  }
181
181
  },
182
182
  "node_modules/@sap/hdi-deploy": {
183
- "version": "5.5.0",
184
- "integrity": "sha512-nxamWIBz+D/4wcvgYgxGSJLsyJ1KNtU9X6gfMHiyi/IjozGN/3WdeT11++jy5qeZNkdinuND55RRlRcnsu3W5g==",
183
+ "version": "5.5.1",
184
+ "integrity": "sha512-5r9SIkXX7cO+MwRFF32O566sMx6LP1mLin0eT9F+Adqy+0SrdwkWv4JslQzYetiWLuNsfqQljcao62alaxts8A==",
185
185
  "license": "See LICENSE file",
186
186
  "dependencies": {
187
187
  "@sap/hdi": "^4.8.0",
@@ -261,8 +261,8 @@
261
261
  "license": "MIT"
262
262
  },
263
263
  "node_modules/axios": {
264
- "version": "1.11.0",
265
- "integrity": "sha512-1Lx3WLFQWm3ooKDYZD1eXmoGO9fxYQjrycfHFC8P0sCfQVXyROp0p9PFWBehewBOdCwHc+f/b8I0fMto5eSfwA==",
264
+ "version": "1.12.2",
265
+ "integrity": "sha512-vMJzPewAlRyOgxV2dU0Cuz2O8zzzx9VYtbJOaBgXFeLc4IV/Eg50n4LowmehOOR61S8ZMpc2K5Sa7g6A4jfkUw==",
266
266
  "license": "MIT",
267
267
  "dependencies": {
268
268
  "follow-redirects": "^1.15.6",
@@ -291,8 +291,8 @@
291
291
  "optional": true
292
292
  },
293
293
  "node_modules/better-sqlite3": {
294
- "version": "12.2.0",
295
- "integrity": "sha512-eGbYq2CT+tos1fBwLQ/tkBt9J5M3JEHjku4hbvQUePCckkvVf14xWj+1m7dGoK81M/fOjFT7yM9UMeKT/+vFLQ==",
294
+ "version": "12.4.1",
295
+ "integrity": "sha512-3yVdyZhklTiNrtg+4WqHpJpFDd+WHTg2oM7UcR80GqL05AOV0xEJzc6qNvFYoEtE+hRp1n9MpN6/+4yhlGkDXQ==",
296
296
  "hasInstallScript": true,
297
297
  "license": "MIT",
298
298
  "optional": true,
@@ -558,8 +558,8 @@
558
558
  }
559
559
  },
560
560
  "node_modules/detect-libc": {
561
- "version": "2.0.4",
562
- "integrity": "sha512-3UDv+G9CsCKO1WKMGw9fwq/SWJYbI0c5Y7LU1AXYoDdbhE2AHQ6N6Nb34sG8Fj7T5APy8qXDCKuuIHd1BR0tVA==",
561
+ "version": "2.1.2",
562
+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",
563
563
  "license": "Apache-2.0",
564
564
  "optional": true,
565
565
  "engines": {
@@ -1213,8 +1213,8 @@
1213
1213
  "license": "MIT"
1214
1214
  },
1215
1215
  "node_modules/node-abi": {
1216
- "version": "3.77.0",
1217
- "integrity": "sha512-DSmt0OEcLoK4i3NuscSbGjOf3bqiDEutejqENSplMSFA/gmB8mkED9G4pKWnPl7MDU4rSHebKPHeitpDfyH0cQ==",
1216
+ "version": "3.78.0",
1217
+ "integrity": "sha512-E2wEyrgX/CqvicaQYU3Ze1PFGjc4QYPGsjUrlYkqAE0WjHEZwgOsGMPMzkMse4LjJbDmaEuDX3CM036j5K2DSQ==",
1218
1218
  "license": "MIT",
1219
1219
  "optional": true,
1220
1220
  "dependencies": {
@@ -1443,8 +1443,8 @@
1443
1443
  "license": "ISC"
1444
1444
  },
1445
1445
  "node_modules/semver": {
1446
- "version": "7.7.2",
1447
- "integrity": "sha512-RF0Fw+rO5AMf9MAyaRXI4AV0Ulj5lMHqVxxdSgiVbixSCXoEmmX/jk0CuJw4+3SqroYO9VoUh+HcuJivvtJemA==",
1446
+ "version": "7.7.3",
1447
+ "integrity": "sha512-SdsKMrI9TdgjdweUSR9MweHA4EJ8YxHn8DFaDisvhVlUOe4BF1tLD7GAj0lIqWVl+dPb/rExr0Btby5loQm20Q==",
1448
1448
  "devOptional": true,
1449
1449
  "license": "ISC",
1450
1450
  "bin": {
@@ -1665,8 +1665,8 @@
1665
1665
  }
1666
1666
  },
1667
1667
  "node_modules/tar-fs": {
1668
- "version": "2.1.3",
1669
- "integrity": "sha512-090nwYJDmlhwFwEW3QQl+vaNnxsO2yVsd45eTKRBzSzu+hlb1w2K9inVq5b0ngXuLVqQ4ApvsUHHnu/zQNkWAg==",
1668
+ "version": "2.1.4",
1669
+ "integrity": "sha512-mDAjwmZdh7LTT6pNleZ05Yt65HC3E+NiQzl672vQG38jIrehtJk/J3mNwIg+vShQPcLF/LV7CMnDW6vjj6sfYQ==",
1670
1670
  "license": "MIT",
1671
1671
  "optional": true,
1672
1672
  "dependencies": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "9.3.1",
3
+ "version": "9.4.1",
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": [