geckodriver
Advanced tools
Comparing version 4.3.3 to 4.4.0
@@ -9,3 +9,6 @@ import cp from 'node:child_process'; | ||
const { cacheDir, customGeckoDriverPath, ...startArgs } = params; | ||
let geckoDriverPath = process.env.GECKODRIVER_FILEPATH || customGeckoDriverPath; | ||
let geckoDriverPath = (customGeckoDriverPath || | ||
process.env.GECKODRIVER_PATH || | ||
// deprecated | ||
process.env.GECKODRIVER_FILEPATH); | ||
if (!geckoDriverPath) { | ||
@@ -12,0 +15,0 @@ geckoDriverPath = await downloadDriver(params.geckoDriverVersion, cacheDir); |
{ | ||
"name": "geckodriver", | ||
"version": "4.3.3", | ||
"version": "4.4.0", | ||
"description": "Mozilla's Geckodriver for Node.js", | ||
@@ -25,6 +25,6 @@ "homepage": "https://github.com/webdriverio-community/node-geckodriver#readme", | ||
"postinstall": "test -f ./dist/install.js && node ./dist/install.js || echo \"Skipping install, project not build!\"", | ||
"test": "run-s test:*", | ||
"test": "run-s build test:*", | ||
"test:lint": "eslint", | ||
"test:unit": "vitest --run", | ||
"test:e2e": "node ./tests/test.e2e.js", | ||
"test:e2e": "tsx ./tests/test.e2e.ts", | ||
"watch": "npm run build -- --watch" | ||
@@ -55,21 +55,22 @@ }, | ||
"devDependencies": { | ||
"@types/node": "^20.11.19", | ||
"@types/node": "^20.12.7", | ||
"@types/tar-fs": "^2.0.4", | ||
"@types/unzipper": "^0.10.9", | ||
"@typescript-eslint/eslint-plugin": "^7.0.2", | ||
"@typescript-eslint/parser": "^7.0.2", | ||
"@vitest/coverage-v8": "^1.3.0", | ||
"@typescript-eslint/eslint-plugin": "^7.7.1", | ||
"@typescript-eslint/parser": "^7.7.1", | ||
"@vitest/coverage-v8": "^1.5.2", | ||
"eslint": "^8.56.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-unicorn": "^51.0.1", | ||
"eslint-plugin-unicorn": "^52.0.0", | ||
"geckodriver": ".", | ||
"husky": "^9.0.11", | ||
"npm-run-all": "^4.1.5", | ||
"octokit": "^3.1.2", | ||
"release-it": "^17.1.1", | ||
"npm-run-all2": "^6.1.2", | ||
"octokit": "^3.2.0", | ||
"release-it": "^17.2.1", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.3.3", | ||
"vitest": "^1.3.0", | ||
"tsx": "^4.7.3", | ||
"typescript": "^5.4.5", | ||
"vitest": "^1.5.2", | ||
"wait-port": "^1.1.0", | ||
"webdriverio": "^8.32.2" | ||
"webdriverio": "^8.36.1" | ||
}, | ||
@@ -82,6 +83,6 @@ "dependencies": { | ||
"node-fetch": "^3.3.2", | ||
"tar-fs": "^3.0.5", | ||
"unzipper": "^0.10.14", | ||
"tar-fs": "^3.0.6", | ||
"unzipper": "^0.11.4", | ||
"which": "^4.0.0" | ||
} | ||
} |
@@ -212,3 +212,3 @@ Geckodriver [![CI](https://github.com/webdriverio-community/node-geckodriver/actions/workflows/ci.yml/badge.svg)](https://github.com/webdriverio-community/node-geckodriver/actions/workflows/ci.yml) [![Audit](https://github.com/webdriverio-community/node-geckodriver/actions/workflows/audit.yml/badge.svg)](https://github.com/webdriverio-community/node-geckodriver/actions/workflows/audit.yml) | ||
Type: `string`<br /> | ||
Default: `process.env.GECKODRIVER_FILEPATH` | ||
Default: `process.env.GECKODRIVER_PATH` | ||
@@ -215,0 +215,0 @@ ### `cacheDir` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
51837
310
20
11
+ Addedunzipper@0.11.6(transitive)
- Removedbinary@0.3.0(transitive)
- Removedbuffer-indexof-polyfill@1.0.2(transitive)
- Removedbuffers@0.1.1(transitive)
- Removedchainsaw@0.1.0(transitive)
- Removedlistenercount@1.0.1(transitive)
- Removedsetimmediate@1.0.5(transitive)
- Removedtraverse@0.3.9(transitive)
- Removedunzipper@0.10.14(transitive)
Updatedtar-fs@^3.0.6
Updatedunzipper@^0.11.4