@acot/find-chrome
Advanced tools
Comparing version 0.0.15 to 0.0.16
@@ -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 @@ |
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14556