@sap/cds-dk
Advanced tools
Comparing version 6.1.3 to 6.1.4
@@ -68,7 +68,13 @@ module.exports = Object.assign(build, { | ||
try { | ||
return require('../../lib/cds').build(options) | ||
} catch (error) { | ||
return Promise.reject(error.message) | ||
const cds = require('../../lib/cds') | ||
if (typeof cds.build.build === 'function') { | ||
console.warn(` | ||
> WARNING: This application uses a very old version ${cds.version} of package '@sap/cds', | ||
> which will no longer be supported with the next major version of '@sap/cds-dk'. | ||
> We strongly recommend an upgrade to latest version 6 of '@sap/cds'. | ||
`) | ||
return cds.build.build(options) | ||
} | ||
return cds.build(options) | ||
} |
@@ -10,2 +10,8 @@ | ||
## Version 6.1.4 - 2022-09-09 | ||
### Fixed | ||
- `cds build` now works again with `@sap/cds` version 4. Previously, this silently failed with no output. However, a warning is now emitted that strongly recommends an upgrade to version 6. | ||
## Version 6.1.3 - 2022-09-06 | ||
@@ -12,0 +18,0 @@ |
{ | ||
"name": "@sap/cds-dk", | ||
"version": "6.1.3", | ||
"version": "6.1.4", | ||
"description": "Command line client and development toolkit for the SAP Cloud Application Programming Model", | ||
@@ -5,0 +5,0 @@ "homepage": "https://cap.cloud.sap/", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1378790
29121