@sap/cds-dk 9.9.5 → 9.9.7
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/CHANGELOG.md +12 -0
- package/lib/build/plugins/hana/index.js +10 -6
- package/npm-shrinkwrap.json +64 -73
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,18 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
|
|
6
6
|
|
|
7
7
|
The format is based on [Keep a Changelog](https://keepachangelog.com/).
|
|
8
8
|
|
|
9
|
+
## Version 9.9.7 - 2026-10-21
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `cds build --for hana` now correctly relocates generated _.hdbsynonymconfig_ files containing `*.configure` properties (e.g. `schema.configure`).
|
|
14
|
+
|
|
15
|
+
## Version 9.9.6 - 2026-09-11
|
|
16
|
+
|
|
17
|
+
### Changed
|
|
18
|
+
|
|
19
|
+
- Use cds-mtxs 3.9.8
|
|
20
|
+
|
|
9
21
|
## Version 9.9.5 - 2026-08-24
|
|
10
22
|
|
|
11
23
|
### Changed
|
|
@@ -105,10 +105,11 @@ module.exports = class HanaBuildPlugin extends require('../internal') {
|
|
|
105
105
|
|
|
106
106
|
// relocate .hdbsynonymconfig files containing *.configure properties to cfg/ folder
|
|
107
107
|
// HDI's template mechanism for configuration files only works from the cfg/ folder
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
108
|
+
// For inplace builds (Java), restrict the scan to compileDest only to avoid moving user's
|
|
109
|
+
// hand-crafted src/ files; for staging builds scan all of src/ (everything there is generated).
|
|
110
|
+
const synonymConfigScanDir = this.isStagingBuild() ? undefined : this.task.options.compileDest
|
|
111
|
+
const relocatedDirs = await this._relocateSynonymConfigsToCfg(synonymConfigScanDir)
|
|
112
|
+
await this._writeCfgHdiConfig(relocatedDirs)
|
|
112
113
|
}
|
|
113
114
|
}
|
|
114
115
|
|
|
@@ -621,11 +622,14 @@ module.exports = class HanaBuildPlugin extends require('../internal') {
|
|
|
621
622
|
* in the cfg/ folder. The HDI deployer scans cfg/ at startup, detects *.configure markers,
|
|
622
623
|
* and applies runtime substitution from bound service credentials.
|
|
623
624
|
*/
|
|
624
|
-
async _relocateSynonymConfigsToCfg() {
|
|
625
|
+
async _relocateSynonymConfigsToCfg(scanDir) {
|
|
625
626
|
const destSrcDir = path.join(this.task.dest, 'src')
|
|
626
627
|
const destCfgDir = path.join(this.task.dest, 'cfg')
|
|
628
|
+
// scanDir defaults to destSrcDir (staging builds); for inplace builds it is compileDest
|
|
629
|
+
// so that only generated files in src/gen are considered, not user's hand-crafted src/ files.
|
|
630
|
+
const effectiveScanDir = scanDir ?? destSrcDir
|
|
627
631
|
|
|
628
|
-
const synonymConfigFiles = await find(
|
|
632
|
+
const synonymConfigFiles = await find(effectiveScanDir, { filter: (entry) => {
|
|
629
633
|
if (isdir(entry)) {
|
|
630
634
|
return true
|
|
631
635
|
}
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sap/cds-dk",
|
|
3
|
-
"version": "9.9.
|
|
3
|
+
"version": "9.9.7",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@sap/cds-dk",
|
|
9
|
-
"version": "9.9.
|
|
9
|
+
"version": "9.9.7",
|
|
10
10
|
"license": "SEE LICENSE IN LICENSE",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@cap-js/asyncapi": "^1.0.0",
|
|
@@ -41,20 +41,20 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"node_modules/@cap-js/db-service": {
|
|
44
|
-
"version": "2.11.
|
|
45
|
-
"integrity": "sha512-
|
|
44
|
+
"version": "2.11.3",
|
|
45
|
+
"integrity": "sha512-zYT9lGSDph2yYQJhEDkJ5tLnXSU+ynqARq8faWQIWDubXmB+GAS+b+3N7SZyEx9jikR4ECKsWxCFy/2b21RD5g==",
|
|
46
46
|
"devOptional": true,
|
|
47
47
|
"license": "Apache-2.0",
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"generic-pool": "^3.9.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@sap/cds": "
|
|
52
|
+
"@sap/cds": "^9.8"
|
|
53
53
|
}
|
|
54
54
|
},
|
|
55
55
|
"node_modules/@cap-js/openapi": {
|
|
56
|
-
"version": "1.
|
|
57
|
-
"integrity": "sha512-
|
|
56
|
+
"version": "1.7.0",
|
|
57
|
+
"integrity": "sha512-eUwqxMWM2I0CrSnr1/DGX48q7MaM8NYqCF1//ktz8RNnuvmp6+61HWlN6xoct4/0d7bmBvg4Fw+HAXv8HyEcIA==",
|
|
58
58
|
"license": "Apache-2.0",
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"pluralize": "^8.0.0"
|
|
@@ -64,16 +64,16 @@
|
|
|
64
64
|
}
|
|
65
65
|
},
|
|
66
66
|
"node_modules/@cap-js/sqlite": {
|
|
67
|
-
"version": "2.4.
|
|
68
|
-
"integrity": "sha512-
|
|
67
|
+
"version": "2.4.3",
|
|
68
|
+
"integrity": "sha512-C7sxGD9InnORg5/eFgsJMg0WjCoypBk7tyjSkHLYtDPATC3ZROCkPQdhOLOy/+xRaoPaeTJRrNSVGv5u6dLiLA==",
|
|
69
69
|
"license": "Apache-2.0",
|
|
70
70
|
"optional": true,
|
|
71
71
|
"dependencies": {
|
|
72
|
-
"@cap-js/db-service": "^2.11.
|
|
72
|
+
"@cap-js/db-service": "^2.11.3",
|
|
73
73
|
"better-sqlite3": "^12.0.0"
|
|
74
74
|
},
|
|
75
75
|
"peerDependencies": {
|
|
76
|
-
"@sap/cds": "
|
|
76
|
+
"@sap/cds": "^9.8",
|
|
77
77
|
"sql.js": "^1.13.0"
|
|
78
78
|
},
|
|
79
79
|
"peerDependenciesMeta": {
|
|
@@ -130,8 +130,8 @@
|
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
132
|
"node_modules/@sap/cds-compiler": {
|
|
133
|
-
"version": "6.9.
|
|
134
|
-
"integrity": "sha512-
|
|
133
|
+
"version": "6.9.6",
|
|
134
|
+
"integrity": "sha512-eapqluJx7jtbN+rcgC2H60q5gVbgM/PqsL/o+Rps6YbM2XM20P8mMhl7By8gdx87zDAH3FBaYKdKbi5Y0iaeFg==",
|
|
135
135
|
"license": "SEE LICENSE IN LICENSE",
|
|
136
136
|
"bin": {
|
|
137
137
|
"cdsc": "bin/cdsc.js",
|
|
@@ -151,8 +151,8 @@
|
|
|
151
151
|
}
|
|
152
152
|
},
|
|
153
153
|
"node_modules/@sap/cds-mtxs": {
|
|
154
|
-
"version": "3.9.
|
|
155
|
-
"integrity": "sha512
|
|
154
|
+
"version": "3.9.8",
|
|
155
|
+
"integrity": "sha512-h3ldNx7Kn0loySsCPaRUhRrFT8G0iCJR+a1kT6A5bNF8F3mJlw6WQa6MBQC8wZ032T9woewR2z6iQY0OGBvETQ==",
|
|
156
156
|
"license": "SEE LICENSE IN LICENSE",
|
|
157
157
|
"dependencies": {
|
|
158
158
|
"@sap/hdi-deploy": "^5"
|
|
@@ -162,7 +162,7 @@
|
|
|
162
162
|
"cds-mtx-migrate": "bin/cds-mtx-migrate.js"
|
|
163
163
|
},
|
|
164
164
|
"peerDependencies": {
|
|
165
|
-
"@sap/cds": "
|
|
165
|
+
"@sap/cds": "^9"
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
"node_modules/@sap/hdi": {
|
|
@@ -331,18 +331,6 @@
|
|
|
331
331
|
"url": "https://opencollective.com/express"
|
|
332
332
|
}
|
|
333
333
|
},
|
|
334
|
-
"node_modules/body-parser/node_modules/content-type": {
|
|
335
|
-
"version": "2.1.0",
|
|
336
|
-
"integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
|
|
337
|
-
"license": "MIT",
|
|
338
|
-
"engines": {
|
|
339
|
-
"node": ">=18"
|
|
340
|
-
},
|
|
341
|
-
"funding": {
|
|
342
|
-
"type": "opencollective",
|
|
343
|
-
"url": "https://opencollective.com/express"
|
|
344
|
-
}
|
|
345
|
-
},
|
|
346
334
|
"node_modules/braces": {
|
|
347
335
|
"version": "3.0.3",
|
|
348
336
|
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
|
|
@@ -428,8 +416,8 @@
|
|
|
428
416
|
}
|
|
429
417
|
},
|
|
430
418
|
"node_modules/content-disposition": {
|
|
431
|
-
"version": "
|
|
432
|
-
"integrity": "sha512-
|
|
419
|
+
"version": "2.0.1",
|
|
420
|
+
"integrity": "sha512-e+H0ZXHSWYrENhQzw1LPuP4oF5MzVKmDU6d3hxlvaPEYLLg62MxtQNPRx4SYSuYJSBUgnQIG4HIN2tEtNv7Dog==",
|
|
433
421
|
"license": "MIT",
|
|
434
422
|
"engines": {
|
|
435
423
|
"node": ">=18"
|
|
@@ -440,11 +428,15 @@
|
|
|
440
428
|
}
|
|
441
429
|
},
|
|
442
430
|
"node_modules/content-type": {
|
|
443
|
-
"version": "1.0
|
|
444
|
-
"integrity": "sha512-
|
|
431
|
+
"version": "2.1.0",
|
|
432
|
+
"integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
|
|
445
433
|
"license": "MIT",
|
|
446
434
|
"engines": {
|
|
447
|
-
"node": ">=
|
|
435
|
+
"node": ">=18"
|
|
436
|
+
},
|
|
437
|
+
"funding": {
|
|
438
|
+
"type": "opencollective",
|
|
439
|
+
"url": "https://opencollective.com/express"
|
|
448
440
|
}
|
|
449
441
|
},
|
|
450
442
|
"node_modules/cookie": {
|
|
@@ -621,14 +613,14 @@
|
|
|
621
613
|
}
|
|
622
614
|
},
|
|
623
615
|
"node_modules/express": {
|
|
624
|
-
"version": "5.
|
|
625
|
-
"integrity": "sha512-
|
|
616
|
+
"version": "5.3.0",
|
|
617
|
+
"integrity": "sha512-qCqy1xSoaugxOD4IVHb1ZWdkvCF2W3aE2okKouWj8VwJ+ztskSiXoBnCSJqfKT+cVPJhuJqe9YLbY425+Zh00g==",
|
|
626
618
|
"license": "MIT",
|
|
627
619
|
"dependencies": {
|
|
628
620
|
"accepts": "^2.0.0",
|
|
629
|
-
"body-parser": "^2.
|
|
630
|
-
"content-disposition": "^
|
|
631
|
-
"content-type": "^
|
|
621
|
+
"body-parser": "^2.3.0",
|
|
622
|
+
"content-disposition": "^2.0.1",
|
|
623
|
+
"content-type": "^2.0.0",
|
|
632
624
|
"cookie": "^0.7.1",
|
|
633
625
|
"cookie-signature": "^1.2.1",
|
|
634
626
|
"debug": "^4.4.0",
|
|
@@ -644,14 +636,14 @@
|
|
|
644
636
|
"on-finished": "^2.4.1",
|
|
645
637
|
"once": "^1.4.0",
|
|
646
638
|
"parseurl": "^1.3.3",
|
|
647
|
-
"proxy-addr": "^2.0.
|
|
648
|
-
"qs": "^6.
|
|
639
|
+
"proxy-addr": "^2.0.8",
|
|
640
|
+
"qs": "^6.16.0",
|
|
649
641
|
"range-parser": "^1.2.1",
|
|
650
642
|
"router": "^2.2.0",
|
|
651
643
|
"send": "^1.1.0",
|
|
652
644
|
"serve-static": "^2.2.0",
|
|
653
645
|
"statuses": "^2.0.1",
|
|
654
|
-
"type-is": "^2.0
|
|
646
|
+
"type-is": "^2.1.0",
|
|
655
647
|
"vary": "^1.1.2"
|
|
656
648
|
},
|
|
657
649
|
"engines": {
|
|
@@ -799,11 +791,11 @@
|
|
|
799
791
|
}
|
|
800
792
|
},
|
|
801
793
|
"node_modules/handlebars": {
|
|
802
|
-
"version": "4.7.
|
|
803
|
-
"integrity": "sha512-
|
|
794
|
+
"version": "4.7.10",
|
|
795
|
+
"integrity": "sha512-P5VJMVM7qgBn6vjXMw8WG9uVI+ncf2pi72j4de4yz5ZULLj2RGqLYaKOYGsgyrViQ0tePOVlN1tDCCXXtFqXKg==",
|
|
804
796
|
"license": "MIT",
|
|
805
797
|
"dependencies": {
|
|
806
|
-
"minimist": "^1.2.
|
|
798
|
+
"minimist": "^1.2.8",
|
|
807
799
|
"neo-async": "^2.6.2",
|
|
808
800
|
"source-map": "^0.6.1",
|
|
809
801
|
"wordwrap": "^1.0.0"
|
|
@@ -841,8 +833,8 @@
|
|
|
841
833
|
}
|
|
842
834
|
},
|
|
843
835
|
"node_modules/hdb": {
|
|
844
|
-
"version": "2.
|
|
845
|
-
"integrity": "sha512-
|
|
836
|
+
"version": "2.30.1",
|
|
837
|
+
"integrity": "sha512-2DtLQmPv39HFMtUk315aRaNCJHci/Y62Uitr5/Me8373CYFnoz9BlssMd46mrzHXSK0cA5m/nW6sTrO2KF357w==",
|
|
846
838
|
"license": "Apache-2.0",
|
|
847
839
|
"dependencies": {
|
|
848
840
|
"iconv-lite": "0.7.0"
|
|
@@ -956,8 +948,8 @@
|
|
|
956
948
|
"license": "MIT"
|
|
957
949
|
},
|
|
958
950
|
"node_modules/livereload-js": {
|
|
959
|
-
"version": "4.0.
|
|
960
|
-
"integrity": "sha512-
|
|
951
|
+
"version": "4.0.3",
|
|
952
|
+
"integrity": "sha512-OSoXN1PP5ef8mnyP40I6MndrMJar5MIP2QGO3ZlzT3oOmiSrjkpHblixAcUFbxtIyakQuKckVLuCYiPXjhprvQ==",
|
|
961
953
|
"license": "MIT"
|
|
962
954
|
},
|
|
963
955
|
"node_modules/lz4-wasm-nodejs": {
|
|
@@ -1089,11 +1081,18 @@
|
|
|
1089
1081
|
"optional": true
|
|
1090
1082
|
},
|
|
1091
1083
|
"node_modules/negotiator": {
|
|
1092
|
-
"version": "1.
|
|
1093
|
-
"integrity": "sha512-
|
|
1084
|
+
"version": "1.1.0",
|
|
1085
|
+
"integrity": "sha512-NMPBRMJgiQHjbd8phG3Vebdx4kZ1H121rbl5IkMqeOsahptB9BKo/d7oJ3zTXqTgagn2bWlNSXkh0QUGM31RYg==",
|
|
1094
1086
|
"license": "MIT",
|
|
1087
|
+
"dependencies": {
|
|
1088
|
+
"content-type": "^2.1.0"
|
|
1089
|
+
},
|
|
1095
1090
|
"engines": {
|
|
1096
|
-
"node": ">=
|
|
1091
|
+
"node": ">=18"
|
|
1092
|
+
},
|
|
1093
|
+
"funding": {
|
|
1094
|
+
"type": "opencollective",
|
|
1095
|
+
"url": "https://opencollective.com/express"
|
|
1097
1096
|
}
|
|
1098
1097
|
},
|
|
1099
1098
|
"node_modules/neo-async": {
|
|
@@ -1102,8 +1101,8 @@
|
|
|
1102
1101
|
"license": "MIT"
|
|
1103
1102
|
},
|
|
1104
1103
|
"node_modules/node-abi": {
|
|
1105
|
-
"version": "3.
|
|
1106
|
-
"integrity": "sha512-
|
|
1104
|
+
"version": "3.99.0",
|
|
1105
|
+
"integrity": "sha512-lLdwkeg2XUVPTHqWjPltTxH81zbQNbUWC+AEb9ni50KjxkUzAAx1HGtMT21sbntzfUGfIphhcklvs3imJeqDXw==",
|
|
1107
1106
|
"license": "MIT",
|
|
1108
1107
|
"optional": true,
|
|
1109
1108
|
"dependencies": {
|
|
@@ -1207,8 +1206,8 @@
|
|
|
1207
1206
|
}
|
|
1208
1207
|
},
|
|
1209
1208
|
"node_modules/proxy-addr": {
|
|
1210
|
-
"version": "2.0.
|
|
1211
|
-
"integrity": "sha512-
|
|
1209
|
+
"version": "2.0.8",
|
|
1210
|
+
"integrity": "sha512-5nnx0yGyVUcY6t9RnWcARWtwT9F1D8O9rt08htPvnd49W1IgZtmLkhu9WfMzQj1cFxjHIO6connUNVW5k7AVyQ==",
|
|
1212
1211
|
"license": "MIT",
|
|
1213
1212
|
"dependencies": {
|
|
1214
1213
|
"forwarded": "0.2.0",
|
|
@@ -1216,6 +1215,10 @@
|
|
|
1216
1215
|
},
|
|
1217
1216
|
"engines": {
|
|
1218
1217
|
"node": ">= 0.10"
|
|
1218
|
+
},
|
|
1219
|
+
"funding": {
|
|
1220
|
+
"type": "opencollective",
|
|
1221
|
+
"url": "https://opencollective.com/express"
|
|
1219
1222
|
}
|
|
1220
1223
|
},
|
|
1221
1224
|
"node_modules/pump": {
|
|
@@ -1229,8 +1232,8 @@
|
|
|
1229
1232
|
}
|
|
1230
1233
|
},
|
|
1231
1234
|
"node_modules/qs": {
|
|
1232
|
-
"version": "6.
|
|
1233
|
-
"integrity": "sha512-
|
|
1235
|
+
"version": "6.16.1",
|
|
1236
|
+
"integrity": "sha512-5Px6J7rfHBAGUhNQ3es4YzcOdBBw0SDcVtThJml4RdnKw4tKs2epA0kPZ+K8X+WiHktT93RHVcQ/3ym5aTCgtg==",
|
|
1234
1237
|
"license": "BSD-3-Clause",
|
|
1235
1238
|
"dependencies": {
|
|
1236
1239
|
"es-define-property": "^1.0.1",
|
|
@@ -1629,18 +1632,6 @@
|
|
|
1629
1632
|
"url": "https://opencollective.com/express"
|
|
1630
1633
|
}
|
|
1631
1634
|
},
|
|
1632
|
-
"node_modules/type-is/node_modules/content-type": {
|
|
1633
|
-
"version": "2.1.0",
|
|
1634
|
-
"integrity": "sha512-mj7UPXE0jaqaOsukNZRUEfEi2AcL7C/vwmwcHV0O97eO1E1pxBZuyjlZrx5seTaNBg1U6+o35wpa35Qfcc+7ag==",
|
|
1635
|
-
"license": "MIT",
|
|
1636
|
-
"engines": {
|
|
1637
|
-
"node": ">=18"
|
|
1638
|
-
},
|
|
1639
|
-
"funding": {
|
|
1640
|
-
"type": "opencollective",
|
|
1641
|
-
"url": "https://opencollective.com/express"
|
|
1642
|
-
}
|
|
1643
|
-
},
|
|
1644
1635
|
"node_modules/uglify-js": {
|
|
1645
1636
|
"version": "3.19.3",
|
|
1646
1637
|
"integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==",
|
|
@@ -1699,8 +1690,8 @@
|
|
|
1699
1690
|
"license": "ISC"
|
|
1700
1691
|
},
|
|
1701
1692
|
"node_modules/ws": {
|
|
1702
|
-
"version": "8.
|
|
1703
|
-
"integrity": "sha512-
|
|
1693
|
+
"version": "8.22.0",
|
|
1694
|
+
"integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==",
|
|
1704
1695
|
"license": "MIT",
|
|
1705
1696
|
"engines": {
|
|
1706
1697
|
"node": ">=10.0.0"
|
|
@@ -1730,8 +1721,8 @@
|
|
|
1730
1721
|
}
|
|
1731
1722
|
},
|
|
1732
1723
|
"node_modules/yaml": {
|
|
1733
|
-
"version": "2.9.
|
|
1734
|
-
"integrity": "sha512-
|
|
1724
|
+
"version": "2.9.1",
|
|
1725
|
+
"integrity": "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==",
|
|
1735
1726
|
"license": "ISC",
|
|
1736
1727
|
"bin": {
|
|
1737
1728
|
"yaml": "bin.mjs"
|