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

auto-chrome

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auto-chrome - npm Package Compare versions

Comparing version 0.11.12 to 0.11.13

9

lib/index.js
"use strict";
const logger = require('loggercc');
const cluster = require('cluster');
const childProcess = require('child_process');

@@ -15,11 +14,5 @@ const readline = require('readline');

const { args = [], userDataDir, profileDir, } = options;
const { args = [], userDataDir, profileDir, port = 9222, } = options;
const { headless, devtools, executablePath, } = options;
// cluster模式下启用多个不同的端口,避免端口重复
let port = 9222;
if (cluster.isWorker) {
port = port + cluster.worker.id;
}
args.push(`--remote-debugging-port=${port}`);

@@ -26,0 +19,0 @@

2

package.json
{
"name": "auto-chrome",
"version": "0.11.12",
"version": "0.11.13",
"description": "使用Node.js操作Chrome或Chromium,高仿真的用户行为模拟器",

@@ -5,0 +5,0 @@ "main": "lib/",

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