@sap/cds 6.0.3 → 6.0.4

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 CHANGED
@@ -4,6 +4,12 @@
4
4
  - The format is based on [Keep a Changelog](http://keepachangelog.com/).
5
5
  - This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
+ ## Version 6.0.4 - 2022-07-20
8
+
9
+ ### Fixed
10
+
11
+ - Local mocking of external services using `cds watch`
12
+
7
13
  ## Version 6.0.3 - 2022-07-14
8
14
 
9
15
  ### Changed
@@ -63,7 +63,7 @@ module.exports = function cds_serve (som, _options) { // NOSONAR
63
63
  // skip all services marked to be ignored
64
64
  d['@cds.ignore'] || d['@cds.serve.ignore'] ||
65
65
  // skip external services, unless asked to mock them and unbound
66
- d['@cds.external'] || required[d.name]?.external && (!o.mocked || required[d.name].credentials)
66
+ (d['@cds.external'] || required[d.name]?.external) && (!o.mocked || required[d.name].credentials)
67
67
  ))
68
68
  if (services.length > 1 && o.at) {
69
69
  throw cds.error `You cannot specify 'path' for multiple services`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds",
3
- "version": "6.0.3",
3
+ "version": "6.0.4",
4
4
  "description": "SAP Cloud Application Programming Model - CDS for Node.js",
5
5
  "homepage": "https://cap.cloud.sap/",
6
6
  "keywords": [