Skip to content
This repository was archived by the owner on Jul 30, 2024. It is now read-only.

Drop those deprecated in Node.js v8 #172

Merged
merged 1 commit into from
Feb 22, 2020
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,6 @@ class Console protected () extends js.Object {
*/
def warn(message: js.Any, optionalParams: js.Any*): Unit = js.native

/**
* This method does not display anything unless used in the inspector.
*
* The `console.markTimeline()` method is the deprecated form of [[timeStamp()]].
* @param label
*/
@deprecated("Use timeStamp instead", "NodeJS 8.0.0")
def markTimeline(label: String = js.native): Unit = js.native

/**
* This method does not display anything unless used in the inspector.
* The `console.profile()` method starts a JavaScript CPU profile with an optional label until [[profileEnd()]] is called.
Expand All @@ -205,20 +196,6 @@ class Console protected () extends js.Object {
* The `console.timeStamp()` method adds an event with the label `'label'` to the **Timeline** panel of the inspector.
*/
def timeStamp(label: String = js.native): Unit = js.native

/**
* This method does not display anything unless used in the inspector.
* The `console.timeline()` method is the deprecated form of [[time()]].
*/
@deprecated("Use time instead", "NodeJS 8.0.0")
def timeline(label: String = js.native): Unit = js.native

/**
* This method does not display anything unless used in the inspector.
* The `console.timelineEnd()` method is the deprecated form of [[timeEnd()]].
*/
@deprecated("Use time instead", "NodeJS 8.0.0")
def timelineEnd(label: String = js.native): Unit = js.native
}

/**
Expand Down