Socket
Socket
Sign inDemoInstall

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.31.3 to 0.32.0

2

lib/devtools.js

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

const requestOptions = {
method: options.method,
host: options.host || defaults.HOST,

@@ -82,2 +83,3 @@ port: options.port || defaults.PORT,

}
options.method = options.method || 'PUT'; // see #497
devToolsInterface(path, options, (err, tab) => {

@@ -84,0 +86,0 @@ if (err) {

3

lib/external-request.js

@@ -24,3 +24,3 @@ 'use strict';

// perform the actual request
const request = transport.get(options, (response) => {
const request = transport.request(options, (response) => {
let data = '';

@@ -42,4 +42,5 @@ response.on('data', (chunk) => {

request.on('error', callback);
request.end();
}
module.exports = externalRequest;

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

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

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

@@ -403,2 +403,3 @@ # chrome-remote-interface [![Build Status][]][travis]

```
## TypeScript Support

@@ -412,2 +413,8 @@

Note that the TypeScript definitions are automatically generated from the npm package `devtools-protocol@0.0.927104`. For other versions of devtools-protocol:
1. Install patch-package using [the instructions given](https://github.com/ds300/patch-package#set-up).
2. Copy the contents of the corresponding https://github.com/ChromeDevTools/devtools-protocol/tree/master/types folder (according to commit) into `node_modules/devtools-protocol/types`.
3. Run `npx patch-package devtools-protocol` so that the changes persist across an `npm install`.
[TypeScript]: https://www.typescriptlang.org/

@@ -414,0 +421,0 @@ [Khairul Azhar Kasmiran]: https://github.com/kazarmy

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

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