Skip to content

Download Edgedriver on first use instead of at install - #25

Merged
soulgalore merged 2 commits into
mainfrom
download-on-first-use
Oct 25, 2026
Merged

soulgalore merged 2 commits into
mainfrom
download-on-first-use

Conversation

@soulgalore

Copy link
Copy Markdown
Member

npm 11.20 warns about every dependency with an install script that the project has not approved, and a future npm release will block those scripts. Everyone who installs browsertime or sitespeed.io got that warning for Edgedriver, and users of a global install cannot approve the script from their side.

The driver is now downloaded the first time it is needed, so the package has no install script and npm has nothing to warn about. Downloading at install time is still possible with node install.js, for Docker images and for machines that have no internet access during tests. CI now runs the driver after the download, because it no longer gets downloaded during npm ci.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com

npm 11.20 warns about every dependency with an install script that the project has not approved, and a future npm release will block those scripts. Everyone who installs browsertime or sitespeed.io got that warning for Edgedriver, and users of a global install cannot approve the script from their side.

The driver is now downloaded the first time it is needed, so the package has no install script and npm has nothing to warn about. Downloading at install time is still possible with node install.js, for Docker images and for machines that have no internet access during tests. CI now runs the driver after the download, because it no longer gets downloaded during npm ci.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com
@soulgalore
soulgalore merged commit 63fea2f into main Oct 25, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant