node-datachannel
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -5,3 +5,3 @@ cmake_minimum_required(VERSION 3.15) | ||
project(node_datachannel VERSION 0.6.0) | ||
project(node_datachannel VERSION 0.7.0) | ||
@@ -8,0 +8,0 @@ # -Dnapi_build_version=8 |
@@ -278,3 +278,2 @@ import * as stream from 'stream'; | ||
close(): void; | ||
destroy(): void; | ||
setLocalDescription(type?: DescriptionType): void; | ||
@@ -281,0 +280,0 @@ setRemoteDescription(sdp: string, type: DescriptionType): void; |
{ | ||
"name": "node-datachannel", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"description": "libdatachannel node bindings", | ||
"type": "module", | ||
"exports": { | ||
".": "./lib/index.js", | ||
"./polyfill": "./polyfill/index.js" | ||
".": { | ||
"import": "./lib/index.js", | ||
"require": "./lib/index.cjs" | ||
}, | ||
"./polyfill": { | ||
"import": "./polyfill/index.js", | ||
"require": "./polyfill/polyfill.cjs" | ||
} | ||
}, | ||
@@ -30,3 +36,4 @@ "typings": "lib/index.d.ts", | ||
"wpt-test": "node test/wpt.js", | ||
"test-types": "tsc" | ||
"test-types": "tsc", | ||
"prepublishOnly": "rollup lib/index.js --file lib/index.cjs --format cjs && rollup polyfill/index.js --file polyfill/polyfill.cjs --format cjs" | ||
}, | ||
@@ -82,4 +89,5 @@ "binary": { | ||
"node-domexception": "^2.0.1", | ||
"prebuild-install": "^7.0.1" | ||
"prebuild-install": "^7.0.1", | ||
"rollup": "^4.14.1" | ||
} | ||
} |
@@ -225,3 +225,2 @@ import NodeDataChannel from '../lib/index.js'; | ||
this.#peerConnection.close(); | ||
this.#peerConnection.destroy(); | ||
} | ||
@@ -228,0 +227,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
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
1066494
105
20121
3
10
+ Addedrollup@^4.14.1
+ Added@rollup/rollup-android-arm-eabi@4.21.3(transitive)
+ Added@rollup/rollup-android-arm64@4.21.3(transitive)
+ Added@rollup/rollup-darwin-arm64@4.21.3(transitive)
+ Added@rollup/rollup-darwin-x64@4.21.3(transitive)
+ Added@rollup/rollup-linux-arm-gnueabihf@4.21.3(transitive)
+ Added@rollup/rollup-linux-arm-musleabihf@4.21.3(transitive)
+ Added@rollup/rollup-linux-arm64-gnu@4.21.3(transitive)
+ Added@rollup/rollup-linux-arm64-musl@4.21.3(transitive)
+ Added@rollup/rollup-linux-powerpc64le-gnu@4.21.3(transitive)
+ Added@rollup/rollup-linux-riscv64-gnu@4.21.3(transitive)
+ Added@rollup/rollup-linux-s390x-gnu@4.21.3(transitive)
+ Added@rollup/rollup-linux-x64-gnu@4.21.3(transitive)
+ Added@rollup/rollup-linux-x64-musl@4.21.3(transitive)
+ Added@rollup/rollup-win32-arm64-msvc@4.21.3(transitive)
+ Added@rollup/rollup-win32-ia32-msvc@4.21.3(transitive)
+ Added@rollup/rollup-win32-x64-msvc@4.21.3(transitive)
+ Added@types/estree@1.0.5(transitive)
+ Addedfsevents@2.3.3(transitive)
+ Addedrollup@4.21.3(transitive)