@sap/hana-client
Advanced tools
Comparing version 2.5.111 to 2.6.54
@@ -7,2 +7,4 @@ 'use strict'; | ||
const debug = require('debug')('@sap/hana-client:checkbuild'); | ||
debug.log = console.info.bind(console); | ||
const name = 'checkbuild.js'; | ||
@@ -21,2 +23,2 @@ | ||
process.exit(-1); | ||
} | ||
} |
@@ -8,2 +8,4 @@ 'use strict'; | ||
const debug = require('debug')('@sap/hana-client:index'); | ||
debug.log = console.info.bind(console); | ||
const name = 'index.js'; | ||
@@ -29,2 +31,14 @@ | ||
debug('Detected os.arch=' + os.arch() + ', ' | ||
+ 'process.platform=' + process.platform + ', ' | ||
+ 'process.arch=' + process.arch + ', ' | ||
+ 'process.version=' + process.version ); | ||
if (process.platform === 'win32' && process.arch != 'x64') { | ||
debug('ERROR: On Windows, this driver only supports the x64 architecture. ' + | ||
'Your node process is: ' + process.arch ); | ||
throw new Error('On Windows, this driver only supports the x64 architecture. ' + | ||
'Your node process is: ' + process.arch ); | ||
} | ||
// Look for prebuilt binary and DBCAPI based on platform | ||
@@ -83,7 +97,5 @@ var pb_subdir = null; | ||
const getSubDirs = function (dir) { | ||
const { lstatSync, readdirSync } = require('fs'); | ||
const { join } = require('path'); | ||
const isDirectory = source => lstatSync(source).isDirectory(); | ||
const isDirectory = source => fs.lstatSync(source).isDirectory(); | ||
const getDirectories = source => | ||
readdirSync(source).map(name => join(source, name)).filter(isDirectory); | ||
fs.readdirSync(source).map(name => path.join(source, name)).filter(isDirectory); | ||
return getDirectories(dir); | ||
@@ -90,0 +102,0 @@ }; |
{ | ||
"name": "@sap/hana-client", | ||
"version": "2.5.111", | ||
"lockfileVersion": 1, | ||
"requires": true, | ||
"dependencies": { | ||
"debug": { | ||
"version": "3.1.0", | ||
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", | ||
"requires": { | ||
"ms": "2.0.0" | ||
} | ||
}, | ||
}, | ||
"version": "3.1.0", | ||
"integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==" | ||
}, | ||
"ms": { | ||
"version": "2.0.0", | ||
"version": "2.0.0", | ||
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" | ||
} | ||
} | ||
}, | ||
"version": "2.6.54", | ||
"requires": true, | ||
"name": "@sap/hana-client", | ||
"lockfileVersion": 1 | ||
} |
@@ -5,3 +5,3 @@ { | ||
"description": "Official SAP HANA Node.js Driver", | ||
"version": "2.5.111", | ||
"version": "2.6.54", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "debug": "3.1.0" |
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
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
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
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
949
7
146480670