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

px-compare

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

px-compare - npm Package Compare versions

Comparing version

to
1.1.0

{
"name": "px-compare",
"version": "1.0.4",
"version": "1.1.0",
"description": "",

@@ -5,0 +5,0 @@ "main": "compare.js",

#! /usr/bin/env node
const exec = require('child_process').exec;
const argv = require('yargs').argv;
const timeout = argv.timeout || 5000;
const spawn = require('child_process').spawn;

@@ -19,3 +23,3 @@ function launchHeadlessChrome(callback) {

const CHROME = '"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"';
exec(`${CHROME} --headless --virtual-time-budget=5000 --window-size=1412,2732 --screenshot --disable-gpu ${url}`, function(){
exec(`${CHROME} --headless --virtual-time-budget=${timeout} --window-size=1412,2732 --screenshot --disable-gpu ${url}`, function(){
poly.kill();

@@ -22,0 +26,0 @@ });

Sorry, the diff of this file is not supported yet