@sap/hana-client
Advanced tools
Comparing version 2.8.22 to 2.9.19
@@ -0,1 +1,11 @@ | ||
# Hana Client 2.9.x Drivers | ||
Please see the "What’s new in the SAP HANA Client" section in the official HANA client 2.9 documentation: | ||
https://help.sap.com/viewer/product/SAP_HANA_CLIENT/2.9/en-US | ||
For the latest updates please see SAP Note 3063974 - SAP HANA Client 2.9 Release Notes | ||
https://launchpad.support.sap.com/#/notes/3063974 | ||
# Hana Client 2.8.x Drivers | ||
@@ -2,0 +12,0 @@ |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -0,0 +0,0 @@ 'use strict'; |
@@ -24,4 +24,4 @@ 'use strict'; | ||
function isMusl() { | ||
const output = require('child_process').spawnSync('ldd',['--version']).stderr.toString('utf8'); | ||
if(output.indexOf('musl') > -1) { | ||
const output = require('child_process').spawnSync('ldd',['--version']).stderr | ||
if(output && output.toString('utf8').indexOf('musl') > -1) { | ||
return true; | ||
@@ -94,3 +94,3 @@ } | ||
} else if (process.platform === 'win32') { | ||
pb_subdir = 'ntamd64-msvc2010'; | ||
pb_subdir = 'ntamd64-msvc2015'; | ||
} else if (process.platform === 'darwin') { | ||
@@ -150,2 +150,20 @@ pb_subdir = 'darwinintel64-xcode7'; | ||
}); | ||
} else if (process.env['HDB_NODEJS_INSTALL_PLATFORMS']) { | ||
var keep = process.env['HDB_NODEJS_INSTALL_PLATFORMS'].split(',').map(name => path.join(modpath, 'prebuilt', name)); | ||
var pb_path_all = getSubDirs(path.join(modpath, 'prebuilt')) | ||
var pb_count = pb_path_all.length; | ||
pb_path_all.forEach((pbPath) => { | ||
if (keep.indexOf(pbPath) < 0) { | ||
try { | ||
removeDirectory(pbPath); | ||
pb_count -= 1; | ||
} catch (ex) { | ||
debug(ex.message); | ||
debug("Failed to remove unrelated native platform libraries in '" + pbPath + "'."); | ||
} | ||
} | ||
}); | ||
if (pb_count <= 0) { | ||
debug("WARNING: Environment variable HDB_NODEJS_INSTALL_PLATFORMS did not name any valid platforms. All native platform libraries have been removed."); | ||
} | ||
} | ||
@@ -152,0 +170,0 @@ |
{ | ||
"name": "@sap/hana-client", | ||
"version": "2.8.22", | ||
"version": "2.9.19", | ||
"lockfileVersion": 1, | ||
@@ -5,0 +5,0 @@ "requires": true, |
@@ -5,3 +5,3 @@ { | ||
"description": "Official SAP HANA Node.js Driver", | ||
"version": "2.8.22", | ||
"version": "2.9.19", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "debug": "3.1.0" |
@@ -0,0 +0,0 @@ # @sap/hana-client |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 4 instances in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 4 instances in 1 package
147308339
1031
10