Showing with 102 additions and 102 deletions.
  1. +1 −1 docs/audits/ad-blocking-tasks.md
  2. +2 −2 docs/audits/ad-request-from-page-start.md
  3. +6 −6 docs/audits/ad-request-from-tag-load.md
  4. +3 −3 docs/audits/bid-request-from-page-start.md
  5. +2 −2 docs/audits/first-ad-render.md
  6. +1 −1 docs/audits/loads-ad-tag-over-https.md
  7. +5 −5 docs/audits/tag-load-time.md
  8. +1 −1 index.js
  9. +1 −1 lighthouse-plugin-publisher-ads/audits/ad-blocking-tasks.js
  10. +2 −2 lighthouse-plugin-publisher-ads/audits/ad-render-blocking-resources.js
  11. +1 −1 lighthouse-plugin-publisher-ads/audits/ad-request-critical-path.js
  12. +1 −1 lighthouse-plugin-publisher-ads/audits/ad-request-from-page-start.js
  13. +1 −1 lighthouse-plugin-publisher-ads/audits/ad-request-from-tag-load.js
  14. +1 −1 lighthouse-plugin-publisher-ads/audits/ad-top-of-viewport.js
  15. +1 −1 lighthouse-plugin-publisher-ads/audits/ads-in-viewport.js
  16. +3 −3 lighthouse-plugin-publisher-ads/audits/async-ad-tags.js
  17. +1 −1 lighthouse-plugin-publisher-ads/audits/bid-request-from-page-start.js
  18. +3 −3 lighthouse-plugin-publisher-ads/audits/blocking-load-events.js
  19. +1 −1 lighthouse-plugin-publisher-ads/audits/bottleneck-requests.js
  20. +1 −1 lighthouse-plugin-publisher-ads/audits/cumulative-ad-shift.js
  21. +2 −2 lighthouse-plugin-publisher-ads/audits/deprecated-api-usage.js
  22. +4 −4 lighthouse-plugin-publisher-ads/audits/duplicate-tags.js
  23. +1 −1 lighthouse-plugin-publisher-ads/audits/first-ad-render.js
  24. +2 −2 lighthouse-plugin-publisher-ads/audits/full-width-slots.js
  25. +1 −1 lighthouse-plugin-publisher-ads/audits/gpt-bids-parallel.js
  26. +2 −2 lighthouse-plugin-publisher-ads/audits/gpt-errors-overall.js
  27. +4 −4 lighthouse-plugin-publisher-ads/audits/idle-network-times.js
  28. +2 −2 lighthouse-plugin-publisher-ads/audits/loads-ad-tag-over-https.js
  29. +2 −2 lighthouse-plugin-publisher-ads/audits/loads-gpt-from-official-source.js
  30. +2 −2 lighthouse-plugin-publisher-ads/audits/script-injected-tags.js
  31. +3 −3 lighthouse-plugin-publisher-ads/audits/serial-header-bidding.js
  32. +1 −1 lighthouse-plugin-publisher-ads/audits/tag-load-time.js
  33. +2 −2 lighthouse-plugin-publisher-ads/audits/total-ad-blocking-time.js
  34. +1 −1 lighthouse-plugin-publisher-ads/audits/viewport-ad-density.js
  35. +1 −1 lighthouse-plugin-publisher-ads/computed/ad-lantern-metric.js
  36. +2 −2 lighthouse-plugin-publisher-ads/computed/ad-render-time.js
  37. +2 −2 lighthouse-plugin-publisher-ads/computed/ad-request-time.js
  38. +2 −2 lighthouse-plugin-publisher-ads/computed/bid-request-time.js
  39. +6 −6 lighthouse-plugin-publisher-ads/computed/long-tasks.js
  40. +2 −2 lighthouse-plugin-publisher-ads/computed/tag-load-time.js
  41. +1 −1 lighthouse-plugin-publisher-ads/messages/common-strings.js
  42. +1 −1 lighthouse-plugin-publisher-ads/package.json
  43. +1 −1 lighthouse-plugin-publisher-ads/plugin.js
  44. +2 −2 lighthouse-plugin-publisher-ads/test/audits/async-ad-tags_test.js
  45. +1 −1 lighthouse-plugin-publisher-ads/test/audits/full-width-slots_test.js
  46. +1 −1 lighthouse-plugin-publisher-ads/test/audits/loads-ad-tag-over-https_test.js
  47. +4 −4 lighthouse-plugin-publisher-ads/typings/lighthouse.d.ts
  48. +3 −3 lighthouse-plugin-publisher-ads/utils/graph.js
  49. +3 −3 lighthouse-plugin-publisher-ads/utils/network-timing.js
  50. +1 −1 lighthouse-plugin-publisher-ads/utils/network.js
  51. +1 −1 lighthouse-plugin-publisher-ads/utils/resource-classification.js
  52. +1 −1 package.json
