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

chrome-remote-interface

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chrome-remote-interface - npm Package Compare versions

Comparing version 0.32.1 to 0.32.2

11

lib/chrome.js

@@ -114,2 +114,3 @@ 'use strict';

this._ws.removeAllListeners();
this._handleConnectionClose();
callback();

@@ -243,2 +244,3 @@ });

this._ws.on('close', (code) => {
this._handleConnectionClose();
this.emit('disconnect');

@@ -252,2 +254,11 @@ });

_handleConnectionClose() {
// make sure to complete all the unresolved callbacks
const err = new Error('WebSocket connection closed');
for (const callback of Object.values(this._callbacks)) {
callback(true, err);
}
this._callbacks = {};
}
// handle the messages read from the WebSocket

@@ -254,0 +265,0 @@ _handleMessage(message) {

2

package.json

@@ -18,3 +18,3 @@ {

"homepage": "https://github.com/cyrus-and/chrome-remote-interface",
"version": "0.32.1",
"version": "0.32.2",
"repository": {

@@ -21,0 +21,0 @@ "type": "git",

Sorry, the diff of this file is too big to display

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