Skip to content

Commit a3465a3

Browse files
authored
Update all Yarn dependencies (2025-12-10) (#5711)
2 parents b0614b5 + fcee2c8 commit a3465a3

File tree

7 files changed

+52
-43
lines changed

7 files changed

+52
-43
lines changed

docs-developer/call-tree.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ One key point of the aggregation done in the call tree is that it's focused on w
6767

6868
Imagine this simplified example of 3 samples of mixed C++, JavaScript Code (js), and JIT optimized JavaScript (JIT). The functions are all labeled as to their implementation.
6969

70-
| Sample index | Sample's stack |
71-
| ------------ | ---------------------------------------------------------------------------------------------- |
72-
| 0 | `JS::RunScript [c++] ➡ onLoad [js] ➡ a [js] ➡ b [js]` |
70+
| Sample index | Sample's stack |
71+
| ------------ | ------------------------------------------------------------------------------------------ |
72+
| 0 | `JS::RunScript [c++] ➡ onLoad [js] ➡ a [js] ➡ b [js]` |
7373
| 1 | `JS::RunScript [c++] ➡ onLoad [js] ➡ js::jit::IonCannon [c++] ➡ a [JIT] ➡ b [JIT]` |
7474
| 2 | `JS::RunScript [c++] ➡ onLoad [js] ➡ js::jit::IonCannon [c++] ➡ a [JIT] ➡ b [JIT]` |
7575

@@ -113,8 +113,8 @@ Now, taking the stacks and building a call tree produces the following:
113113

114114
This is the correct tree of what you would want to see. But since we are mixing languages together into the same stack system, it might be nice to view only JS functions. In order to do that we hide any C++ stacks, and assign them to the nearest JS stack. Our tables would be updated to look like the following.
115115

116-
| Sample index | Sample's stack |
117-
| ------------ | --------------------------------------- |
116+
| Sample index | Sample's stack |
117+
| ------------ | ------------------------------------- |
118118
| 0 | `onLoad [js] ➡ a [js] ➡ b [js]` |
119119
| 1 | `onLoad [js] ➡ a [JIT] ➡ b [JIT]` |
120120
| 2 | `onLoad [js] ➡ a [JIT] ➡ b [JIT]` |

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
"@types/common-tags": "^1.8.4",
125125
"@types/jest": "^30.0.0",
126126
"@types/minimist": "^1.2.5",
127-
"@types/node": "^22.19.1",
127+
"@types/node": "^22.19.2",
128128
"@types/query-string": "^6.3.0",
129129
"@types/react": "^18.3.27",
130130
"@types/react-dom": "^18.3.1",
@@ -151,7 +151,7 @@
151151
"eslint-config-prettier": "^10.1.8",
152152
"eslint-import-resolver-alias": "^1.1.2",
153153
"eslint-plugin-import": "^2.32.0",
154-
"eslint-plugin-jest": "^29.1.0",
154+
"eslint-plugin-jest": "^29.2.1",
155155
"eslint-plugin-jest-dom": "^5.5.0",
156156
"eslint-plugin-jest-formatting": "^3.1.0",
157157
"eslint-plugin-react": "^7.37.5",
@@ -175,7 +175,7 @@
175175
"postcss": "^8.5.6",
176176
"postcss-loader": "^8.2.0",
177177
"postinstall-postinstall": "^2.1.0",
178-
"prettier": "^3.6.2",
178+
"prettier": "^3.7.4",
179179
"rimraf": "^6.1.2",
180180
"style-loader": "^4.0.0",
181181
"stylelint": "^16.26.1",

src/components/app/ProfileLoaderAnimation.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ class ProfileLoaderAnimationImpl extends PureComponent<ProfileLoaderAnimationPro
6060
const showLoader = Boolean(loadingMessage);
6161
const showBackHomeLink = Boolean(
6262
'additionalData' in view &&
63-
view.additionalData &&
64-
view.additionalData.message &&
65-
dataSource === 'from-file'
63+
view.additionalData &&
64+
view.additionalData.message &&
65+
dataSource === 'from-file'
6666
);
6767

6868
return (

src/profile-logic/process-profile.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1989,9 +1989,8 @@ export async function unserializeProfileOfArbitraryFormat(
19891989
if (isArtTraceFormat(profileBytes)) {
19901990
arbitraryFormat = convertArtTraceProfile(profileBytes);
19911991
} else if (verifyMagic(SIMPLEPERF_MAGIC, profileBytes)) {
1992-
const { convertSimpleperfTraceProfile } = await import(
1993-
'./import/simpleperf'
1994-
);
1992+
const { convertSimpleperfTraceProfile } =
1993+
await import('./import/simpleperf');
19951994
arbitraryFormat = convertSimpleperfTraceProfile(profileBytes);
19961995
} else {
19971996
try {

src/types/gecko-profile.ts

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -140,9 +140,11 @@ export type GeckoSamples = {
140140
// milliseconds since the last event was processed in this
141141
// thread's event loop at the time that the sample was taken
142142
Milliseconds,
143-
// CPU usage value of the current thread.
144-
// It's present only when the CPU Utilization feature is enabled in Firefox.
145-
number | null,
143+
(
144+
// CPU usage value of the current thread.
145+
// It's present only when the CPU Utilization feature is enabled in Firefox.
146+
number | null
147+
),
146148
]
147149
>;
148150
};
@@ -206,19 +208,29 @@ export type GeckoFrameTable = {
206208
IndexIntoStringTable,
207209
// for label frames, whether this frame should be shown in "JS only" stacks
208210
boolean,
209-
// innerWindowID of JS frames. See the comment inside FrameTable in src/types/profile.js
210-
// for more information.
211-
null | number,
211+
(
212+
// innerWindowID of JS frames. See the comment inside FrameTable in src/types/profile.js
213+
// for more information.
214+
null | number
215+
),
212216
// for JS frames, an index into the string table, usually "Baseline" or "Ion"
213217
null | IndexIntoStringTable,
214-
// The line of code
215-
null | number,
216-
// The column of code
217-
null | number,
218-
// index into profile.meta.categories
219-
null | number,
220-
// index into profile.meta.categories[category].subcategories. Always non-null if category is non-null.
221-
null | number,
218+
(
219+
// The line of code
220+
null | number
221+
),
222+
(
223+
// The column of code
224+
null | number
225+
),
226+
(
227+
// index into profile.meta.categories
228+
null | number
229+
),
230+
(
231+
// index into profile.meta.categories[category].subcategories. Always non-null if category is non-null.
232+
null | number
233+
),
222234
]
223235
>;
224236
};

src/utils/query-api.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,7 @@ export interface ExternalCommunicationCallbacks {
120120
*
121121
* It also takes an object with callbacks, for loading indicators.
122122
*/
123-
export class RegularExternalCommunicationDelegate
124-
implements ExternalCommunicationDelegate
125-
{
123+
export class RegularExternalCommunicationDelegate implements ExternalCommunicationDelegate {
126124
_browserConnection: BrowserConnection | null;
127125
_callbacks: ExternalCommunicationCallbacks;
128126

yarn.lock

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2338,10 +2338,10 @@
23382338
dependencies:
23392339
"@types/node" "*"
23402340

2341-
"@types/node@*", "@types/node@>=13.7.0", "@types/node@^22.19.1":
2342-
version "22.19.1"
2343-
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.19.1.tgz#1188f1ddc9f46b4cc3aec76749050b4e1f459b7b"
2344-
integrity sha512-LCCV0HdSZZZb34qifBsyWlUmok6W7ouER+oQIGBScS8EsZsQbrtFTUrDX4hOl+CS6p7cnNC4td+qrSVGSCTUfQ==
2341+
"@types/node@*", "@types/node@>=13.7.0", "@types/node@^22.19.2":
2342+
version "22.19.2"
2343+
resolved "https://registry.yarnpkg.com/@types/node/-/node-22.19.2.tgz#2f0956fba46518aaf7578c84e37bddab55f85d01"
2344+
integrity sha512-LPM2G3Syo1GLzXLGJAKdqoU35XvrWzGJ21/7sgZTUpbkBaOasTj8tjwn6w+hCkqaa1TfJ/w67rJSwYItlJ2mYw==
23452345
dependencies:
23462346
undici-types "~6.21.0"
23472347

@@ -5083,10 +5083,10 @@ eslint-plugin-jest-formatting@^3.1.0:
50835083
resolved "https://registry.yarnpkg.com/eslint-plugin-jest-formatting/-/eslint-plugin-jest-formatting-3.1.0.tgz#b26dd5a40f432b642dcc880021a771bb1c93dcd2"
50845084
integrity sha512-XyysraZ1JSgGbLSDxjj5HzKKh0glgWf+7CkqxbTqb7zEhW7X2WHo5SBQ8cGhnszKN+2Lj3/oevBlHNbHezoc/A==
50855085

5086-
eslint-plugin-jest@^29.1.0:
5087-
version "29.1.0"
5088-
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-29.1.0.tgz#ba59f94bb303fe72417d54232842148f305ab6be"
5089-
integrity sha512-LabxXbASXVjguqL+kBHTPMf3gUeSqwH4fsrEyHTY/MCs42I/p9+ctg09SJpYiD8eGaIsP6GwYr5xW6xWS9XgZg==
5086+
eslint-plugin-jest@^29.2.1:
5087+
version "29.2.1"
5088+
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-29.2.1.tgz#e56c5f79b6475dafa551ce8e762ac25d4bd21ea4"
5089+
integrity sha512-0WLIezrIxitUGbjMIGwznVzSIp0uFJV0PZ2fiSvpyVcxe+QMXKUt7MRhUpzdbctnnLwiOTOFkACplgB0wAglFw==
50905090
dependencies:
50915091
"@typescript-eslint/utils" "^8.0.0"
50925092

@@ -10197,10 +10197,10 @@ prelude-ls@^1.2.1:
1019710197
resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396"
1019810198
integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==
1019910199

10200-
prettier@^3.6.2:
10201-
version "3.6.2"
10202-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.6.2.tgz#ccda02a1003ebbb2bfda6f83a074978f608b9393"
10203-
integrity sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==
10200+
prettier@^3.7.4:
10201+
version "3.7.4"
10202+
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.7.4.tgz#d2f8335d4b1cec47e1c8098645411b0c9dff9c0f"
10203+
integrity sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==
1020410204

1020510205
pretty-bytes@^5.3.0:
1020610206
version "5.6.0"

0 commit comments

Comments
 (0)