Socket
Socket
Sign inDemoInstall

@acot/find-chrome

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@acot/find-chrome - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

4

CHANGELOG.md

@@ -6,2 +6,6 @@ # Change Log

## [0.0.16](https://github.com/acot-a11y/acot/compare/v0.0.15...v0.0.16) (2022-05-01)
**Note:** Version bump only for package @acot/find-chrome
## [0.0.15](https://github.com/acot-a11y/acot/compare/v0.0.14...v0.0.15) (2022-03-27)

@@ -8,0 +12,0 @@

8

lib/index.js

@@ -61,6 +61,6 @@ "use strict";

try {
execPaths = child_process_1.execSync(`grep -ER "${chromeExecRegex}" ${folder} | awk -F '=' '{print $2}'`);
execPaths = (0, child_process_1.execSync)(`grep -ER "${chromeExecRegex}" ${folder} | awk -F '=' '{print $2}'`);
}
catch (e) {
execPaths = child_process_1.execSync(`grep -Er "${chromeExecRegex}" ${folder} | awk -F '=' '{print $2}'`);
execPaths = (0, child_process_1.execSync)(`grep -Er "${chromeExecRegex}" ${folder} | awk -F '=' '{print $2}'`);
}

@@ -90,3 +90,3 @@ execPaths = execPaths

const grepexpr = canary ? 'google chrome canary' : 'google chrome';
const result = child_process_1.execSync(`${LSREGISTER} -dump | grep -i '${grepexpr}\\?.app$' | awk '{$1=""; print $0}'`);
const result = (0, child_process_1.execSync)(`${LSREGISTER} -dump | grep -i '${grepexpr}\\?.app$' | awk '{$1=""; print $0}'`);
const paths = result

@@ -138,3 +138,3 @@ .toString()

try {
const chromePath = child_process_1.execFileSync('which', [executable], { stdio: 'pipe' })
const chromePath = (0, child_process_1.execFileSync)('which', [executable], { stdio: 'pipe' })
.toString()

@@ -141,0 +141,0 @@ .split(NEWLINE)[0];

{
"name": "@acot/find-chrome",
"version": "0.0.15",
"version": "0.0.16",
"description": "Find Chrome available in your runtime environment.",

@@ -29,3 +29,3 @@ "homepage": "https://github.com/acot-a11y/acot/tree/main/packages/find-chrome",

},
"gitHead": "4d9ea6c5bb5cf7f6611c349f82d464df5abe8596"
"gitHead": "7535e01cafd25fc1d6c32c31a1ae9fce5326b3d8"
}
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