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

promise-connection

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

promise-connection - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

9

lib/connection.js

@@ -30,3 +30,3 @@ var PC = require('../index');

delete connection._connecting;
delete connection._pending['connect'];
delete connection._pending.connect;
return connection;

@@ -76,3 +76,4 @@ });

}
return connection.connected;
return connection.connected
.then(function() {});
}

@@ -164,3 +165,3 @@ if (data._type === 'invoke') {

var clearPending = function(id) {
delete this._pending[id]
delete this._pending[id];
}.bind(this, data._id);

@@ -174,3 +175,3 @@

data.args = this.serialize(data.args);
}
}

@@ -177,0 +178,0 @@ var result = new Promise(function(resolve, reject) {

{
"name": "promise-connection",
"version": "0.0.4",
"version": "0.0.5",
"description": "Promise/A+ utilities for abstracting remote window requests on message ports.",

@@ -5,0 +5,0 @@ "main": "index.js",

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