Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@hint/connector-chrome
Advanced tools
@hint/connector-chrome
)A connector to use Google Chrome via the chrome debugging
protocol in webhint
.
First, you need to install webhint
:
npm install hint
Then, install the new connector:
npm install @hint/connector-chrome
Configure the connector name in your .hintrc
configuration file:
{
"connector": {
"name": "chrome"
},
...
}
The set of settings supported by Chrome connector are:
ignoreHTTPSError (boolean)
: Indicates if errors with certificates
should be ignored. Use this when checking self-signed certificates.
It is false
by default.launcherOptions (object)
: Allows you to pass in additional Chrome
command line API flags. This connector uses
Chrome Launcher to start Chrome and
launcherOptions
will be relied to it so the same options are
supported.waitFor (number)
: time in milliseconds the connector will wait after
the site is ready before starting the DOM traversing and stop listening
to any network request. By default, it will wait until the network is
somehow "quiet" even though more requests could be processed after DOM
traversing. Default is 5000
.{
"connector": {
"name": "chrome",
"options": {
"ignoreHTTPSErrors": false,
"launcherOptions": {
"defaultProfile": true,
"flags": ["--headless", "--disable-gpu"]
},
"waitFor": 10000
}
},
...
}
FAQs
hint connector for Google Chrome
We found that @hint/connector-chrome demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.