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

lighthouse

Package Overview
Dependencies
Maintainers
4
Versions
1617
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lighthouse - npm Package Versions

1
160161

1.0.1

Diff

mk
published 1.0.0 •

Changelog

Source

11.0.0 (2023-08-03)

Full Changelog

We expect this release to ship in the DevTools of Chrome 118, and to PageSpeed Insights within 2 weeks.

New Contributors

Thanks to our new contributors 👽🐷🐰🐯🐻!

  • Nakamura Ayahito @penicillin0
  • patrick kettner @patrickkettner
  • lasseschou @lasseschou
  • ZzZzzzxc @ZzZzzzxc

Notable Changes

Removed legacy navigation runner

The --legacy-navigation flag on the CLI, the legacyNavigation() function in the Node API, and the "Legacy navigation" checkbox in the DevTools panel have all been removed.

New DevtoolsLog and Trace artifacts

For custom audits, the devtoolsLogs['defaultPass'] and traces['defaultPass'] artifacts have been deprecated in favor of DevtoolsLog and Trace. See our plugin docs for example usage.

devtoolsLogs and traces still exist for compatibility purposes but will be removed in a future breaking release.

🆕 New Audits

  • add minor aXe audits and re-weight existing ones (#15298)

💥 Breaking changes

  • misc: drop node 16 support (#15290)
  • core: remove resource-summary audit (#15299)
  • core: add DevtoolsLogError and TraceError artifacts (#15311)
  • core: make INP non-experimental (#15285)
  • core: remove service-worker audit (#15257)
  • core: remove legacy runner (#15253)
  • core: remove first-contentful-paint-3g audit (#15252)

Core

  • re-weight best practices (#15321)
  • single network monitor kept on Driver (#15055)
  • do not emit NOT_HTML error if record not ok (#15271)
  • report artifact error when collected, add err.extra (#15258)
  • remove the "FR" prefix from types (#15274)
  • remove legacy artifacts types (#15273)
  • duplicated-javascript: use valid granularity (#15275)
  • lcp-element: gracefully handle error in phase table (#15329)
  • network-analyzer: coarse rtt estimate on per-origin basis (#15103)
  • network-request: loosen lightrider timing checksum (#15330)
  • render-blocking-resources: add FCP and LCP savings (#15238)
  • response-compresson: throw on unexpected error (#15259)
  • source-maps: use Scripts as a dependency (#15293)
  • stack-packs: add NitroPack detection (#15314)
  • uses-http2: add LCP and FCP savings (#15320)
  • uses-rel-preconnect: add FCP and LCP savings (#15281)

CLI

  • sentry: mention --enable-error-reporting flag in prompt (#15174)

Report

  • re-order manual audits and expand when audits pass (#15310)
  • move "View Original Trace" to the topbar dropdown (#15315)

Deps

  • upgrade puppeteer to 21.0.1 (#15331)
  • upgrade lighthouse-logger to 2.0.1 (#15282)
  • upgrade chrome-launcher to 1.0.0 (#15287)
  • deduplicate yarn.lock (#15269)
  • upgrade robots-parser to 3.0.1 (#15268)

Clients

  • extension: update to manifest v3 (#15219)

I18n

Docs

  • remove legacy navigation (#15340)
  • remove references to devtoolsLogs and traces (#15318)
  • plugins: fix syntax typos (#15264)
  • readme: add PageVitals to the list of integrations (#15288)

Tests

  • add page functions bundling test (#15280)
  • make smokehouse output dir with recursive flag (#15261)
  • save smokehouse outputs to .tmp/smokehouse-output (#15251)
  • call toString for errors from bundled worker (#15245)
  • devtools: remove unused test options (#15260)
  • devtools: sync e2e (#15250)
  • smoke: allow for decimal in a11y tap target (#15327)
  • smoke: drop legacy support (#15249)

Misc

  • remove residual references to legacy (#15292)
  • fix typo (#15120)
  • rename fraggle-rock fixtures directory to user-flows (#15291)
  • add main path to logger (#15284)
  • build: bundle with esbuild minification instead of terser (#15283)
  • build: replace rollup with esbuild (#15239)
  • ci: update actions using deprecated node12 (#15304)
  • logger: add types, remove cjs (#15279)

<a name="10.4.0"></a>

mk
published 0.0.2 •

Changelog

Source

10.0.2 (2023-02-28)

Full Changelog

We expect this release to ship in the DevTools of Chrome 113.

Core

  • tracing: handle FrameCommittedInBrowser with processPseudoId (#14800)
  • redirects: use requestId instead of URL to find requests (#14838)
  • don't use failed network requests as potential initiators (#14819)
  • config: change error message if no artifacts are defined (#14818)
  • bf-cache: count failures based on affected frames (#14823)
  • legacy-javascript: update polyfill size graph (#14828)
  • prioritize-lcp-image: use request initiators for load path (#14807)
  • prioritize-lcp-image: better identify lcp request (#14804)
  • types: fix error when using moduleResolution: "node" (#14815)

Clients

  • lr: accept multiple channel naming conventions (#14799)

Docs

  • user-flows: add desktop config examples (#14806)

Tests

  • reenable metrics-tricky-tti on ToT (#14790)
  • devtools: use new primaryPageTarget function (#14839)
  • add roundtrip-proto lhr render test, check for undefined (#14817)
  • devtools: sync e2e tests (#14801)

Misc

  • proto: add screenEmulation to configSettings (#14809, #14826)

<a name="10.0.1"></a>

mk
published 0.0.1 •

Changelog

Source

10.0.1 (2023-02-14)

Full Changelog

We expect this release to ship in the DevTools of Chrome 112, and to PageSpeed Insights within 2 weeks.

Core

  • reduce DevTools flakiness (#14782)
  • doctype: only consider main frame (#14795)
  • paste-preventing-inputs: rephrase description (#14794)

Deps

  • move quibble to dev deps (#14780)

Docs

  • split changelog at 10.0 (#14778)
  • changelog: minor v10 edits (#14777)

Misc

<a name="10.0.0"></a>

1
160161
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