Socket
Socket
Sign inDemoInstall

chromedriver

Package Overview
Dependencies
7
Maintainers
1
Versions
204
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 99.0.0 to 100.0.0

17

install.js

@@ -358,6 +358,17 @@ 'use strict';

if (archName === 'x86_64') {
const processTranslated = child_process.spawnSync('sysctl', ['-in', 'sysctl.proc_translated'])
.stdout.toString()
.trim();
const proc = child_process.spawnSync('sysctl', ['-in', 'sysctl.proc_translated']);
// When run with `-in`, the return code is 0 even if there is no `sysctl.proc_translated`
if(proc.status) {
throw new Error('Unexpected return code from sysctl: ' + proc.status);
}
// If there is no `sysctl.proc_translated` (i.e. not rosetta) then nothing is printed to
// stdout
if(!proc.stdout) {
return false
}
const processTranslated = proc.stdout.toString().trim();
return processTranslated === '1';

@@ -364,0 +375,0 @@ }

2

lib/chromedriver.js

@@ -20,3 +20,3 @@ const fs = require('fs');

exports.path = process.platform === 'win32' ? path.join(__dirname, 'chromedriver', 'chromedriver.exe') : path.join(__dirname, 'chromedriver', 'chromedriver');
exports.version = '99.0.4844.51';
exports.version = '100.0.4896.60';
exports.start = function (args, returnPromise) {

@@ -23,0 +23,0 @@ let command = exports.path;

{
"name": "chromedriver",
"version": "99.0.0",
"version": "100.0.0",
"keywords": [

@@ -5,0 +5,0 @@ "chromedriver",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc