@sap/cds-dk 7.8.0 → 7.8.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.
package/bin/add.js CHANGED
@@ -120,12 +120,10 @@ ${Object.entries(conf).sort(([a], [b]) => a.localeCompare(b)).flatMap(([pluginNa
120
120
 
121
121
  `})
122
122
 
123
- async function add(features) {
124
- await cds.plugins
123
+ async function add(args) {
124
+ // await cds.plugins
125
125
  const CDSGenerator = require('../lib/init')
126
126
  const generator = new CDSGenerator()
127
-
128
- const args = features.map(f => f.split(/[,\s+]/)).flat()
129
-
130
- await generator.add(args)
127
+ const features = args.map(f => f.split(/[,\s+]/)).flat()
128
+ await generator.add(features)
131
129
  }
package/bin/cds.js CHANGED
@@ -43,6 +43,14 @@ const cli = {
43
43
  appendArgs = argv.slice(endOfOptions + 1)
44
44
  argv = argv.slice(0, endOfOptions)
45
45
  }
46
+ // REVISIT: Have to do it here to allow custom flags for plugins!
47
+ if (cmd === 'add') {
48
+ await cds.plugins
49
+ for (const [_, Plugin] of cds.add.registered) {
50
+ task.options.push(...Object.keys((new Plugin).options()).map(key => '--'+key))
51
+ }
52
+ }
53
+
46
54
  const args = this.args(task, argv)
47
55
  args[0].push(...appendArgs)
48
56
  cds.cli = {
@@ -309,6 +309,8 @@ Upgrade to @sap/cds-mtxs following the migration guide https://cap.cloud.sap/doc
309
309
 
310
310
  static async _setDefaultModel(task) {
311
311
  const ws = hasOptionValue(task.options?.[CONTENT_WS], true) || cds.cli.options?.ws
312
+ // REVISIT: filter nodejs bootstrap service models for Java - issues/12770#issuecomment-1805719
313
+ const filter = this._hasJavaNature() ? (m) => !NODEJS_MODEL_EXCLUDE_LIST.includes(m) : null
312
314
  let taskModelPaths = task.options?.model
313
315
  if (taskModelPaths && !Array.isArray(taskModelPaths)) {
314
316
  taskModelPaths = [taskModelPaths]
@@ -318,21 +320,17 @@ Upgrade to @sap/cds-mtxs following the migration guide https://cap.cloud.sap/doc
318
320
  let defaultModelPaths = []
319
321
  if (taskModelPaths?.length) {
320
322
  if (!hasOptionValue(task.options?.[IGNORE_DEFAULT_MODELS], true)) {
321
- defaultModelPaths = await getDefaultModelOptions(ws)
323
+ defaultModelPaths = await getDefaultModelOptions(ws, filter)
322
324
  defaultModelPaths = defaultModelPaths.filter(p => p.match(allowList))
323
325
  }
324
326
  } else {
325
- defaultModelPaths = await getDefaultModelOptions(ws)
327
+ defaultModelPaths = await getDefaultModelOptions(ws, filter)
326
328
  defaultModelPaths.push(task.src)
327
329
  if (hasOptionValue(task.options?.[IGNORE_DEFAULT_MODELS], true)) {
328
330
  // all default models except the built-in models
329
331
  defaultModelPaths = defaultModelPaths.filter(p => !p.match(allowList))
330
332
  }
331
333
  }
332
- // REVISIT: filter nodejs bootstrap service models for Java - issues/12770#issuecomment-1805719
333
- if (this._hasJavaNature()) {
334
- defaultModelPaths = defaultModelPaths.filter(p => !NODEJS_MODEL_EXCLUDE_LIST.includes(p))
335
- }
336
334
  if (defaultModelPaths.length) {
337
335
  task.options.model = [...new Set(taskModelPaths?.length ? taskModelPaths.concat(defaultModelPaths) : defaultModelPaths)]
338
336
  }
package/lib/build/util.js CHANGED
@@ -117,10 +117,10 @@ function resolveRequiredSapModels(modelPaths) {
117
117
  })
118
118
  }
119
119
 
120
- async function getDefaultModelOptions(ws = false) {
120
+ async function getDefaultModelOptions(ws = false, filter) {
121
121
  // Note: requires.toggles holds the actual kind representation and not the value 'true'
122
122
  const wildcards = cds.env.requires.toggles && cds.env.features.folders ? ['*', cds.env.features.folders] : '*'
123
- let paths = _filterModelPaths(cds.resolve(wildcards, false))
123
+ let paths = _filterModelPaths(cds.resolve(wildcards, false), filter)
124
124
 
125
125
  if (ws) {
126
126
  const workspaces = await getWorkspaces()
@@ -130,7 +130,7 @@ async function getDefaultModelOptions(ws = false) {
130
130
  workspaces.forEach(workspace => {
131
131
  cds.root = path.join(root, workspace)
132
132
  cds.env = cds.env.for('cds', cds.root)
133
- paths = paths.concat(_filterModelPaths(cds.resolve(cds.env.requires.toggles ? wildcards : '*', false)).map(p => path.join(workspace, p)))
133
+ paths = paths.concat(_filterModelPaths(cds.resolve(cds.env.requires.toggles ? wildcards : '*', false), filter).map(p => path.join(workspace, p)))
134
134
  })
135
135
  } finally {
136
136
  cds.root = root
@@ -254,10 +254,10 @@ function _validateWsDependencies(wsRoot, dependencies, devDependencies) {
254
254
 
255
255
  /**
256
256
  * Returns a flat array of existing files and folders, trailing '/' or '\\' characters have been removed.
257
- * @param {...any} modelPaths array of files and folders - optionally nested
257
+ * @param {Array} modelPaths array of files and folders - optionally nested
258
258
  * @returns
259
259
  */
260
- function _filterModelPaths(...modelPaths) {
260
+ function _filterModelPaths(modelPaths, filter) {
261
261
  const model = new Set()
262
262
  // may contain nested arrays
263
263
  modelPaths = flatten(modelPaths)
@@ -277,7 +277,7 @@ function _filterModelPaths(...modelPaths) {
277
277
  }
278
278
  }
279
279
  })
280
- return [...model].map(m => normalizePath(m))
280
+ return [...model].filter(m => filter ? filter(m) : true).map(m => normalizePath(m))
281
281
  }
282
282
 
283
283
  /**
@@ -4,7 +4,7 @@ module.exports = {
4
4
  COMMAND_INIT: 'init',
5
5
  COMMAND_ADD: 'add',
6
6
 
7
- MAVEN_ARCHETYPE_VERSION: '2.7.1',
7
+ MAVEN_ARCHETYPE_VERSION: '2.8.1',
8
8
 
9
9
  OPTIONS: Object.freeze({
10
10
  JAVA: 'java',
@@ -57,7 +57,7 @@ module.exports = {
57
57
  PIPELINE_HELP: 'https://sap.github.io/jenkins-library/',
58
58
  SAMPLES: 'https://github.com/SAP-samples/cloud-cap-samples',
59
59
  CAPIRE: 'https://cap.cloud.sap',
60
- MAVEN_ARCHETYPE_HELP: `https://cap.cloud.sap/docs/java/development/#the-maven-archetype`,
60
+ MAVEN_ARCHETYPE_HELP: `https://cap.cloud.sap/docs/java/developing-applications/building#the-maven-archetype`,
61
61
  MAVEN_INSTALL_HELP: `https://maven.apache.org/install.html`
62
62
  }),
63
63
 
@@ -74,7 +74,8 @@ module.exports = class DataTemplate extends require('../../plugin') {
74
74
 
75
75
  if (contentType === 'csv') {
76
76
  const headerOnly = !cds.cli.options['records'] // compat to old behavior which only creates headers
77
- await asCsv(data, csn, Object.assign({ headerOnly }, dataForParams))
77
+ const queries = false // old behavior excluded queries
78
+ await asCsv(data, csn, Object.assign({ headerOnly, queries }, dataForParams))
78
79
  }
79
80
 
80
81
  // write files
@@ -7,7 +7,8 @@
7
7
  "[{{profile}}]": {
8
8
  {{/profile}}
9
9
  "messaging": {
10
- "kind": "enterprise-messaging"
10
+ "kind": "enterprise-messaging"{{#cloudevents}},
11
+ "format": "cloudevents"{{/cloudevents}}
11
12
  }
12
13
  {{#profile}}
13
14
  }
@@ -7,6 +7,16 @@ const { srv4, enterpriseMessaging } = require('../../registries/mta')
7
7
 
8
8
  module.exports = class EnterpriseMessagingTemplate extends require('../../plugin') {
9
9
 
10
+ options() {
11
+ return {
12
+ 'cloudevents': {
13
+ type: 'boolean',
14
+ short: 'c',
15
+ help: 'Use CloudEvents formatting',
16
+ }
17
+ }
18
+ }
19
+
10
20
  async canRun() {
11
21
  const { isJava } = readProject()
12
22
  if (isJava) throw `'cds add enterprise-messaging' is not available for Java yet`
@@ -19,9 +29,12 @@ module.exports = class EnterpriseMessagingTemplate extends require('../../plugin
19
29
 
20
30
  async run() {
21
31
  const project = readProject()
22
- const { configFile } = project
23
- await merge(__dirname, 'files/package.json.hbs').into(configFile, { with: project })
24
- await merge(__dirname, 'files/event-mesh.json.hbs').into('event-mesh.json', { with: project })
32
+ const { configFile, isNodejs } = project
33
+ if (isNodejs) {
34
+ project.cloudevents = cds.cli.options.cloudevents
35
+ await merge(__dirname, 'files/package.json.hbs').into(configFile, { with: project })
36
+ }
37
+ await merge(__dirname, 'files/event-mesh.json.hbs').into('event-mesh.json', { project })
25
38
  }
26
39
 
27
40
  async combine() {
@@ -10,7 +10,8 @@
10
10
  "[{{profile}}]": {
11
11
  {{/profile}}
12
12
  "messaging": {
13
- "kind": "enterprise-messaging-shared"
13
+ "kind": "enterprise-messaging-shared"{{#cloudevents}},
14
+ "format": "cloudevents"{{/cloudevents}}
14
15
  }
15
16
  {{#profile}}
16
17
  }
@@ -6,6 +6,16 @@ const { srv4, enterpriseMessaging } = require('../../registries/mta')
6
6
 
7
7
  module.exports = class EnterpriseMessagingSharedTemplate extends require('../../plugin') {
8
8
 
9
+ options() {
10
+ return {
11
+ 'cloudevents': {
12
+ type: 'boolean',
13
+ short: 'c',
14
+ help: 'Use CloudEvents formatting',
15
+ }
16
+ }
17
+ }
18
+
9
19
  async canRun() {
10
20
  const { isJava } = readProject()
11
21
  if (isJava) throw `'cds add enterprise-messaging-shared' is not available for Java yet`
@@ -18,9 +28,12 @@ module.exports = class EnterpriseMessagingSharedTemplate extends require('../../
18
28
 
19
29
  async run() {
20
30
  const project = readProject()
21
- const { configFile } = project
22
- project.shortcut = !(await read(configFile)).cds?.requires?.messaging?.kind
23
- await merge(__dirname, 'files/package.json.hbs').into(configFile, { project })
31
+ const { configFile, isNodejs } = project
32
+ if (isNodejs) {
33
+ project.shortcut = !(await read(configFile)).cds?.requires?.messaging?.kind
34
+ project.cloudevents = cds.cli.options.cloudevents
35
+ await merge(__dirname, 'files/package.json.hbs').into(configFile, { with: project })
36
+ }
24
37
  await merge(__dirname, 'files/event-mesh.json.hbs').into('event-mesh.json', { project })
25
38
  }
26
39
 
@@ -31,10 +31,10 @@ module.exports = class HelmTemplate extends require('../../plugin') {
31
31
  }
32
32
 
33
33
  async combine() {
34
- const { hasDestination, hasEnterpriseMessaging, hasHana, hasMultitenancy, hasXsuaa, hasHtml5Repo, hasApprouter } = readProject()
34
+ const { hasDestination, hasEnterpriseMessaging, hasHana, hasMultitenancy, hasXsuaa, hasHtml5Repo, hasApprouter, hasKafka } = readProject()
35
35
  let hasContentDeployment = false
36
36
 
37
- if (!exists('chart/charts/service-instance') && (hasHtml5Repo || hasMultitenancy || hasDestination || hasEnterpriseMessaging || hasXsuaa || hasHana)) {
37
+ if (!exists('chart/charts/service-instance') && (hasHtml5Repo || hasMultitenancy || hasDestination || hasEnterpriseMessaging || hasXsuaa || hasHana || hasKafka)) {
38
38
  await copy(join(__dirname, 'files', 'service-instance')).to('chart/charts/service-instance')
39
39
  }
40
40
  if (hasApprouter) {
@@ -71,6 +71,9 @@ module.exports = class HelmTemplate extends require('../../plugin') {
71
71
  await this._mergeDependency('content-deployment', 'hana-deployer')
72
72
  }
73
73
  }
74
+ if (hasKafka) {
75
+ await this._mergeDependency('service-instance', 'kafka')
76
+ }
74
77
  if(!exists('chart/charts/content-deployment') && hasContentDeployment) {
75
78
  await copy(join(__dirname, 'files', 'content-deployment')).to('chart/charts/content-deployment')
76
79
  }
@@ -40,7 +40,7 @@ module.exports = class HelmUnifiedRuntimeTemplate extends require('../../plugin'
40
40
  }
41
41
 
42
42
  async combine() {
43
- const { hasDestination, hasEnterpriseMessaging, hasHana, hasMultitenancy, hasXsuaa, hasHtml5Repo, hasApprouter } = readProject()
43
+ const { hasDestination, hasEnterpriseMessaging, hasHana, hasMultitenancy, hasXsuaa, hasHtml5Repo, hasApprouter, hasKafka } = readProject()
44
44
 
45
45
  if (hasApprouter) {
46
46
  await this._mergeDependency('web-application', 'approuter')
@@ -65,6 +65,9 @@ module.exports = class HelmUnifiedRuntimeTemplate extends require('../../plugin'
65
65
  if (hasXsuaa) {
66
66
  await this._mergeDependency('service-instance', 'xsuaa')
67
67
  }
68
+ if (hasKafka) {
69
+ await this._mergeDependency('service-instance', 'kafka')
70
+ }
68
71
  if (hasHana) {
69
72
  if (hasMultitenancy) {
70
73
  await this._mergeDependency('service-instance', 'service-manager')
@@ -57,7 +57,6 @@ module.exports = class Html5RepoTemplate extends require('../../plugin') {
57
57
  into: [appContent, 'requires', 'name'],
58
58
  }]
59
59
  if (hasApprouter) {
60
- console.log('aaddd')
61
60
  additions.push(approuter, html5Runtime)
62
61
  relationships.push({
63
62
  insert: [html5Runtime, 'name'],
@@ -0,0 +1,10 @@
1
+ srv:
2
+ bindings:
3
+ kafka:
4
+ serviceInstanceName: kafka
5
+ kafka:
6
+ serviceOfferingName: kafka
7
+ servicePlanName: standard
8
+ parameters:
9
+ public_ip: true
10
+ allow_access: []
@@ -6,7 +6,7 @@ const mvn = require('../../mvn')
6
6
  module.exports = class KafkaTemplate extends require('../../plugin') {
7
7
 
8
8
  static hasInProduction(env) {
9
- return !!env.requires?.messaging?.kind === 'kafka'
9
+ return !!(env.requires?.messaging?.kind === 'kafka')
10
10
  }
11
11
 
12
12
  async run() {
@@ -18,7 +18,7 @@ module.exports = class KafkaTemplate extends require('../../plugin') {
18
18
 
19
19
  async combine() {
20
20
  const project = readProject()
21
- const { hasMta, srvPath } = project
21
+ const { hasMta, srvPath, hasHelm, hasHelmUnifiedRuntime } = project
22
22
 
23
23
  if (hasMta) {
24
24
  const srv = srv4(srvPath)
@@ -32,9 +32,8 @@ module.exports = class KafkaTemplate extends require('../../plugin') {
32
32
  })
33
33
  }
34
34
 
35
- // REVISIT: Helm support
36
- // if (hasHelm || hasHelmUnifiedRuntime) {
37
- // await merge(__dirname, 'files', 'values.yaml').into('chart/values.yaml')
38
- // }
35
+ if (hasHelm || hasHelmUnifiedRuntime) {
36
+ await merge(__dirname, 'files/values.yaml').into('chart/values.yaml')
37
+ }
39
38
  }
40
39
  }
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "7.8.0",
3
+ "version": "7.8.1",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sap/cds-dk",
9
- "version": "7.8.0",
9
+ "version": "7.8.1",
10
10
  "license": "SEE LICENSE IN LICENSE",
11
11
  "dependencies": {
12
12
  "@sap/cds": "^7",
@@ -87,25 +87,6 @@
87
87
  "url": "https://opencollective.com/eslint"
88
88
  }
89
89
  },
90
- "node_modules/@eslint/eslintrc/node_modules/debug": {
91
- "version": "4.3.4",
92
- "license": "MIT",
93
- "dependencies": {
94
- "ms": "2.1.2"
95
- },
96
- "engines": {
97
- "node": ">=6.0"
98
- },
99
- "peerDependenciesMeta": {
100
- "supports-color": {
101
- "optional": true
102
- }
103
- }
104
- },
105
- "node_modules/@eslint/eslintrc/node_modules/ms": {
106
- "version": "2.1.2",
107
- "license": "MIT"
108
- },
109
90
  "node_modules/@eslint/js": {
110
91
  "version": "8.57.0",
111
92
  "license": "MIT",
@@ -130,25 +111,6 @@
130
111
  "node": ">=10.10.0"
131
112
  }
132
113
  },
133
- "node_modules/@humanwhocodes/config-array/node_modules/debug": {
134
- "version": "4.3.4",
135
- "license": "MIT",
136
- "dependencies": {
137
- "ms": "2.1.2"
138
- },
139
- "engines": {
140
- "node": ">=6.0"
141
- },
142
- "peerDependenciesMeta": {
143
- "supports-color": {
144
- "optional": true
145
- }
146
- }
147
- },
148
- "node_modules/@humanwhocodes/config-array/node_modules/ms": {
149
- "version": "2.1.2",
150
- "license": "MIT"
151
- },
152
114
  "node_modules/@humanwhocodes/module-importer": {
153
115
  "version": "1.0.1",
154
116
  "license": "Apache-2.0",
@@ -293,7 +255,24 @@
293
255
  "eslint": ">=7"
294
256
  }
295
257
  },
296
- "node_modules/@sap/hana-client": {
258
+ "node_modules/@sap/hdi-deploy": {
259
+ "version": "4.9.2",
260
+ "license": "See LICENSE file",
261
+ "dependencies": {
262
+ "@sap/hana-client": "2.19.21",
263
+ "@sap/hdi": "4.5.2",
264
+ "@sap/xsenv": "4.2.0",
265
+ "async": "3.2.3",
266
+ "dotenv": "10.0.0",
267
+ "handlebars": "4.7.7",
268
+ "hdb": "0.19.3",
269
+ "micromatch": "4.0.4"
270
+ },
271
+ "engines": {
272
+ "node": "^12.0.0 || ^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0"
273
+ }
274
+ },
275
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/hana-client": {
297
276
  "version": "2.19.21",
298
277
  "hasInstallScript": true,
299
278
  "license": "SEE LICENSE IN developer-license-3_1.txt",
@@ -304,7 +283,18 @@
304
283
  "node": ">=4.0.0"
305
284
  }
306
285
  },
307
- "node_modules/@sap/hdi": {
286
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/hana-client/node_modules/debug": {
287
+ "version": "3.1.0",
288
+ "license": "MIT",
289
+ "dependencies": {
290
+ "ms": "2.0.0"
291
+ }
292
+ },
293
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/hana-client/node_modules/ms": {
294
+ "version": "2.0.0",
295
+ "license": "MIT"
296
+ },
297
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/hdi": {
308
298
  "version": "4.5.2",
309
299
  "license": "See LICENSE file",
310
300
  "dependencies": {
@@ -326,24 +316,7 @@
326
316
  }
327
317
  }
328
318
  },
329
- "node_modules/@sap/hdi-deploy": {
330
- "version": "4.9.2",
331
- "license": "See LICENSE file",
332
- "dependencies": {
333
- "@sap/hana-client": "2.19.21",
334
- "@sap/hdi": "4.5.2",
335
- "@sap/xsenv": "4.2.0",
336
- "async": "3.2.3",
337
- "dotenv": "10.0.0",
338
- "handlebars": "4.7.7",
339
- "hdb": "0.19.3",
340
- "micromatch": "4.0.4"
341
- },
342
- "engines": {
343
- "node": "^12.0.0 || ^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0"
344
- }
345
- },
346
- "node_modules/@sap/xsenv": {
319
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/xsenv": {
347
320
  "version": "4.2.0",
348
321
  "license": "SEE LICENSE IN LICENSE file",
349
322
  "dependencies": {
@@ -355,7 +328,25 @@
355
328
  "node": "^12.0.0 || ^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0"
356
329
  }
357
330
  },
358
- "node_modules/@sap/xsenv/node_modules/debug": {
331
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/xsenv/node_modules/assert-plus": {
332
+ "version": "1.0.0",
333
+ "license": "MIT",
334
+ "engines": {
335
+ "node": ">=0.8"
336
+ }
337
+ },
338
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/xsenv/node_modules/clone": {
339
+ "version": "2.1.2",
340
+ "license": "MIT",
341
+ "engines": {
342
+ "node": ">=0.8"
343
+ }
344
+ },
345
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/xsenv/node_modules/core-util-is": {
346
+ "version": "1.0.2",
347
+ "license": "MIT"
348
+ },
349
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/xsenv/node_modules/debug": {
359
350
  "version": "4.3.3",
360
351
  "license": "MIT",
361
352
  "dependencies": {
@@ -370,10 +361,184 @@
370
361
  }
371
362
  }
372
363
  },
373
- "node_modules/@sap/xsenv/node_modules/ms": {
364
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/xsenv/node_modules/extsprintf": {
365
+ "version": "1.4.1",
366
+ "engines": [
367
+ "node >=0.6.0"
368
+ ],
369
+ "license": "MIT"
370
+ },
371
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/xsenv/node_modules/ms": {
374
372
  "version": "2.1.2",
375
373
  "license": "MIT"
376
374
  },
375
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/xsenv/node_modules/node-cache": {
376
+ "version": "5.1.2",
377
+ "license": "MIT",
378
+ "dependencies": {
379
+ "clone": "2.x"
380
+ },
381
+ "engines": {
382
+ "node": ">= 8.0.0"
383
+ }
384
+ },
385
+ "node_modules/@sap/hdi-deploy/node_modules/@sap/xsenv/node_modules/verror": {
386
+ "version": "1.10.0",
387
+ "engines": [
388
+ "node >=0.6.0"
389
+ ],
390
+ "license": "MIT",
391
+ "dependencies": {
392
+ "assert-plus": "^1.0.0",
393
+ "core-util-is": "1.0.2",
394
+ "extsprintf": "^1.2.0"
395
+ }
396
+ },
397
+ "node_modules/@sap/hdi-deploy/node_modules/async": {
398
+ "version": "3.2.3",
399
+ "license": "MIT"
400
+ },
401
+ "node_modules/@sap/hdi-deploy/node_modules/braces": {
402
+ "version": "3.0.2",
403
+ "license": "MIT",
404
+ "dependencies": {
405
+ "fill-range": "^7.0.1"
406
+ },
407
+ "engines": {
408
+ "node": ">=8"
409
+ }
410
+ },
411
+ "node_modules/@sap/hdi-deploy/node_modules/dotenv": {
412
+ "version": "10.0.0",
413
+ "license": "BSD-2-Clause",
414
+ "engines": {
415
+ "node": ">=10"
416
+ }
417
+ },
418
+ "node_modules/@sap/hdi-deploy/node_modules/fill-range": {
419
+ "version": "7.0.1",
420
+ "license": "MIT",
421
+ "dependencies": {
422
+ "to-regex-range": "^5.0.1"
423
+ },
424
+ "engines": {
425
+ "node": ">=8"
426
+ }
427
+ },
428
+ "node_modules/@sap/hdi-deploy/node_modules/handlebars": {
429
+ "version": "4.7.7",
430
+ "license": "MIT",
431
+ "dependencies": {
432
+ "minimist": "^1.2.5",
433
+ "neo-async": "^2.6.0",
434
+ "source-map": "^0.6.1",
435
+ "wordwrap": "^1.0.0"
436
+ },
437
+ "bin": {
438
+ "handlebars": "bin/handlebars"
439
+ },
440
+ "engines": {
441
+ "node": ">=0.4.7"
442
+ },
443
+ "optionalDependencies": {
444
+ "uglify-js": "^3.1.4"
445
+ }
446
+ },
447
+ "node_modules/@sap/hdi-deploy/node_modules/hdb": {
448
+ "version": "0.19.3",
449
+ "license": "Apache-2.0",
450
+ "dependencies": {
451
+ "iconv-lite": "^0.4.18"
452
+ },
453
+ "engines": {
454
+ "node": ">= 0.12"
455
+ }
456
+ },
457
+ "node_modules/@sap/hdi-deploy/node_modules/iconv-lite": {
458
+ "version": "0.4.24",
459
+ "license": "MIT",
460
+ "dependencies": {
461
+ "safer-buffer": ">= 2.1.2 < 3"
462
+ },
463
+ "engines": {
464
+ "node": ">=0.10.0"
465
+ }
466
+ },
467
+ "node_modules/@sap/hdi-deploy/node_modules/is-number": {
468
+ "version": "7.0.0",
469
+ "license": "MIT",
470
+ "engines": {
471
+ "node": ">=0.12.0"
472
+ }
473
+ },
474
+ "node_modules/@sap/hdi-deploy/node_modules/micromatch": {
475
+ "version": "4.0.4",
476
+ "license": "MIT",
477
+ "dependencies": {
478
+ "braces": "^3.0.1",
479
+ "picomatch": "^2.2.3"
480
+ },
481
+ "engines": {
482
+ "node": ">=8.6"
483
+ }
484
+ },
485
+ "node_modules/@sap/hdi-deploy/node_modules/minimist": {
486
+ "version": "1.2.8",
487
+ "license": "MIT",
488
+ "funding": {
489
+ "url": "https://github.com/sponsors/ljharb"
490
+ }
491
+ },
492
+ "node_modules/@sap/hdi-deploy/node_modules/neo-async": {
493
+ "version": "2.6.2",
494
+ "license": "MIT"
495
+ },
496
+ "node_modules/@sap/hdi-deploy/node_modules/picomatch": {
497
+ "version": "2.3.1",
498
+ "license": "MIT",
499
+ "engines": {
500
+ "node": ">=8.6"
501
+ },
502
+ "funding": {
503
+ "url": "https://github.com/sponsors/jonschlinkert"
504
+ }
505
+ },
506
+ "node_modules/@sap/hdi-deploy/node_modules/safer-buffer": {
507
+ "version": "2.1.2",
508
+ "license": "MIT"
509
+ },
510
+ "node_modules/@sap/hdi-deploy/node_modules/source-map": {
511
+ "version": "0.6.1",
512
+ "license": "BSD-3-Clause",
513
+ "engines": {
514
+ "node": ">=0.10.0"
515
+ }
516
+ },
517
+ "node_modules/@sap/hdi-deploy/node_modules/to-regex-range": {
518
+ "version": "5.0.1",
519
+ "license": "MIT",
520
+ "dependencies": {
521
+ "is-number": "^7.0.0"
522
+ },
523
+ "engines": {
524
+ "node": ">=8.0"
525
+ }
526
+ },
527
+ "node_modules/@sap/hdi-deploy/node_modules/uglify-js": {
528
+ "version": "3.17.4",
529
+ "license": "BSD-2-Clause",
530
+ "optional": true,
531
+ "bin": {
532
+ "uglifyjs": "bin/uglifyjs"
533
+ },
534
+ "engines": {
535
+ "node": ">=0.8.0"
536
+ }
537
+ },
538
+ "node_modules/@sap/hdi-deploy/node_modules/wordwrap": {
539
+ "version": "1.0.0",
540
+ "license": "MIT"
541
+ },
377
542
  "node_modules/@tootallnate/once": {
378
543
  "version": "1.1.2",
379
544
  "license": "MIT",
@@ -430,27 +595,6 @@
430
595
  "node": ">= 6.0.0"
431
596
  }
432
597
  },
433
- "node_modules/agent-base/node_modules/debug": {
434
- "version": "4.3.4",
435
- "license": "MIT",
436
- "optional": true,
437
- "dependencies": {
438
- "ms": "2.1.2"
439
- },
440
- "engines": {
441
- "node": ">=6.0"
442
- },
443
- "peerDependenciesMeta": {
444
- "supports-color": {
445
- "optional": true
446
- }
447
- }
448
- },
449
- "node_modules/agent-base/node_modules/ms": {
450
- "version": "2.1.2",
451
- "license": "MIT",
452
- "optional": true
453
- },
454
598
  "node_modules/agentkeepalive": {
455
599
  "version": "4.5.0",
456
600
  "license": "MIT",
@@ -540,17 +684,6 @@
540
684
  "version": "1.1.1",
541
685
  "license": "MIT"
542
686
  },
543
- "node_modules/assert-plus": {
544
- "version": "1.0.0",
545
- "license": "MIT",
546
- "engines": {
547
- "node": ">=0.8"
548
- }
549
- },
550
- "node_modules/async": {
551
- "version": "3.2.3",
552
- "license": "MIT"
553
- },
554
687
  "node_modules/asynckit": {
555
688
  "version": "0.4.0",
556
689
  "license": "MIT"
@@ -645,6 +778,10 @@
645
778
  "ms": "2.0.0"
646
779
  }
647
780
  },
781
+ "node_modules/body-parser/node_modules/ms": {
782
+ "version": "2.0.0",
783
+ "license": "MIT"
784
+ },
648
785
  "node_modules/brace-expansion": {
649
786
  "version": "1.1.11",
650
787
  "license": "MIT",
@@ -655,6 +792,7 @@
655
792
  },
656
793
  "node_modules/braces": {
657
794
  "version": "3.0.2",
795
+ "extraneous": true,
658
796
  "license": "MIT",
659
797
  "dependencies": {
660
798
  "fill-range": "^7.0.1"
@@ -791,13 +929,6 @@
791
929
  "node": ">=6"
792
930
  }
793
931
  },
794
- "node_modules/clone": {
795
- "version": "2.1.2",
796
- "license": "MIT",
797
- "engines": {
798
- "node": ">=0.8"
799
- }
800
- },
801
932
  "node_modules/color-convert": {
802
933
  "version": "2.0.1",
803
934
  "license": "MIT",
@@ -867,10 +998,6 @@
867
998
  "version": "1.0.6",
868
999
  "license": "MIT"
869
1000
  },
870
- "node_modules/core-util-is": {
871
- "version": "1.0.2",
872
- "license": "MIT"
873
- },
874
1001
  "node_modules/cross-spawn": {
875
1002
  "version": "7.0.3",
876
1003
  "license": "MIT",
@@ -884,10 +1011,18 @@
884
1011
  }
885
1012
  },
886
1013
  "node_modules/debug": {
887
- "version": "3.1.0",
1014
+ "version": "4.3.4",
888
1015
  "license": "MIT",
889
1016
  "dependencies": {
890
- "ms": "2.0.0"
1017
+ "ms": "2.1.2"
1018
+ },
1019
+ "engines": {
1020
+ "node": ">=6.0"
1021
+ },
1022
+ "peerDependenciesMeta": {
1023
+ "supports-color": {
1024
+ "optional": true
1025
+ }
891
1026
  }
892
1027
  },
893
1028
  "node_modules/decompress-response": {
@@ -976,13 +1111,6 @@
976
1111
  "node": ">=6.0.0"
977
1112
  }
978
1113
  },
979
- "node_modules/dotenv": {
980
- "version": "10.0.0",
981
- "license": "BSD-2-Clause",
982
- "engines": {
983
- "node": ">=10"
984
- }
985
- },
986
1114
  "node_modules/ee-first": {
987
1115
  "version": "1.1.1",
988
1116
  "license": "MIT"
@@ -1147,25 +1275,6 @@
1147
1275
  "url": "https://opencollective.com/eslint"
1148
1276
  }
1149
1277
  },
1150
- "node_modules/eslint/node_modules/debug": {
1151
- "version": "4.3.4",
1152
- "license": "MIT",
1153
- "dependencies": {
1154
- "ms": "2.1.2"
1155
- },
1156
- "engines": {
1157
- "node": ">=6.0"
1158
- },
1159
- "peerDependenciesMeta": {
1160
- "supports-color": {
1161
- "optional": true
1162
- }
1163
- }
1164
- },
1165
- "node_modules/eslint/node_modules/ms": {
1166
- "version": "2.1.2",
1167
- "license": "MIT"
1168
- },
1169
1278
  "node_modules/espree": {
1170
1279
  "version": "9.6.1",
1171
1280
  "license": "BSD-2-Clause",
@@ -1277,11 +1386,8 @@
1277
1386
  "ms": "2.0.0"
1278
1387
  }
1279
1388
  },
1280
- "node_modules/extsprintf": {
1281
- "version": "1.4.1",
1282
- "engines": [
1283
- "node >=0.6.0"
1284
- ],
1389
+ "node_modules/express/node_modules/ms": {
1390
+ "version": "2.0.0",
1285
1391
  "license": "MIT"
1286
1392
  },
1287
1393
  "node_modules/fast-deep-equal": {
@@ -1320,6 +1426,7 @@
1320
1426
  },
1321
1427
  "node_modules/fill-range": {
1322
1428
  "version": "7.0.1",
1429
+ "extraneous": true,
1323
1430
  "license": "MIT",
1324
1431
  "dependencies": {
1325
1432
  "to-regex-range": "^5.0.1"
@@ -1351,6 +1458,10 @@
1351
1458
  "ms": "2.0.0"
1352
1459
  }
1353
1460
  },
1461
+ "node_modules/finalhandler/node_modules/ms": {
1462
+ "version": "2.0.0",
1463
+ "license": "MIT"
1464
+ },
1354
1465
  "node_modules/find-up": {
1355
1466
  "version": "5.0.0",
1356
1467
  "license": "MIT",
@@ -1559,25 +1670,6 @@
1559
1670
  "version": "1.4.0",
1560
1671
  "license": "MIT"
1561
1672
  },
1562
- "node_modules/handlebars": {
1563
- "version": "4.7.7",
1564
- "license": "MIT",
1565
- "dependencies": {
1566
- "minimist": "^1.2.5",
1567
- "neo-async": "^2.6.0",
1568
- "source-map": "^0.6.1",
1569
- "wordwrap": "^1.0.0"
1570
- },
1571
- "bin": {
1572
- "handlebars": "bin/handlebars"
1573
- },
1574
- "engines": {
1575
- "node": ">=0.4.7"
1576
- },
1577
- "optionalDependencies": {
1578
- "uglify-js": "^3.1.4"
1579
- }
1580
- },
1581
1673
  "node_modules/has-flag": {
1582
1674
  "version": "4.0.0",
1583
1675
  "license": "MIT",
@@ -1630,16 +1722,6 @@
1630
1722
  "node": ">= 0.4"
1631
1723
  }
1632
1724
  },
1633
- "node_modules/hdb": {
1634
- "version": "0.19.3",
1635
- "license": "Apache-2.0",
1636
- "dependencies": {
1637
- "iconv-lite": "^0.4.18"
1638
- },
1639
- "engines": {
1640
- "node": ">= 0.12"
1641
- }
1642
- },
1643
1725
  "node_modules/http-cache-semantics": {
1644
1726
  "version": "4.1.1",
1645
1727
  "license": "BSD-2-Clause",
@@ -1672,27 +1754,6 @@
1672
1754
  "node": ">= 6"
1673
1755
  }
1674
1756
  },
1675
- "node_modules/http-proxy-agent/node_modules/debug": {
1676
- "version": "4.3.4",
1677
- "license": "MIT",
1678
- "optional": true,
1679
- "dependencies": {
1680
- "ms": "2.1.2"
1681
- },
1682
- "engines": {
1683
- "node": ">=6.0"
1684
- },
1685
- "peerDependenciesMeta": {
1686
- "supports-color": {
1687
- "optional": true
1688
- }
1689
- }
1690
- },
1691
- "node_modules/http-proxy-agent/node_modules/ms": {
1692
- "version": "2.1.2",
1693
- "license": "MIT",
1694
- "optional": true
1695
- },
1696
1757
  "node_modules/https-proxy-agent": {
1697
1758
  "version": "5.0.1",
1698
1759
  "license": "MIT",
@@ -1705,27 +1766,6 @@
1705
1766
  "node": ">= 6"
1706
1767
  }
1707
1768
  },
1708
- "node_modules/https-proxy-agent/node_modules/debug": {
1709
- "version": "4.3.4",
1710
- "license": "MIT",
1711
- "optional": true,
1712
- "dependencies": {
1713
- "ms": "2.1.2"
1714
- },
1715
- "engines": {
1716
- "node": ">=6.0"
1717
- },
1718
- "peerDependenciesMeta": {
1719
- "supports-color": {
1720
- "optional": true
1721
- }
1722
- }
1723
- },
1724
- "node_modules/https-proxy-agent/node_modules/ms": {
1725
- "version": "2.1.2",
1726
- "license": "MIT",
1727
- "optional": true
1728
- },
1729
1769
  "node_modules/humanize-ms": {
1730
1770
  "version": "1.2.1",
1731
1771
  "license": "MIT",
@@ -1872,6 +1912,7 @@
1872
1912
  },
1873
1913
  "node_modules/is-number": {
1874
1914
  "version": "7.0.0",
1915
+ "extraneous": true,
1875
1916
  "license": "MIT",
1876
1917
  "engines": {
1877
1918
  "node": ">=0.12.0"
@@ -2015,11 +2056,12 @@
2015
2056
  }
2016
2057
  },
2017
2058
  "node_modules/micromatch": {
2018
- "version": "4.0.4",
2059
+ "version": "4.0.5",
2060
+ "extraneous": true,
2019
2061
  "license": "MIT",
2020
2062
  "dependencies": {
2021
- "braces": "^3.0.1",
2022
- "picomatch": "^2.2.3"
2063
+ "braces": "^3.0.2",
2064
+ "picomatch": "^2.3.1"
2023
2065
  },
2024
2066
  "engines": {
2025
2067
  "node": ">=8.6"
@@ -2076,6 +2118,7 @@
2076
2118
  "node_modules/minimist": {
2077
2119
  "version": "1.2.8",
2078
2120
  "license": "MIT",
2121
+ "optional": true,
2079
2122
  "funding": {
2080
2123
  "url": "https://github.com/sponsors/ljharb"
2081
2124
  }
@@ -2190,7 +2233,7 @@
2190
2233
  "optional": true
2191
2234
  },
2192
2235
  "node_modules/ms": {
2193
- "version": "2.0.0",
2236
+ "version": "2.1.2",
2194
2237
  "license": "MIT"
2195
2238
  },
2196
2239
  "node_modules/mustache": {
@@ -2216,10 +2259,6 @@
2216
2259
  "node": ">= 0.6"
2217
2260
  }
2218
2261
  },
2219
- "node_modules/neo-async": {
2220
- "version": "2.6.2",
2221
- "license": "MIT"
2222
- },
2223
2262
  "node_modules/node-abi": {
2224
2263
  "version": "3.56.0",
2225
2264
  "license": "MIT",
@@ -2239,16 +2278,6 @@
2239
2278
  "node": "^16 || ^18 || >= 20"
2240
2279
  }
2241
2280
  },
2242
- "node_modules/node-cache": {
2243
- "version": "5.1.2",
2244
- "license": "MIT",
2245
- "dependencies": {
2246
- "clone": "2.x"
2247
- },
2248
- "engines": {
2249
- "node": ">= 8.0.0"
2250
- }
2251
- },
2252
2281
  "node_modules/node-gyp": {
2253
2282
  "version": "8.4.1",
2254
2283
  "license": "MIT",
@@ -2430,6 +2459,7 @@
2430
2459
  },
2431
2460
  "node_modules/picomatch": {
2432
2461
  "version": "2.3.1",
2462
+ "extraneous": true,
2433
2463
  "license": "MIT",
2434
2464
  "engines": {
2435
2465
  "node": ">=8.6"
@@ -2911,34 +2941,6 @@
2911
2941
  "node": ">= 10"
2912
2942
  }
2913
2943
  },
2914
- "node_modules/socks-proxy-agent/node_modules/debug": {
2915
- "version": "4.3.4",
2916
- "license": "MIT",
2917
- "optional": true,
2918
- "dependencies": {
2919
- "ms": "2.1.2"
2920
- },
2921
- "engines": {
2922
- "node": ">=6.0"
2923
- },
2924
- "peerDependenciesMeta": {
2925
- "supports-color": {
2926
- "optional": true
2927
- }
2928
- }
2929
- },
2930
- "node_modules/socks-proxy-agent/node_modules/ms": {
2931
- "version": "2.1.2",
2932
- "license": "MIT",
2933
- "optional": true
2934
- },
2935
- "node_modules/source-map": {
2936
- "version": "0.6.1",
2937
- "license": "BSD-3-Clause",
2938
- "engines": {
2939
- "node": ">=0.10.0"
2940
- }
2941
- },
2942
2944
  "node_modules/sprintf-js": {
2943
2945
  "version": "1.1.3",
2944
2946
  "license": "BSD-3-Clause",
@@ -3102,6 +3104,7 @@
3102
3104
  },
3103
3105
  "node_modules/to-regex-range": {
3104
3106
  "version": "5.0.1",
3107
+ "extraneous": true,
3105
3108
  "license": "MIT",
3106
3109
  "dependencies": {
3107
3110
  "is-number": "^7.0.0"
@@ -3159,17 +3162,6 @@
3159
3162
  "node": ">= 0.6"
3160
3163
  }
3161
3164
  },
3162
- "node_modules/uglify-js": {
3163
- "version": "3.17.4",
3164
- "license": "BSD-2-Clause",
3165
- "optional": true,
3166
- "bin": {
3167
- "uglifyjs": "bin/uglifyjs"
3168
- },
3169
- "engines": {
3170
- "node": ">=0.8.0"
3171
- }
3172
- },
3173
3165
  "node_modules/unique-filename": {
3174
3166
  "version": "1.1.1",
3175
3167
  "license": "ISC",
@@ -3219,18 +3211,6 @@
3219
3211
  "node": ">= 0.8"
3220
3212
  }
3221
3213
  },
3222
- "node_modules/verror": {
3223
- "version": "1.10.0",
3224
- "engines": [
3225
- "node >=0.6.0"
3226
- ],
3227
- "license": "MIT",
3228
- "dependencies": {
3229
- "assert-plus": "^1.0.0",
3230
- "core-util-is": "1.0.2",
3231
- "extsprintf": "^1.2.0"
3232
- }
3233
- },
3234
3214
  "node_modules/which": {
3235
3215
  "version": "2.0.2",
3236
3216
  "license": "ISC",
@@ -3252,10 +3232,6 @@
3252
3232
  "string-width": "^1.0.2 || 2 || 3 || 4"
3253
3233
  }
3254
3234
  },
3255
- "node_modules/wordwrap": {
3256
- "version": "1.0.0",
3257
- "license": "MIT"
3258
- },
3259
3235
  "node_modules/wrappy": {
3260
3236
  "version": "1.0.2",
3261
3237
  "license": "ISC"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "7.8.0",
3
+ "version": "7.8.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": [