2 changes: 1 addition & 1 deletion docs/audits/ad-blocking-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ This audit displays the top 10 longest tasks by execution time, sorted by start
time (ascending).

[Are long JavaScript tasks delaying your Time to Interactive?](https://web.dev/long-tasks-devtools)
[Inspect Network Activity In Chrome DevTools](https://developers.google.com/web/tools/chrome-devtools/network-performance/)
[Inspect Network Activity In Chrome DevTools](https://developer.chrome.com/docs/devtools/network/)
4 changes: 2 additions & 2 deletions docs/audits/ad-request-from-page-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ identify areas for improvement and track that improvement over time.
The goal here is to reduce the time it takes for the first ad request to be
made. Ensuring that other, more specific audits are passing should have a major
impact on this metric. In particular, audits affecting
[tag load time](./tag-load-time) and
[latency of first ad request (from tag load)](./ad-request-from-tag-load) are
[tag load time](./tag-load-time.md) and
[latency of first ad request (from tag load)](./ad-request-from-tag-load.md) are
likely to affect this metric.

## More information
Expand Down
12 changes: 6 additions & 6 deletions docs/audits/ad-request-from-tag-load.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ made. Ensuring that other, more specific audits are passing should have a major
impact on this metric. In particular, the following audits are likely to affect
this time:

* [Ad request waterfall](./ad-request-critical-path)
* [Avoid bottleneck requests](./bottleneck-requests)
* [Avoid long tasks that block ad-related network requests](./ad-blocking-tasks)
* [Avoid waiting on load events](./blocking-load-events)
* [Load GPT and bids in parallel](./gpt-bids-parallel)
* [Parallelize bid requests](./serial-header-bidding)
* [Ad request waterfall](./ad-request-critical-path.md)
* [Avoid bottleneck requests](./bottleneck-requests.md)
* [Avoid long tasks that block ad-related network requests](./ad-blocking-tasks.md)
* [Avoid waiting on load events](./blocking-load-events.md)
* [Load GPT and bids in parallel](./gpt-bids-parallel.md)
* [Parallelize bid requests](./serial-header-bidding.md)

## More information

Expand Down
6 changes: 3 additions & 3 deletions docs/audits/bid-request-from-page-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ request to be made. Ensuring that other, more specific audits are passing should
have a major impact on this metric. In particular, the following audits are
likely to affect this time:

* [Ad request waterfall](./ad-request-critical-path)
* [Avoid long tasks that block ad-related network requests](./ad-blocking-tasks)
* [Load GPT and bids in parallel](./gpt-bids-parallel)
* [Ad request waterfall](./ad-request-critical-path.md)
* [Avoid long tasks that block ad-related network requests](./ad-blocking-tasks.md)
* [Load GPT and bids in parallel](./gpt-bids-parallel.md)

## More information

Expand Down
4 changes: 2 additions & 2 deletions docs/audits/first-ad-render.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ identify areas for improvement and track that improvement over time.

The goal here is to reduce the time it takes for the first ad to be rendered.
Ensuring that other, more specific audits are passing should have a major impact
on this metric. In particular, audits affecting [tag load time](./tag-load-time)
and [latency of first ad request (from tag load)](./ad-request-from-tag-load)
on this metric. In particular, audits affecting [tag load time](./tag-load-time.md)
and [latency of first ad request (from tag load)](./ad-request-from-tag-load.md)
are likely to affect this metric.

## More information
Expand Down
2 changes: 1 addition & 1 deletion docs/audits/loads-ad-tag-over-https.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Ensures that ad tag library scripts are being requested securely. This not only
provides better security for your users, it also improves performance. Since ad
requests issued by GPT always use HTTPS, loading the library itself from the
[recommended host](./loads-gpt-from-sgdn) via HTTPS ensures that the browser
[recommended host](./loads-gpt-from-sgdn.md) via HTTPS ensures that the browser
only needs to open 1 connection for all requests related to ad serving.


Expand Down
10 changes: 5 additions & 5 deletions docs/audits/tag-load-time.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ load. Ensuring that other, more specific audits are passing should have a major
impact on this metric. In particular, the following audits are likely to affect
this time:

* [Ad request waterfall](./ad-request-critical-path)
* [Avoid render-blocking resources](./ad-render-blocking-resources)
* [Load ad scripts statically](./script-injected-tags)
* [Load ad tag asynchronously](./async-ad-tags)
* [Load GPT from recommended host](./loads-gpt-from-sgdn)
* [Ad request waterfall](./ad-request-critical-path.md)
* [Avoid render-blocking resources](./ad-render-blocking-resources.md)
* [Load ad scripts statically](./script-injected-tags.md)
* [Load ad tag asynchronously](./async-ad-tags.md)
* [Load GPT from recommended host](./loads-gpt-from-sgdn.md)

## More information

Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ async function main() {
}

// @ts-ignore let LH handle the CLI
await require('lighthouse/lighthouse-cli/bin').begin();
await require('lighthouse/lighthouse-cli/bin.js').begin();
}

if (require.main == module) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// limitations under the License.

const AdRequestTime = require('../computed/ad-request-time');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const LongTasks = require('../computed/long-tasks');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
// @ts-ignore
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {computeAdRequestWaterfall} = require('../utils/graph');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

const ComputedAdRequestTime = require('../computed/ad-request-time');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const {auditNotApplicable, runWarning} = require('../messages/common-strings');
const {Audit} = require('lighthouse');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

const ComputedAdRequestTime = require('../computed/ad-request-time');
const ComputedTagLoadTime = require('../computed/tag-load-time');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {isAdIframe} = require('../utils/resource-classification');
Expand Down
2 changes: 1 addition & 1 deletion lighthouse-plugin-publisher-ads/audits/ads-in-viewport.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const {isBoxInViewport} = require('../utils/geometry');
const {isGptIframe} = require('../utils/resource-classification');

Expand Down
6 changes: 3 additions & 3 deletions lighthouse-plugin-publisher-ads/audits/async-ad-tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
// limitations under the License.

const array = require('../utils/array.js');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
// @ts-ignore
const MainResource = require('lighthouse/lighthouse-core/computed/main-resource');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const MainResource = require('lighthouse/lighthouse-core/computed/main-resource.js');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {isAdTag, isStaticRequest} = require('../utils/resource-classification');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

const ComputedBidRequestTime = require('../computed/bid-request-time');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
// @ts-ignore
const TraceOfTab = require('lighthouse/lighthouse-core/computed/trace-of-tab');
const TraceOfTab = require('lighthouse/lighthouse-core/computed/trace-of-tab.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {computeAdRequestWaterfall} = require('../utils/graph');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {computeAdRequestWaterfall} = require('../utils/graph');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {getScriptUrl} = require('../utils/network-timing');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {isGpt, isGptImplTag} = require('../utils/resource-classification');
Expand Down
8 changes: 4 additions & 4 deletions lighthouse-plugin-publisher-ads/audits/duplicate-tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
// @ts-ignore
const MainResource = require('lighthouse/lighthouse-core/computed/main-resource');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const NetworkRequest = require('lighthouse/lighthouse-core/lib/network-request');
const MainResource = require('lighthouse/lighthouse-core/computed/main-resource.js');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
const NetworkRequest = require('lighthouse/lighthouse-core/lib/network-request.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {containsAnySubstring} = require('../utils/resource-classification');
Expand Down
2 changes: 1 addition & 1 deletion lighthouse-plugin-publisher-ads/audits/first-ad-render.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

const ComputedAdRenderTime = require('../computed/ad-render-time');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const {auditNotApplicable, runWarning} = require('../messages/common-strings');
const {Audit} = require('lighthouse');

Expand Down
4 changes: 2 additions & 2 deletions lighthouse-plugin-publisher-ads/audits/full-width-slots.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {isAdRequest} = require('../utils/resource-classification');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
const {assert} = require('../utils/asserts');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
Expand Down
4 changes: 2 additions & 2 deletions lighthouse-plugin-publisher-ads/audits/gpt-errors-overall.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {isGpt, isGptImplTag} = require('../utils/resource-classification');
Expand Down
8 changes: 4 additions & 4 deletions lighthouse-plugin-publisher-ads/audits/idle-network-times.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const MainThreadTasks = require('lighthouse/lighthouse-core/computed/main-thread-tasks');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const MainThreadTasks = require('lighthouse/lighthouse-core/computed/main-thread-tasks.js');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
// @ts-ignore
const TraceOfTab = require('lighthouse/lighthouse-core/computed/trace-of-tab');
const TraceOfTab = require('lighthouse/lighthouse-core/computed/trace-of-tab.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {computeAdRequestWaterfall} = require('../utils/graph');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {isAdTag} = require('../utils/resource-classification');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {isGptTag} = require('../utils/resource-classification');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// limitations under the License.

const array = require('../utils/array.js');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const PageDependencyGraph = require('lighthouse/lighthouse-core/computed/page-dependency-graph');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const PageDependencyGraph = require('lighthouse/lighthouse-core/computed/page-dependency-graph.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {computeAdRequestWaterfall} = require('../utils/graph');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
// limitations under the License.

const ComputedAdRequestTime = require('../computed/ad-request-time');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
// @ts-ignore
const MainResource = require('lighthouse/lighthouse-core/computed/main-resource');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const MainResource = require('lighthouse/lighthouse-core/computed/main-resource.js');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {bucket} = require('../utils/array');
Expand Down
2 changes: 1 addition & 1 deletion lighthouse-plugin-publisher-ads/audits/tag-load-time.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// limitations under the License.

const ComputedTagLoadTime = require('../computed/tag-load-time');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const {auditNotApplicable, runWarning} = require('../messages/common-strings');
const {Audit} = require('lighthouse');

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const LongTasks = require('../computed/long-tasks');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records');
const NetworkRecords = require('lighthouse/lighthouse-core/computed/network-records.js');
const {auditNotApplicable} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {getAttributableUrl} = require('../utils/tasks');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n');
const i18n = require('lighthouse/lighthouse-core/lib/i18n/i18n.js');
const {auditNotApplicable, auditError} = require('../messages/common-strings');
const {Audit} = require('lighthouse');
const {isAdIframe} = require('../utils/resource-classification');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const BaseNode = require('lighthouse/lighthouse-core/lib/dependency-graph/base-n
// eslint-disable-next-line no-unused-vars
const CpuNode = require('lighthouse/lighthouse-core/lib/dependency-graph/cpu-node.js');
// @ts-ignore Remove request() below after importing the type.
const LanternMetric = require('lighthouse/lighthouse-core/computed/metrics/lantern-metric');
const LanternMetric = require('lighthouse/lighthouse-core/computed/metrics/lantern-metric.js');
// eslint-disable-next-line no-unused-vars
const NetworkNode = require('lighthouse/lighthouse-core/lib/dependency-graph/network-node.js');
const {isBidRelatedRequest, isImpressionPing, isGoogleAds, isGptAdRequest, isGptTag, isGptImplTag, toURL} = require('../utils/resource-classification');
Expand Down