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

bare-channel

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-channel - npm Package Compare versions

Comparing version 4.1.0 to 4.1.1

12

index.js

@@ -47,3 +47,3 @@ /* global Bare */

this._ondrained = null
this._ondestroyed = null
this._onclosed = null
this._onremoteclose = null

@@ -55,3 +55,3 @@

this._onend,
this._ondestroy
this._onclose
)

@@ -145,6 +145,6 @@

const destroyed = new Promise((resolve) => { this._ondestroyed = resolve })
const destroyed = new Promise((resolve) => { this._onclosed = resolve })
binding.portDestroy(this._channel.handle, this._id)
await destroyed
this._ondestroyed = null
this._onclosed = null

@@ -218,4 +218,4 @@ Port._ports.delete(this)

_ondestroy () {
this._ondestroyed()
_onclose () {
this._onclosed()
}

@@ -222,0 +222,0 @@

{
"name": "bare-channel",
"version": "4.1.0",
"version": "4.1.1",
"description": "Inter-thread messaging for JavaScript",
"exports": {
".": "./index.js"
".": "./index.js",
"./package": "./package.json"
},

@@ -8,0 +9,0 @@ "files": [

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

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