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.
@lhouse/lighthouse-plugin-publisher-ads
Advanced tools
A Lighthouse plugin to improve ad speed and overall quality through a series of automated audits.
Publisher Ads Lighthouse Plugin is a tool to improve ad speed and overall quality through a series of automated audits. At the moment, this is primarily targeted at sites using Google Ad Manager. This tool will aid in resolving discovered problems, providing a tool to be used to evaluate effectiveness of iterative changes while suggesting actionable feedback.
This tool is a plugin for Lighthouse, an open-sourced tool integrated into Chrome dev tools that is widely used by developers.
In order to help us improve please file an issue to let us know of any issues or suggestions you may have.
We currently have a web app version of Publisher Ads Lighthouse Plugin. It can be accessed at developers.google.com/publisher-ads-audits.
Publisher Ads Audits is available as a node package which can be used with the Lighthouse CLI.
Note: There is currently a bug specifically affecting global installs of of this package. Until this bug is resolved this should exclusively be used as a local install.
mkdir pub-ads-audits-wrapper && cd pub-ads-audits-wrapper && \
npm init -y && \
yarn add -D lighthouse && \
yarn add -D lighthouse-plugin-publisher-ads
From within
wrapper
directory
yarn lighthouse {url} --plugins=lighthouse-plugin-publisher-ads
See Lighthouse documentation for additional options.
git clone git@github.com:googleads/publisher-ads-lighthouse-plugin.git
cd publisher-ads-lighthouse-plugin
yarn
node index.js <url>
Available options:
--view
: Open report in Chrome after execution.--full
: Run all Lighthouse categories.Some common options are:
--additional-trace-categories=performance
to include general web
performance audits.--emulated-form-factor=desktop
to run on the desktop version of the site.--extra-headers "{\"Cookie\":\"monster=blue\"}"
to include additional
cookies on all requests.# Lint and test all files.
yarn test
See CONTRIBUTING.md
FAQs
A Lighthouse plugin to improve ad speed and overall quality through a series of automated audits.
The npm package @lhouse/lighthouse-plugin-publisher-ads receives a total of 5 weekly downloads. As such, @lhouse/lighthouse-plugin-publisher-ads popularity was classified as not popular.
We found that @lhouse/lighthouse-plugin-publisher-ads 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.