New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@gorangajic/chromeless

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

@gorangajic/chromeless - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

7

dist/src/chrome/local.js

@@ -114,3 +114,3 @@ "use strict";

return __awaiter(this, void 0, void 0, function () {
var _a, viewport, config, port, host, versionResult, isHeadless, _b, _c;
var _a, viewport, config, port, versionResult, isHeadless, _b, _c;
return __generator(this, function (_d) {

@@ -127,4 +127,3 @@ switch (_d.label) {

port = this.options.cdp.port;
host = this.options.cdp.host;
return [4 /*yield*/, CDP.Version({ port: port, host: host })];
return [4 /*yield*/, CDP.Version({ port: port })];
case 1:

@@ -190,3 +189,3 @@ versionResult = _d.sent();

if (this.options.cdp.closeTab) {
CDP.Close({ id: client.target.id, port: this.options.cdp.port, host: this.options.cdp.host });
CDP.Close({ id: client.target.id });
}

@@ -193,0 +192,0 @@ if (this.chromeInstance) {

@@ -12,2 +12,4 @@ export interface Client {

};
host?: string;
port?: number;
}

@@ -14,0 +16,0 @@ export interface DeviceMetrics {

@@ -72,3 +72,3 @@ "use strict";

};
return [4 /*yield*/, CDP.Version()];
return [4 /*yield*/, CDP.Version({ port: client.port, host: client.host })];
case 1:

@@ -75,0 +75,0 @@ versionResult = _c.sent();

{
"name": "@gorangajic/chromeless",
"version": "0.0.2",
"version": "0.0.3",
"description": "🖥 Chrome automation made simple. Runs locally or headless on AWS Lambda.",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/graphcool/chromeless",

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