Skip to content

Commit 44d66da

Browse files
Lightning00BladeDevtools-frontend LUCI CQ
authored andcommitted
Bump node_modules versions
Updates all the packages to newer versions and fixes breaking changes. Everything until patch 4 (include) is the changes need for this. Patch 5 includes the changes to node_modules. Fixed: 449017396 Change-Id: I29d16541cb4ca32e11fa3e406efb307a2d55c42b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/7016612 Reviewed-by: Alex Rudenko <[email protected]> Commit-Queue: Nikolay Vitkov <[email protected]>
1 parent f7ffadd commit 44d66da

File tree

3,165 files changed

+163739
-107801
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

3,165 files changed

+163739
-107801
lines changed

extensions/cxx_debugging/src/ModuleConfiguration.ts

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ import {globMatch} from './GlobMatch.js';
1212
* is found in LLDB.
1313
*/
1414
export interface PathSubstitution {
15-
readonly from: string; readonly to: string;
15+
readonly from: string;
16+
readonly to: string;
1617
}
1718

1819
/**
19-
* List of {@type PathSubstitution}s.
20+
* List of {@link PathSubstitution | PathSubstitutions}.
2021
*/
2122
export type PathSubstitutions = readonly PathSubstitution[];
2223

@@ -28,10 +29,10 @@ export type PathSubstitutions = readonly PathSubstitution[];
2829
* LLDB frontend in `PathMappingList::RemapPath()` inside `Target/PathMappingList.cpp`
2930
* (http://cs/github/llvm/llvm-project/lldb/source/Target/PathMappingList.cpp?l=157-185).
3031
*
31-
* @param pathSubstitutions possible substitutions to apply to the {@param sourcePath}, applies the first match.
32+
* @param pathSubstitutions possible substitutions to apply to the `sourcePath`, applies the first match.
3233
* @param sourcePath the source path as found in the debugging information.
3334
* @param baseURL the URL of the WebAssembly module, which is used to resolve relative source paths.
34-
* @returns an absolute `file:`-URI or a URL relative to the {@param baseURL}.
35+
* @returns an absolute `file:`-URI or a URL relative to the `baseURL`.
3536
*/
3637
export function resolveSourcePathToURL(pathSubstitutions: PathSubstitutions, sourcePath: string, baseURL: URL): URL {
3738
// Normalize '\' to '/' in sourcePath first.
@@ -74,15 +75,16 @@ export function resolveSourcePathToURL(pathSubstitutions: PathSubstitutions, sou
7475
* If the name is `undefined`, the configuration is the default configuration,
7576
* which is chosen if there's no named configuration matching the basename of
7677
* the WebAssembly module file.
77-
* The name can be a wildcard pattern, and {@see globMatch} will be used to
78+
* The name can be a wildcard pattern, and {@link globMatch} will be used to
7879
* match the name against the URL of the WebAssembly module file.
7980
*/
8081
export interface ModuleConfiguration {
81-
readonly name?: string; readonly pathSubstitutions: PathSubstitutions;
82+
readonly name?: string;
83+
readonly pathSubstitutions: PathSubstitutions;
8284
}
8385

8486
/**
85-
* List of {@type ModuleConfiguration}s. These lists are intended to have
87+
* List of {@link ModuleConfiguration | ModuleConfigurations}. These lists are intended to have
8688
* a default configuration, whose name field is `undefined`, which is chosen
8789
* when no matching named configuration is found.
8890
*/

front_end/BUILD.gn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ group("web_test_resources") {
5555
node_action("devtools_json") {
5656
inputs = []
5757

58-
script = "scripts/build/generate_devtools_json.js"
58+
script = "scripts/build/generate_devtools_json.mjs"
5959

6060
args = [ rebase_path(
6161
"$target_gen_dir/.well-known/appspecific/com.chrome.devtools.json",

front_end/core/common/Settings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export class Settings {
131131
* to store UI state such as how a user choses to position a split widget or
132132
* which panel they last opened.
133133
* If you are creating a setting that you expect the user to control, and
134-
* sync, prefer {@see createSetting}
134+
* sync, prefer {@link Settings.createSetting}
135135
*/
136136
// eslint-disable-next-line @typescript-eslint/no-explicit-any
137137
moduleSetting<T = any>(settingName: string): Setting<T> {

front_end/models/trace/handlers/UserTimingsHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function getEventTrack(event: Types.Events.SyntheticEventPair|Types.Events.Conso
151151
}
152152

153153
/**
154-
* Similar to the default {@see Helpers.Trace.eventTimeComparator}
154+
* Similar to the default {@link Helpers.Trace.eventTimeComparator}
155155
* but with a twist:
156156
* In case of equal start and end times, put the second event (within a
157157
* track) first.

front_end/panels/timeline/TimelinePanel.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ let isNode: boolean;
310310

311311
/**
312312
* Represents the states that the timeline panel can be in.
313-
* If you need to change the panel's view, use the {@see #changeView} method.
313+
* If you need to change the panel's view, use the {@link TimelinePanel.#changeView} method.
314314
* Note that we do not represent the "Loading/Processing" view here. The
315315
* StatusPane is managed in the code that handles file import/recording, and
316316
* when it is visible it is rendered on top of the UI so obscures what is behind
@@ -787,8 +787,8 @@ export class TimelinePanel extends Common.ObjectWrapper.eventMixin<EventTypes, t
787787
}
788788

789789
/**
790-
* Determine if two view modes are equivalent. Useful because if {@see
791-
* #changeView} gets called and the new mode is identical to the current,
790+
* Determine if two view modes are equivalent. Useful because if
791+
* {@link TimelinePanel.#changeView} gets called and the new mode is identical to the current,
792792
* we can bail without doing any UI updates.
793793
*/
794794
#viewModesEquivalent(m1: ViewMode, m2: ViewMode): boolean {
@@ -2087,14 +2087,14 @@ export class TimelinePanel extends Common.ObjectWrapper.eventMixin<EventTypes, t
20872087

20882088
/**
20892089
* Called when we update the active trace that is being shown to the user.
2090-
* This is called from {@see changeView} when we change the UI to show a
2090+
* This is called from {@link TimelinePanel.#changeView} when we change the UI to show a
20912091
* trace - either one the user has just recorded/imported, or one they have
20922092
* navigated to via the dropdown.
20932093
*
20942094
* If you need code to execute whenever the active trace changes, this is the method to use.
2095-
* If you need code to execute ONLY ON NEW TRACES, then use {@see loadingComplete}
2095+
* If you need code to execute ONLY ON NEW TRACES, then use {@link TimelinePanel.loadingComplete}
20962096
* You should not call this method directly if you want the UI to update; use
2097-
* {@see changeView} to control what is shown to the user.
2097+
* {@link TimelinePanel.#changeView} to control what is shown to the user.
20982098
*/
20992099
#setModelForActiveTrace(): void {
21002100
if (this.#viewMode.mode !== 'VIEWING_TRACE') {

front_end/ui/legacy/components/perf_ui/FlameChart.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import {TimelineGrid} from './TimelineGrid.js';
2323
/**
2424
* Set as the `details` value on the fake context menu event we dispatch to
2525
* trigger a context menu on an event on a keyboard space key press.
26-
* {@see onContextMenu} for more details and explanation.
26+
* {@link FlameChart.onContextMenu} for more details and explanation.
2727
*/
2828
const KEYBOARD_FAKED_CONTEXT_MENU_DETAIL = -1;
2929

@@ -2347,7 +2347,7 @@ export class FlameChart extends Common.ObjectWrapper.eventMixin<EventTypes, type
23472347
}
23482348

23492349
/**
2350-
* Draws decorations onto events. {@see FlameChartDecoration}.
2350+
* Draws decorations onto events. {@link FlameChartDecoration}.
23512351
*/
23522352
#drawDecorations(context: CanvasRenderingContext2D, timelineData: FlameChartTimelineData, indexes: number[]): void {
23532353
const {entryTotalTimes, entryStartTimes, entryLevels} = timelineData;

node_modules/.bin/uuid

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)