Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

node-datachannel

Package Overview
Dependencies
Maintainers
1
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-datachannel - npm Package Compare versions

Comparing version 0.3.6 to 0.4.0

4

API.md

@@ -52,2 +52,6 @@ # API

**destroy: () => void**
Close Peer Connection & Clear all callbacks
**setRemoteDescription: (sdp: string, type: DescriptionType) => void**

@@ -54,0 +58,0 @@

13

CMakeLists.txt
cmake_minimum_required(VERSION 3.15)
cmake_policy(SET CMP0091 NEW)
project(node_datachannel VERSION 0.3.6)
project(node_datachannel VERSION 0.4.0)

@@ -41,3 +41,3 @@ # Workaround for https://github.com/murat-dogan/node-datachannel/issues/65

GIT_REPOSITORY https://github.com/paullouisageneau/libdatachannel.git
GIT_TAG "v0.17.9"
GIT_TAG "v0.17.10"
)

@@ -77,5 +77,8 @@

# For compatibility with Node.js 12
# This should be removed along with the napi-thread-safe-callback-cancellable dependency when dropping support at end-of-life
target_compile_definitions(${PROJECT_NAME} PRIVATE -DLEGACY_NAPI_THREAD_SAFE_CALLBACK)
if( NODE_RUNTIMEVERSION VERSION_LESS "16.0.0")
# For compatibility with Node.js 12
# This should be removed along with the napi-thread-safe-callback-cancellable dependency when dropping support at end-of-life
target_compile_definitions(${PROJECT_NAME} PRIVATE -DLEGACY_NAPI_THREAD_SAFE_CALLBACK)
endif()
target_include_directories(${PROJECT_NAME} PRIVATE

@@ -82,0 +85,0 @@ ${CMAKE_SOURCE_DIR}/node_modules/napi-thread-safe-callback-cancellable

@@ -207,2 +207,3 @@ import * as stream from 'stream';

close(): void;
destroy(): void;
setLocalDescription(type?: DescriptionType): void;

@@ -209,0 +210,0 @@ setRemoteDescription(sdp: string, type: DescriptionType): void;

{
"name": "node-datachannel",
"version": "0.3.6",
"version": "0.4.0",
"description": "libdatachannel node bindings",

@@ -16,2 +16,3 @@ "main": "lib/index.js",

"build": "cmake-js build",
"build:debug": "cmake-js build -D",
"_prebuild": "prebuild --backend cmake-js",

@@ -18,0 +19,0 @@ "clean": "cmake-js clean",

@@ -33,2 +33,3 @@ # Easy to use WebRTC data channels and media transport

| Node V17 | + | + | + | + | + | + |
| Node V18 | + | + | + | + | + | + |

@@ -35,0 +36,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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc