@sap/hdi-deploy
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -0,1 +1,7 @@ | ||
## 4.0.2 | ||
Features: | ||
- use @sap/hdi@3.0.2 | ||
- use @sap/hana-client@2.7.21 | ||
- log start and end time of deployments | ||
## 4.0.1 | ||
@@ -2,0 +8,0 @@ Fixes: |
@@ -578,3 +578,4 @@ 'use strict'; | ||
logger.log(pjson.name + ', version ' + pjson.version + ' (mode ' + mode + '), server version ' + serverVersion.version + ' (' + serverVersion.versionSynthesized + '), node version ' + process.versions.node +', HDI version ' + hdi_version.version + ', container API version ' + container_api_version.version); | ||
// prints date & time in YYYY-MM-DD HH:MM:SS format | ||
logger.log('Deployment started at ' + utils.currentDateTime()); | ||
// log that we couldn't get the version from the server (usually we don't have privileges for SYS.M_DATABASE) | ||
@@ -825,2 +826,3 @@ if (serverVersion.error) { | ||
logger.stop_sending_liveness_ping(); | ||
logger.log('Deployment ended at ' + utils.currentDateTime()); | ||
if (err === exit_rc0_silent) { | ||
@@ -827,0 +829,0 @@ signalProcessExit(0, false, true); |
@@ -212,2 +212,23 @@ 'use strict'; | ||
/** | ||
* Generates current date and time | ||
* | ||
* @returns {String} current date and time. | ||
*/ | ||
function currentDateTime() | ||
{ | ||
const date_ob = new Date(); | ||
const date = ("0" + date_ob.getDate()).slice(-2); | ||
const month = ("0" + (date_ob.getMonth() + 1)).slice(-2); | ||
const year = date_ob.getFullYear(); | ||
const hours = date_ob.getHours(); | ||
const minutes = date_ob.getMinutes(); | ||
const seconds = date_ob.getSeconds(); | ||
const datetime = year + "-" + month + "-" + date + " " + hours + ":" + minutes + ":" + seconds; | ||
return datetime; | ||
} | ||
exports.currentDateTime = currentDateTime; | ||
/** | ||
* Create a container object with the supplied credentials. | ||
@@ -214,0 +235,0 @@ * |
{ | ||
"name": "@sap/hdi-deploy", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"lockfileVersion": 1, | ||
@@ -8,3 +8,3 @@ "requires": true, | ||
"@sap/hana-client": { | ||
"version": "2.7.16", | ||
"version": "2.7.21", | ||
"requires": { | ||
@@ -26,5 +26,5 @@ "debug": "3.1.0" | ||
"@sap/hdi": { | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"requires": { | ||
"@sap/hana-client": "2.7.16", | ||
"@sap/hana-client": "2.7.21", | ||
"async": "3.1.0" | ||
@@ -83,3 +83,3 @@ } | ||
"uglify-js": { | ||
"version": "3.12.4", | ||
"version": "3.12.7", | ||
"optional": true | ||
@@ -86,0 +86,0 @@ }, |
{ | ||
"name": "@sap/hdi-deploy", | ||
"description": "HDI content deployment", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"license": "See LICENSE file", | ||
@@ -9,4 +9,4 @@ "repository": {}, | ||
"dependencies": { | ||
"@sap/hdi": "3.0.1", | ||
"@sap/hana-client": "2.7.16", | ||
"@sap/hdi": "3.0.2", | ||
"@sap/hana-client": "2.7.21", | ||
"@sap/xsenv": "3.1.0", | ||
@@ -13,0 +13,0 @@ "async": "3.1.0", |
@@ -104,3 +104,3 @@ @sap/hdi-deploy | ||
"dependencies": { | ||
"@sap/hdi-deploy": "4.0.1" | ||
"@sap/hdi-deploy": "4.0.2" | ||
}, | ||
@@ -521,3 +521,3 @@ "scripts": { | ||
"dependencies": { | ||
"@sap/hdi-deploy": "4.0.1", | ||
"@sap/hdi-deploy": "4.0.2", | ||
"module1": "1.3.1", | ||
@@ -1048,3 +1048,3 @@ "module2": "1.7.0" | ||
"name": "@sap/hdi-deploy", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"features": { | ||
@@ -1051,0 +1051,0 @@ "info": 2, |
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
467676
9775
+ Added@sap/hana-client@2.7.21(transitive)
+ Added@sap/hdi@3.0.2(transitive)
- Removed@sap/hana-client@2.7.16(transitive)
- Removed@sap/hdi@3.0.1(transitive)
Updated@sap/hana-client@2.7.21
Updated@sap/hdi@3.0.2