-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
misc: drop support for Node before 10.13 (LTS) #8117
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,12 +8,6 @@ import _Crdp from 'devtools-protocol/types/protocol'; | |
import _CrdpMappings from 'devtools-protocol/types/protocol-mapping' | ||
|
||
declare global { | ||
// Augment global Error type to include node's optional `code` property | ||
// see https://nodejs.org/api/errors.html#errors_error_code | ||
interface Error { | ||
code?: string; | ||
} | ||
|
||
// Augment Intl to include | ||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales | ||
namespace Intl { | ||
|
@@ -202,10 +196,6 @@ declare global { | |
group: string; | ||
} | ||
|
||
export interface LighthouseError extends Error { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. might have been nice to just export our class as this type so we could easily reference it as There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah, I'd like to add this to our public types (when those actually exist :) |
||
friendlyMessage?: string; | ||
} | ||
|
||
/** | ||
* A record of DevTools Debugging Protocol events. | ||
*/ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
even though we can do this now, I think we like the one trace event per line format, so it made sense to drop the old comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we love it