You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

braid-http

Package Overview
Dependencies
Maintainers
0
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

braid-http - npm Package Compare versions

Comparing version

to
1.3.52

6

braid-http-client.js

@@ -919,2 +919,4 @@

var try_deleting = new Set()
var not_used_timeout = null
var mux_aborter = new AbortController()

@@ -956,2 +958,3 @@ function cleanup(e, stay_dead) {

var r = await braid_fetch(`${origin}/${multiplexer}`, {
signal: mux_aborter.signal,
method: 'MULTIPLEX',

@@ -974,2 +977,3 @@ headers: {'Multiplex-Version': multiplex_version},

{method: 'POST',
signal: mux_aborter.signal,
headers: {'Multiplex-Version': multiplex_version},

@@ -1054,5 +1058,7 @@ retry: true})

// prepare a function that we'll call to cleanly tear things down
clearTimeout(not_used_timeout)
var unset = async e => {
unset = () => {}
requests.delete(request)
if (!requests.size) not_used_timeout = setTimeout(() => mux_aborter.abort(), mux_params?.not_used_timeout ?? 1000 * 20)
request_error = e

@@ -1059,0 +1065,0 @@ bytes_available()

2

package.json
{
"name": "braid-http",
"version": "1.3.51",
"version": "1.3.52",
"description": "An implementation of Braid-HTTP for Node.js and Browsers",

@@ -5,0 +5,0 @@ "scripts": {