Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion build/build-treemap.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ async function main() {
javascripts: [
buildStrings(),
{path: require.resolve('idb-keyval/dist/idb-keyval-min.js')},
{path: require.resolve('event-target-shim/umd')},
{path: require.resolve('webtreemap-cdt')},
{path: require.resolve('pako/dist/pako_inflate.js')},
{path: 'src/main.js', esbuild: true},
Expand Down
2 changes: 0 additions & 2 deletions cli/test/fixtures/static-server-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

import fs from 'fs';

import fetch from 'node-fetch';

import {Server} from './static-server.js';

describe('Server', () => {
Expand Down
2 changes: 0 additions & 2 deletions core/scripts/internal-analysis/download-issues.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@
import fs from 'fs';
import path from 'path';

import fetch from 'node-fetch';

import {LH_ROOT} from '../../../shared/root.js';

const DAY_FILTER = 90;
Expand Down
2 changes: 0 additions & 2 deletions core/scripts/lantern/collect/collect.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ import fs from 'fs';
import {execFile} from 'child_process';
import {promisify} from 'util';

import fetch from 'node-fetch';

import defaultTestUrls from './urls.js';
import * as common from './common.js';
import {LH_ROOT} from '../../../../shared/root.js';
Expand Down
2 changes: 0 additions & 2 deletions core/scripts/print-contributors.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

import {execFileSync} from 'child_process';

import fetch from 'node-fetch';

const startingHash = process.argv[2];
const endingHash = process.argv[3];

Expand Down
1 change: 0 additions & 1 deletion docs/puppeteer.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ Puppeteer can reconnect to this existing browser instance like so:
import chromeLauncher from 'chrome-launcher';
import puppeteer from 'puppeteer';
import lighthouse from 'lighthouse';
import fetch from 'node-fetch';

const url = 'https://chromestatus.com/features';

Expand Down
21 changes: 7 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
"scripts": {
"prepack": "yarn build-report --standalone --flow --esm && yarn build-types",
"postpack": "yarn clean-types",
"build-all": "npm-run-posix-or-windows build-all:task",
"build-all:task": "yarn build-report && yarn build-cdt-strings && yarn build-devtools && concurrently 'yarn build-extension' 'yarn build-lr' 'yarn build-viewer' 'yarn build-treemap' 'yarn build-smokehouse-bundle' 'yarn build-legacy-javascript' && yarn build-pack",
"build-all:task:windows": "yarn build-report && yarn build-cdt-strings && yarn build-extension && yarn build-devtools && yarn build-lr && yarn build-viewer && yarn build-treemap && yarn build-smokehouse-bundle && yarn build-legacy-javascript",
"build-all": "yarn build-report && yarn build-cdt-strings && yarn build-devtools && concurrently 'yarn build-extension' 'yarn build-lr' 'yarn build-viewer' 'yarn build-treemap' 'yarn build-smokehouse-bundle' 'yarn build-legacy-javascript' && yarn build-pack",
"build-cdt-lib": "node ./build/build-cdt-lib.js",
"build-cdt-strings": "node ./build/build-cdt-strings.js",
"build-extension": "yarn build-extension-chrome && yarn build-extension-firefox",
Expand Down Expand Up @@ -138,17 +136,16 @@
"@typescript-eslint/parser": "^8.34.0",
"acorn": "^8.5.0",
"angular": "^1.7.4",
"archiver": "^3.0.0",
"archiver": "^7.0.1",
"builtin-modules": "^3.3.0",
"c8": "^7.11.3",
"chalk": "^2.4.1",
"chrome-devtools-frontend": "1.0.1473514",
"colors": "^1.4.0",
"concurrently": "^6.4.0",
"concurrently": "^9.2.1",
"conventional-changelog-cli": "^2.1.1",
"core-js-compat": "^3.44.0",
"cpy": "^8.1.2",
"cross-env": "^7.0.2",
"csv-validator": "^0.0.3",
"es-main": "^1.2.0",
"esbuild": "0.19.11",
Expand All @@ -157,7 +154,6 @@
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-local-rules": "1.1.0",
"event-target-shim": "^6.0.2",
"expect": "^28.1.0",
"firebase": "^9.0.2",
"gh-pages": "^2.0.1",
Expand All @@ -167,23 +163,20 @@
"jest-mock": "^29.7.0",
"jest-snapshot": "^29.7.0",
"jsdom": "^12.2.0",
"lighthouse-plugin-soft-navigation": "^1.0.1",
"lighthouse-plugin-soft-navigation": "^1.1.0",
"magic-string": "^0.25.7",
"mime-types": "^2.1.30",
"mocha": "^10.0.0",
"node-fetch": "^2.6.1",
"npm-run-posix-or-windows": "^2.0.2",
"pako": "^2.0.3",
"pako": "^2.1.0",
"preact": "^10.7.2",
"pretty-json-stringify": "^0.0.2",
"puppeteer": "^24.10.2",
"resolve": "^1.22.1",
"rollup": "^2.52.7",
"resolve": "^1.22.10",
"rollup-plugin-polyfill-node": "^0.12.0",
"source-map-support": "^0.5.21",
"terser": "^5.18.2",
"testdouble": "^3.18.0",
"typed-query-selector": "^2.11.2",
"typed-query-selector": "^2.12.0",
"typescript": "5.8.2",
"wait-for-expect": "^3.0.2",
"webtreemap-cdt": "^3.2.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
'use strict';

import fs from 'fs';
import fetch from 'node-fetch';
import { LH_ROOT } from '../../shared/root.js';

const inspectorIssuesGathererPath = LH_ROOT +
Expand Down
4 changes: 0 additions & 4 deletions types/internal/node-fetch.d.ts

This file was deleted.

Loading
Loading