@sap/cds-dk 6.5.1 → 6.5.2

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
@@ -7,6 +7,17 @@ This project adheres to [Semantic Versioning](http://semver.org/).
7
7
 
8
8
  The format is based on [Keep a Changelog](http://keepachangelog.com/).
9
9
 
10
+ ## Version 6.5.2 - 2023-02-10
11
+
12
+ ### Changed
13
+
14
+ - New versions of `@sap/cds-mtxs` and `@sap/cds-compiler`
15
+ - `cds init` uses latest Maven Java archetype version 1.31.1 for creating Java projects.
16
+
17
+ ### Fixed
18
+
19
+ - `cds migrate` no longer fails because of authorization error
20
+
10
21
  ## Version 6.5.1 - 2023-02-06
11
22
 
12
23
  ### Changed
package/bin/migrate.js CHANGED
@@ -44,10 +44,13 @@ module.exports = Object.assign(migrate, {
44
44
  # SEE ALSO
45
45
  `})
46
46
 
47
-
48
47
  async function migrate (param, options = {}) {
49
48
  // eslint-disable-next-line cds-dk/no-missing-dependencies
50
- await require('@sap/cds-mtxs/bin/cds-mtx-migrate').run(param[0], options)
49
+ await require(_local('@sap/cds-mtxs/bin/cds-mtx-migrate')).run(param[0], options)
50
+ }
51
+
52
+ function _local (id) {
53
+ return require.resolve (id, { paths: [ process.cwd(), __dirname ] })
51
54
  }
52
55
 
53
56
  /* eslint no-console: off */
@@ -1,6 +1,6 @@
1
1
  const os = require('os');
2
2
 
3
- const MAVEN_ARCHETYPE_VERSION = '1.31.0';
3
+ const MAVEN_ARCHETYPE_VERSION = '1.31.1';
4
4
 
5
5
  const constants = {
6
6
  IS_WIN: (os.platform() === 'win32'),
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "6.5.1",
3
+ "version": "6.5.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sap/cds-dk",
9
- "version": "6.5.1",
9
+ "version": "6.5.2",
10
10
  "license": "SEE LICENSE IN LICENSE",
11
11
  "dependencies": {
12
12
  "@sap/cds": "^6.4.0",
@@ -169,7 +169,7 @@
169
169
  }
170
170
  },
171
171
  "node_modules/@sap/cds-compiler": {
172
- "version": "3.6.0",
172
+ "version": "3.6.2",
173
173
  "license": "SEE LICENSE IN LICENSE",
174
174
  "dependencies": {
175
175
  "antlr4": "4.9.3"
@@ -198,7 +198,7 @@
198
198
  }
199
199
  },
200
200
  "node_modules/@sap/cds-mtxs": {
201
- "version": "1.5.0",
201
+ "version": "1.5.1",
202
202
  "license": "SEE LICENSE IN LICENSE",
203
203
  "dependencies": {
204
204
  "@sap/hdi-deploy": "^4",
@@ -2782,7 +2782,7 @@
2782
2782
  }
2783
2783
  },
2784
2784
  "node_modules/tar/node_modules/minipass": {
2785
- "version": "4.0.2",
2785
+ "version": "4.0.3",
2786
2786
  "license": "ISC",
2787
2787
  "optional": true,
2788
2788
  "engines": {
@@ -3097,7 +3097,7 @@
3097
3097
  }
3098
3098
  },
3099
3099
  "@sap/cds-compiler": {
3100
- "version": "3.6.0",
3100
+ "version": "3.6.2",
3101
3101
  "requires": {
3102
3102
  "antlr4": "4.9.3"
3103
3103
  }
@@ -3113,7 +3113,7 @@
3113
3113
  }
3114
3114
  },
3115
3115
  "@sap/cds-mtxs": {
3116
- "version": "1.5.0",
3116
+ "version": "1.5.1",
3117
3117
  "requires": {
3118
3118
  "@sap/hdi-deploy": "^4",
3119
3119
  "axios": ">=0.27.2"
@@ -4681,7 +4681,7 @@
4681
4681
  },
4682
4682
  "dependencies": {
4683
4683
  "minipass": {
4684
- "version": "4.0.2",
4684
+ "version": "4.0.3",
4685
4685
  "optional": true
4686
4686
  },
4687
4687
  "yallist": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sap/cds-dk",
3
- "version": "6.5.1",
3
+ "version": "6.5.2",
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": [