Skip to content

Commit

Permalink
chore: update lighthouse (#183)
Browse files Browse the repository at this point in the history
  • Loading branch information
lutejka authored Feb 2, 2024
1 parent 490ed06 commit 18dfa53
Show file tree
Hide file tree
Showing 5 changed files with 109 additions and 173 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"h3": "^1.10.0",
"hookable": "^5.5.3",
"launch-editor": "^2.6.1",
"lighthouse": "^9.6.8",
"lighthouse": "^11.5.0",
"minimist": "^1.2.8",
"mlly": "^1.5.0",
"object-hash": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/process/lighthouse.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'node:fs'
import { join } from 'node:path'
import type { LH } from 'lighthouse'
import lighthouse from 'lighthouse'
import lighthouse from 'lighthouse/core/index.cjs'
import minimist from 'minimist'
import type { UnlighthouseRouteReport } from '../types'

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/puppeteer/tasks/lighthouse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { join } from 'node:path'
import fs from 'fs-extra'
import type { LH } from 'lighthouse'
import { map, pick, sumBy } from 'lodash-es'
import { computeMedianRun } from 'lighthouse/lighthouse-core/lib/median-run.js'
import { computeMedianRun } from 'lighthouse/core/lib/median-run.js'
import chalk from 'chalk'
import { relative } from 'pathe'
import { withQuery } from 'ufo'
Expand Down
Loading

0 comments on commit 18dfa53

Please sign in to comment.