Skip to content
This repository was archived by the owner on Jan 11, 2023. It is now read-only.

Commit a5305d5

Browse files
nchevobbejasonLaster
authored andcommitted
Update devtools-reps to 0.20.0 (#5469)
1 parent 61a9bb5 commit a5305d5

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"codemirror": "^5.28.0",
7373
"devtools-launchpad": "^0.0.115",
7474
"devtools-linters": "^0.0.4",
75-
"devtools-reps": "^0.19.2",
75+
"devtools-reps": "^0.20.0",
7676
"devtools-source-map": "^0.14.8",
7777
"devtools-splitter": "^0.0.6",
7878
"devtools-utils": "^0.0.11",

src/test/mochitest/browser_dbg-babel.js

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,11 @@ async function assertScopes(dbg, items) {
7272
for (const [i, val] of items.entries()) {
7373
if (Array.isArray(val)) {
7474
is(getScopeLabel(dbg, i + 1), val[0]);
75-
is(getScopeValue(dbg, i + 1), val[1]);
75+
is(
76+
getScopeValue(dbg, i + 1),
77+
val[1],
78+
`"${val[0]}" has the expected "${val[1]}" value`
79+
);
7680
} else {
7781
is(getScopeLabel(dbg, i + 1), val);
7882
}
@@ -140,7 +144,7 @@ add_task(async function() {
140144
{ line: 8, column: 6 },
141145
[
142146
"arrow",
143-
["argArrow", "(unavailable)"],
147+
["argArrow", "(unmapped)"],
144148
"Block",
145149
"arrow()",
146150
"fn",
@@ -157,15 +161,15 @@ add_task(async function() {
157161
// The call-based ones work, but the single-identifier ones do not.
158162
await breakpointScopes(dbg, "imported-bindings", { line: 17, column: 2 }, [
159163
"Module",
160-
["aDefault", "(unavailable)"],
164+
["aDefault", "(unmapped)"],
161165
["aDefault2", '"a-default2"'],
162-
["aDefault3", "(unavailable)"],
163-
["anAliased", "(unavailable)"],
166+
["aDefault3", "(unmapped)"],
167+
["anAliased", "(unmapped)"],
164168
["anAliased2", '"an-original2"'],
165-
["anAliased3", "(unavailable)"],
166-
["aNamed", "(unavailable)"],
169+
["anAliased3", "(unmapped)"],
170+
["aNamed", "(unmapped)"],
167171
["aNamed2", '"a-named2"'],
168-
["aNamed3", "(unavailable)"],
172+
["aNamed3", "(unmapped)"],
169173
["aNamespace", "{\u2026}"],
170174
["aNamespace2", "{\u2026}"],
171175
["aNamespace3", "{\u2026}"],

yarn.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3289,9 +3289,9 @@ devtools-modules@^0.0.33:
32893289
dependencies:
32903290
jest "^19.0.2"
32913291

3292-
devtools-reps@^0.19.2:
3293-
version "0.19.2"
3294-
resolved "https://registry.yarnpkg.com/devtools-reps/-/devtools-reps-0.19.2.tgz#c71e8eb7e0af9ffe6d363a8f550d85b1b5bbc20b"
3292+
devtools-reps@^0.20.0:
3293+
version "0.20.0"
3294+
resolved "https://registry.yarnpkg.com/devtools-reps/-/devtools-reps-0.20.0.tgz#c7884192104da10053ffd4495aa924d2c66defda"
32953295
dependencies:
32963296
classnames "^2.2.5"
32973297
devtools-components "^0.1.5"
@@ -10622,7 +10622,7 @@ style-search@^0.1.0:
1062210622
version "0.1.0"
1062310623
resolved "https://registry.yarnpkg.com/style-search/-/style-search-0.1.0.tgz#7958c793e47e32e07d2b5cafe5c0bf8e12e77902"
1062410624

10625-
10625+
stylelint@^9.0.0:
1062610626
version "9.0.0"
1062710627
resolved "https://registry.yarnpkg.com/stylelint/-/stylelint-9.0.0.tgz#dfad428e948830e522a96e0f331f510d07a4fc0b"
1062810628
dependencies:

0 commit comments

Comments
 (0)