@sap/hana-client
Advanced tools
Comparing version 2.4.151 to 2.4.155
# Hana Client 2.4.x Drivers | ||
## Version 2.4.155 | ||
### Underlying SQLDBC changes: | ||
- Bug: 228735 - [SQLDBC] Unintialized scalar value in Connection | ||
- Bug: 226661 - [SQLDBC] Client not work well with deferred_lob_writing ON | ||
## Version 2.4.154 | ||
### Changes: | ||
- Bug: 225625 - [node] "stderr maxBuffer length exceeded" error when deploying an mtar to CF | ||
### Underlying SQLDBC changes: | ||
- Bug: 220794 - [SQLDBC] Enable frequent TCP keepalive probes | ||
## Version 2.4.153 | ||
### Changes: | ||
- Bug: 221808 - [node] mdx get_axisinfo return garbage data | ||
### Underlying SQLDBC changes: | ||
- Bug: 225784 - [SQLDBC] Crash when OOM during error reporting | ||
- Bug: 224703 - [SQLDBC] Send networkGroup in DBConnectInfo | ||
## Version 2.4.151 | ||
@@ -4,0 +32,0 @@ |
@@ -70,6 +70,9 @@ 'use strict'; | ||
try { | ||
debug("Checking for existence of "+driver_path); | ||
fs.statSync(driver_path); | ||
} catch (ex) { | ||
debug("Did not find "+driver_path); | ||
driver_path = path.join(pb_path, default_driver_file + '.node'); | ||
try { | ||
debug("Checking for existence of "+driver_path); | ||
fs.statSync(driver_path); | ||
@@ -76,0 +79,0 @@ } catch (ex) { |
{ | ||
"version": "2.4.151", | ||
"version": "2.4.155", | ||
"name": "@sap/hana-client", | ||
@@ -4,0 +4,0 @@ "dependencies": { |
@@ -1,1 +0,1 @@ | ||
{"author":{"name":"SAP"},"bundleDependencies":false,"dependencies":{"debug":"3.1.0"},"deprecated":false,"description":"HANA JavaScript Driver.","engines":{"node":">=4.0.0"},"main":"./lib/index","name":"@sap/hana-client","scripts":{"install":"node build.js"},"version":"2.4.151","license":"SEE LICENSE IN developer-license-3.1.txt"} | ||
{"author":{"name":"SAP"},"bundleDependencies":false,"dependencies":{"debug":"3.1.0"},"deprecated":false,"description":"HANA JavaScript Driver.","engines":{"node":">=4.0.0"},"main":"./lib/index","name":"@sap/hana-client","scripts":{"install":"node checkbuild.js"},"version":"2.4.155","license":"SEE LICENSE IN developer-license-3.1.txt"} |
@@ -11,10 +11,7 @@ #@sap/hana-client | ||
This driver communicates with the native HANA libraries, and thus requires | ||
platform-specific native binaries. Native compilation is managed by | ||
[`node-gyp`](https://github.com/TooTallNate/node-gyp/). Please see that project | ||
for additional prerequisites including Python 2.7, and C/C++ tool chain. | ||
platform-specific native binaries. The official hosted version includes | ||
precompiled libraries for Linux, Windows and Mac OS X. | ||
The official hosted version includes precompiled libraries for Linux, Windows and Mac OS X. | ||
The @sap/hana-client driver supports node.js 4.x, 6.x, 8.x, 10.x and 12.x. | ||
The @sap/hana-client driver supports node.js 4.x, 6.x, 8.x and 10.x. | ||
##Getting Started | ||
@@ -21,0 +18,0 @@ ```js |
@@ -7,4 +7,3 @@ INCLUDE(buildtools/Preprocessing) | ||
IF(CPP_ABI STREQUAL "xcode7") | ||
STRING_APPEND(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++") | ||
# STRING_APPEND(CMAKE_CXX_FLAGS "-std=c++11") | ||
STRING_APPEND(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++") | ||
ELSE() # presume newer | ||
@@ -16,7 +15,4 @@ STRING_APPEND(CMAKE_CXX_FLAGS "-std=c++11") | ||
STRING_APPEND(CMAKE_CXX_FLAGS "-std=c++11") | ||
# ELSEIF(WINDOWS) | ||
# STRING_APPEND(CMAKE_SHARED_LINKER_FLAGS "-FORCE") | ||
ENDIF() | ||
# ------- Node shim DLL generation ---------- | ||
@@ -38,147 +34,84 @@ # MESSAGE(STATUS "INTERFACES_SRC_PATH=${INTERFACES_SRC_PATH}") | ||
# ----------------------------------- Node 4 ----------------------------------- | ||
SET(tgt_node4 "hana-client_v4") | ||
ADD_HDB_LIBRARY(${tgt_node4} | ||
SHARED | ||
NO_LIB_PREFIX | ||
ALLOW_UNDEFINED_SYMBOLS_AT_LINK_TIME | ||
${hananode_sources}) | ||
# BUILD_NODE(VERSION <node version> [SQLA]) | ||
# - By default build HANA node driver for version <node version> | ||
# - Set SQLA to build SQLA version of node driver | ||
FUNCTION(BUILD_NODE) | ||
SET(options SQLA) | ||
SET(oneValueArgs VERSION) | ||
SET(multiValueArgs ) | ||
CMAKE_PARSE_ARGUMENTS(BUILD_NODE "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN}) | ||
TARGET_COMPILE_DEFINITIONS(${tgt_node4} PRIVATE | ||
"_DBCAPI_VERSION=2" | ||
"DRIVER_NAME=hana" | ||
) | ||
IF(NOT BUILD_NODE_VERSION) | ||
MESSAGE(FATAL_ERROR "Must specify node version when calling BUILD_NODE") | ||
ENDIF() | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node4} PUBLIC ${NODE4_INCLUDE}) | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node4} PUBLIC ${CMAKE_SOURCE_DIR}/Interfaces/dbcapi) | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node4} PUBLIC "h") | ||
IF(BUILD_NODE_SQLA) | ||
SET(node_target_prefix "sqla-client") | ||
ELSE() | ||
SET(node_target_prefix "hana-client") | ||
ENDIF() | ||
IF(WINDOWS) | ||
ADD_EXTERNAL_LIBRARY( node4_implib | ||
LIBS "${node4implib_file}" | ||
PATHS "${node4implib_path}" | ||
DONT_COPY_TO_GEN_DIR | ||
) | ||
TARGET_LINK_LIBRARIES(${tgt_node4} | ||
PUBLIC | ||
node4_implib | ||
) | ||
ENDIF() | ||
IF(LINUX) | ||
SET_PROPERTY(TARGET ${tgt_node4} APPEND PROPERTY LINK_FLAGS "-Wl,-Bsymbolic") | ||
ENDIF() | ||
SET_TARGET_PROPERTIES(${tgt_node4} PROPERTIES SUFFIX ".node") | ||
IF(BUILD_NODE_VERSION STREQUAL "6") | ||
SET(node_target ${node_target_prefix}) | ||
ELSE() | ||
SET(node_target ${node_target_prefix}_v${BUILD_NODE_VERSION}) | ||
ENDIF() | ||
# --------------------------------- End Node 4 --------------------------------- | ||
ADD_HDB_LIBRARY(${node_target} | ||
SHARED | ||
NO_LIB_PREFIX | ||
ALLOW_UNDEFINED_SYMBOLS_AT_LINK_TIME | ||
${hananode_sources}) | ||
# ----------------------------------- Node 6 ----------------------------------- | ||
SET(tgt_node6 "hana-client") | ||
ADD_HDB_LIBRARY(${tgt_node6} | ||
SHARED | ||
NO_LIB_PREFIX | ||
ALLOW_UNDEFINED_SYMBOLS_AT_LINK_TIME | ||
${hananode_sources}) | ||
IF(BUILD_NODE_SQLA) | ||
SET(node_compile_definitions | ||
"_DBCAPI_VERSION=6" | ||
"DRIVER_NAME=sqla" | ||
"SQLA" | ||
) | ||
ELSE() | ||
SET(node_compile_definitions | ||
"_DBCAPI_VERSION=2" | ||
"DRIVER_NAME=hana" | ||
) | ||
ENDIF() | ||
TARGET_COMPILE_DEFINITIONS(${tgt_node6} PRIVATE | ||
"_DBCAPI_VERSION=2" | ||
"DRIVER_NAME=hana" | ||
) | ||
TARGET_COMPILE_DEFINITIONS(${node_target} PRIVATE ${node_compile_definitions}) | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node6} PUBLIC ${NODE6_INCLUDE}) | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node6} PUBLIC ${CMAKE_SOURCE_DIR}/Interfaces/dbcapi) | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node6} PUBLIC h) | ||
IF(WINDOWS) | ||
ADD_EXTERNAL_LIBRARY( node6_implib | ||
LIBS "${node6implib_file}" | ||
PATHS "${node6implib_path}" | ||
DONT_COPY_TO_GEN_DIR | ||
) | ||
TARGET_LINK_LIBRARIES(${tgt_node6} | ||
TARGET_INCLUDE_DIRECTORIES(${node_target} | ||
PUBLIC | ||
node6_implib | ||
${NODE${BUILD_NODE_VERSION}_INCLUDE} | ||
${CMAKE_SOURCE_DIR}/Interfaces/dbcapi | ||
"h" | ||
) | ||
ENDIF() | ||
IF(LINUX) | ||
SET_PROPERTY(TARGET ${tgt_node6} APPEND PROPERTY LINK_FLAGS "-Wl,-Bsymbolic") | ||
ENDIF() | ||
SET_TARGET_PROPERTIES(${tgt_node6} PROPERTIES SUFFIX ".node") | ||
# --------------------------------- End Node 6 --------------------------------- | ||
IF(WINDOWS) | ||
TARGET_LINK_LIBRARIES(${node_target} | ||
PUBLIC | ||
node${BUILD_NODE_VERSION}_implib | ||
) | ||
ENDIF() | ||
IF(LINUX) | ||
SET_PROPERTY(TARGET ${node_target} APPEND PROPERTY LINK_FLAGS "-Wl,-Bsymbolic") | ||
ENDIF() | ||
# ----------------------------------- Node 8 ----------------------------------- | ||
SET(tgt_node8 "hana-client_v8") | ||
ADD_HDB_LIBRARY(${tgt_node8} | ||
SHARED | ||
NO_LIB_PREFIX | ||
ALLOW_UNDEFINED_SYMBOLS_AT_LINK_TIME | ||
${hananode_sources}) | ||
SET_TARGET_PROPERTIES(${node_target} PROPERTIES SUFFIX ".node") | ||
ENDFUNCTION() | ||
TARGET_COMPILE_DEFINITIONS(${tgt_node8} PRIVATE | ||
"_DBCAPI_VERSION=2" | ||
"DRIVER_NAME=hana" | ||
"node_engine=v8" | ||
) | ||
BUILD_NODE(VERSION 4) | ||
# BUILD_NODE(VERSION 4 SQLA) | ||
# MESSAGE(STATUS "NODE8_INCLUDE=${NODE8_INCLUDE}") | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node8} PUBLIC ${NODE8_INCLUDE}) | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node8} PUBLIC ${CMAKE_SOURCE_DIR}/Interfaces/dbcapi) | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node8} PUBLIC "h") | ||
BUILD_NODE(VERSION 6) | ||
# BUILD_NODE(VERSION 6 SQLA) | ||
IF(WINDOWS) | ||
ADD_EXTERNAL_LIBRARY( node8_implib | ||
LIBS "${node8implib_file}" | ||
PATHS "${node8implib_path}" | ||
DONT_COPY_TO_GEN_DIR | ||
) | ||
TARGET_LINK_LIBRARIES(${tgt_node8} | ||
PUBLIC | ||
node8_implib | ||
) | ||
ENDIF() | ||
IF(LINUX) | ||
SET_PROPERTY(TARGET ${tgt_node8} APPEND PROPERTY LINK_FLAGS "-Wl,-Bsymbolic") | ||
ENDIF() | ||
SET_TARGET_PROPERTIES(${tgt_node8} PROPERTIES SUFFIX ".node") | ||
BUILD_NODE(VERSION 8) | ||
# BUILD_NODE(VERSION 8 SQLA) | ||
# --------------------------------- End Node 8 --------------------------------- | ||
BUILD_NODE(VERSION 10) | ||
# BUILD_NODE(VERSION 10 SQLA) | ||
# ----------------------------------- Node 10 ----------------------------------- | ||
SET(tgt_node10 "hana-client_v10") | ||
ADD_HDB_LIBRARY(${tgt_node10} | ||
SHARED | ||
NO_LIB_PREFIX | ||
ALLOW_UNDEFINED_SYMBOLS_AT_LINK_TIME | ||
${hananode_sources}) | ||
BUILD_NODE(VERSION 12) | ||
# BUILD_NODE(VERSION 12 SQLA) | ||
TARGET_COMPILE_DEFINITIONS(${tgt_node10} PRIVATE | ||
"_DBCAPI_VERSION=2" | ||
"DRIVER_NAME=hana" | ||
"node_engine=v8" | ||
) | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node10} PUBLIC ${NODE10_INCLUDE}) | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node10} PUBLIC ${CMAKE_SOURCE_DIR}/Interfaces/dbcapi) | ||
TARGET_INCLUDE_DIRECTORIES( ${tgt_node10} PUBLIC "h") | ||
IF(WINDOWS) | ||
ADD_EXTERNAL_LIBRARY( node10_implib | ||
LIBS "${node10implib_file}" | ||
PATHS "${node10implib_path}" | ||
DONT_COPY_TO_GEN_DIR | ||
) | ||
TARGET_LINK_LIBRARIES(${tgt_node10} | ||
PUBLIC | ||
node10_implib | ||
) | ||
ENDIF() | ||
IF(LINUX) | ||
SET_PROPERTY(TARGET ${tgt_node10} APPEND PROPERTY LINK_FLAGS "-Wl,-Bsymbolic") | ||
ENDIF() | ||
SET_TARGET_PROPERTIES(${tgt_node10} PROPERTIES SUFFIX ".node") | ||
# --------------------------------- End Node 10 --------------------------------- | ||
ELSEIF(CLIENT_BUILD_NODE_SHIM) | ||
@@ -190,2 +123,3 @@ SET(shim_files | ||
${GEN_DIR}/hana-client_v10.node | ||
${GEN_DIR}/hana-client_v12.node | ||
) | ||
@@ -196,3 +130,3 @@ IF(LINUX) | ||
COMMAND ${HAPPY_MAKE_EXECUTABLE} init -b ${gcc48_profile} | ||
COMMAND ${HAPPY_MAKE_EXECUTABLE} b -b ${gcc48_profile} hana-client_v4 hana-client hana-client_v8 hana-client_v10 | ||
COMMAND ${HAPPY_MAKE_EXECUTABLE} b -b ${gcc48_profile} hana-client_v4 hana-client hana-client_v8 hana-client_v10 hana-client_v12 | ||
COMMAND ${CMAKE_COMMAND} -E copy ${INTERFACES_SRC_PATH}/build/${gcc48_profile}/gen/hana-client.node ${GEN_DIR}/hana-client.node | ||
@@ -202,2 +136,3 @@ COMMAND ${CMAKE_COMMAND} -E copy ${INTERFACES_SRC_PATH}/build/${gcc48_profile}/gen/hana-client_v4.node ${GEN_DIR}/hana-client_v4.node | ||
COMMAND ${CMAKE_COMMAND} -E copy ${INTERFACES_SRC_PATH}/build/${gcc48_profile}/gen/hana-client_v10.node ${GEN_DIR}/hana-client_v10.node | ||
COMMAND ${CMAKE_COMMAND} -E copy ${INTERFACES_SRC_PATH}/build/${gcc48_profile}/gen/hana-client_v12.node ${GEN_DIR}/hana-client_v12.node | ||
) | ||
@@ -211,3 +146,3 @@ ADD_CUSTOM_TARGET(node_gcc48ongcc43 DEPENDS ${shim_files}) | ||
COMMAND ${HAPPY_MAKE_EXECUTABLE} init -b ${msvc2015_profile} | ||
COMMAND ${HAPPY_MAKE_EXECUTABLE} b -b ${msvc2015_profile} hana-client_v4 hana-client hana-client_v8 hana-client_v10 | ||
COMMAND ${HAPPY_MAKE_EXECUTABLE} b -b ${msvc2015_profile} hana-client_v4 hana-client hana-client_v8 hana-client_v10 hana-client_v12 | ||
COMMAND ${CMAKE_COMMAND} -E copy ${INTERFACES_SRC_PATH}/build/${msvc2015_profile}/gen/hana-client.node ${GEN_DIR}/hana-client.node | ||
@@ -221,2 +156,4 @@ COMMAND ${CMAKE_COMMAND} -E copy ${INTERFACES_SRC_PATH}/build/${msvc2015_profile}/gen/hana-client.pdb ${GEN_DIR}/hana-client.pdb | ||
COMMAND ${CMAKE_COMMAND} -E copy ${INTERFACES_SRC_PATH}/build/${msvc2015_profile}/gen/hana-client_v10.pdb ${GEN_DIR}/hana-client_v10.pdb | ||
COMMAND ${CMAKE_COMMAND} -E copy ${INTERFACES_SRC_PATH}/build/${msvc2015_profile}/gen/hana-client_v12.node ${GEN_DIR}/hana-client_v12.node | ||
COMMAND ${CMAKE_COMMAND} -E copy ${INTERFACES_SRC_PATH}/build/${msvc2015_profile}/gen/hana-client_v12.pdb ${GEN_DIR}/hana-client_v12.pdb | ||
) | ||
@@ -223,0 +160,0 @@ ADD_CUSTOM_TARGET(node_msvc2015onmsvc2010 DEPENDS ${shim_files}) |
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
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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 6 instances 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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
112720283
68
7
954
196
37