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.
Fresnel is an automated tool for creating and comparing performance reports about web pages.
Install Fresnel from npm. Node.js 10 or later is required.
$ npm install -g fresnel
Fresnel reads configuration from a .fresnel.yml
file. This is also the
place to declare your performance scenarios.
A scenario consists of the following options:
url: The browser will navigate to this url.
viewport (optional): Viewport for the browser tab.
This does not include the OS or browser UI. For example, a maximised window on a 1440x900 screen could have a viewport of 1440x790.
Default: { width: 1100, height: 700 }
For additional viewport properties, see puppeteer/Page.setViewport.
reports: List of Fresnel reports to enable for this scenario.
Available:
probes: List of Fresnel probes to enable for this scenario.
Available:
Examples of Fresnel config files:
Run fresnel help
to find the available commands and how to use them.
To record scenarios with Fresnel, run the fresnel record
command.
Then, after changing the project under test, record the scenarios again. This time, with a different label.
Lastly, compare the two recordings using fresnel compare
.
$ fresnel record "before"
$ fresnel record "after"
$ fresnel compare "before" "after"
FAQs
Create and compare web performance reports.
The npm package fresnel receives a total of 3 weekly downloads. As such, fresnel popularity was classified as not popular.
We found that fresnel demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.