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.
@dreipol/lighthouse-config
Advanced tools
Basic configuration files for the lighthouse reporting
const config = require('@dreipol/lighthouse-config/config/<ENV>/<DEVICE>');
local
or production
desktop
or mobile
You can extend the base configuration with your own configuration. This is done by creating a new config file in your project and include the base config via require. Then you can edit the Object the way you want
Example for local mobile config:
let mobileConfig = require('@dreipol/lighthouse-config/config/local/desktop');
mobileConfig.chromeFlags = ['--window-size=320,480'];
mobileConfig.disableEmulation = false;
mobileConfig.disableThrottling = false;
module.exports = mobileConfig;
field | type | default | value |
---|---|---|---|
url | string | local:http://localhsot:8000 production:https://example.com | where all the reports are run |
paths | Array | [/ ] | Array of url paths. All these routes are tested and reported |
chromeFlags | Array | ['--window-size=1200,800'] | Array of additional chrome flags. See all |
folder | string | ../reports | Define location to store the reports |
disableEmulation | boolean | true | Applay device emulation |
disableThrottling | boolean | true | Disable Network and CPU throttling |
saveReport | boolean | true | Save report as json file for further inspections |
report | Object | Lighthouse report configurations. See exmaples |
FAQs
Basic lighthouse config
The npm package @dreipol/lighthouse-config receives a total of 4 weekly downloads. As such, @dreipol/lighthouse-config popularity was classified as not popular.
We found that @dreipol/lighthouse-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.