@sap/cds-dk 4.8.0 → 4.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/CHANGELOG.md CHANGED
@@ -6,6 +6,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
6
6
 
7
7
  The format is based on [Keep a Changelog](http://keepachangelog.com/).
8
8
 
9
+ ## Version 4.8.1 - 2022-02-15
10
+
11
+ ### Changed
12
+
13
+ - `cds init` uses latest Maven Java archetype version `1.22.0` for creating Java projects.
14
+
15
+ ### Fixed
16
+
17
+ - Bump `follow-redirects` package to 1.14.8 (CVE-2022-0536)
18
+ - `cds bind --exec` no command output (STDOUT) displayed on Windows.
19
+
9
20
  ## Version 4.8.0 - 2022-01-28
10
21
 
11
22
  ### Added
@@ -1,3 +1,7 @@
1
+
2
+ const os = require('os');
3
+ const IS_WIN = os.platform() === 'win32';
4
+
1
5
  const KindToRequiresNameMap = {
2
6
  xsuaa: 'uaa',
3
7
  hana: 'db',
@@ -82,7 +86,8 @@ function determineKinds(services) {
82
86
 
83
87
  function execAndExit(command, ...args) {
84
88
  const { spawnSync } = require('child_process');
85
- const result = spawnSync(command, args, { stdio: 'inherit', shell: false });
89
+ // use shell with Windows only; without output is not visible and some commands cannot be run
90
+ const result = spawnSync(command, args, { stdio: 'inherit', shell: IS_WIN });
86
91
  process.exit(result.status);
87
92
  }
88
93
 
@@ -1,6 +1,6 @@
1
1
  const os = require('os');
2
2
 
3
- const MAVEN_ARCHETYPE_VERSION = '1.21.0';
3
+ const MAVEN_ARCHETYPE_VERSION = '1.22.0';
4
4
 
5
5
  const constants = {
6
6
  IS_WIN: (os.platform() === 'win32'),