Name Description Size Coverage
ensure-correct-devtools-protocol-package.mts This script ensures that the pinned version of devtools-protocol in package.json is the right version for the current revision of Chrome that Puppeteer ships with. The devtools-protocol package publisher runs every hour and checks if there are protocol changes. If there are, it will be versioned with the revision number of the commit that last changed the .pdl files. Chrome branches/releases are figured out at a later point in time, so it's not true that each Chrome revision will have an exact matching revision version of devtools-protocol. To ensure we're using a devtools-protocol that is aligned with our revision, we want to find the largest package number that's \<= the revision that Puppeteer is using. This script uses npm's `view` function to list all versions in a range and find the one closest to our Chrome revision. 2868 -