Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lighthouse-reporting

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lighthouse-reporting - npm Package Compare versions

Comparing version 1.6.5 to 1.6.6

5

dist/lighthouseReports.js

@@ -39,5 +39,6 @@ import path from "path";

};
const getScores = (result) => Object.entries(result.lhr.categories).filter((c) => typeof c[1].score === "number").reduce(
const getScores = (result) => Object.entries(result.lhr.categories).reduce(
(prev, [key, c]) => {
prev[key] = Math.floor(c.score * 100);
const score = typeof c.score === "number" ? c.score : 0;
prev[key] = Math.floor(score * 100);
return prev;

@@ -44,0 +45,0 @@ },

12

package.json
{
"name": "lighthouse-reporting",
"version": "1.6.5",
"version": "1.6.6",
"type": "module",

@@ -33,5 +33,5 @@ "scripts": {

"@types/fs-extra": "^11.0.4",
"@types/node": "^20.11.6",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@types/node": "^20.11.16",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"eslint": "^8.56.0",

@@ -41,3 +41,3 @@ "eslint-config-prettier": "^9.1.0",

"get-port": "^7.0.0",
"husky": "^8.0.3",
"husky": "^9.0.10",
"npm-run-all": "^4.1.5",

@@ -48,3 +48,3 @@ "prettier": "^3.2.4",

"vite": "^5.0.12",
"vite-plugin-static-copy": "^1.0.0"
"vite-plugin-static-copy": "^1.0.1"
},

@@ -51,0 +51,0 @@ "dependencies": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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