From 75876050d7f18ef1112a7f55b765fed85e3f2a86 Mon Sep 17 00:00:00 2001 From: Adam Raine <6752989+adamraine@users.noreply.github.com> Date: Thu, 20 Jul 2023 14:20:45 -0700 Subject: [PATCH] deps: upgrade `lighthouse-logger` to 2.0.1 (#15282) --- package.json | 2 +- types/internal/lighthouse-logger.d.ts | 34 --------------------------- yarn.lock | 8 ------- 3 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 types/internal/lighthouse-logger.d.ts diff --git a/package.json b/package.json index 7af4479e29d0..4fc00411ca69 100644 --- a/package.json +++ b/package.json @@ -190,7 +190,7 @@ "intl-messageformat": "^4.4.0", "jpeg-js": "^0.4.4", "js-library-detector": "^6.6.0", - "lighthouse-logger": "^1.4.1", + "lighthouse-logger": "^2.0.1", "lighthouse-stack-packs": "1.11.0", "lodash": "^4.17.21", "lookup-closest-locale": "6.2.0", diff --git a/types/internal/lighthouse-logger.d.ts b/types/internal/lighthouse-logger.d.ts deleted file mode 100644 index b6da58692e56..000000000000 --- a/types/internal/lighthouse-logger.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -/** - * @license Copyright 2017 The Lighthouse Authors. All Rights Reserved. - * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 - * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - */ - -declare module 'lighthouse-logger' { - interface Status { - msg: string; - id: string; - args?: any[]; - } - export function setLevel(level: string): void; - export function isVerbose(): boolean; - export function formatProtocol(prefix: string, data: Object, level?: string): void; - export function log(title: string, ...args: any[]): void; - export function warn(title: string, ...args: any[]): void; - export function error(title: string, ...args: any[]): void; - export function verbose(title: string, ...args: any[]): void; - export function time(status: Status, level?: string): void; - export function timeEnd(status: Status, level?: string): void; - export function reset(): string; - export const cross: string; - export const dim: string; - export const tick: string; - export const bold: string; - export const purple: string; - export function redify(message: any): string; - export function greenify(message: any): string; - /** Retrieves and clears all stored time entries */ - export function takeTimeEntries(): PerformanceEntry[]; - export function getTimeEntries(): PerformanceEntry[]; - export const events: import('events').EventEmitter; -} diff --git a/yarn.lock b/yarn.lock index b78c49fd9119..d8571de2012f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4938,14 +4938,6 @@ lie@~3.3.0: dependencies: immediate "~3.0.5" -lighthouse-logger@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/lighthouse-logger/-/lighthouse-logger-1.4.1.tgz#a076d7be80cbac16b9fdcd930379b03fff514699" - integrity sha512-VDZF31xGrLS1Zyf79/Xs6J9I08EVgJyz085MAt0G3Sh6nARFSUaM+IkuEZE9xZrLpTtzH1Qt9UzH/7kt9LnhZQ== - dependencies: - debug "^2.6.9" - marky "^1.2.2" - lighthouse-logger@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/lighthouse-logger/-/lighthouse-logger-2.0.1.tgz#48895f639b61cca89346bb6f47f7403a3895fa02"