devtools-protocol 0.0.1693794 → 0.0.1694333

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -280,6 +280,13 @@
280
280
  "description": "Location in the source code where scope ends",
281
281
  "optional": true,
282
282
  "$ref": "Location"
283
+ },
284
+ {
285
+ "name": "empty",
286
+ "description": "True if the scope does not declare any variables or have a runtime context.\nOnly present if true.\nEmpty scopes are retained in the scope chain because\nthey can be targeted via `evaluateOnCallFrame` (using `scopeNumber`) or\nmatched against scopes in source maps.",
287
+ "experimental": true,
288
+ "optional": true,
289
+ "type": "boolean"
283
290
  }
284
291
  ]
285
292
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "devtools-protocol",
3
- "version": "0.0.1693794",
3
+ "version": "0.0.1694333",
4
4
  "description": "The Chrome DevTools Protocol JSON",
5
5
  "repository": "https://github.com/ChromeDevTools/devtools-protocol",
6
6
  "author": "The Chromium Authors",
@@ -143,6 +143,12 @@ domain Debugger
143
143
  optional Location startLocation
144
144
  # Location in the source code where scope ends
145
145
  optional Location endLocation
146
+ # True if the scope does not declare any variables or have a runtime context.
147
+ # Only present if true.
148
+ # Empty scopes are retained in the scope chain because
149
+ # they can be targeted via `evaluateOnCallFrame` (using `scopeNumber`) or
150
+ # matched against scopes in source maps.
151
+ experimental optional boolean empty
146
152
 
147
153
  # Search match for resource.
148
154
  type SearchMatch extends object
@@ -221,6 +221,15 @@ export namespace Protocol {
221
221
  * Location in the source code where scope ends
222
222
  */
223
223
  endLocation?: Location;
224
+ /**
225
+ * True if the scope does not declare any variables or have a runtime context.
226
+ * Only present if true.
227
+ * Empty scopes are retained in the scope chain because
228
+ * they can be targeted via `evaluateOnCallFrame` (using `scopeNumber`) or
229
+ * matched against scopes in source maps.
230
+ * @experimental
231
+ */
232
+ empty?: boolean;
224
233
  }
225
234
 
226
235
  /**