Socket
Socket
Sign inDemoInstall

node-datachannel

Package Overview
Dependencies
Maintainers
1
Versions
68
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.0.11 to 0.0.14

node_modules/base64-js/index.d.ts

19

CMakeLists.txt
cmake_minimum_required(VERSION 3.14)
project(node_datachannel VERSION 0.0.11)
project(node_datachannel VERSION 0.0.14)

@@ -8,2 +8,5 @@ include_directories(${CMAKE_JS_INC})

set(OPENSSL_USE_STATIC_LIBS TRUE)
find_package(OpenSSL REQUIRED)
include(FetchContent)

@@ -15,6 +18,12 @@

GIT_REPOSITORY https://github.com/paullouisageneau/libdatachannel.git
GIT_TAG "v0.9.4"
GIT_TAG "v0.10.2"
)
FetchContent_MakeAvailable(libdatachannel)
FetchContent_GetProperties(libdatachannel)
if(NOT libdatachannel)
FetchContent_Populate(libdatachannel)
add_subdirectory(${libdatachannel_SOURCE_DIR} ${libdatachannel_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()
add_library(${PROJECT_NAME} SHARED

@@ -48,2 +57,6 @@ src/rtc-wrapper.cpp

if(WIN32)
list(APPEND LINK_LIBRARIES crypt32.lib)
endif()
target_link_libraries(${PROJECT_NAME} PRIVATE ${LINK_LIBRARIES})

2

examples/README.md

@@ -10,3 +10,3 @@ # Examples

* Prepare Project
* cd examples/client
* cd examples/client-server
* npm i

@@ -13,0 +13,0 @@ * Start ws signaling server;

@@ -25,3 +25,3 @@ {

"_requiredBy": [
"/gauge"
"/npmlog/gauge"
],

@@ -28,0 +28,0 @@ "_resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz",

@@ -1,1 +0,1 @@

(function(r){if(typeof exports==="object"&&typeof module!=="undefined"){module.exports=r()}else if(typeof define==="function"&&define.amd){define([],r)}else{var e;if(typeof window!=="undefined"){e=window}else if(typeof global!=="undefined"){e=global}else if(typeof self!=="undefined"){e=self}else{e=this}e.base64js=r()}})(function(){var r,e,n;return function(){function d(a,f,i){function u(n,r){if(!f[n]){if(!a[n]){var e="function"==typeof require&&require;if(!r&&e)return e(n,!0);if(v)return v(n,!0);var t=new Error("Cannot find module '"+n+"'");throw t.code="MODULE_NOT_FOUND",t}var o=f[n]={exports:{}};a[n][0].call(o.exports,function(r){var e=a[n][1][r];return u(e||r)},o,o.exports,d,a,f,i)}return f[n].exports}for(var v="function"==typeof require&&require,r=0;r<i.length;r++)u(i[r]);return u}return d}()({"/":[function(r,e,n){"use strict";n.byteLength=f;n.toByteArray=i;n.fromByteArray=p;var u=[];var v=[];var d=typeof Uint8Array!=="undefined"?Uint8Array:Array;var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";for(var o=0,a=t.length;o<a;++o){u[o]=t[o];v[t.charCodeAt(o)]=o}v["-".charCodeAt(0)]=62;v["_".charCodeAt(0)]=63;function c(r){var e=r.length;if(e%4>0){throw new Error("Invalid string. Length must be a multiple of 4")}var n=r.indexOf("=");if(n===-1)n=e;var t=n===e?0:4-n%4;return[n,t]}function f(r){var e=c(r);var n=e[0];var t=e[1];return(n+t)*3/4-t}function h(r,e,n){return(e+n)*3/4-n}function i(r){var e;var n=c(r);var t=n[0];var o=n[1];var a=new d(h(r,t,o));var f=0;var i=o>0?t-4:t;var u;for(u=0;u<i;u+=4){e=v[r.charCodeAt(u)]<<18|v[r.charCodeAt(u+1)]<<12|v[r.charCodeAt(u+2)]<<6|v[r.charCodeAt(u+3)];a[f++]=e>>16&255;a[f++]=e>>8&255;a[f++]=e&255}if(o===2){e=v[r.charCodeAt(u)]<<2|v[r.charCodeAt(u+1)]>>4;a[f++]=e&255}if(o===1){e=v[r.charCodeAt(u)]<<10|v[r.charCodeAt(u+1)]<<4|v[r.charCodeAt(u+2)]>>2;a[f++]=e>>8&255;a[f++]=e&255}return a}function s(r){return u[r>>18&63]+u[r>>12&63]+u[r>>6&63]+u[r&63]}function l(r,e,n){var t;var o=[];for(var a=e;a<n;a+=3){t=(r[a]<<16&16711680)+(r[a+1]<<8&65280)+(r[a+2]&255);o.push(s(t))}return o.join("")}function p(r){var e;var n=r.length;var t=n%3;var o=[];var a=16383;for(var f=0,i=n-t;f<i;f+=a){o.push(l(r,f,f+a>i?i:f+a))}if(t===1){e=r[n-1];o.push(u[e>>2]+u[e<<4&63]+"==")}else if(t===2){e=(r[n-2]<<8)+r[n-1];o.push(u[e>>10]+u[e>>4&63]+u[e<<2&63]+"=")}return o.join("")}},{}]},{},[])("/")});
(function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"==typeof window?"undefined"==typeof global?"undefined"==typeof self?this:self:global:window,b.base64js=a()}})(function(){return function(){function b(d,e,g){function a(j,i){if(!e[j]){if(!d[j]){var f="function"==typeof require&&require;if(!i&&f)return f(j,!0);if(h)return h(j,!0);var c=new Error("Cannot find module '"+j+"'");throw c.code="MODULE_NOT_FOUND",c}var k=e[j]={exports:{}};d[j][0].call(k.exports,function(b){var c=d[j][1][b];return a(c||b)},k,k.exports,b,d,e,g)}return e[j].exports}for(var h="function"==typeof require&&require,c=0;c<g.length;c++)a(g[c]);return a}return b}()({"/":[function(a,b,c){'use strict';function d(a){var b=a.length;if(0<b%4)throw new Error("Invalid string. Length must be a multiple of 4");var c=a.indexOf("=");-1===c&&(c=b);var d=c===b?0:4-c%4;return[c,d]}function e(a,b,c){return 3*(b+c)/4-c}function f(a){var b,c,f=d(a),g=f[0],h=f[1],j=new m(e(a,g,h)),k=0,n=0<h?g-4:g;for(c=0;c<n;c+=4)b=l[a.charCodeAt(c)]<<18|l[a.charCodeAt(c+1)]<<12|l[a.charCodeAt(c+2)]<<6|l[a.charCodeAt(c+3)],j[k++]=255&b>>16,j[k++]=255&b>>8,j[k++]=255&b;return 2===h&&(b=l[a.charCodeAt(c)]<<2|l[a.charCodeAt(c+1)]>>4,j[k++]=255&b),1===h&&(b=l[a.charCodeAt(c)]<<10|l[a.charCodeAt(c+1)]<<4|l[a.charCodeAt(c+2)]>>2,j[k++]=255&b>>8,j[k++]=255&b),j}function g(a){return k[63&a>>18]+k[63&a>>12]+k[63&a>>6]+k[63&a]}function h(a,b,c){for(var d,e=[],f=b;f<c;f+=3)d=(16711680&a[f]<<16)+(65280&a[f+1]<<8)+(255&a[f+2]),e.push(g(d));return e.join("")}function j(a){for(var b,c=a.length,d=c%3,e=[],f=16383,g=0,j=c-d;g<j;g+=f)e.push(h(a,g,g+f>j?j:g+f));return 1===d?(b=a[c-1],e.push(k[b>>2]+k[63&b<<4]+"==")):2===d&&(b=(a[c-2]<<8)+a[c-1],e.push(k[b>>10]+k[63&b>>4]+k[63&b<<2]+"=")),e.join("")}c.byteLength=function(a){var b=d(a),c=b[0],e=b[1];return 3*(c+e)/4-e},c.toByteArray=f,c.fromByteArray=j;for(var k=[],l=[],m="undefined"==typeof Uint8Array?Array:Uint8Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,p=n.length;o<p;++o)k[o]=n[o],l[n.charCodeAt(o)]=o;l[45]=62,l[95]=63},{}]},{},[])("/")});

@@ -128,5 +128,3 @@ 'use strict'

for (var i = 0, len2 = len - extraBytes; i < len2; i += maxChunkLength) {
parts.push(encodeChunk(
uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)
))
parts.push(encodeChunk(uint8, i, (i + maxChunkLength) > len2 ? len2 : (i + maxChunkLength)))
}

@@ -133,0 +131,0 @@

{
"_args": [
[
"base64-js@1.3.1",
"base64-js@1.5.1",
"/home/runner/work/node-datachannel/node-datachannel"
]
],
"_from": "base64-js@1.3.1",
"_id": "base64-js@1.3.1",
"_from": "base64-js@1.5.1",
"_id": "base64-js@1.5.1",
"_inBundle": false,
"_integrity": "sha512-mLQ4i2QO1ytvGWFWmcngKO//JXAQueZvwEKtjgQFM4jIK0kU+ytMfplL8j+n5mspOfjHwoAg+9yhb7BwAHm36g==",
"_integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==",
"_location": "/base64-js",

@@ -17,8 +17,8 @@ "_phantomChildren": {},

"registry": true,
"raw": "base64-js@1.3.1",
"raw": "base64-js@1.5.1",
"name": "base64-js",
"escapedName": "base64-js",
"rawSpec": "1.3.1",
"rawSpec": "1.5.1",
"saveSpec": null,
"fetchSpec": "1.3.1"
"fetchSpec": "1.5.1"
},

@@ -28,4 +28,4 @@ "_requiredBy": [

],
"_resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.3.1.tgz",
"_spec": "1.3.1",
"_resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
"_spec": "1.5.1",
"_where": "/home/runner/work/node-datachannel/node-datachannel",

@@ -41,8 +41,22 @@ "author": {

"devDependencies": {
"babel-minify": "^0.5.1",
"benchmark": "^2.1.4",
"browserify": "^16.3.0",
"standard": "*",
"tape": "4.x",
"uglify-js": "^3.6.0"
"tape": "4.x"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
],
"homepage": "https://github.com/beatgammit/base64-js",

@@ -60,3 +74,3 @@ "keywords": [

"scripts": {
"build": "browserify -s base64js -r ./ | uglifyjs -m > base64js.min.js",
"build": "browserify -s base64js -r ./ | minify > base64js.min.js",
"lint": "standard",

@@ -66,3 +80,4 @@ "test": "npm run lint && npm run unit",

},
"version": "1.3.1"
"typings": "index.d.ts",
"version": "1.5.1"
}

@@ -22,2 +22,4 @@ base64-js

[Get supported base64-js with the Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-base64-js?utm_source=npm-base64-js&utm_medium=referral&utm_campaign=readme)
## methods

@@ -24,0 +26,0 @@

@@ -60,4 +60,12 @@ # Authors

- Blaine Bublitz (blaine.bublitz@gmail.com)
- clement (clement@seald.io)
- Koushik Dutta (koushd@gmail.com)
- Jordan Harband (ljharb@gmail.com)
- Niklas Mischkulnig (mischnic@users.noreply.github.com)
- Nikolai Vavilov (vvnicholas@gmail.com)
- Fedor Nezhivoi (gyzerok@users.noreply.github.com)
- Peter Newman (peternewman@users.noreply.github.com)
- mathmakgakpak (44949126+mathmakgakpak@users.noreply.github.com)
- jkkang (jkkang@smartauth.kr)
#### Generated by bin/update-authors.sh.

@@ -169,3 +169,3 @@ export class Buffer extends Uint8Array {

* If parameter is omitted, buffer will be filled with zeros.
* @param encoding encoding used for call to buf.fill while initalizing
* @param encoding encoding used for call to buf.fill while initializing
*/

@@ -172,0 +172,0 @@ static alloc(size: number, fill?: string | Buffer | number, encoding?: string): Buffer;

@@ -14,4 +14,4 @@ /*!

var customInspectSymbol =
(typeof Symbol === 'function' && typeof Symbol.for === 'function')
? Symbol.for('nodejs.util.inspect.custom')
(typeof Symbol === 'function' && typeof Symbol['for'] === 'function') // eslint-disable-line dot-notation
? Symbol['for']('nodejs.util.inspect.custom') // eslint-disable-line dot-notation
: null

@@ -120,3 +120,3 @@

if (ArrayBuffer.isView(value)) {
return fromArrayLike(value)
return fromArrayView(value)
}

@@ -202,3 +202,3 @@

// prevents accidentally sending in a number that would
// be interpretted as a start offset.
// be interpreted as a start offset.
return typeof encoding === 'string'

@@ -270,2 +270,10 @@ ? createBuffer(size).fill(fill, encoding)

function fromArrayView (arrayView) {
if (isInstance(arrayView, Uint8Array)) {
var copy = new Uint8Array(arrayView)
return fromArrayBuffer(copy.buffer, copy.byteOffset, copy.byteLength)
}
return fromArrayLike(arrayView)
}
function fromArrayBuffer (array, byteOffset, length) {

@@ -410,8 +418,16 @@ if (byteOffset < 0 || array.byteLength < byteOffset) {

if (isInstance(buf, Uint8Array)) {
buf = Buffer.from(buf)
}
if (!Buffer.isBuffer(buf)) {
if (pos + buf.length > buffer.length) {
Buffer.from(buf).copy(buffer, pos)
} else {
Uint8Array.prototype.set.call(
buffer,
buf,
pos
)
}
} else if (!Buffer.isBuffer(buf)) {
throw new TypeError('"list" argument must be an Array of Buffers')
} else {
buf.copy(buffer, pos)
}
buf.copy(buffer, pos)
pos += buf.length

@@ -498,3 +514,3 @@ }

// Force coersion to uint32. This will also coerce falsey/NaN values to 0.
// Force coercion to uint32. This will also coerce falsey/NaN values to 0.
end >>>= 0

@@ -850,6 +866,2 @@ start >>>= 0

function latin1Write (buf, string, offset, length) {
return asciiWrite(buf, string, offset, length)
}
function base64Write (buf, string, offset, length) {

@@ -910,7 +922,5 @@ return blitBuffer(base64ToBytes(string), buf, offset, length)

case 'ascii':
return asciiWrite(this, string, offset, length)
case 'latin1':
case 'binary':
return latin1Write(this, string, offset, length)
return asciiWrite(this, string, offset, length)

@@ -958,6 +968,9 @@ case 'base64':

var codePoint = null
var bytesPerSequence = (firstByte > 0xEF) ? 4
: (firstByte > 0xDF) ? 3
: (firstByte > 0xBF) ? 2
: 1
var bytesPerSequence = (firstByte > 0xEF)
? 4
: (firstByte > 0xDF)
? 3
: (firstByte > 0xBF)
? 2
: 1

@@ -1083,3 +1096,4 @@ if (i + bytesPerSequence <= end) {

var res = ''
for (var i = 0; i < bytes.length; i += 2) {
// If bytes.length is odd, the last 8 bits must be ignored (same as node.js)
for (var i = 0; i < bytes.length - 1; i += 2) {
res += String.fromCharCode(bytes[i] + (bytes[i + 1] * 256))

@@ -1126,2 +1140,3 @@ }

Buffer.prototype.readUintLE =
Buffer.prototype.readUIntLE = function readUIntLE (offset, byteLength, noAssert) {

@@ -1142,2 +1157,3 @@ offset = offset >>> 0

Buffer.prototype.readUintBE =
Buffer.prototype.readUIntBE = function readUIntBE (offset, byteLength, noAssert) {

@@ -1159,2 +1175,3 @@ offset = offset >>> 0

Buffer.prototype.readUint8 =
Buffer.prototype.readUInt8 = function readUInt8 (offset, noAssert) {

@@ -1166,2 +1183,3 @@ offset = offset >>> 0

Buffer.prototype.readUint16LE =
Buffer.prototype.readUInt16LE = function readUInt16LE (offset, noAssert) {

@@ -1173,2 +1191,3 @@ offset = offset >>> 0

Buffer.prototype.readUint16BE =
Buffer.prototype.readUInt16BE = function readUInt16BE (offset, noAssert) {

@@ -1180,2 +1199,3 @@ offset = offset >>> 0

Buffer.prototype.readUint32LE =
Buffer.prototype.readUInt32LE = function readUInt32LE (offset, noAssert) {

@@ -1191,2 +1211,3 @@ offset = offset >>> 0

Buffer.prototype.readUint32BE =
Buffer.prototype.readUInt32BE = function readUInt32BE (offset, noAssert) {

@@ -1309,2 +1330,3 @@ offset = offset >>> 0

Buffer.prototype.writeUintLE =
Buffer.prototype.writeUIntLE = function writeUIntLE (value, offset, byteLength, noAssert) {

@@ -1329,2 +1351,3 @@ value = +value

Buffer.prototype.writeUintBE =
Buffer.prototype.writeUIntBE = function writeUIntBE (value, offset, byteLength, noAssert) {

@@ -1349,2 +1372,3 @@ value = +value

Buffer.prototype.writeUint8 =
Buffer.prototype.writeUInt8 = function writeUInt8 (value, offset, noAssert) {

@@ -1358,2 +1382,3 @@ value = +value

Buffer.prototype.writeUint16LE =
Buffer.prototype.writeUInt16LE = function writeUInt16LE (value, offset, noAssert) {

@@ -1368,2 +1393,3 @@ value = +value

Buffer.prototype.writeUint16BE =
Buffer.prototype.writeUInt16BE = function writeUInt16BE (value, offset, noAssert) {

@@ -1378,2 +1404,3 @@ value = +value

Buffer.prototype.writeUint32LE =
Buffer.prototype.writeUInt32LE = function writeUInt32LE (value, offset, noAssert) {

@@ -1390,2 +1417,3 @@ value = +value

Buffer.prototype.writeUint32BE =
Buffer.prototype.writeUInt32BE = function writeUInt32BE (value, offset, noAssert) {

@@ -1570,7 +1598,2 @@ value = +value

this.copyWithin(targetStart, start, end)
} else if (this === target && start < targetStart && targetStart < end) {
// descending copy from end
for (var i = len - 1; i >= 0; --i) {
target[i + targetStart] = this[i + start]
}
} else {

@@ -1577,0 +1600,0 @@ Uint8Array.prototype.set.call(

{
"_args": [
[
"buffer@5.6.0",
"buffer@5.7.1",
"/home/runner/work/node-datachannel/node-datachannel"
]
],
"_from": "buffer@5.6.0",
"_id": "buffer@5.6.0",
"_from": "buffer@5.7.1",
"_id": "buffer@5.7.1",
"_inBundle": false,
"_integrity": "sha512-/gDYp/UtU0eA1ys8bOs9J6a+E/KWIY+DZ+Q2WESNUA0jFRsJOc0SNUO6xJ5SGA1xueg3NL65W6s+NY5l9cunuw==",
"_integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==",
"_location": "/buffer",

@@ -17,14 +17,14 @@ "_phantomChildren": {},

"registry": true,
"raw": "buffer@5.6.0",
"raw": "buffer@5.7.1",
"name": "buffer",
"escapedName": "buffer",
"rawSpec": "5.6.0",
"rawSpec": "5.7.1",
"saveSpec": null,
"fetchSpec": "5.6.0"
"fetchSpec": "5.7.1"
},
"_requiredBy": [
"/bl"
"/tar-stream/bl"
],
"_resolved": "https://registry.npmjs.org/buffer/-/buffer-5.6.0.tgz",
"_spec": "5.6.0",
"_resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz",
"_spec": "5.7.1",
"_where": "/home/runner/work/node-datachannel/node-datachannel",

@@ -34,3 +34,3 @@ "author": {

"email": "feross@feross.org",
"url": "http://feross.org"
"url": "https://feross.org"
},

@@ -51,4 +51,4 @@ "bugs": {

"dependencies": {
"base64-js": "^1.0.2",
"ieee754": "^1.1.4"
"base64-js": "^1.3.1",
"ieee754": "^1.1.13"
},

@@ -58,14 +58,28 @@ "description": "Node.js Buffer API, for the browser",

"airtap": "^3.0.0",
"benchmark": "^2.0.0",
"browserify": "^16.1.0",
"benchmark": "^2.1.4",
"browserify": "^17.0.0",
"concat-stream": "^2.0.0",
"hyperquest": "^2.0.0",
"is-buffer": "^2.0.0",
"is-nan": "^1.0.1",
"split": "^1.0.0",
"hyperquest": "^2.1.3",
"is-buffer": "^2.0.4",
"is-nan": "^1.3.0",
"split": "^1.0.1",
"standard": "*",
"tape": "^4.0.0",
"through2": "^3.0.1",
"uglify-js": "^3.4.5"
"tape": "^5.0.1",
"through2": "^4.0.2",
"uglify-js": "^3.11.3"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
],
"homepage": "https://github.com/feross/buffer",

@@ -119,3 +133,3 @@ "jspm": {

"types": "index.d.ts",
"version": "5.6.0"
"version": "5.7.1"
}

@@ -37,8 +37,2 @@ # buffer [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]

## `buffer` for enterprise
Available as part of the Tidelift Subscription.
The maintainers of `buffer` and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/npm-buffer?utm_source=npm-buffer&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)
## install

@@ -45,0 +39,0 @@

@@ -25,4 +25,4 @@ {

"_requiredBy": [
"/gauge",
"/npmlog"
"/npmlog",
"/npmlog/gauge"
],

@@ -29,0 +29,0 @@ "_resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz",

@@ -27,3 +27,4 @@ {

"/cmake-js/are-we-there-yet",
"/prebuild/are-we-there-yet"
"/node-ninja/are-we-there-yet",
"/npmlog/are-we-there-yet"
],

@@ -30,0 +31,0 @@ "_resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz",

@@ -27,4 +27,3 @@ {

"/gauge",
"/node-ninja/gauge",
"/prebuild/gauge"
"/npmlog/gauge"
],

@@ -31,0 +30,0 @@ "_resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz",

@@ -0,1 +1,2 @@

/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
exports.read = function (buffer, offset, isLE, mLen, nBytes) {

@@ -2,0 +3,0 @@ var e, m

{
"_args": [
[
"ieee754@1.1.13",
"ieee754@1.2.1",
"/home/runner/work/node-datachannel/node-datachannel"
]
],
"_from": "ieee754@1.1.13",
"_id": "ieee754@1.1.13",
"_from": "ieee754@1.2.1",
"_id": "ieee754@1.2.1",
"_inBundle": false,
"_integrity": "sha512-4vf7I2LYV/HaWerSo3XmlMkp5eZ83i+/CDluXi/IGTs/O1sejBNhTtnxzmRZfvOUqj7lZjqHkeTvpgSFDlWZTg==",
"_integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==",
"_location": "/ieee754",

@@ -17,8 +17,8 @@ "_phantomChildren": {},

"registry": true,
"raw": "ieee754@1.1.13",
"raw": "ieee754@1.2.1",
"name": "ieee754",
"escapedName": "ieee754",
"rawSpec": "1.1.13",
"rawSpec": "1.2.1",
"saveSpec": null,
"fetchSpec": "1.1.13"
"fetchSpec": "1.2.1"
},

@@ -28,4 +28,4 @@ "_requiredBy": [

],
"_resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.1.13.tgz",
"_spec": "1.1.13",
"_resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz",
"_spec": "1.2.1",
"_where": "/home/runner/work/node-datachannel/node-datachannel",

@@ -35,3 +35,3 @@ "author": {

"email": "feross@feross.org",
"url": "http://feross.org"
"url": "https://feross.org"
},

@@ -49,6 +49,20 @@ "bugs": {

"devDependencies": {
"airtap": "0.1.0",
"airtap": "^3.0.0",
"standard": "*",
"tape": "^4.0.0"
"tape": "^5.0.1"
},
"funding": [
{
"type": "github",
"url": "https://github.com/sponsors/feross"
},
{
"type": "patreon",
"url": "https://www.patreon.com/feross"
},
{
"type": "consulting",
"url": "https://feross.org/support"
}
],
"homepage": "https://github.com/feross/ieee754#readme",

@@ -75,3 +89,4 @@ "keywords": [

},
"version": "1.1.13"
"types": "index.d.ts",
"version": "1.2.1"
}

@@ -25,4 +25,2 @@ # ieee754 [![travis][travis-image]][travis-url] [![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![javascript style guide][standard-image]][standard-url]

[Get supported ieee754 with the Tidelift Subscription](https://tidelift.com/subscription/pkg/npm-ieee754?utm_source=npm-ieee754&utm_medium=referral&utm_campaign=readme)
## methods

@@ -29,0 +27,0 @@

@@ -25,3 +25,2 @@ {

"_requiredBy": [
"/bl",
"/bl/readable-stream",

@@ -32,3 +31,2 @@ "/block-stream",

"/hyperquest/readable-stream",
"/jsonist/readable-stream",
"/memory-stream/readable-stream",

@@ -39,2 +37,3 @@ "/node-ninja/tar",

"/tar-stream",
"/tar-stream/bl",
"/tar-stream/readable-stream",

@@ -41,0 +40,0 @@ "/through2/readable-stream",

@@ -25,2 +25,3 @@ {

"_requiredBy": [
"/prebuild-install",
"/tar-fs"

@@ -27,0 +28,0 @@ ],

@@ -46,3 +46,8 @@ var semver = require('semver')

})
if (match.length) return match[0]
if (match.length) {
var betaSeparatorIndex = match[0].indexOf("-")
return betaSeparatorIndex > -1
? match[0].substring(0, betaSeparatorIndex)
: match[0]
}

@@ -52,2 +57,51 @@ throw new Error('Could not detect target for abi ' + abi + ' and runtime ' + runtime)

function sortByTargetFn (a, b) {
var abiComp = Number(a.abi) - Number(b.abi)
if (abiComp !== 0) return abiComp
if (a.target < b.target) return -1
if (a.target > b.target) return 1
return 0
}
function loadGeneratedTargets () {
var registry = require('./abi_registry.json')
var targets = {
supported: [],
additional: [],
future: []
}
registry.forEach(function (item) {
var target = {
runtime: item.runtime,
target: item.target,
abi: item.abi
}
if (item.lts) {
var startDate = new Date(Date.parse(item.lts[0]))
var endDate = new Date(Date.parse(item.lts[1]))
var currentDate = new Date()
target.lts = startDate < currentDate && currentDate < endDate
} else {
target.lts = false
}
if (target.runtime === 'node-webkit') {
targets.additional.push(target)
} else if (item.future) {
targets.future.push(target)
} else {
targets.supported.push(target)
}
})
targets.supported.sort(sortByTargetFn)
targets.additional.sort(sortByTargetFn)
targets.future.sort(sortByTargetFn)
return targets
}
var generatedTargets = loadGeneratedTargets()
var supportedTargets = [

@@ -60,6 +114,2 @@ {runtime: 'node', target: '5.0.0', abi: '47', lts: false},

{runtime: 'node', target: '10.0.0', abi: '64', lts: new Date(2018, 10, 1) < new Date() && new Date() < new Date(2020, 4, 31)},
{runtime: 'node', target: '11.0.0', abi: '67', lts: false},
{runtime: 'node', target: '12.0.0', abi: '72', lts: new Date(2019, 9, 21) < new Date() && new Date() < new Date(2020, 9, 31)},
{runtime: 'node', target: '13.0.0', abi: '79', lts: false},
{runtime: 'node', target: '14.0.0', abi: '83', lts: false},
{runtime: 'electron', target: '0.36.0', abi: '47', lts: false},

@@ -76,10 +126,7 @@ {runtime: 'electron', target: '1.1.0', abi: '48', lts: false},

{runtime: 'electron', target: '4.0.0', abi: '64', lts: false},
{runtime: 'electron', target: '4.0.4', abi: '69', lts: false},
{runtime: 'electron', target: '5.0.0', abi: '70', lts: false},
{runtime: 'electron', target: '6.0.0', abi: '73', lts: false},
{runtime: 'electron', target: '7.0.0', abi: '75', lts: false},
{runtime: 'electron', target: '8.0.0', abi: '76', lts: false},
{runtime: 'electron', target: '9.0.0', abi: '80', lts: false}
{runtime: 'electron', target: '4.0.4', abi: '69', lts: false}
]
supportedTargets.push.apply(supportedTargets, generatedTargets.supported)
var additionalTargets = [

@@ -93,2 +140,4 @@ {runtime: 'node-webkit', target: '0.13.0', abi: '47', lts: false},

additionalTargets.push.apply(additionalTargets, generatedTargets.additional)
var deprecatedTargets = [

@@ -112,5 +161,3 @@ {runtime: 'node', target: '0.2.0', abi: '1', lts: false},

var futureTargets = [
{runtime: 'electron', target: '10.0.0-beta.1', abi: '82', lts: false}
]
var futureTargets = generatedTargets.future

@@ -117,0 +164,0 @@ var allTargets = deprecatedTargets

{
"_args": [
[
"node-abi@2.18.0",
"node-abi@2.19.3",
"/home/runner/work/node-datachannel/node-datachannel"
]
],
"_from": "node-abi@2.18.0",
"_id": "node-abi@2.18.0",
"_from": "node-abi@2.19.3",
"_id": "node-abi@2.19.3",
"_inBundle": false,
"_integrity": "sha512-yi05ZoiuNNEbyT/xXfSySZE+yVnQW6fxPZuFbLyS1s6b5Kw3HzV2PHOM4XR+nsjzkHxByK+2Wg+yCQbe35l8dw==",
"_integrity": "sha512-9xZrlyfvKhWme2EXFKQhZRp1yNWT/uI1luYPr3sFl+H4keYY4xR+1jO7mvTTijIsHf1M+QDe9uWuKeEpLInIlg==",
"_location": "/node-abi",

@@ -17,8 +17,8 @@ "_phantomChildren": {},

"registry": true,
"raw": "node-abi@2.18.0",
"raw": "node-abi@2.19.3",
"name": "node-abi",
"escapedName": "node-abi",
"rawSpec": "2.18.0",
"rawSpec": "2.19.3",
"saveSpec": null,
"fetchSpec": "2.18.0"
"fetchSpec": "2.19.3"
},

@@ -29,4 +29,4 @@ "_requiredBy": [

],
"_resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.18.0.tgz",
"_spec": "2.18.0",
"_resolved": "https://registry.npmjs.org/node-abi/-/node-abi-2.19.3.tgz",
"_spec": "2.19.3",
"_where": "/home/runner/work/node-datachannel/node-datachannel",

@@ -44,2 +44,3 @@ "author": {

"devDependencies": {
"got": "^10.6.0",
"semantic-release": "^15.8.0",

@@ -67,5 +68,6 @@ "tape": "^4.6.3",

"test": "tape test/index.js",
"travis-deploy-once": "travis-deploy-once"
"travis-deploy-once": "travis-deploy-once",
"update-abi-registry": "node --unhandled-rejections=strict scripts/update-abi-registry.js"
},
"version": "2.18.0"
"version": "2.19.3"
}

@@ -8,3 +8,3 @@ var test = require('tape')

test('getNextTarget gets the next unsopported target', function (t) {
test('getNextTarget gets the next unsupported target', function (t) {
var mockTargets = [

@@ -30,2 +30,6 @@ {runtime: 'node', target: '7.0.0', abi: '51', lts: false},

t.equal(getTarget('51'), '7.0.0')
t.equal(getTarget('67'), '11.0.0')
t.equal(getTarget('72'), '12.0.0')
t.equal(getTarget('83'), '14.0.0')
t.equal(getTarget('88'), '15.0.0')
t.end()

@@ -40,2 +44,4 @@ })

t.equal(getTarget('50', 'electron'), '1.4.0')
t.equal(getTarget('76', 'electron'), '8.0.0')
t.equal(getTarget('82', 'electron'), '10.0.0')
t.end()

@@ -59,2 +65,7 @@ })

t.throws(function () { getAbi(getNextTarget('node')) })
t.equal(getAbi('15.0.0'), '88')
t.equal(getAbi('14.0.0'), '83')
t.equal(getAbi('13.0.0'), '79')
t.equal(getAbi('12.0.0'), '72')
t.equal(getAbi('11.0.0'), '67')
t.equal(getAbi('7.2.0'), '51')

@@ -96,2 +107,3 @@ t.equal(getAbi('7.0.0'), '51')

t.equal(getAbi('10.0.0-beta.1', 'electron'), '82')
t.equal(getAbi('10.0.0', 'electron'), '82')
t.equal(getAbi('9.0.0', 'electron'), '80')

@@ -163,6 +175,6 @@ t.equal(getAbi('8.0.0', 'electron'), '76')

t.deepEqual(electron, electron.slice().sort(sort))
t.deepEqual(node, node.slice().sort(sort))
t.deepEqual(nodeWebkit, nodeWebkit.slice().sort(sort))
t.deepEqual(electron, electron.slice().sort(sort), 'electron targets are sorted')
t.deepEqual(node, node.slice().sort(sort), 'node targets are sorted')
t.deepEqual(nodeWebkit, nodeWebkit.slice().sort(sort), 'node-webkit targets are sorted')
t.end()
})

@@ -13,3 +13,14 @@ {

"_location": "/npmlog",
"_phantomChildren": {},
"_phantomChildren": {
"aproba": "1.2.0",
"console-control-strings": "1.1.0",
"delegates": "1.0.0",
"has-unicode": "2.0.1",
"object-assign": "4.1.1",
"readable-stream": "2.3.7",
"signal-exit": "3.0.3",
"string-width": "1.0.2",
"strip-ansi": "3.0.1",
"wide-align": "1.1.3"
},
"_requested": {

@@ -16,0 +27,0 @@ "type": "version",

@@ -25,3 +25,3 @@ {

"_requiredBy": [
"/gauge"
"/npmlog/gauge"
],

@@ -28,0 +28,0 @@ "_resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz",

# Contributing to prebuild
* no commits direct to master
* all commits as pull requests (one or several per PR)
* each commit solves one identifiable problem
* never merge one's own PRs, another contributor does this
- no commits direct to master
- all commits as pull requests (one or several per PR)
- each commit solves one identifiable problem
- never merge one's own PRs, another contributor does this

@@ -14,3 +14,3 @@ var path = require('path')

var proxy = require('./proxy')
var mkdirp = require('mkdirp')
var mkdirp = require('mkdirp-classic')

@@ -17,0 +17,0 @@ function downloadPrebuild (downloadUrl, opts, cb) {

{
"_args": [
[
"prebuild-install@5.3.5",
"prebuild-install@5.3.6",
"/home/runner/work/node-datachannel/node-datachannel"
]
],
"_from": "prebuild-install@5.3.5",
"_id": "prebuild-install@5.3.5",
"_from": "prebuild-install@5.3.6",
"_id": "prebuild-install@5.3.6",
"_inBundle": false,
"_integrity": "sha512-YmMO7dph9CYKi5IR/BzjOJlRzpxGGVo1EsLSUZ0mt/Mq0HWZIHOKHHcHdT69yG54C9m6i45GpItwRHpk0Py7Uw==",
"_integrity": "sha512-s8Aai8++QQGi4sSbs/M1Qku62PFK49Jm1CbgXklGz4nmHveDq0wzJkg7Na5QbnO1uNH8K7iqx2EQ/mV0MZEmOg==",
"_location": "/prebuild-install",

@@ -17,8 +17,8 @@ "_phantomChildren": {},

"registry": true,
"raw": "prebuild-install@5.3.5",
"raw": "prebuild-install@5.3.6",
"name": "prebuild-install",
"escapedName": "prebuild-install",
"rawSpec": "5.3.5",
"rawSpec": "5.3.6",
"saveSpec": null,
"fetchSpec": "5.3.5"
"fetchSpec": "5.3.6"
},

@@ -28,4 +28,4 @@ "_requiredBy": [

],
"_resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-5.3.5.tgz",
"_spec": "5.3.5",
"_resolved": "https://registry.npmjs.org/prebuild-install/-/prebuild-install-5.3.6.tgz",
"_spec": "5.3.6",
"_where": "/home/runner/work/node-datachannel/node-datachannel",

@@ -84,3 +84,3 @@ "author": {

"minimist": "^1.2.3",
"mkdirp": "^0.5.1",
"mkdirp-classic": "^0.5.3",
"napi-build-utils": "^1.0.1",

@@ -100,2 +100,3 @@ "node-abi": "^2.7.0",

"a-native-module": "^1.0.0",
"hallmark": "^3.0.0",
"nock": "^10.0.6",

@@ -129,6 +130,7 @@ "rimraf": "^2.5.2",

"scripts": {
"lint": "standard",
"hallmark": "hallmark --fix",
"lint": "standard && hallmark",
"test": "tape test/*-test.js && npm run lint"
},
"version": "5.3.5"
"version": "5.3.6"
}

@@ -17,2 +17,3 @@ # prebuild-install

Change your package.json install script to:
```json

@@ -31,2 +32,3 @@ {

### Help
```

@@ -74,5 +76,5 @@ prebuild-install [options]

* Go to [this page](https://github.com/settings/tokens)
* Click the `Generate new token` button
* Give the token a name and click the `Generate token` button, see below
- Go to [this page](https://github.com/settings/tokens)
- Click the `Generate new token` button
- Give the token a name and click the `Generate token` button, see below

@@ -84,9 +86,13 @@ ![prebuild-token](https://cloud.githubusercontent.com/assets/13285808/20844584/d0b85268-b8c0-11e6-8b08-2b19522165a9.png)

### Custom binaries
The end user can override binary download location through environment variables in their .npmrc file.
The variable needs to meet the mask `% your package name %_binary_host` or `% your package name %_binary_host_mirror`. For example:
```
leveldown_binary_host=http://overriden-host.com/overriden-path
```
Note that the package version subpath and file name will still be appended.
So if you are installing `leveldown@1.2.3` the resulting url will be:
```

@@ -100,5 +106,5 @@ http://overriden-host.com/overriden-path/v1.2.3/leveldown-v1.2.3-node-v57-win32-x64.tar.gz

* `${npm_config_cache}/_prebuilds`
* `${APP_DATA}/npm-cache/_prebuilds`
* `${HOME}/.npm/_prebuilds`
- `${npm_config_cache}/_prebuilds`
- `${APP_DATA}/npm-cache/_prebuilds`
- `${HOME}/.npm/_prebuilds`

@@ -105,0 +111,0 @@ ## License

@@ -28,3 +28,4 @@ {

"/duplexer2",
"/prebuild/are-we-there-yet"
"/node-ninja/are-we-there-yet",
"/npmlog/are-we-there-yet"
],

@@ -31,0 +32,0 @@ "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz",

@@ -25,5 +25,4 @@ {

"_requiredBy": [
"/jest-runtime/yargs",
"/jest/yargs",
"/npmlog"
"/npmlog",
"/yargs"
],

@@ -30,0 +29,0 @@ "_resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz",

@@ -26,4 +26,4 @@ {

"/execa",
"/gauge",
"/jest-changed-files/execa",
"/npmlog/gauge",
"/write-file-atomic"

@@ -30,0 +30,0 @@ ],

@@ -26,3 +26,2 @@ {

"/bl/readable-stream",
"/jsonist/readable-stream",
"/readable-stream",

@@ -29,0 +28,0 @@ "/tar-stream/readable-stream"

@@ -27,6 +27,6 @@ {

"/cmake-js/yargs",
"/gauge",
"/npmlog/gauge",
"/prebuild/yargs",
"/wide-align",
"/wrap-ansi",
"/yargs"
"/wrap-ansi"
],

@@ -33,0 +33,0 @@ "_resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz",

@@ -26,3 +26,3 @@ {

"/cliui",
"/gauge",
"/npmlog/gauge",
"/string-width",

@@ -29,0 +29,0 @@ "/wrap-ansi"

@@ -29,3 +29,3 @@ var chownr = require('chownr')

stat(nextAbs, function (err, stat) {
stat.call(fs, nextAbs, function (err, stat) {
if (err) return callback(err)

@@ -231,8 +231,11 @@

var mode = (header.mode | (header.type === 'directory' ? dmode : fmode)) & umask
chmod(name, mode, function (err) {
if (chown && own) chown.call(xfs, name, header.uid, header.gid, onchown)
else onchown(null)
function onchown (err) {
if (err) return cb(err)
if (!own) return cb()
if (!chown) return cb()
chown(name, header.uid, header.gid, cb)
})
if (!chmod) return cb()
chmod.call(xfs, name, mode, cb)
}
}

@@ -239,0 +242,0 @@

{
"_args": [
[
"tar-fs@2.1.0",
"tar-fs@2.1.1",
"/home/runner/work/node-datachannel/node-datachannel"
]
],
"_from": "tar-fs@2.1.0",
"_id": "tar-fs@2.1.0",
"_from": "tar-fs@2.1.1",
"_id": "tar-fs@2.1.1",
"_inBundle": false,
"_integrity": "sha512-9uW5iDvrIMCVpvasdFHW0wJPez0K4JnMZtsuIeDI7HyMGJNxmDZDOCQROr7lXyS+iL/QMpj07qcjGYTSdRFXUg==",
"_integrity": "sha512-V0r2Y9scmbDRLCNex/+hYzvp/zyYjvFbHPNgVTKfQvVrb6guiE/fxP+XblDNR011utopbkex2nM4dHNV6GDsng==",
"_location": "/tar-fs",

@@ -17,8 +17,8 @@ "_phantomChildren": {},

"registry": true,
"raw": "tar-fs@2.1.0",
"raw": "tar-fs@2.1.1",
"name": "tar-fs",
"escapedName": "tar-fs",
"rawSpec": "2.1.0",
"rawSpec": "2.1.1",
"saveSpec": null,
"fetchSpec": "2.1.0"
"fetchSpec": "2.1.1"
},

@@ -28,4 +28,4 @@ "_requiredBy": [

],
"_resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.0.tgz",
"_spec": "2.1.0",
"_resolved": "https://registry.npmjs.org/tar-fs/-/tar-fs-2.1.1.tgz",
"_spec": "2.1.1",
"_where": "/home/runner/work/node-datachannel/node-datachannel",

@@ -42,3 +42,3 @@ "author": {

"pump": "^3.0.0",
"tar-stream": "^2.0.0"
"tar-stream": "^2.1.4"
},

@@ -48,3 +48,3 @@ "description": "filesystem bindings for tar-stream",

"rimraf": "^2.6.3",
"standard": "^12.0.1",
"standard": "^13.0.1",
"tape": "^4.9.2"

@@ -74,3 +74,3 @@ },

},
"version": "2.1.0"
"version": "2.1.1"
}

@@ -84,2 +84,4 @@ # tar-fs

mapStream: function(fileStream, header) {
// NOTE: the returned stream HAS to have the same length as the input stream.
// If not make sure to update the size in the header passed in here.
if (path.extname(header.name) === '.js') {

@@ -86,0 +88,0 @@ return fileStream.pipe(someTransform)

@@ -200,3 +200,3 @@ var test = require('tape')

var entries = [ 'file1', 'sub-files/file3', 'sub-dir' ]
var entries = ['file1', 'sub-files/file3', 'sub-dir']

@@ -203,0 +203,0 @@ rimraf.sync(b)

@@ -25,3 +25,4 @@ {

"_requiredBy": [
"/tar-stream"
"/tar-stream",
"/tar-stream/bl"
],

@@ -28,0 +29,0 @@ "_resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz",

{
"_args": [
[
"tar-stream@2.1.3",
"tar-stream@2.1.4",
"/home/runner/work/node-datachannel/node-datachannel"
]
],
"_from": "tar-stream@2.1.3",
"_id": "tar-stream@2.1.3",
"_from": "tar-stream@2.1.4",
"_id": "tar-stream@2.1.4",
"_inBundle": false,
"_integrity": "sha512-Z9yri56Dih8IaK8gncVPx4Wqt86NDmQTSh49XLZgjWpGZL9GK9HKParS2scqHCC4w6X9Gh2jwaU45V47XTKwVA==",
"_integrity": "sha512-o3pS2zlG4gxr67GmFYBLlq+dM8gyRGUOvsrHclSkvtVtQbjV0s/+ZE8OpICbaj8clrX3tjeHngYGP7rweaBnuw==",
"_location": "/tar-stream",
"_phantomChildren": {
"buffer": "5.7.1",
"inherits": "2.0.4",

@@ -21,8 +22,8 @@ "string_decoder": "1.1.1",

"registry": true,
"raw": "tar-stream@2.1.3",
"raw": "tar-stream@2.1.4",
"name": "tar-stream",
"escapedName": "tar-stream",
"rawSpec": "2.1.3",
"rawSpec": "2.1.4",
"saveSpec": null,
"fetchSpec": "2.1.3"
"fetchSpec": "2.1.4"
},

@@ -33,4 +34,4 @@ "_requiredBy": [

],
"_resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.3.tgz",
"_spec": "2.1.3",
"_resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-2.1.4.tgz",
"_spec": "2.1.4",
"_where": "/home/runner/work/node-datachannel/node-datachannel",

@@ -45,3 +46,3 @@ "author": {

"dependencies": {
"bl": "^4.0.1",
"bl": "^4.0.3",
"end-of-stream": "^1.4.1",

@@ -96,3 +97,3 @@ "fs-constants": "^1.0.0",

},
"version": "2.1.3"
"version": "2.1.4"
}

@@ -26,3 +26,2 @@ {

"/bl/readable-stream",
"/jsonist/readable-stream",
"/readable-stream",

@@ -29,0 +28,0 @@ "/tar-stream/readable-stream",

@@ -25,3 +25,3 @@ {

"_requiredBy": [
"/gauge"
"/npmlog/gauge"
],

@@ -28,0 +28,0 @@ "_resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz",

{
"name": "node-datachannel",
"version": "0.0.11",
"version": "0.0.14",
"description": "libdatachannel node bindings",

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

"clean": "cmake-js clean",
"test": "jest"
"test": "jest --forceExit"
},

@@ -37,7 +37,7 @@ "repository": {

"cmake-js": "^6.1.0",
"jest": "^26.1.0",
"nan": "^2.14.1",
"jest": "^26.6.3",
"nan": "^2.14.2",
"napi-thread-safe-callback": "0.0.6",
"node-addon-api": "^3.0.1",
"prebuild": "^10.0.0"
"node-addon-api": "^3.0.2",
"prebuild": "^10.0.1"
},

@@ -48,4 +48,4 @@ "bundledDependencies": [

"dependencies": {
"prebuild-install": "^5.3.5"
"prebuild-install": "^5.3.6"
}
}

@@ -83,3 +83,3 @@ # node-datachannel - libdatachannel node bindings

Prebuilt binaries are available for Windows, Linux & Mac (Node Version >= 10)
Prebuilt binaries are available for Windows (x86,x64), Linux & Mac (Node Version >= 10)

@@ -93,3 +93,3 @@ ```sh

### Requirements
* cmake >= V3.1
* cmake >= V3.14
* [libdatachannel dependencies](https://github.com/paullouisageneau/libdatachannel/blob/master/README.md#dependencies)

@@ -96,0 +96,0 @@

@@ -118,3 +118,3 @@ const nodeDataChannel = require('../lib/index');

nodeDataChannel.cleanup();
}, 5 * 1000);
}, 8 * 1000);

@@ -145,5 +145,5 @@ setTimeout(() => {

done();
}, 15 * 1000);
}, 20 * 1000);
});
});

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