node-datachannel
Advanced tools
Comparing version 0.4.1 to 0.4.2
cmake_minimum_required(VERSION 3.15) | ||
cmake_policy(SET CMP0091 NEW) | ||
project(node_datachannel VERSION 0.4.1) | ||
project(node_datachannel VERSION 0.4.2) | ||
# Workaround for https://github.com/murat-dogan/node-datachannel/issues/65 | ||
if( NODE_RUNTIMEVERSION VERSION_GREATER_EQUAL "17.0.0") | ||
if( NODE_RUNTIMEVERSION VERSION_GREATER "17.0.0" AND NODE_RUNTIMEVERSION VERSION_LESS "18.0.0" ) | ||
add_compile_definitions(OPENSSL_API_COMPAT=0x10100001L) | ||
@@ -20,2 +20,6 @@ add_compile_definitions(OPENSSL_CONFIGURED_API=0x30000000L) | ||
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Android") | ||
set(CMAKE_C_FLAGS "-Wno-error=unused-but-set-variable -Wno-error=strict-prototypes") | ||
endif() | ||
# Got linker error for arm64 | ||
@@ -37,3 +41,3 @@ # /usr/lib/gcc-cross/aarch64-linux-gnu/9/../../../../aarch64-linux-gnu/bin/ld: ../sysroot/usr/lib/aarch64-linux-gnu/libcrypto.a(sha1-armv8.o): relocation R_AARCH64_PREL64 against symbol `OPENSSL_armcap_P' which may bind externally can not be used when making a shared object; recompile with -fPIC | ||
GIT_REPOSITORY https://github.com/paullouisageneau/libdatachannel.git | ||
GIT_TAG "v0.18.0" | ||
GIT_TAG "v0.18.2" | ||
) | ||
@@ -90,2 +94,4 @@ | ||
# | ||
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Android") | ||
list(APPEND LINK_LIBRARIES -static-libgcc) | ||
elseif(UNIX) | ||
@@ -92,0 +98,0 @@ list(APPEND LINK_LIBRARIES -static-libgcc -static-libstdc++) |
{ | ||
"name": "node-datachannel", | ||
"version": "0.4.1", | ||
"version": "0.4.2", | ||
"description": "libdatachannel node bindings", | ||
@@ -13,3 +13,3 @@ "main": "lib/index.js", | ||
"scripts": { | ||
"install": "prebuild-install || (npm install --ignore-scripts && npm run _prebuild)", | ||
"install": "prebuild-install || (npm install --ignore-scripts --production=false && npm run _prebuild)", | ||
"install-nice": "npm run clean && cmake-js build --CDUSE_NICE=1", | ||
@@ -16,0 +16,0 @@ "build": "cmake-js build", |
@@ -34,2 +34,3 @@ # Easy to use WebRTC data channels and media transport | ||
| Node V18 | + | + | + | + | + | + | | ||
| Node V19 | + | + | + | + | + | + | | ||
@@ -36,0 +37,0 @@ 1) Please note that; For Linux-arm64 platform we need OpenSSL to be installed locally. |
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
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
1317354
124