Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies & Node version #61

Merged
merged 5 commits into from
Aug 15, 2023
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
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
18
2 changes: 1 addition & 1 deletion cli/commands/benchmark-web-vitals.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export async function handler( opt ) {
const { number: amount } = opt;
const results = [];

const browser = await puppeteer.launch();
const browser = await puppeteer.launch( { headless: 'new' } );

for await ( const url of getURLs( opt ) ) {
const { completeRequests, metrics } = await benchmarkURL( browser, {
Expand Down
2 changes: 1 addition & 1 deletion cli/lib/cli/logger.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const log = console.log; // eslint-disable-line no-console
export const formats = {
title: chalk.bold,
error: chalk.bold.red,
warning: chalk.bold.keyword( 'orange' ),
warning: chalk.bold.hex( '#FFA500' ),
success: chalk.bold.green,
};

Expand Down
5 changes: 0 additions & 5 deletions cli/lib/util/fetch.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,6 @@
* limitations under the License.
*/

/**
* External dependencies
*/
import fetch from 'node-fetch';

/**
* Internal dependencies
*/
Expand Down
Loading
Loading