New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dreipol/lighthouse-config

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dreipol/lighthouse-config - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

2

package.json
{
"name": "@dreipol/lighthouse-config",
"version": "3.0.0",
"version": "3.0.1",
"description": "Basic lighthouse config",

@@ -5,0 +5,0 @@ "main": "./dist/index.js",

@@ -28,5 +28,5 @@ # @dreipol/lighthouse-config

you can add some `preAuditScripts` in the config. Those scripts are executed right before lighthouse starts.
These scripts have to implement the [`PreAuditScriptInterface`](src/index.ts) interface.
These scripts have to implement the [`PreAuditScriptInterface`](src/PreAuditScriptInterface.ts) interface.
The will be already on your desired route
Before execution of this script, the browser instance will already be on the inital url, passed in the `execute` method of `Dreihouse`

@@ -85,14 +85,2 @@ Here is an example of such login script

},
reporters: {
modules: [
'html',
{
// my custom result reporter
key: 'FancyReporter',
handle: (results) => {
console.log(results);
}
}
]
},
report: {...}

@@ -99,0 +87,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc